summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/notes/testnotes.tex
blob: 907bd649b2847895dc9c02f16844f8a23496e937 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
\documentclass[11pt,a4paper,english]{book}
\usepackage{layout}
%\documentclass[11pt,a4paper,english,draft]{book}
\usepackage[debug,frames]{notes}
%\usepackage[debug]{notes}
%\usepackage{notes}

\newdimen\pageleft
\begin{document}
%\layout
\chapter{First Chapter}
\chaptername \thechapter
%\begin{notes}
%EXAMPLE 1
%\end{notes}
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.

This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.
This is the first paragraph, which is not indented.

%$\meaning\bigskip$\par
%$\meaning\noteskip$\par
%$\meaning\vspace$\par
%$\meaning\protect$\par
\vskip 10.63629pt
\vskip -5.55141pt % for a double line box
\vskip -12pt % 6pt note skip
%\vskip -24pt % 12pt note skip
\vskip -10.81811pt
%\vskip 0.00001pt
This is the second paragraph, which is indented.
\marginpar{margin note 1}
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
This is the second paragraph, which is indented.
%This should wrap the paragraph onto he next page!
\pageleft=\pagegoal
\advance\pageleft by -\pagetotal
\typeout{testnotes: pagegoal=\the\pagegoal}
\typeout{testnotes: pagetotal=\the\pagetotal}
\typeout{testnotes: textheight=\the\textheight}
\typeout{testnotes: pageleft=\the\pageleft}
\begin{importantnote}
EXAMPLE 2
on two lines it there is enough text to wrap to the next line
\end{importantnote}
This is the first paragraph on page two.
\marginpar{margin note 3, which is also longer to show line wrapping}
This is the first paragraph on page two.
\marginpar{margin note 2}
This is the first paragraph on page two.
This is the first paragraph on page two.
This is the first paragraph on page two.
This is the first paragraph on page two.
This is the first paragraph on page two.
This is the first paragraph on page two.
This is the first paragraph on page two.
This is the first paragraph on page two.

This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.
This is the second paragraph on page two.

This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.
This is the third paragraph on page two.

This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
%This should wrap the paragraph onto he next page!
%\importantnote{third note}%, which should be longer than the box to show some line wrapping.}
This is the fourth paragraph on page two.
\marginpar{margin note 4}
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
This is the fourth paragraph on page two.
\marginpar{margin note 4}
This is the fourth paragraph on page two.
\chaptername\par

chaptermark=\chaptermark \quad
chaptername=\chaptername\par
%markboth=\markboth{test}
%markright=\markright

\end{document}