Generaltext on left and graphics(Fig.) image on the right

LaTeX specific issues not fitting into one of the other forums of this category.
metric
Posts: 61
Joined: Mon Mar 24, 2008 8:34 am

text on left and graphics(Fig.) image on the right

Post by metric »

Juanjo wrote:Does the following code fit your needs now?

Code: Select all

\documentclass{article}
\usepackage{graphicx}
\usepackage[font=small]{caption}

\begin{document}

\begin{enumerate}

\item 
   \begin{minipage}[t]{0.45\linewidth}
      Prove that triangle $ABC$ is congruent to triangle $PQR$.
      Given these conditions blah blah blah.
   \end{minipage}%
   \hfill
   \begin{minipage}[t]{0.45\linewidth}
     \centering
     \vspace{-1.5ex}
     \rule{0.9\linewidth}{0.5\linewidth} %
     \captionof{figure}{See triangles $ABC$ and $PQR$}\label{fig:f1}
   \end{minipage}

\item 
   \begin{minipage}[t]{0.45\linewidth}
      Prove this and that. Try this and that blah blah blah.
   \end{minipage}%
   \hfill
   \begin{minipage}[t]{0.45\linewidth}
     \centering
     \vspace{-1.5ex}
     \rule{0.9\linewidth}{0.5\linewidth}
     \captionof{figure}{This picture exemplifies blah blah}\label{fig:f2}
   \end{minipage}
   
\end{enumerate}

\end{document}
Let's remark that I use the same basic idea as in my previous post. Now there are two parallel minipages in each list entry.
Thanks you so much for the help i got the output as i wanted, Thanks, Thanks a lot..

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

metric
Posts: 61
Joined: Mon Mar 24, 2008 8:34 am

text on left and graphics(Fig.) image on the right

Post by metric »

Juanjo wrote:Does the following code fit your needs now?

Code: Select all

\documentclass{article}
\usepackage{graphicx}
\usepackage[font=small]{caption}

\begin{document}

\begin{enumerate}

\item 
   \begin{minipage}[t]{0.45\linewidth}
      Prove that triangle $ABC$ is congruent to triangle $PQR$.
      Given these conditions blah blah blah.
   \end{minipage}%
   \hfill
   \begin{minipage}[t]{0.45\linewidth}
     \centering
     \vspace{-1.5ex}
     \rule{0.9\linewidth}{0.5\linewidth} %
     \captionof{figure}{See triangles $ABC$ and $PQR$}\label{fig:f1}
   \end{minipage}

\item 
   \begin{minipage}[t]{0.45\linewidth}
      Prove this and that. Try this and that blah blah blah.
   \end{minipage}%
   \hfill
   \begin{minipage}[t]{0.45\linewidth}
     \centering
     \vspace{-1.5ex}
     \rule{0.9\linewidth}{0.5\linewidth}
     \captionof{figure}{This picture exemplifies blah blah}\label{fig:f2}
   \end{minipage}
   
\end{enumerate}

\end{document}
Let's remark that I use the same basic idea as in my previous post. Now there are two parallel minipages in each list entry.

Thanks for the help i got the result as i want, thanks a lot.
Post Reply