Tag Info

11

I'm using the method developed in Making the text fit in a specific space in Latex to explore various aspects to this question. I am not rearranging any items, but am assuming that I have a string of N images that I am being asked to stuff into a certain size rectangle. I am treating each image as text, and allowing line breaking to create the rows. So ...

5

Combining Werner's answer here with lockstep's answer to How can I automatically center an image?, we can do it like this: \documentclass{article} \usepackage{floatrow} % this automatically centers all floats \floatplacement{table}{hbtp} % all tables are given the [hbtp] option \begin{document} \begin{table} \begin{tabular}{*3{l}} 1 & 2 & 3\\ a ...

16

The float package provides an interface to specify the float placement for a specific float using \floatplacement{<type>}{<spec>} The \floatplacement command resets the default placement specifier of a class of floats. So, one could use \floatplacement{table}{hbt} to achieve what you're after.

11

Try \documentclass{article} \newenvironment{mytable} {\begin{table}[hbt] \centering} {\end{table}} \begin{document} \begin{mytable} \begin{tabular}{*3{l}} 1 & 2 & 3\\ a & b & c\\ \end{tabular} \end{mytable} \end{document} \end{document}

19

the default figure placement can be set with \makeatletter \renewcommand\fps@figure{htbp} \makeatletter (It's almost always a bad idea not to include p in the default) For centering you can add it to \@floatboxreset \makeatletter \def \@floatboxreset {% \reset@font \normalsize \@setminipage ...

3

There are several ways to set such things on the command line. perhaps the simplest is to change your input slighty so that instead of dev_summary.tex you have subdirectories/folders dev, trainer etc and then dev/summary.tex Then your main file just needs \input{summary} and it will input the first summary.tex in your input path so a command line of ...

Top 50 recent answers are included