# Tag Info

5

Above the float, you should see a box with the text "float: Figure". If you right click it, then select "Settings...", then you should get this box: Uncheck "Use default placement" and play around with the settings under "Advanced Placement Options". To try David Carlisle's suggestion of htp, select "Here if possible", "Top of page" and "Page of floats".

4

You need no \subfloat, for this. All trees can be encapsulated in a tabular environment that guarantees vertical centering with respect to the formula axis where the arrows sit. I also added \small that makes everything a tad smaller and helps in keeping the size under control. \documentclass[a4paper, 11pt, titlepage]{book} \usepackage[T1]{fontenc} ...

3

You really don't want the picture to float, but figure tells LaTeX to float the contents. This introduces complications it seems best to do without. Moreover, eliminating the figure environment solves the centring problem: \documentclass[a4paper]{memoir} \setstocksize{29.7cm}{21.0cm} % A4 stock \settrimmedsize{27.94cm}{21.0cm}{*} % 27.94cm = 11in ...

2

Why do you need the float package ? First read about figure placement and try with the following: \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure}[!htbp] \centering \textbf{Your title}\\ \includegraphics[width=.5\textwidth]{fig} \caption{Explanatory statement \label{fig:fig1}} \end{figure} \end{document}

1

Your demand is against to basic rule of TeX/LaTeX: figures and tables (and similar object) should be in float environments that can be moved to place, where the best fit into the text ... To achieve, what you like, is the simplest way not to use floats. Just put figure directly in text and for caption use \captionof from package caption or small package ...

1

\noindent \makebox[\textwidth] does not stop the box being indented, it makes a blank paragraph just consisting of \parfillskip glue, then the vertical \parskip glue, and then the box starts an indented paragraph, so visually it moves the image down by a line and to the right by the paragraph indentation. The rest of the space is due to page margins, ...

1

You can use the [!h] instead of [H] to make it better, \begin{figure}[!h] \centering \includegraphics[width=\textwidth]{pictures/mypicture.png} \caption{mypicture} \label{fig:mypicture} \end{figure}

1

\begin{figure}[p] should work to force the float to a float page, if you want to allow the float page to have just 1 float even if the float is small, then set \floatpagefraction small enough say \renewcommand\floatpagefraction{0.1} so that LaTeX does not need to hold the float back to fit a second float on the page to exceed \floatpagefraction (which is ...

1

You can modify the \@makecol macro in the output routine so it reboxes the page to its natural height rather than forcing it to be text height, then set \pdfpageheight to the height of that box (plus some extra for the 1in offset TeX uses, and the page margins). \documentclass{article} % make all pages long \usepackage[paperheight=26in,top=20pt]{geometry} ...

1

You could use \clearpage after your first group of tables (it should not make a blank page) or just make the last of the first group bigger so the second group has to start on a new page for example \begin{table}[p] \begin{tabular}... \caption{...} \vspace{.4\textheight} \end{table}

1

For such an appendix you don't really want the figures to float at all so rather than specifying that they float and hoping they don't, use [H] to tell latex not to float them, then the usual rules about keeping section headings with teh first text in the section will kick in. I also added some % to ends of lines to avoid the overfull box warnings in the ...

1

As a workaround try to change package loading order to: \usepackage{floatpag} \usepackage{float} There are plans to do some code cleanup and make it compatible with float package in the next floatpag package release.

1

I'd consider defining your own floating environment with the float package, doing something like this: \usepackage{float} \usepackage{listings} \newfloat{lstfloat}{htbp}{lop} \floatname{lstfloat}{Listing} Now, you can create a floating listing with the following syntax: \begin{lstfloat} \begin{lstlisting} % code here \end{lstlisting} \end{float} This ...

Only top voted, non community-wiki answers of a minimum length are eligible