General ⇒ Margins and textboxes
Margins and textboxes
2) I want to make textboxes around certain pieces of text but I'm not really sure how to use this function. I have an assignment to create a collection of documents and I wanted to put boxes around wach of the documents as seen here: http://apcentral.collegeboard.com/apc/p ... st_frq.pdf
Thanks.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Margins and textboxes
The geometry packages supports setting all kinds of lengths of that kind.Blkmage wrote:1) How do I expand the right and left margins? Sorry if this seems stupid.
Simple frames are possible with the \fbox command. For longer pieces, the framed package is quite useful.Blkmage wrote:2) I want to make textboxes around certain pieces of text but I'm not really sure how to use this function. I have an assignment to create a collection of documents and I wanted to put boxes around wach of the documents as seen here: http://apcentral.collegeboard.com/apc/p ... st_frq.pdf
Margins and textboxes
Code: Select all
\fbox{\noindent Source: Joseph J. Ellis, \textit{Founding Brothers}, Chapter Two
\\
\\
\noindent Jefferson assured [Monroe] that he too found the measure [of assumption] repulsive: "But in the present instance I see the necessity of yielding for this time . . . for the sake of the union, and to save us from the greatest of all Calamities."}
- Attachments
-
- APUSHDocuments.pdf
- (25.67 KiB) Downloaded 288 times
Margins and textboxes
Code: Select all
\documentclass{article}
\newsavebox\FrameBox
\newenvironment{Frame}{%
\par\setbox\FrameBox\hbox\bgroup\minipage{0.9\textwidth}\parskip\baselineskip\ignorespaces
}{%
\endminipage\egroup\fbox{\box\FrameBox}\par
}
\begin{document}
\begin{Frame}
Source: Joseph J. Ellis, \emph{Founding Brothers}, Chapter Two
Jefferson assured [Monroe] that he too found the measure [of assumption] repulsive: ``But in the present instance I see the necessity of yielding for this time \ldots\ for the sake of the union, and to save us from the greatest of all Calamities.''
\end{Frame}
\end{document}