# Tag Info

6

From the class documentation The LaTeX float placement commands [htbp] are intentionally disabled. Layout of figures and tables will be adjusted by the publisher during the production process, so authors should not concern themselves with placement to avoid disappointment and wasted effort. Ideally the optional argument would still be defined, ...

4

The OP requests an example, so here is one. I set each figure to .32\textwidth, so that 3 of them not quite fill up a line. I place \hfill between them to give even separation. I use \\ between lines. All of this is within a minipage of .5\textwidth, though that doesn't necessarily make sense by itself inside a figure environment, unless you were going to ...

4

It's simpler to do it with pst-node: consider variables you want to link as \rnodes, and connect them with the \ncbar command: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{mathtools} \usepackage{pst-node, auto-pst-pdf} \begin{document} \begin{postscript} \begin{gathered} \phi (\rnode{n1}{x_1}) \quad \phi ...

3

Inspired by Bernard answer, just for exercise, below is solution based on TikZ picture: \documentclass[tikz, border=3mm, preview ]{standalone} \usetikzlibrary{matrix} \begin{document} \begin{tikzpicture} \matrix (m) [matrix of math nodes,inner ysep=0pt,row sep=2ex] { \phi(x_1) & \phi(x_2) & ...

3

Yes. To place an image in the text, same as if you place any letter in the text, just place the cursor where you want the image, and do Insert --> Graphics. Many people seem to think that a floating environment (the figure environment) is required to add images, which is a misunderstanding.

2

Here's a way of making the \fakefigure macro suggested in the question work. Well, at least it survives minimal testing in combination with Werner's answer on absolute placement. The proposed redefinition of \caption won't work because capt-of defines \captionof in terms of \caption. However, it is possible to first save the definition of \caption and then ...

2

If I understand what you're looking for, you may want to pursue the following approach: Using the facilities of your text editor, globally replace all instances of \begin{figure} with \par\noindent\begin{minipage}{\textwidth}% globally replace all instances of \end{figure} with \end{minipage} and globally replace all instances of figure-related ...

2

With tcbraster from tcolorbox it's very easy to organize graphics (boxes) into an array form. Just decide number of columns and tcbraster will decide everything else. \documentclass{article} \usepackage[most]{tcolorbox} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{figure} \begin{tcbraster}[raster columns=3, enhanced, blankest] ...

2

Your question is quite unspecific, but one example could be to choose the size of the figures to be smaller than half the columnwidth. \documentclass{memoir} \usepackage{graphicx} \begin{document} \begin{figure}[htbp] \centering \includegraphics[width=0.45\columnwidth]{example-image-a} \hfill ...

1

Here is a solution with wrapfigure. I replaced the items of a description environment (wrapfigure won't work) with a special formatting of \paragraph with the titlesec package, in order to mimick the layoout of a description environment: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{fourier, erewhon} ...

1

Your question just helped me solve my problem. I was trying to put text and figure in one row of a table and could not get it to work. After reading your question, I tried the following to get my figure on right (and text on left). \begin{multicols}{2} The image to the right represents a \begin{enumerate} \item tree \item graph \end{enumerate} ...

1

Here's a solution that uses three side-by-side minipage environments, each with width 0.33\textwidth. \documentclass[demo]{article} % omit 'demo' option in real document \usepackage{graphicx} \begin{document} \begin{figure} \hfill a \hfill\hfill b \hfill\hfill c \hfill{} % fake header row \medskip \begin{minipage}{0.33\textwidth} ...

1

Text \begin{figure}\centering% \vspace{1ex}% \includegraphics{image.jpg}% \end{figure} As of now, that's the best I can think of. If you include a minimal working example above, we could potentially try to be a tiny bit more precise.

1

As campa and barbara beeton mentioned - the caption in my first example is fitting in one single line and that's why it's automatically centered. Thanks a lot! edit: see Torbjørn T.'s comment to this answer for how to left-align all captions.

1

I would simply use minipages like it is seen so often on TeX.SX. \documentclass{article} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} \centering \begin{minipage}{.45\linewidth} \begin{subfigure}[t]{.9\linewidth} \includegraphics[width=\textwidth]{example-image-golden-upright} ...

1


1

I had similar problems. Large gaps after figure floats. None of the above had any impact. It was the placement option for the figure floats. Right click on the "float: Figure" The issue stems from if you have large figures in close proximity to each other. Lyx tries to do what you've asked it to. If the check box indicates "Here definitely", the software ...

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