Make longtable table captions single space?

2008-05-31 Thread Adrian Peter
Hi,

I am using the longtable instructions on in the Embedded Ojbects doc.  The
only problem I am having is that the caption for the longtable is coming out
double space rather than single.  I know this is probably due to the fact
that caption is put in as a hack into the first row of the longtable and it
must be inheriting the formating from the main document (which is double
space).  I tried to surround the text inside the caption with a
\begin{singlespace) and \end{singlespace}.  But this causes two weird
behaviors:
1.) There is a line break (which I don't want) after the table number before
the rest of caption text, i.e. it reads like:
Table 2-1.
   This the table tile.
   xxx

2. ) There is double space between the end of the caption and the start of
the actual table.  I would also like this to be single space.  Thank you in
advance.

Adrian


Re: increase size of figure and table captions

2005-12-05 Thread Stephen Harris


- Original Message - 
From: "Uwe Stöhr" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>
Cc: 
Sent: Monday, December 05, 2005 5:23 AM
Subject: Re: increase size of figure and table captions



[EMAIL PROTECTED] wrote:


One of the examiners of my thesis decided that the figure

> and table captions were too small, so I was wondering what
> the best way of making them bigger. Currently they are the
> same font size as the text. If there is no easy way I will
> just spend the same time making up a reason that this is the
> appropriate size for captions.

Use the LaTeX-package "caption". In your case add for example the 
following line to your document preamble:


\usepackage[font=Large]{caption}

You can also set different fontsizes for the label and the caption text. 
More about this is in the caption manual chapter 3.3.


regards Uwe



Since I'm not sure that this answer addresses making the figure larger, I
will mention \scalebox discussed in oldish "LaTeX Graphics Companion".

and http://www.ccrnp.ncifcrf.gov/~toms/latexforbeginners.html /Advanced

To make figures using LaTeX2e, before your \begin{document} put
\usepackage{graphics}
\usepackage{wrapfig}
\usepackage{floatfig}
Then call the graphics directly like this:
\includegraphics*{fig/logowalker.ps}
or inside a figure:
\begin{figure}
\begin{center}
\scalebox
{0.9} % h_length
{
\includegraphics*{fig/logowalker.ps}
}
\end{center}
\caption{
The caption
}
\label{fig.logowalker}
\end{figure}
The wrapfig and floatfig packages are very cool - they let you wrap figures 
around text. Between paragaphs:

