Using LaTeX to Produce Posters and Other Graphics Layouts

Flexible Graphics Layouts | Graphics Inclusion Guide

Using minipage or parbox to create a layout with one tall graphic on the left half of the page and two smaller graphics on the right half

% Usage: latex graphLayout  (pdftex option below makes pdf, finds colors)
% Figure layout can be done using a tabular environment, specialized
% LaTeX packages, or as shown here, minipage or parbox.  The parbox
% example that produced p. 2 has a problem with the vertical position
% of the title over the top right panel
%
\documentclass{report}
\usepackage{graphicx}
\usepackage[usenames,pdftex]{color}
\DeclareGraphicsExtensions{.pdf, .jpg, .png}
\graphicspath{{/home/harrelfe/doc/Talks/infoAllergy/}}

\topmargin -.2in  % was -.75 then -.25in
\textheight 9in    % was 9.5
\oddsidemargin -.25in
\evensidemargin -.25in
\textwidth 7in
\parskip 14pt
\parindent 0ex
\renewcommand\sfdefault{phv}%               use helvetica for sans serif
\renewcommand\familydefault{\sfdefault}%    use sans serif by default

\newcommand{\heading}[1]{{\color{Blue}\Large\textbf #1}}

\begin{document}

\begin{center}
{\Huge\textbf{\color{Blue}Overall Title}}

\medskip

\begin{minipage}[t]{0.45\linewidth}
\centering
\heading{Title for Left Panel}\\
\includegraphics[width=\linewidth]{lancetEditorial1937subset}
\end{minipage}%
\hfill%
\begin{minipage}[t]{0.45\linewidth}
\centering
\heading{Title for Top Right Panel}\\
\includegraphics[width=\linewidth]{roy06dicb} \\
\vspace{7ex}
{\color{Red}\hrule}
\vspace{7ex}
\heading{Title for Bottom Right Panel}\\
\includegraphics[width=1.1\linewidth]{nomogramGusto}
\end{minipage}

\end{center}

\clearpage
\begin{center}
{\Huge\textbf{\color{Blue}Overall Title}}

\medskip

\parbox{.45\linewidth}{%
\centering
\heading{Title for Left Panel}\\
\includegraphics[width=\linewidth]{lancetEditorial1937subset}
}%
\hfill%
\parbox{0.45\linewidth}{%
\centering
\heading{Title for Top Right Panel}\\
\includegraphics[width=\linewidth]{roy06dicb} \\
\vspace{7ex}
{\color{Red}\hrule}
\vspace{7ex}
\heading{Title for Bottom Right Panel}\\
\includegraphics[width=1.1\linewidth]{nomogramGusto}
}

\end{center}

\end{document}
The output is attached below.
Topic attachments
I Attachment Action Size Date Who Comment
graphLayout.pdfpdf graphLayout.pdf manage 105.9 K 17 Jan 2009 - 11:04 FrankHarrell Example output for 1x2 figure layout
Edit | Attach | Print version | History: r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r1 - 17 Jan 2009, FrankHarrell
 

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback