1) How do I expand the right and left margins? Sorry if this seems stupid.
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.
General ⇒ Margins and textboxes
NEW: TikZ book now 40% off at Amazon.com for a short time.

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
Thanks for the reply. How do I control the parameters of fbox though? When I use the command it puts the text I want into a fram but it stretches it across the entire page on one line. I attached the pdf for reference. And this is the code:
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 296 times
Margins and textboxes
You can put everything inside the \fbox, including \parboxes and minipage environments. Here is an example using a custom environment:
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}