\begin{floatingfigure}{7 cm}
\scalebox{0.6}{
\includegraphics*[140,270][450,640]{fig/t7-wt-ex.ps}
}
\caption{Sequence logos for T7 promoters.
Top: wild type promoters \cite{Schneider1986};
bottom: strong T7 promoters found by an
\emph{in vivo} genetic screen \cite{Schneider1989}.
}
\noindent \hrulefill
\label{fig.t7-wt-ex}
\end{floatingfigure}
Wrap figure looks like this:
\begin{wrapfigure}{r}{12cm}
\begin{center}
\rotatebox{-90}{
\scalebox
{0.57} % h_length
{
% Note: the "*" makes the graphic be clipped - this is needed!!
% Guide to Latex p. 168
\includegraphics*[50,110][540,695]{fig/baseflipcover.ps}
}
}
\end{center}
\caption{---http://www.artofproblemsolving.com/LaTeX/AoPS_L_PictMan.php
In this section we'll discuss how you can manipulate images in 
.ViewportSpacing Scaling - \scalebox{horizontal factor}[vertical 
factor]{item scaled}Resizing - \resizebox{horizontal factor}{vertical 
factor}{item resized}Rotating - \rotatebox{angle of rotation}{item 
rotated}Reflecting - \reflectbox{item reflected} Centering - \begin{center} 
centered items 
\end{center} -http://www.xfig.org/userman/latex_and_xfig.html1.. 
Get LaTeX to change the size of the picture, using either \scalebox or 
\resizebox. These are general functions for scaling text or pictures from 
the graphics package: A.\scalebox{factor}{object} Will scale the object by 
any factor. Factor is just a number (< 1 = reduction; > 1 = enlargement) 
Object is normally some text or graphics B.\scalebox{2}{ 
\input{file.pstex_t} } will scale the picture by 2, dependent on driver (.ps 
works, but xdvi wont). Scaling bitmap fonts may produce ugly results, so try 
and avoid them! C.\resizebox{width}{ht} {stuff} will resize "stuff" to be of 
size width x ht. Using "!" as an argument retains the aspect ratio of the 
box. eg \resizebox{5cm}{!}{fat cat} will make "fat cat" appear 5 cm wide, 
and suitably high. (From p129, Lamport) 


LaTeXicon.gif
Description: GIF image


Re: increase size of figure and table captions

2005-12-05 Thread Uwe Stöhr

[EMAIL PROTECTED] wrote:


One of the examiners of my thesis decided that the figure

> and table captions were too small, so I was wondering what
> the best way of making them bigger. Currently they are the
> same font size as the text. If there is no easy way I will
> just spend the same time making up a reason that this is the
> appropriate size for captions.

Use the LaTeX-package "caption". In your case add for example the 
following line to your document preamble:


\usepackage[font=Large]{caption}

You can also set different fontsizes for the label and the caption text. 
More about this is in the caption manual chapter 3.3.


regards Uwe


Re: increase size of figure and table captions

2005-12-05 Thread Angus Leeming
Roy Schestowitz wrote:

> _/ On Mon 05 Dec 2005 03:41:04 GMT, [Matthew.Kelly] wrote : \_
> 
>> Hi all,
>>
>> I apologise that this is a trivial question that would probably be
>> answered with just a little digging.
>>
>> One of the examiners of my thesis decided that the figure and table
>> captions were too small, so I was wondering what the best way of
>> making them bigger. Currently they are the same font size as the
>> text. If there is no easy way I will just spend the same time making
>> up a reason that this is the appropriate size for captions.
>>
>>
>> Matthew
> 
> Hi,
> 
> Captions  should usually be smaller than standard text and most 
> templates enforce this. Yet, anyone who makes a big fuss over it is most
> likely dis- tracted by unimportant detail. Either way, the naive
> solution:
> 
> * Highlight the caption text
> 
> * Go to the Layout menu item
> 
> * Open the "Character..." window
> 
> * Change size to "Small" or "Smaller"
> 
> * Press Apply/OK
> 
> If  you built your document in a way whereby captions can be
> distinguished
> from  text (perhaps a float caption), then you can modify the style
> appro-
> priately  in the Preamble. LaTeX is not a strong skill of mine, so I
> can't
> give  you  a snippet of code. This rids you from the need to  change 
> many captions repeatedly with the risk of forgetting to change a few.
> 
> Hope it helps,

A better way would be to redefine the caption environment. Herbert Voß's
tips and tricks pages at http://tug.org/TeXnik/mainFAQ.cgi/ (available as
a link from www.lyx.org too...) have all sorts of mind blowing magic.

In this particular case, I've used the following in my preamble in the
past.

%% Set the captions to be italic
\newcommand\myCaption[1]{\itshape\refstepcounter{figure}%
   \begin{center}\figurename\ \thefigure :\ #1\end{center}\upshape}
\let\caption\myCaption

Adjust to suit.

-- 
Angus



Re: increase size of figure and table captions

2005-12-05 Thread Roy Schestowitz

_/ On Mon 05 Dec 2005 03:41:04 GMT, [Matthew.Kelly] wrote : \_


Hi all,

I apologise that this is a trivial question that would probably be 
answered with just a little digging.


One of the examiners of my thesis decided that the figure and table 
captions were too small, so I was wondering what the best way of 
making them bigger. Currently they are the same font size as the 
text. If there is no easy way I will just spend the same time making 
up a reason that this is the appropriate size for captions.



Matthew


Hi,

Captions  should usually be smaller than standard text and most  templates
enforce this. Yet, anyone who makes a big fuss over it is most likely dis-
tracted by unimportant detail. Either way, the naive solution:

* Highlight the caption text

* Go to the Layout menu item

* Open the "Character..." window

* Change size to "Small" or "Smaller"

* Press Apply/OK

If  you built your document in a way whereby captions can be distinguished
from  text (perhaps a float caption), then you can modify the style appro-
priately  in the Preamble. LaTeX is not a strong skill of mine, so I can't
give  you  a snippet of code. This rids you from the need to  change  many
captions repeatedly with the risk of forgetting to change a few.

Hope it helps,

Roy

--
Roy S. Schestowitz  | Viruses to Linux is like cancer to a shark
http://Schestowitz.com  |SuSE Linux | PGP-Key: 0x74572E8E
10:45am  up 5 days  8:12,  4 users,  load average: 1.59, 1.73, 1.78



increase size of figure and table captions

2005-12-04 Thread Matthew.Kelly
Hi all,

I apologise that this is a trivial question that would probably be answered 
with just a little digging.

One of the examiners of my thesis decided that the figure and table captions 
were too small, so I was wondering what the best way of making them bigger. 
Currently they are the same font size as the text. If there is no easy way I 
will just spend the same time making up a reason that this is the appropriate 
size for captions.


Matthew


Re: Moving table captions within a float

2004-02-21 Thread Rich Shepard
On Sat, 21 Feb 2004, Rich Shepard wrote:

>   What is the most efficient (and safest) way to change the position of the
> caption? Do I just cut it all and paste it before the table, or is there a
> better way?

  Cut-and-paste worked just fine.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)



