diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-22 21:56:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-22 21:56:20 +0000 |
commit | ae46a827762636210d21328b3c5a75b826924a1e (patch) | |
tree | 3ca985adeeb78ff035c139f928e8a442cbabb80b /Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html | |
parent | 9be209067b3b2ae9f128567279fffa136f353e7a (diff) |
novel (22mar17)
git-svn-id: svn://tug.org/texlive/trunk@43575 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html b/Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html index 681a603cce9..31b8a524b84 100644 --- a/Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html +++ b/Master/texmf-dist/doc/lualatex/novel/noveldocs-08-images.html @@ -1,9 +1,9 @@ <!DOCTYPE html> <html lang="en"> <head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Class novel - 8 - Images</title> -<link rel="stylesheet" type="text/css" href="html-resources/novel-doc.css"/> +<link rel="stylesheet" type="text/css" href="html-resources/novel-doc.css"> </head> <body> @@ -48,7 +48,7 @@ <div id="main"> <a id="thetop"></a> <h1>Documentation for <code>novel</code> document class</h1> -<p>Documentation version: 1.0.7.</p> +<p>Documentation version: 1.0.9.</p> <div class="pagetopage"> <p><b>User Guide</b></p> @@ -57,11 +57,11 @@ <p><a href="noveldocs-03-metadata-pdfx.html">3. Metadata, PDF/X</a></p> <p><a href="noveldocs-04-layout.html">4. Page Layout</a></p> <p><a href="noveldocs-05-fonts.html">5. Choosing Fonts</a></p> -<p><a href="noveldocs-06-header-footer.html">6. Headers, Footers</a><br/> +<p><a href="noveldocs-06-header-footer.html">6. Headers, Footers</a><br> <p><a href="noveldocs-07-text-size-style.html">7. Text Sizes, Styles</a></p> <p>8. Using Images</p> -<p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br/> -<span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br/> +<p><a href="noveldocs-09-chapters-displays.html">9. Display, Start Pages;<br> +<span style="visibility:hidden">9. </span>Chapters; Continued Pages;<br> <span style="visibility:hidden">9. </span>Footnotes, Endotes.</a></p> </div> @@ -127,7 +127,7 @@ <p>When you export your image, you may be asked whether or not to save the resolution. Be sure to save it.</p> <p>Example dialog boxes for grayscale png exported from GIMP:</p> -<p class="centerimg"><img src="html-resources/imgdialogs.png" width="600" height="192" alt="png image with resolution"/></p> +<p class="centerimg"><img src="html-resources/imgdialogs.png" width="600" height="192" alt="png image with resolution"></p> <a id="a8.2.2"></a> @@ -221,7 +221,7 @@ <p>After a few moments, the Terminal will show some information. It should say that the type is grayscale, at 8 bits per pixel. The resolution is 118.11 pixels per centimeter (which is 300dpi). The page geometry, divided by 300, will give you the image size in inches (thus, a page geometry of 900+1200+0+0 represents an image 3" wide x 4" high).</p> -<p class="floatright"><img src="html-resources/pngcolortype.png" width="270" height="46" alt="png color type"/><br/><img src="html-resources/jpgcolorspace.png" width="296" height="46" alt="jpg colorspace"/></p> +<p class="floatright"><img src="html-resources/pngcolortype.png" width="270" height="46" alt="png color type"><br><img src="html-resources/jpgcolorspace.png" width="296" height="46" alt="jpg colorspace"></p> <p>Most important of all: Scroll through the information. Near its end, you should see a line like this. The exact wording will depend on your software:</p> <p class="code" style="clear:both">(For png images) <code>png: IHDR.color_type: 0 (grayscale)</code></p> @@ -289,7 +289,7 @@ <p>Offsets may be written as combinations of lengths. If you use the baseline <code>b</code> as above, it must be the first character of voffset. If you use <code>\widthof</code> or <code>\heightof</code>, then its backslash must be the first character <em>unless</em> it is preceded by another length. Thus, an offset of <code>-\heightof{X}</code> is prohibited, but you can use <code>0pt-\heightof{X}</code>. <p>Here are some examples of allowable code:</p> <p class="code"><code> -\InlineImage[2.3em, -0.4em]{imageFile.png}<br/> +\InlineImage[2.3em, -0.4em]{imageFile.png}<br> \InlineImage[0pt-\widthof{eee}, b+\heightof{X}-0.2em]{imageFile.jpg} </code></p> <p>The image occupies zero vertical space. So, it will not push apart baselines. The next line(s) of text may overlie the image. In some cases, this is desirable. If you do not want that effect, then you can either insert a suitable number of <code>\null</code> lines after the image, or use <code>\BlockImage</code> instead.</p> @@ -318,11 +318,11 @@ <p>Example:</p> <p class="code"><code> -\noindent\InlineImage*[0pt,1.2\nbs]{gavel.png} Lord Withens took a seat at the rear of the courtroom, attempting to be inconspicuous. Yet his effort was in vain, as he was the only person there with a riding crop and spurs.\par<br/> +\noindent\InlineImage*[0pt,1.2\nbs]{gavel.png} Lord Withens took a seat at the rear of the courtroom, attempting to be inconspicuous. Yet his effort was in vain, as he was the only person there with a riding crop and spurs.\par<br> He would have taken the car, had it not been stolen. But that was why he was here, at the arraignment of the person charged with the theft. It was most unfortunate that the accused was his own elderly father; but then, theft ran in the family line.\par </code></p> -<p class="centerimg"><img src="html-resources/inlineimagest.png" width="651" height="249" alt="example of InlineImage*"/></p> +<p class="centerimg"><img src="html-resources/inlineimagest.png" width="651" height="249" alt="example of InlineImage*"></p> @@ -344,13 +344,13 @@ He would have taken the car, had it not been stolen. But that was why he was her <p>Example:</p> <p class="code"> <code> -It was a dark and stormy night. Lord Withens mounted his horse and rode through the darkness, accidentally trampling some petunias in Her Ladyship's garden.\par<br/> -\BlockImage[l]{gnome.png}[\begin{adjustwidth}{8em}{0pt}\forceindent Suddenly he was confronted by an irate gnome, who expressed an opinion in the crudest of language, even for a gnome.\par<br/> -Lord Withens was taken aback. How dare this mere gnome speak to him in such a tone of voice? But then he remembered that the gnomes had gone to college, where swearing was routine.\par\end{adjustwidth}]<br/> +It was a dark and stormy night. Lord Withens mounted his horse and rode through the darkness, accidentally trampling some petunias in Her Ladyship's garden.\par<br> +\BlockImage[l]{gnome.png}[\begin{adjustwidth}{8em}{0pt}\forceindent Suddenly he was confronted by an irate gnome, who expressed an opinion in the crudest of language, even for a gnome.\par<br> +Lord Withens was taken aback. How dare this mere gnome speak to him in such a tone of voice? But then he remembered that the gnomes had gone to college, where swearing was routine.\par\end{adjustwidth}]<br> \charscale[1, 5\nbs]{CENSORED}\forceindent Lord Withens shrugged, and rode on. There was nothing to do but remain silent, this time taking more care. He would speak with his wife about the gnome situation when he returned.\par </code></p> -<p class="centerimg"><img src="html-resources/irategnome.png" width="639" height="423" alt="example of BlockImage with accompanying text"/></p> +<p class="centerimg"><img src="html-resources/irategnome.png" width="639" height="423" alt="example of BlockImage with accompanying text"></p> <p>In the above example, the text to the right of the image happens to have just the right number of lines to fill the available area. But that is only because I wrote it that way. If I had written less, then there would be one or more blank lines before the subsequent text ("Lord Withens shrugged..."). If I had written more, then the subsequent text would have been pushed down by the necessary number of lines, and there would have been more white area underneath the gnome.</p> <p>Thus, this technique requires careful inspection, particularly if there is the danger that the image or accompanying text may overflow the bottom of the page.</p> |