Graphics, Figures & Tables ⇒ side by side text and graphics
-
- Posts: 5
- Joined: Tue Oct 15, 2019 10:33 pm
side by side text and graphics
Step 1: xxxx Graphics image
xxxxxxxxxxx
xxxxxxxxxxx
Step 2: xxxx Graphics image
xxxx
etc.
I know how to do this in Framemaker, MadCap Flare, InDesign etc., but I haven't had luck with using things like:
\subsection*{Section Title}
\subsubsection*{Subsection Title}
\begin{wrapfigure}{r}{0.5\textwidth}
\begin{center}
\includegraphics[width=0.48\textwidth]{figures/Graphic1.jpg}
\end{center}
\end{wrapfigure}
xxxxxxxxx
Thanks for any help.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
side by side text and graphics

\documentclass{article} \usepackage[etex]{adjustbox} \usepackage{wrapfig} \usepackage{mwe} \newcommand*{\shortblindtext}{This is a very short blindtext, much shorter than the longer from \texttt{blindtext} or \texttt{lipsum}.} \begin{document} \section{Image and text side by side} \begin{adjustbox}{minipage=.5\textwidth,valign=T} \shortblindtext \end{adjustbox}\hfill \adjustimage{valign=T,width=.45\textwidth}{example-image-a} \bigskip \begin{adjustbox}{minipage=.75\textwidth,valign=T} \shortblindtext \end{adjustbox}\hfill \adjustimage{valign=T,width=.2\textwidth}{example-image-b} \bigskip \begin{adjustbox}{minipage=.5\textwidth,valign=T} \blindtext \end{adjustbox}\hfill \adjustimage{valign=T,width=.45\textwidth}{example-image-a} \bigskip \begin{adjustbox}{minipage=.75\textwidth,valign=T} \blindtext \end{adjustbox}\hfill \adjustimage{valign=T,width=.2\textwidth}{example-image-b} \section{Image with text floating around} \begin{wrapfigure}{r}{.5\textwidth} \vskip -\baselineskip% really top aligned \includegraphics[width=\linewidth]{example-image-a} \end{wrapfigure} \blindtext \begin{wrapfigure}{r}{.25\textwidth} \vskip -\baselineskip% really top aligned \includegraphics[width=\linewidth]{example-image-b} \end{wrapfigure} \blindtext \bigskip But this is problematic, if the text is too short to float around: \begin{wrapfigure}{r}{.5\textwidth} \vskip -\baselineskip% really top aligned \includegraphics[width=\linewidth]{example-image-a} \end{wrapfigure} \shortblindtext \begin{wrapfigure}{r}{.25\textwidth} \vskip -\baselineskip% really top aligned \includegraphics[width=\linewidth]{example-image-b} \end{wrapfigure} \shortblindtext \end{document}

-
- Posts: 5
- Joined: Tue Oct 15, 2019 10:33 pm
side by side text and graphics
The other issue with LaTeX is how well it will work for dual output (pdf & ePub). That was a major plus to MadCap Flare, but I will see it that can be managed.