Moving table captions within a float

2004-02-21 Thread Rich Shepard
  I placed all table captions _under_ the tables, just as I have with figure
captions. Reviewing the publisher's specifications I see that they want
table captions _above_ the table.

  What is the most efficient (and safest) way to change the position of the
caption? Do I just cut it all and paste it before the table, or is there a
better way?

Thanks,

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>


Re: Table captions alignment

2002-03-06 Thread Herbert Voss

Werner Pessenhofer wrote:

> I'm using Lyx 1.1.6fix4.
> How can I get the table captions aligned left in a table float ? 
> \usepackage[nooneline]{caption2} in the preamble do not work, because I want


have a look at the docs for the other options.

Herbert



-- 
http://www.lyx.org/help/




Table captions alignment

2002-03-06 Thread Werner Pessenhofer

I'm using Lyx 1.1.6fix4.
How can I get the table captions aligned left in a table float ? 
\usepackage[nooneline]{caption2} in the preamble do not work, because I want
to have the figure captions in a figure float centered. Any help ? Greetings 
Halvar
-- 
DI Pessenhofer Werner
Institute for chem. technology of inorganic compounds
TU-Graz
Stremayrgasse 16 / III
8010 Graz
AUSTRIA

Tel.: +43 (0)316 873 8293
mobile: +43 (0) 699 18 21 36 47
Fax.: +43 (0)316 873 8272
email: [EMAIL PROTECTED]

private:
Theodor Körner Strasse 171
8010 Graz



Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-16 Thread Matej Cepl

On Wed, Nov 14, 2001 at 02:52:59PM -0700, John Boik wrote:
> I want to get table text to be \rightragged, not horizontally
> centered.  If I type in "\rightragged" in the alignment box of
> the table popup, it does not work.  Any other ideas?

Yes, and that is exactly what I have written to you. Carefully
select all fields in the particular column (so that they are
blue), then go to Layout/Tabular and in the frame H. Alignment
select Right. What's wrong with that?

> intended second line down below the intended first line in the
> column. Where is the linebreaks button, or what else am I doing
> wrong?

Fill the column with the content, then select it and set in the
field Width the width, which the column is to take. That's it.
LyX will break the lines appropriately.

> 
> Matej wrote:
> 
> >Section 4.4.4 in your User Guide.<
> 
> As per my original posting I have read this but it did not
> help.

The previous paragraph of mine is by the section 4.4.4 of Guide.
Which version of LyX do you have? If not 1.1.6fix, go and
upgrade.

> >Alt-C,<
> 
> That seems to work, but only for one word at a time.

Yup, that's it. I am sorry.

> >You can use \linewidth as a unit (so, .55\linewidth is a legal
> expression for the column width).<
> 
> This did not seem to work for me.  If I type in ".55\linewidth"
> in the width box of the table popup, it tells me that it is an
> invalid format.  Herbert says it must be done manually by
> specifying the width in mm or similar units.

You are probably right and LyX doesn't support this. Sorry.

Have a nice day

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A nation or civilization that continues to produce soft-minded
men purchases its own spiritual death on an installment plan.
--Martin Luther King, Jr. 




Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-16 Thread Dekel Tsur

