summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap5/exer5-1.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-23 00:23:51 +0000
committerKarl Berry <karl@freefriends.org>2009-05-23 00:23:51 +0000
commita683c3d7e9fac38ec713f23fb6b9d2c7143aea82 (patch)
tree424ab223921f85fd3f167a4ccd0e2d37d05c2927 /Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap5/exer5-1.tex
parent5beb5368a684995153c8566797ba054f21c666af (diff)
move english latex doc out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap5/exer5-1.tex')
-rw-r--r--Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap5/exer5-1.tex39
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap5/exer5-1.tex b/Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap5/exer5-1.tex
new file mode 100644
index 00000000000..59fc66dc4b5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/guide-to-latex/exercises/chap5/exer5-1.tex
@@ -0,0 +1,39 @@
+\documentclass{article}
+\begin{document}
+
+% First Solution
+\footnotesize\noindent
+\begin{minipage}[b]{85mm}
+\parbox[t]{3.5cm}{The first line of this 3.5\,cm wide minipage or parbox
+ is aligned with the first line of the neighboring minipage or parbox.}
+\hfill
+\parbox[t]{4.5cm}{This 4.5\,cm wide minipage or parbox is positioned so
+ so that its top line is at the same level as that of the box on the
+ left, while its bottom line is even with that of the box on the right.
+ The na\"{\i}ve notation that this arrangement may be achieved with the
+ positioning arguments \texttt{t}, \texttt{t}, and \texttt{b} is incorrect.
+ Why? What would this selection really produce?} \\ \mbox{}
+\end{minipage}\hfill
+\parbox[b]{3.1cm}{The true solution involves the nesting of two of the three
+ structures in an enclosed minipage, which is then seperated aligned
+ with the third one.}
+
+% Second Solution
+\vspace{10mm}\noindent
+\parbox[t]{3.5cm}{The first line of this 3.5\,cm wide minipage or parbox
+ is aligned with the first line of the neighboring minipage or parbox.}
+\hfill
+\begin{minipage}[t]{81mm}\mbox{}\\
+\parbox[b]{4.5cm}{This 4.5\,cm wide minipage or parbox is positioned so
+ so that its top line is at the same level as that of the box on the
+ left, while its bottom line is even with that of the box on the right.
+ The na\"{\i}ve notation that this arrangement may be achieved with the
+ positioning arguments \texttt{t}, \texttt{t}, and \texttt{b} is incorrect.
+ Why? What would this selection really produce?}
+\hfill
+\parbox[b]{3.1cm}{The true solution involves the nesting of two of the three
+ structures in an enclosed minipage, which is then seperated aligned
+ with the third one.}
+\end{minipage}
+\end{document}
+