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 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280
|
\documentclass{article}
\usepackage{paralist}
\begin{document}
\section{First test, no text after section head}
\begin{itemize}
\item first item
\item second item
\end{itemize}
this line should not be indented, the next one should be.
Testing itemize with internal brackets
\begin{itemize}
\item Bla {and contents in brackets} and further contents. And make this
line extra long so that we can see how the line breaks take place.
Yet more {\it text that should be in the next} paragraph
\item Blah blah.
\end{itemize}
This paragraph should be indented, as well as the next.
The enumerate environment without labels
\begin{enumerate}
\item this is a frog. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\item this is an arachnid. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
This is a second paragraph in this item. It is also
very very long and goes and goes and goes and goes until
at least one line is used.
\item this is a bone. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\end{enumerate}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
The itemize environment without labels
\begin{itemize}
\item this is a frog. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\item this is an arachnid. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\item this is a bone. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\end{itemize}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
The enumerate environment with labels
\begin{enumerate}
\item[frog~~~] this is a frog Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\item[spider~~~] this is an arachnid. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\item this has no label. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\item[] this has an empty label. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\item this has also has no label. Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\end{enumerate}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
The itemize environment with labels
\begin{itemize}
\item[frog~~~] this is a frog
\item[spider~~~] this is an arachnid
\item this has no label
\item[] this has an empty label
\end{itemize}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
The description environment with labels
\begin{description}
\item[frog~~~] this is a frog
\item[spider~~~] this is an arachnid
\item this has no label
\item[] this has an empty label
\end{description}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
The description environment without labels
\begin{description}
\item[] this is a frog
\item[] this is an arachnid
\item this is a bone
\end{description}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\section{Nested Environments}
Now to test nested environments. First the enumerate
environment without labels
\begin{enumerate}
\item this is the first item in an enumerate environment
\begin{enumerate}
\item this should be numbered (a). filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler
\item this should be numbered (b). filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler
\item this should be numbered (c). filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler
\end{enumerate}
\item this is the second sublist. filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler
\begin{itemize}
\item this a sub sub list (itemize inside enumerate, so there should be a bullet
at the start ller filler filler filler filler filler filler filler filler
filler filler
\begin{enumerate}
\item this should be numbered (a). filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler
\item this should be numbered (b). filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler
\item this should be numbered (c). filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler
\end{enumerate}
\item this is another bullet. filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler
\item this yet another bullet, but with a sub list. filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler filler
\begin{enumerate}
\item this is (a) frog
\item this is (b) an arachnid
\item this is (c) bone
\end{enumerate}
\end{itemize}
\item this is 3 an arachnid
\item this is 4 the third sublist
\begin{enumerate}
\item this (a) is sub sub list
\begin{enumerate}
\item i. this is a frog
\begin{enumerate}
\item this A. is a frog
\item this B. is an arachnid
\item this C. is a bone
\end{enumerate}
\item this is ii. an arachnid
\item this is iii. a bone
\end{enumerate}
\item this is an arachnid Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\item this another sub sub list Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\begin{enumerate}
\item this i. is a frog
\item this ii. is an arachnid
\item this iii. is a bone
\item this iv. is a frog
\item this v. is an arachnid
\item this vi. is a frog
\item this vii. is an arachnid
\item this viii. is a bone
\item this ix. is a frog
\item this x. is an arachnid
\end{enumerate}
\end{enumerate}
\end{enumerate}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\section{Paralist Environments}
Testing inparaenum. Testing inparaenum. Testing inparaenum. Testing inparaenum.
Testing inparaenum. Testing inparaenum. Testing inparaenum. Testing inparaenum.
Testing inparaenum. Testing inparaenum. Testing inparaenum. Testing inparaenum.
Testing inparaenum. Testing inparaenum. Testing inparaenum. Testing inparaenum.
\begin{inparaenum}
\item (This should be 1.) is a frog!
\item (This should be 2.) is an arachnid!
\item (This should be 3.) is a bone!
\item (This should be 4.) is a frog!
\end{inparaenum}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
Testing asparaenum. Testing asparaenum. Testing asparaenum. Testing asparaenum.
Testing asparaenum. Testing asparaenum. Testing asparaenum. Testing asparaenum.
Testing asparaenum. Testing asparaenum. Testing asparaenum. Testing asparaenum.
Testing asparaenum. Testing asparaenum. Testing asparaenum. Testing asparaenum.
\begin{asparaenum}
\item (This should be 1.) is a frog!
\item (This should be 2.) is an arachnid!
\item (This should be 3.) is a bone!
\item (This should be 4.) is a frog!
\end{asparaenum}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
Testing compactenum. Testing compactenum. Testing compactenum. Testing compactenum.
Testing compactenum. Testing compactenum. Testing compactenum. Testing compactenum.
Testing compactenum. Testing compactenum. Testing compactenum. Testing compactenum.
Testing compactenum. Testing compactenum. Testing compactenum. Testing compactenum.
\begin{compactenum}
\item (This should be 1.) is a frog!
\item (This should be 2.) is an arachnid!
\item (This should be 3.) is a bone!
\item (This should be 4.) is a frog!
\end{compactenum}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
Testing compactitem. Testing compactitem. Testing compactitem. Testing compactitem.
Testing compactitem. Testing compactitem. Testing compactitem. Testing compactitem.
Testing compactitem. Testing compactitem. Testing compactitem. Testing compactitem.
Testing compactitem. Testing compactitem. Testing compactitem. Testing compactitem.
\begin{compactitem}
\item (This should be a bullet) is a frog!
\item (This should be a bullet) is an arachnid!
\item (This should be a bullet) is a bone!
\item (This should be a bullet) is a frog!
\end{compactitem}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
Testing compactdesc. Testing compactdesc. Testing compactdesc. Testing compactdesc.
Testing compactdesc. Testing compactdesc. Testing compactdesc. Testing compactdesc.
Testing compactdesc. Testing compactdesc. Testing compactdesc. Testing compactdesc.
Testing compactdesc. Testing compactdesc. Testing compactdesc. Testing compactdesc.
\begin{compactdesc}
\item[frog~~~] this is a frog
\item[spider~~~] this is an arachnid
\end{compactdesc}
Here is some text so that the paragraph break after this
is more clear than it is without this sentence which of
course must be very long so that it will reach the end of
the line and I see what is happening very clearly.
\end{document}
|