summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/adjmulticol/sample.tex
blob: 3a54bd4ccb4e73427c9d95cbf8cf099259d0a620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
\documentclass{book}
\usepackage{adjmulticol,lipsum}
\evensidemargin=1.5in
\oddsidemargin=-3em
\textwidth=5in
\begin{document}

\textbf{main body margins, as defined.}
\marginpar{[marginpar]}
\lipsum[1-2]
 \begin{adjmulticols}{1}{12pt}{-2in}
   \textbf{multicols, 1, 12pt, -2in}
  \lipsum[3-4]
\end{adjmulticols}
\textbf{back main text}
\marginpar{[marginpar]}
\lipsum[12-14]
\marginpar{[marginpar]}
 \begin{adjmulticols}{2}{12pt}{-2in}
   \textbf{multicols, 2, 12pt, -2in}
  \lipsum[6-15]
\end{adjmulticols}
\textbf{back main text}
\marginpar{[marginpar]}
\lipsum
\marginpar{[marginpar]}
 \begin{adjmulticols*}{2}{12pt}{-2in}
   \textbf{multicols, 2, 12pt, -2in}
  \lipsum[6-16]
\end{adjmulticols*}
\end{document}