Hot answers tagged

2

I have managed to answer some of your desires taking advantage of @NBur's answer. Basically use the \afterpage macro to put the full height graphic on the next page. % fullpageprob.tex SE 578678 \documentclass{memoir} \usepackage{graphicx} \usepackage{hyperref} \hypersetup{colorlinks} \usepackage{cleveref} \usepackage{pdfpages} \usepackage{afterpage} %% ...


2

The stuff done in \caption seems to confuse the lineno package. Since the achemso document class loads the caption package one can try to move the \internallinenumbers inside the caption text (instead of putting it in front of \caption), for example by declaring and applying it as caption font: \documentclass[journal=jacsat,manuscript=article]{achemso} \...


2

I think you have two main, not mutually exclusive options: Don't use the h placement specifier. I.e., in your example code, change [htb] to [tb] (or [tbp]). As @Werner has already suggested in a comment, make sure to surround the figure and table options by all-blank lines, which will generate implicit paragraph breaks. The following code implements both ...


2

Essentially what you see can be summarized by this: \documentclass{article} \begin{document} First line \vskip 5pt % \begin{figure}\end{figure} \vskip 5pt Second line \end{document} The problem here is that the figure environment is not entirely transparent to the skips and LaTeX can no longer collapse the consecutive skips. The solution is therefore to ...


2

As @DavidCarlisle has already pointed out in a comment, you're not using the figure environments as they were intended to be used. Since you apparently don't want the graphs to "float" (in the LaTeX-specific sense of the word), you'd be better off encasing the \includegraphics directives in center environments. \documentclass[demo]{article} % ...


1

As I mentioned in coment, one possibility is use TikZ node: \documentclass{article} \usepackage{tikz} \usepackage{graphicx} \begin{document} \begin{figure}[htb] \centering \tikz\node[inner sep=0pt, label=west:\rotatebox{90}{$y$ label}, label=below:$x$ label] {\includegraphics{example-image-duck}}; \caption{} \label{...


1

Edit: In the first try I misunderstood your problem. Now is corrected. All what you need is insert noindent before first minipage and useraggedright` for placement of figure inside it. BTWE; you should never ever enclose floats figure (or table) inside minipage or similar box. \documentclass[a4paper,12pt]{article} %\usepackage[pctex32]{graphics} %\...


1

You load the package algpseudocode anyway, so let's use it. See the documentation of the package algorithmicx for details. Side-note: For the 'is-element-of' relation, there is the TeX command \in. If you don't like the symbol, one can change it, but it is not advisable to use something like \hspace{0.08cm}\epsilon \hspace{0.08cm} instead. \documentclass{...


1

To get the caption only in the list of figure, use the optional argument of \caption, and let its mandatory one empty. I use the caption package to format the label. \documentclass{report} \usepackage{graphicx} \usepackage[labelsep=none]{caption} \usepackage[nomarkers,figuresonly]{endfloat} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{...


1

Never scale tables, as you see, scaling just produces inconsistent font sizes. Simply use \begin{table}[htbp] \small \begin{tabular}{lD{.}{.}{-2} D{.}{.}{-2} D{.}{.}{-2} } Test & 1 & 2 & 3 \end{tabular} \end{table} or if \small is still too large \footnotsize. Note that \extracolsep does nothing in tabular (it is used to ...


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