Tag Info

Hot answers tagged

4

I don't think that adding a range such as "Fig 4.2-4.9" in the LoF is a good idea since it might be ambiguous unless all eight figures appear on the same page (the one that will appear in the LoF). Trying to circumvent this using a page range in the LoF might be even worse, since it might be possible that no float appears in one of the pages of the range. ...


4

Building on your code. Defining a the command \rot you have used, as \newcommand\rot[1]{\rotatebox{90}{\footnotesize#1}} from the graphicx package, although I don't know your original implementation of the \rot command. \documentclass{article} \usepackage{graphicx} \newcommand\rot[1]{\rotatebox{90}{\footnotesize#1}} \begin{document} \begin{figure} ...


2

algorithm uses the float package which defines a H float specifier. Without loading algorithm, your \begin{table}[H] ... \end{table} actually produces an error stating "Unknown float option H". LaTeX does recover from this error though and then defaults to something different, which changes the display to a page-of-floats-like layout (which has the ...


2

This will turn off top floats for the duration. The default for article class is 2, but amsclass uses 4. Use \makeatletter\the\c@topnumber\par\makeatother to find out. \documentclass{article} \usepackage{mwe} \begin{document} \lipsum[1-3]% at least 0.7 of first page \begin{figure}[t]\includegraphics{example-image-a}\end{figure} ...


1

pdfTeX in PDF mode provide \pdfsavepos, which stores the current position that can be written to the .aux file and used the next TeX run. Also XeTeX and LuaTeX provide this features. There are some limitations: XeTeX's right to left mode is somewhat broken. Graphics state changes, that do not use the pdfTeX interfaces (\pdfsetmatrix, \pdfsave, \pdfrestore) ...


1

OverLeaf's TeX Live installation is the root of the problem. It seems that OverLeaf is using XeLaTeX by default and, since their installation of TeX Live is not current, this features a bug which causes the problem. Switching to LuaLaTeX resolves the issue: this can be done by setting the engine explicitly in the Project options. I've confirmed this on ...



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