[texhax] controlling table locations
Lars Madsen
daleif at imf.au.dk
Wed May 14 10:12:14 CEST 2014
In taht case wouldn't
at least ht
be a better default, than just h
Then you do not get those pesky 'changed [h] into [ht]' messages.
I usually set it to
htp
/Lars Madsen
Institut for Matematik / Department of Mathematics
Aarhus Universitet / Aarhus University
Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf
________________________________________
From: texhax [texhax-bounces at tug.org] on behalf of Reinhard Kotucha [reinhard.kotucha at web.de]
Sent: 14 May 2014 09:58
To: Thomas Schneider
Cc: texhax at tug.org
Subject: Re: [texhax] controlling table locations
On 2014-05-13 at 23:35:51 -0400, Thomas Schneider wrote:
> Folks:
>
> One normally controls table locations like this:
>
> \begin{table}[p] % the table goes to a page at the end of the document
> ...
> \end[table}
>
> \begin{table}[h] % the table goes to the location on the current page.
> ...
> \end[table}
>
> I wanted to be able to switch between these two for many tables at
> once, so I made a command:
>
> \newcommand{\tablelocation}{p}
>
> and used it:
>
> \begin{table}[\tablelocation] % the table goes to the top of the current page!
> ...
> \end[table}
>
> Switching to
>
> \newcommand{\tablelocation}{h}
>
> LaTeX still put the table at the top of the current page.
>
> Is there a way to do this?
You can set a default value and omit the optional argument:
\makeatletter
\def\fps at table{h}
\makeatother
See also
http://ctan.org/tex-archive/info/epslatex/english/epslatex.pdf p. 58ff
Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
_______________________________________________
TeX FAQ: http://www.tex.ac.uk/faq
Mailing list archives: http://tug.org/pipermail/texhax/
More links: http://tug.org/begin.html
Automated subscription management: http://tug.org/mailman/listinfo/texhax
Human mailing list managers: postmaster at tug.org
More information about the texhax
mailing list