summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/lualatex/novel/extras/novel-testsuite.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/novel/extras/novel-testsuite.tex')
-rw-r--r--Master/texmf-dist/doc/lualatex/novel/extras/novel-testsuite.tex32
1 files changed, 16 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/lualatex/novel/extras/novel-testsuite.tex b/Master/texmf-dist/doc/lualatex/novel/extras/novel-testsuite.tex
index c31bd467d8c..6c3fdb36f9b 100644
--- a/Master/texmf-dist/doc/lualatex/novel/extras/novel-testsuite.tex
+++ b/Master/texmf-dist/doc/lualatex/novel/extras/novel-testsuite.tex
@@ -21,7 +21,7 @@
% It is grayscale png, 150x150 pixels, with resolution 300pdi.
%
% The `test' class option is required. You may add others.
-\documentclass[test]{novel} % v. 1.46.2.
+\documentclass[test]{novel} % v. 1.50.
\SetTitle{Test Suite}
\SetSubtitle{Novel Document Class}
\SetAuthor{Author Name}
@@ -88,29 +88,20 @@ If you change the font size or number of lines per page, then the tilted phrase
% NEXT PAGE:
-This page tests \string\BlockImage\space effects. Remember that \textit{novel} uses its own methods of placing images.
+This page tests \string\FloatImage\space effects. Remember that \textit{novel} uses its own methods of placing images.
-\BlockImage[r]{novel-testimage.png}[\pushtextdown{\nbs}Text accompanying image. This text appears to the left of the image. One line above this text was skipped.\par]
+There will be a gap before the image appears. In the tex code, find \string\vspace\space there, and change the space. At some point, the image will float to the top of the following page.
-Above, the top of the image sits where the baseline of text would be. The current paragraph comfortably clears the bottom of the image.
+\vspace{7\nbs}
-\null
-
-In the following example, the accompanying text fills all available lines. This is \textit{not} the same as float/caption in other classes!
+\FloatImage[ht]{novel-testimage.png}
-\BlockImage[r]{novel-testimage.png}[Text accompanying image. The fact that this text fills the available area is not automated.\par I first compiled with some random amount of text, then adjusted it so that it filled.\par]
+Above, the top of the image sits where the baseline of text would be. If the image fits where placed, then this paragraph comfortably clears the bottom of the image. If the gap is increased so that the image flats to the top of the next page, then this paragraph will be directly beneath the preceding paragraph.
-If you change the font size or lines per page, then the accompanying text, above, probably won't fill its space. Or, it may overflow, and mingle with this paragraph. So, this is not a technique with wide applicability.
-
-\null
-Below, the image is centered:
-
-\BlockImage[c]{novel-testimage.png}[\pushtextdown{\nbs}This text overlies the image.\par]
\clearpage
-
% NEXT PAGE:
This page tests \string\InlineImage\space effects. Note that the command also has a starred version. The difference: Unstarred, the width of the image is taken into account. Starred, the width of the image is ignored.
@@ -136,6 +127,16 @@ In all of the above, the alignments will change, if you change the text size or
% NEXT PAGE:
+This page tests \string\WrapImage. The command is written following the paragraph you are now reading.
+
+\WrapImage[r]{novel-testimage.png}
+
+The image will appear at right, with this text flowing around it. the first few lines will be at the left of the image. Then, as the paragraph continues, it eventually is restored to full text width, once it gets pas the bottom of the image. Note that the top of the image is aligned to the X-height of the first line of text.
+
+\clearpage
+
+% NEXT PAGE:
+
This page tests the footnote and endnote capabilities.\footnote{This is the first sample footnote. Unless you change the marker style, it will be marked with an asterisk.} Two footnotes have been placed.\footnote{This is the second footnote. Unless you change the marker style, it will be marked by a dagger.}
\scenebreak
@@ -260,7 +261,6 @@ First, add \lnum{\string\SetPDFX[CGATSTR001]\{X-1a:2001\}} to the Preamble. Then
Note that if you use an image other then the included \textit{novel-testimage.png}, then your own image must be prepared according to the specification in \textit{novel} documentation. Otherwise, an incorrectly prepared image will cause PDF/X compliance to fail.
-\cleartoend % ensures final page is blank verso
\end{document}