| 1 |
\documentclass[11pt,a4paper,english]{book} |
| 2 |
\usepackage{layout} |
| 3 |
%\documentclass[11pt,a4paper,english,draft]{book} |
| 4 |
\usepackage[debug,frames]{notes} |
| 5 |
%\usepackage[debug]{notes} |
| 6 |
%\usepackage{notes} |
| 7 |
|
| 8 |
\newdimen\pageleft |
| 9 |
\begin{document} |
| 10 |
%\layout |
| 11 |
\chapter{First Chapter} |
| 12 |
\chaptername \thechapter |
| 13 |
%\begin{notes} |
| 14 |
%EXAMPLE 1 |
| 15 |
%\end{notes} |
| 16 |
This is the first paragraph, which is not indented. |
| 17 |
This is the first paragraph, which is not indented. |
| 18 |
This is the first paragraph, which is not indented. |
| 19 |
This is the first paragraph, which is not indented. |
| 20 |
This is the first paragraph, which is not indented. |
| 21 |
This is the first paragraph, which is not indented. |
| 22 |
This is the first paragraph, which is not indented. |
| 23 |
This is the first paragraph, which is not indented. |
| 24 |
This is the first paragraph, which is not indented. |
| 25 |
This is the first paragraph, which is not indented. |
| 26 |
This is the first paragraph, which is not indented. |
| 27 |
This is the first paragraph, which is not indented. |
| 28 |
This is the first paragraph, which is not indented. |
| 29 |
This is the first paragraph, which is not indented. |
| 30 |
This is the first paragraph, which is not indented. |
| 31 |
This is the first paragraph, which is not indented. |
| 32 |
This is the first paragraph, which is not indented. |
| 33 |
This is the first paragraph, which is not indented. |
| 34 |
This is the first paragraph, which is not indented. |
| 35 |
This is the first paragraph, which is not indented. |
| 36 |
This is the first paragraph, which is not indented. |
| 37 |
This is the first paragraph, which is not indented. |
| 38 |
|
| 39 |
This is the first paragraph, which is not indented. |
| 40 |
This is the first paragraph, which is not indented. |
| 41 |
This is the first paragraph, which is not indented. |
| 42 |
This is the first paragraph, which is not indented. |
| 43 |
This is the first paragraph, which is not indented. |
| 44 |
This is the first paragraph, which is not indented. |
| 45 |
|
| 46 |
%$\meaning\bigskip$\par |
| 47 |
%$\meaning\noteskip$\par |
| 48 |
%$\meaning\vspace$\par |
| 49 |
%$\meaning\protect$\par |
| 50 |
\vskip 10.63629pt |
| 51 |
\vskip -5.55141pt % for a double line box |
| 52 |
\vskip -12pt % 6pt note skip |
| 53 |
%\vskip -24pt % 12pt note skip |
| 54 |
\vskip -10.81811pt |
| 55 |
%\vskip 0.00001pt |
| 56 |
This is the second paragraph, which is indented. |
| 57 |
\marginpar{margin note 1} |
| 58 |
This is the second paragraph, which is indented. |
| 59 |
This is the second paragraph, which is indented. |
| 60 |
This is the second paragraph, which is indented. |
| 61 |
This is the second paragraph, which is indented. |
| 62 |
This is the second paragraph, which is indented. |
| 63 |
This is the second paragraph, which is indented. |
| 64 |
This is the second paragraph, which is indented. |
| 65 |
This is the second paragraph, which is indented. |
| 66 |
This is the second paragraph, which is indented. |
| 67 |
This is the second paragraph, which is indented. |
| 68 |
This is the second paragraph, which is indented. |
| 69 |
This is the second paragraph, which is indented. |
| 70 |
%This should wrap the paragraph onto he next page! |
| 71 |
\pageleft=\pagegoal |
| 72 |
\advance\pageleft by -\pagetotal |
| 73 |
\typeout{testnotes: pagegoal=\the\pagegoal} |
| 74 |
\typeout{testnotes: pagetotal=\the\pagetotal} |
| 75 |
\typeout{testnotes: textheight=\the\textheight} |
| 76 |
\typeout{testnotes: pageleft=\the\pageleft} |
| 77 |
\begin{importantnote} |
| 78 |
EXAMPLE 2 |
| 79 |
on two lines it there is enough text to wrap to the next line |
| 80 |
\end{importantnote} |
| 81 |
This is the first paragraph on page two. |
| 82 |
\marginpar{margin note 3, which is also longer to show line wrapping} |
| 83 |
This is the first paragraph on page two. |
| 84 |
\marginpar{margin note 2} |
| 85 |
This is the first paragraph on page two. |
| 86 |
This is the first paragraph on page two. |
| 87 |
This is the first paragraph on page two. |
| 88 |
This is the first paragraph on page two. |
| 89 |
This is the first paragraph on page two. |
| 90 |
This is the first paragraph on page two. |
| 91 |
This is the first paragraph on page two. |
| 92 |
This is the first paragraph on page two. |
| 93 |
|
| 94 |
This is the second paragraph on page two. |
| 95 |
This is the second paragraph on page two. |
| 96 |
This is the second paragraph on page two. |
| 97 |
This is the second paragraph on page two. |
| 98 |
This is the second paragraph on page two. |
| 99 |
This is the second paragraph on page two. |
| 100 |
This is the second paragraph on page two. |
| 101 |
This is the second paragraph on page two. |
| 102 |
This is the second paragraph on page two. |
| 103 |
This is the second paragraph on page two. |
| 104 |
This is the second paragraph on page two. |
| 105 |
This is the second paragraph on page two. |
| 106 |
This is the second paragraph on page two. |
| 107 |
This is the second paragraph on page two. |
| 108 |
This is the second paragraph on page two. |
| 109 |
This is the second paragraph on page two. |
| 110 |
This is the second paragraph on page two. |
| 111 |
This is the second paragraph on page two. |
| 112 |
This is the second paragraph on page two. |
| 113 |
This is the second paragraph on page two. |
| 114 |
|
| 115 |
This is the third paragraph on page two. |
| 116 |
This is the third paragraph on page two. |
| 117 |
This is the third paragraph on page two. |
| 118 |
This is the third paragraph on page two. |
| 119 |
This is the third paragraph on page two. |
| 120 |
This is the third paragraph on page two. |
| 121 |
This is the third paragraph on page two. |
| 122 |
This is the third paragraph on page two. |
| 123 |
This is the third paragraph on page two. |
| 124 |
This is the third paragraph on page two. |
| 125 |
This is the third paragraph on page two. |
| 126 |
This is the third paragraph on page two. |
| 127 |
This is the third paragraph on page two. |
| 128 |
This is the third paragraph on page two. |
| 129 |
This is the third paragraph on page two. |
| 130 |
This is the third paragraph on page two. |
| 131 |
This is the third paragraph on page two. |
| 132 |
This is the third paragraph on page two. |
| 133 |
This is the third paragraph on page two. |
| 134 |
This is the third paragraph on page two. |
| 135 |
This is the third paragraph on page two. |
| 136 |
This is the third paragraph on page two. |
| 137 |
This is the third paragraph on page two. |
| 138 |
This is the third paragraph on page two. |
| 139 |
This is the third paragraph on page two. |
| 140 |
This is the third paragraph on page two. |
| 141 |
This is the third paragraph on page two. |
| 142 |
This is the third paragraph on page two. |
| 143 |
|
| 144 |
This is the fourth paragraph on page two. |
| 145 |
This is the fourth paragraph on page two. |
| 146 |
This is the fourth paragraph on page two. |
| 147 |
This is the fourth paragraph on page two. |
| 148 |
This is the fourth paragraph on page two. |
| 149 |
This is the fourth paragraph on page two. |
| 150 |
This is the fourth paragraph on page two. |
| 151 |
This is the fourth paragraph on page two. |
| 152 |
This is the fourth paragraph on page two. |
| 153 |
This is the fourth paragraph on page two. |
| 154 |
This is the fourth paragraph on page two. |
| 155 |
%This should wrap the paragraph onto he next page! |
| 156 |
%\importantnote{third note}%, which should be longer than the box to show some line wrapping.} |
| 157 |
This is the fourth paragraph on page two. |
| 158 |
\marginpar{margin note 4} |
| 159 |
This is the fourth paragraph on page two. |
| 160 |
This is the fourth paragraph on page two. |
| 161 |
This is the fourth paragraph on page two. |
| 162 |
\marginpar{margin note 4} |
| 163 |
This is the fourth paragraph on page two. |
| 164 |
\chaptername\par |
| 165 |
|
| 166 |
chaptermark=\chaptermark \quad |
| 167 |
chaptername=\chaptername\par |
| 168 |
%markboth=\markboth{test} |
| 169 |
%markright=\markright |
| 170 |
|
| 171 |
\end{document} |