Re: Put figures in figure float in center - the best way?

2012-09-13 Thread Guenter Milde
On 2012-09-13, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> > 1) using paragrahh properties - alignment - center >> Unfortunately, this adds vertical space above and below the graphic. > No. Note that we use \begin{centering} in floats, not \begin{center} (which > is > the one which adds

Re: Put figures in figure float in center - the best way?

2012-09-13 Thread Jürgen Spitzmüller
Guenter Milde wrote: > > 1) using paragrahh properties - alignment - center > > Unfortunately, this adds vertical space above and below the graphic. No. Note that we use \begin{centering} in floats, not \begin{center} (which is the one which adds the space). \begin{centering}...\end{centering}

Re: Put figures in figure float in center - the best way?

2012-09-13 Thread Guenter Milde
On 2012-09-12, Rainer M Krug wrote: > Hi > There are (at least) two ways of centering a single figure / graphic > horizontally in a figure float: > 1) using paragrahh properties - alignment - center Unfortunately, this adds vertical space above and below the graphic. > 2) using a \hfill left

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/09/12 17:15, Stephen Buonopane wrote: > > On Sep 12, 2012, at 10:55 AM, Rainer M Krug wrote: > I have not used it recently, but I get the same error you do. I copied it from Herbert Voss' tips and tricks page many years ago. It

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane
On Sep 12, 2012, at 10:55 AM, Rainer M Krug wrote: >>> I have not used it recently, but I get the same error you do. I copied it >>> from Herbert Voss' >>> tips and tricks page many years ago. It worked then, but I am not sure what >>> has changed. >> >>> Actually…it looks like the /singlespac

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/09/12 15:36, Stephen Buonopane wrote: > > On Sep 12, 2012, at 9:21 AM, Rainer M Krug wrote: > > On 12/09/12 15:15, Rainer M Krug wrote: On 12/09/12 14:19, Stephen Buonopane wrote: > You can add something like this to your preamble (doe

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane
On Sep 12, 2012, at 9:21 AM, Rainer M Krug wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 12/09/12 15:15, Rainer M Krug wrote: >> On 12/09/12 14:19, Stephen Buonopane wrote: >>> You can add something like this to your preamble (does not affect how they >>> appear in LyX >>> pr

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/09/12 15:15, Rainer M Krug wrote: > On 12/09/12 14:19, Stephen Buonopane wrote: >> You can add something like this to your preamble (does not affect how they >> appear in LyX >> preview of course)… > >> \renewenvironment{figure}[1][]{ \@float{

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/09/12 14:19, Stephen Buonopane wrote: > You can add something like this to your preamble (does not affect how they > appear in LyX > preview of course)… > > \renewenvironment{figure}[1][]{ \@float{figure} \centering \singlespacing} > {\end@flo

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Stephen Buonopane
You can add something like this to your preamble (does not affect how they appear in LyX preview of course)… \renewenvironment{figure}[1][]{ \@float{figure} \centering \singlespacing} {\end@float} \renewenvironment{table}[1][]{ \@float{table}

Re: Put figures in figure float in center - the best way?

2012-09-12 Thread Liviu Andronic
On Wed, Sep 12, 2012 at 12:58 PM, Rainer M Krug wrote: > There are (at least) two ways of centering a single figure / graphic > horizontally in a figure float: > > 1) using paragrahh properties - alignment - center > I'm no expert, but this is what I usually do. And to me this seems the less hack

Put figures in figure float in center - the best way?

2012-09-12 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi There are (at least) two ways of centering a single figure / graphic horizontally in a figure float: 1) using paragrahh properties - alignment - center 2) using a \hfill left and right of the figure What is the better / more robust / more LaTeX