On Wed, Nov 14, 2001 at 02:52:59PM -0700, John Boik wrote:
> Hello:
> Thanks to Matej, Thomas, and Herbert and others for answering my questions.
> However, I am still struggling with some of my original problems.  Any other
> suggestions or remarks?
> 
> Concerning my second question: I would like to get rid of the default
> justification for text in a table column.  Is there a way to do this without
> having to enter the \rightragged tex command in every single cell of the
> table?  I would like to have my text \rightragged, but I cannot find a way
> to set the whole table (or even whole column) that way at once.  Is there a
> global solution?,

Yes. Put the following lines in the preamble:

\usepackage{array}
\def\PBS#1{\let\temp=\\#1\let\\=\temp}
\newcolumntype{P}[1]{>{\PBS\raggedright}p{#1}}

Then, for each column in the table, after entering the width in the width
field, (e.g. 2in), put the text P{2in} in the special alignment field.

> Concerning my third question: Some rows of my table are intended to fall on
> two lines.  One solution in the Lyx guide is to actually use two rows, but I
> don't want to do that.  The other solution listed doesn't seem to work for
> me.  It says to enter a "\\" at the needed text break and then check the
> "linebreaks" button on the table format popup.  I cant find any "linebreaks"
> button.  If I just type in "\\", it starts an entire new row from scratch,
> and does not just move the intended second line down below the intended
> first line in the column. Where is the linebreaks button, or what else am I
> doing wrong?

The Userguide is somewhat obsolete. If you want a linebreak just press
ctrl+enter.

> Concerning my fourth question: Is there an easy way to select text and then
> format it all in caps (not small caps, or whatever is listed in the
> character popup), or as title caps (first word capitalized)?
> 
> Matej wrote:
> 
> >Alt-C,<
> 
> That seems to work, but only for one word at a time.

This will work in lyx 1.2.0. You will have to wait.

> Concerning my fifth question: Is there any easy way to automatically have a
> table span exactly the width of the paper?  I understand the tabularx
> package does not work with Lyx (or if it does I do not know how to use it).
> I would like to have the table fit the page, and then have certain columns
> larger or smaller than others.
> 
> Matej wrote:
> 
> >You can use \linewidth as a unit (so, .55\linewidth is a legal
> expression for the column width).<
> 
> This did not seem to work for me.  If I type in ".55\linewidth" in the width
> box of the table popup, it tells me that it is an invalid format.  Herbert
> says it must be done manually by specifying the width in mm or similar
> units.

This is a problem in LyX as latex accepts it. The solution:
Write a dummy length in the width field, e.g. 1in, and then in the special
column alignment put P{0.5\linewidth}.
In fact, you can use
  \newcolumntype{P}[1]{>{\PBS\raggedright}p{#1\linewidth}}
in the preamble, and then use 0.



RE: ?s with table captions, table text justification, double rows, math cases and more

2001-11-14 Thread John Boik

Hello:
Thanks to Matej, Thomas, and Herbert and others for answering my questions.
However, I am still struggling with some of my original problems.  Any other
suggestions or remarks?

Concerning my second question: I would like to get rid of the default
justification for text in a table column.  Is there a way to do this without
having to enter the \rightragged tex command in every single cell of the
table?  I would like to have my text \rightragged, but I cannot find a way
to set the whole table (or even whole column) that way at once.  Is there a
global solution?,

Matej wrote:

>For your problem: try to highlight cells in the particular column
and then set alignment in Layout/Tabular/Column-Row/H. Alignment.<

This did not seem to work for me, or I dont understand.  I want to get table
text to be \rightragged, not horizontally centered.  If I type in
"\rightragged" in the alignment box of the table popup, it does not work.
Any other ideas?

Concerning my third question: Some rows of my table are intended to fall on
two lines.  One solution in the Lyx guide is to actually use two rows, but I
don't want to do that.  The other solution listed doesn't seem to work for
me.  It says to enter a "\\" at the needed text break and then check the
"linebreaks" button on the table format popup.  I cant find any "linebreaks"
button.  If I just type in "\\", it starts an entire new row from scratch,
and does not just move the intended second line down below the intended
first line in the column. Where is the linebreaks button, or what else am I
doing wrong?

Matej wrote:

>Section 4.4.4 in your User Guide.<

As per my original posting I have read this but it did not help.

Concerning my fourth question: Is there an easy way to select text and then
format it all in caps (not small caps, or whatever is listed in the
character popup), or as title caps (first word capitalized)?

Matej wrote:

>Alt-C,<

That seems to work, but only for one word at a time.

Concerning my fifth question: Is there any easy way to automatically have a
table span exactly the width of the paper?  I understand the tabularx
package does not work with Lyx (or if it does I do not know how to use it).
I would like to have the table fit the page, and then have certain columns
larger or smaller than others.

Matej wrote:

>You can use \linewidth as a unit (so, .55\linewidth is a legal
expression for the column width).<

This did not seem to work for me.  If I type in ".55\linewidth" in the width
box of the table popup, it tells me that it is an invalid format.  Herbert
says it must be done manually by specifying the width in mm or similar
units.






Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Egbert J.W. Boers

Op maandag 12 november 2001 12:01, schreef John Boik:
> Eighth and last, I would like to use BibTex for my references, and I
> understand how to import the citation into Lyx, but I don't know how to
> start BibTex in the first place to enter a list of references.  If I go to
> the command line and type in "BibTex", it tells me it needs an argument.
> The help command doesn't tell me much either that I can understand.  If I
> try to make a new bib file by typing in "BibTex foo", it tells me that it
> cannot open file name 'foo.aux'.  How does one start BibTex to make a new
> file?

I use the Gnome BibTeX Editor (gBib) which has a nice interface with LyX 
itself.

Egbert



Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Matej Cepl

On Mon, Nov 12, 2001 at 01:30:39PM +0100, Thomas Steffen wrote:
> 
> > First, I would like to use a different font family (sans
> > serif rather than times) for table captions.  
> 
> This is defined by the LaTeX style. Try the koma-script family
> instead of the default styles. (That's in Layout->Document.) It
> will change other details, too.

No, he has been asking about _table_ captions, not _section_
titles. There must be a special package for that somewhere on
CTAN.

> > Second, I would like to get rid of the default justification
> > for text in a table column.
> 
> Should be possible, but justification has always been a weak
> point of LaTeX (imho).

NO! Justification is exactly the most strong aspect of TeX (and
LaTeX therefore) -- it makes the stuff much better than any other
commercial program used for typesetting (except for Adobe
InDesign, but not for their PageMaker). The only other exception
which makes it as well as TeX is lout (and only because the
author copied the algorithm from TeX). Why do you think so many
high-tech professional publishing houses use TeX for their work?

For your problem: try to highlight cells in the particular column
and then set alignment in Layout/Tabular/Column-Row/H. Alignment.

> > Third, some rows of my table are intended to fall on two
> > lines. 
> 
> Very difficult. Using two rows is the easiest, if possible.
> Otherwise you can define multiline cells with linebreaks. You
> have to define a widths, imho. Details depend on the exact LyX
> version. 

Section 4.4.4 in your User Guide.

> 
> > Fourth, is there an easy way to select text and then format
> > it all in caps (not small caps, or whatever is listed in the
> > character popup), or as title caps (first word capitalized)?
> 
> Not that I know. Emacs does it with M-u. So if anyone could
> write this for LyX...

Alt-C,

> > Fifth, is there any easy way to automatically have a table
> > span exactly the width of the paper?
> 
> Yes, this can be done using LaTeX. You can specify the column
> width as part of the paper width. I don't remember the exact
> syntax, though. 

You can use \linewidth as a unit (so, .55\linewidth is a legal
expression for the column width).

> > Eighth and last, I would like to use BibTex for my
> > references, and I understand how to import the citation into
> > Lyx, but I don't know how to start BibTex in the first place
> > to enter a list of references.
> 
> BibTeX databases are just text files. You can write them with
> your favourite editor, or you use one of the several special
> programs for BibTeX files.

Try to read btxdoc.dvi in your distribution of TeX. Hint: program
called bibtex is called automagically by LyX when needed. It just
process records from your .bib file in the form which is needed
by LaTeX. BibTeX databases are really just a text files to be
written (try bibtex-mode in Emacs, or pybibliographer in GNOME).
They consists from records like this one:

@article{coleman:AJS-1988-S95,
  author =   {James S. Coleman},
  title ={Social Capital in the Creation of Human Capital},
  journal =  {American Journal of Sociology},
  year = 1988,
  volume =   94,
  pages ={S95-S120}
 }

but you need to read more about them. Try above mentioned .dvi
file and an Emacs mode -- although I really hate EMACS, this is
the only part of it, which I used for a couple of years with huge
satisfaction.

> > I know that there is an export function, but I think I read
> > that it is 95% or so accurate in conveying the full meaning
> > of what was typeset in Lyx. 
> 
> No, the export is 100% accurate (more or less). It is the
> import which not infallible. 

The export into LaTeX is done everytime you hit Ctrl-D for
previewing your document in xdvi, there it MUST be and it IS 100%
accurate.

> > Also, having it in *.tex format would allow easy sharing of
> > files with other collaborators who are using LaTex but not
> > Lyx. 

As said above, export to .tex is 100% accurate, so there is
nothing preventing you from sharing your files with the rest of
the world. The only problem is that your friends will find some
of the .tex files slightly confusing (because humans do it
better), but of course .dvi/.ps output is 100% same as the
document you would write in plain LaTeX (just, it takes less time
to do it in LyX :-).

Have a nice day and be patient

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
DOS: n., A small annoying boot virus that causes random
spontaneous system crashes, usually just before saving a massive
project. Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS.
-- David Vicker's .plan




Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Herbert Voss

John Boik wrote:
> 
 
> Fifth, is there any easy way to automatically have a table span exactly the
> width of the paper?  I understand the tabularx package does not work with
> Lyx (or if it does I do not know how to use it).  I would like to have the
> table fit the page, and then have certain columns larger or smaller than
> others.

no, not yet possible. find out your textwidth and give the different
columns a width so that they all fit the whole width or use tabularx
in ert.

> Sixth, I have a new command that I put in the preamble that inserts the
> microgram symbol (the Greek micro and the roman g) if I type in \mg.  It is:
> 
> \newcommand{\mg}{$\mu$g }
> 
> It allows me to easily type in, for example, 70 ug.  But, when the
> paragraphs are justified, Lyx does not know to keep the 70 next to the ug
> symbol and the space looks funny.  Is there a way to keep the two next to
> each other?

put a protected space (ctrl-space) between them, not a standard space.

> Seventh, and this one might be the hardest, when I use the \begin{cases} and
> \end{cases} command in the math mode, I cannot figure how to make the two
> cases split lines vertically or how to make the left part (the equation)
> horizontally space itself away from the right part (the cases).  Here is an
> example of my command:
> 
> Y=\begin {cases}10+k&\text {if}\, k=1 \text{and}\cr 20+k&\text {if}k=2.\end
> {cases}

in special cases write the whole formula in ert.

> Eighth and last, I would like to use BibTex for my references, and I
> understand how to import the citation into Lyx, but I don't know how to
> start BibTex in the first place to enter a list of references.  If I go to
> the command line and type in "BibTex", it tells me it needs an argument.
> The help command doesn't tell me much either that I can understand.  If I
> try to make a new bib file by typing in "BibTex foo", it tells me that it
> cannot open file name 'foo.aux'.  How does one start BibTex to make a new
> file?
 
http://www.lyx.org/help/bibtex/bibtex-start.html


Herbert




Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Roberto Hernandez

John Boik wrote:

> Fourth, is there an easy way to select text and then format it all in caps
> (not small caps, or whatever is listed in the character popup), or as title
> caps (first word capitalized)?


Don't know if this is what you're looking for, but there is a LaTeX 
command: \MakeUppercase{} which changes whatever is within the brackets 
to uppercase.

 
> Eighth and last, I would like to use BibTex for my references, and I
> understand how to import the citation into Lyx, but I don't know how to
> start BibTex in the first place to enter a list of references.  If I go to
> the command line and type in "BibTex", it tells me it needs an argument.
> The help command doesn't tell me much either that I can understand.  If I
> try to make a new bib file by typing in "BibTex foo", it tells me that it
> cannot open file name 'foo.aux'.  How does one start BibTex to make a new
> file?


There are a couple of applications which help you type up the .bib file.

http://sourceforge.net/projects/pybliographer/

http://www.cat.csiro.au/cmst/staff/pic/tkbibtex.html


> John Boik
> Oregon Medical Press
> www.ompress.com
> [EMAIL PROTECTED]






Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Thomas Steffen

"John Boik" <[EMAIL PROTECTED]> writes:

> First, I would like to use a different font family (sans serif rather than
> times) for table captions.  

This is defined by the LaTeX style. Try the koma-script family
instead of the default styles. (That's in Layout->Document.) It will
change other details, too.

> Second, I would like to get rid of the default justification for
> text in a table column.

Should be possible, but justification has always been a weak point of
LaTeX (imho).

> Third, some rows of my table are intended to fall on two lines. 

Very difficult. Using two rows is the easiest, if possible. Otherwise
you can define multiline cells with linebreaks. You have to define a
widths, imho. Details depend on the exact LyX version. 

> Fourth, is there an easy way to select text and then format it all
> in caps (not small caps, or whatever is listed in the character
> popup), or as title caps (first word capitalized)?

Not that I know. Emacs does it with M-u. So if anyone could write this
for LyX...

> Fifth, is there any easy way to automatically have a table span exactly the
> width of the paper?

Yes, this can be done using LaTeX. You can specify the column width as
part of the paper width. I don't remember the exact syntax, though. 

> Sixth, I have a new command that I put in the preamble that inserts the
> microgram symbol (the Greek micro and the roman g) if I type in \mg.  It is:
> 
> \newcommand{\mg}{$\mu$g }

Imho it should be a math macro. Look it up in the help, they are easy
to define an use. 

> It allows me to easily type in, for example, 70 ug.  But, when the
> paragraphs are justified, Lyx does not know to keep the 70 next to the ug
> symbol and the space looks funny.  Is there a way to keep the two next to
> each other?

Use a protected space (Ctrl-SPACE). 

> Seventh, and this one might be the hardest, when I use the \begin{cases} and
> \end{cases} command in the math mode, 

I always do this manually, with a left bracket and an n by 3 matrix.

> Eighth and last, I would like to use BibTex for my references, and I
> understand how to import the citation into Lyx, but I don't know how to
> start BibTex in the first place to enter a list of references.

BibTeX databases are just text files. You can write them with your
favourite editor, or you use one of the several special programs for
BibTeX files.

> One suggestion, which might be a hard one, would be to have it
> natively save its files in *.tex format and do all the conversion
> behind the scenes.

Yes, it would be nice, but LyX is not going this way. 

> I know that there is an export function, but I think I read that it
> is 95% or so accurate in conveying the full meaning of what was
> typeset in Lyx. 

No, the export is 100% accurate (more or less). It is the import which
not infallible. 

> Also, having it in *.tex format would allow easy sharing of files
> with other collaborators who are using LaTex but not Lyx. 

Well, not really. Unless the formatting of the tex-file is kept (which
cannot be done), exchanging files with TeX "purists" is always a bit
difficult. Export and import is a way of communicating this to the
user :-)

Thomas <[EMAIL PROTECTED]>
-- 
Umweltfreundlich, da aus recycleten Buchstaben.



?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread John Boik

Hello:
I am new to the world of Lyx, LaTex, and Linux, but am learning fast.  After
only a week with all three I am most of the way though writing my first
journal article using Lyx.  But, I've run across several snags that I'm
hoping someone can help me with.  The list is a little long since I am so
new...sorry about that.  I have scanned the help files, email list archive,
and two books on LaTex, but with no luck.

First, I would like to use a different font family (sans serif rather than
times) for table captions.  Is there a global way to set this?  I know there
is an easy way to globally change the size of the font by using a certain
caption package, but I want to change the family, not the size.

Second, I would like to get rid of the default justification for text in a
table column.  Is there a way to do this without having to enter the
\rightragged tex command in every single cell of the table?  I would like to
have my text \rightragged, but I cannot find a way to set the whole table
(or even whole column) that way at once.  Is there a global solution?

Third, some rows of my table are intended to fall on two lines.  One
solution in the Lyx guide is to actually use two rows, but I don't want to
do that.  The other solution listed doesn't seem to work for me.  It says to
enter a "\\" at the needed text break and then check the "linebreaks" button
on the table format popup.  I cant find any "linebreaks" button.  If I just
type in "\\", it starts an entire new row from scratch, and does not just
move the intended second line down below the intended first line in the
column. Where is the linebreaks button, or what else am I doing wrong?

Fourth, is there an easy way to select text and then format it all in caps
(not small caps, or whatever is listed in the character popup), or as title
caps (first word capitalized)?

Fifth, is there any easy way to automatically have a table span exactly the
width of the paper?  I understand the tabularx package does not work with
Lyx (or if it does I do not know how to use it).  I would like to have the
table fit the page, and then have certain columns larger or smaller than
others.

Sixth, I have a new command that I put in the preamble that inserts the
microgram symbol (the Greek micro and the roman g) if I type in \mg.  It is:

\newcommand{\mg}{$\mu$g }

It allows me to easily type in, for example, 70 ug.  But, when the
paragraphs are justified, Lyx does not know to keep the 70 next to the ug
symbol and the space looks funny.  Is there a way to keep the two next to
each other?

Seventh, and this one might be the hardest, when I use the \begin{cases} and
\end{cases} command in the math mode, I cannot figure how to make the two
cases split lines vertically or how to make the left part (the equation)
horizontally space itself away from the right part (the cases).  Here is an
example of my command:

Y=\begin {cases}10+k&\text {if}\, k=1 \text{and}\cr 20+k&\text {if}k=2.\end
{cases}

I use the \cr above because I could not get the correct command "\\" to type
in during math mode.  But, although \cr will properly split the cases onto
two lines, every time I close the file and reopen it, it gives me an error
when sending to postscript and I have to retype the \begin{case} and
\end{case} commands again.  How strange.  Is there a way to send the "\\"
command in math mode to properly split the cases onto two lines?  Also, the
"&" character is supposed to move the case text (e.g., "if K=1 and") to the
right.  However, all it does is literally print out the "&" symbol so that
it reads "10+k&if K=1 and".  Is there a way to get Lyx to properly
left-right split the cases from the equation proper?

Eighth and last, I would like to use BibTex for my references, and I
understand how to import the citation into Lyx, but I don't know how to
start BibTex in the first place to enter a list of references.  If I go to
the command line and type in "BibTex", it tells me it needs an argument.
The help command doesn't tell me much either that I can understand.  If I
try to make a new bib file by typing in "BibTex foo", it tells me that it
cannot open file name 'foo.aux'.  How does one start BibTex to make a new
file?

I think the Lyx program is wonderful in that I love the wysiwym ability.
I'm sure there are many improvements being planned and worked on.  One
suggestion, which might be a hard one, would be to have it natively save its
files in *.tex format and do all the conversion behind the scenes.  That
way, one could just email in the *.tex file to a journal for publication.  I
know that there is an export function, but I think I read that it is 95% or
so accurate in conveying the full meaning of what was typeset in Lyx.  If
this is true (is it?), then that 5% might be some crucial part of the
manuscript

Figure and Table captions ignore line space settings

2001-05-20 Thread Herbert Voss

you can try the following in latex preamble:

\usepackage{setspace}
\newcommand\mySpacing{2} %  change it to whatever you need
\let\myCaption\caption
\renewcommand\caption[2]{%
  \setstretch{\mySpacing}%
  \myCaption{#1}{#2}%
}

and as first line in text in tex(red)
\setstretch{\mySpacing}


Herbert




Re: Figure and Table captions ignore line space settings

2001-05-20 Thread Herbert Voss


On Sun, 20 May 2001, Ramon Felciano wrote:

> For some reason my figures and tables are ignoring the line space settings
> used by the rest of my dissertation. Do these need to be controlled
> independently, or is there something misconfigured in my settings?

they are always single spaced.
what kind of textclass do you have?

Herbert




Figure and Table captions ignore line space settings

2001-05-20 Thread Ramon Felciano

Hi --

For some reason my figures and tables are ignoring the line space settings
used by the rest of my dissertation. Do these need to be controlled
independently, or is there something misconfigured in my settings?

Thanks!

Ramon




Table captions

1999-07-29 Thread Nuno Guerra

Dear Lyx users,

Perhaps you can help me with these 2 questions:

The space left between the table caption and the table is a little small
for my taste. I know how to change this for each caption, but is there a
way to make a certain distance be the default setting?

Is there a way to limit the width of a caption? Sometimes, if the table
width is small and the caption is long, it doesn't look good.

I'm using version 1.0.3. Thank you in advance for your help.

Nuno Guerra

NUNO M. da Costa GUERRA e-mail: ([EMAIL PROTECTED])
DECivil - Instituto Superior Tecnicotelef:  +351.1.8418428
Av. Rovisco Pais, 1 fax:+351.1.8497650
1049-001 LISBOA, PORTUGAL