Manish Gupta
2012-Apr-02 08:28 UTC
[R] How to put latex mdframed side by side (separated by space) ?
Hi, I have one query regarding latex. I am working on latex and i need to put two mdframes side (separated by space) on A4 paper size. How can i implement it? Thanks -- View this message in context: http://r.789695.n4.nabble.com/How-to-put-latex-mdframed-side-by-side-separated-by-space-tp4525415p4525415.html Sent from the R help mailing list archive at Nabble.com.
mlell08
2012-Apr-02 16:12 UTC
[R] How to put latex mdframed side by side (separated by space) ?
Hi,
as long as you don't want to stetch the frames across a page break,
would minipges do?
\documentclass[12pt]{article}
\usepackage{lipsum}
\begin{document}
\begin{minipage}[t]{0.45\textwidth}
\lipsum[1]
\end{minipage}
\hfill
\begin{minipage}[t]{0.45\textwidth}
\lipsum[2]
\end{minipage}
\end{document}