| 1 |
% \iffalse meta-comment |
| 2 |
%<=*COPYRIGHT> |
| 3 |
%% Copyright (C) 2012-2018 by Martin Scharrer <[email protected]> |
| 4 |
%% ----------------------------------------------------------------------- |
| 5 |
%% This work may be distributed and/or modified under the |
| 6 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 7 |
%% of this license or (at your option) any later version. |
| 8 |
%% The latest version of this license is in |
| 9 |
%% http://www.latex-project.org/lppl.txt |
| 10 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 11 |
%% version 2005/12/01 or later. |
| 12 |
%% |
| 13 |
%% This work has the LPPL maintenance status `maintained'. |
| 14 |
%% |
| 15 |
%% The Current Maintainer of this work is Martin Scharrer. |
| 16 |
%% |
| 17 |
%% This work consists of the files mwe.dtx and mwe.ins and multiple |
| 18 |
%% example-*.tex files |
| 19 |
%% and the derived filebase mwe.sty and example-*.{pdf,eps,png,eps}. |
| 20 |
%% |
| 21 |
%<=/COPYRIGHT> |
| 22 |
% \fi |
| 23 |
% |
| 24 |
% \iffalse |
| 25 |
%<*driver> |
| 26 |
\ProvidesFile{mwe.dtx}[% |
| 27 |
%<=*DATE> |
| 28 |
2018/03/30 |
| 29 |
%<=/DATE> |
| 30 |
%<=*VERSION> |
| 31 |
v0.5 |
| 32 |
%<=/VERSION> |
| 33 |
DTX file for mwe] |
| 34 |
\documentclass{ydoc} |
| 35 |
\GetFileInfo{mwe.dtx} |
| 36 |
\usepackage{mwe}[\filedate] |
| 37 |
\usepackage[export]{adjustbox} |
| 38 |
\usepackage{flafter} |
| 39 |
\usepackage{pdfpages} |
| 40 |
\EnableCrossrefs |
| 41 |
\CodelineIndex |
| 42 |
\RecordChanges |
| 43 |
\OnlyDescription |
| 44 |
\begin{document} |
| 45 |
\DocInput{\jobname.dtx} |
| 46 |
\PrintChanges |
| 47 |
\PrintIndex |
| 48 |
\end{document} |
| 49 |
%</driver> |
| 50 |
% \fi |
| 51 |
% |
| 52 |
% \CheckSum{0} |
| 53 |
% |
| 54 |
% \CharacterTable |
| 55 |
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 56 |
% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 57 |
% Digits \0\1\2\3\4\5\6\7\8\9 |
| 58 |
% Exclamation \! Double quote \" Hash (number) \# |
| 59 |
% Dollar \$ Percent \% Ampersand \& |
| 60 |
% Acute accent \' Left paren \( Right paren \) |
| 61 |
% Asterisk \* Plus \+ Comma \, |
| 62 |
% Minus \- Point \. Solidus \/ |
| 63 |
% Colon \: Semicolon \; Less than \< |
| 64 |
% Equals \= Greater than \> Question mark \? |
| 65 |
% Commercial at \@ Left bracket \[ Backslash \\ |
| 66 |
% Right bracket \] Circumflex \^ Underscore \_ |
| 67 |
% Grave accent \` Left brace \{ Vertical bar \| |
| 68 |
% Right brace \} Tilde \~} |
| 69 |
% |
| 70 |
% |
| 71 |
% \changes{v0.1}{2012/05/03}{Initial version.} |
| 72 |
% \changes{v0.2}{2012/05/08}{Added ``example-'' prefix to image files.} |
| 73 |
% \changes{v0.3}{2012/05/15}{Added graphicspath for ``example-'' and moved PDF to the begin of the file extensions.} |
| 74 |
% \changes{v0.4}{2017/12/10}{Added numbered multi-page documents.} |
| 75 |
% \changes{v0.5}{2018/03/30}{Added example movie MP4 file. Added plain and empty example images. Added reference to example BibTeX file.} |
| 76 |
% |
| 77 |
% \DoNotIndex{\newcommand,\newenvironment} |
| 78 |
% |
| 79 |
% \GetFileInfo{mwe.dtx} |
| 80 |
% \author{Martin Scharrer} |
| 81 |
% \email{[email protected]} |
| 82 |
% \repository{https://bitbucket.org/martin_scharrer/mwe} |
| 83 |
% |
| 84 |
% \maketitle |
| 85 |
% |
| 86 |
% \begin{abstract}\noindent |
| 87 |
% The \pkg{mwe} CTAN package comes with a small \LaTeX\ package which loads |
| 88 |
% packages commonly used to create minimal working examples (MWEs) |
| 89 |
% and with a collection of dummy images. The idea is that this images |
| 90 |
% are installed in the \texttt{TEXMF} tree in a way where they are accessible |
| 91 |
% by any document. Then MWEs with images can be shared by multiple users |
| 92 |
% without the need of image replacement code or the \texttt{dummy} option of \texttt{graphicx}. |
| 93 |
% \end{abstract} |
| 94 |
% |
| 95 |
% \section{Introduction and Motivation} |
| 96 |
% \LaTeX\ has a large online-community and people can find a lot of help from other users |
| 97 |
% on places like |
| 98 |
% \href{https://groups.google.com/forum/?fromgroups#!forum/comp.text.tex}{\texttt{comp.text.tex}} |
| 99 |
% or \url{http://tex.stackexchange.com/}. |
| 100 |
% In many cases the user with the problem is required to post a code example which shows |
| 101 |
% the use-case, but nothing unrelated, and should be compilable by other people without extra effort. |
| 102 |
% Such an example is often called a \emph{minimal working example} (MWE), or sometimes only \emph{minimal example}. |
| 103 |
% Users can use this example document to test if the issue also occurs in their \LaTeX\ installation and |
| 104 |
% easily implement and test solutions. If a solution is found the modified example can be posted back to the original |
| 105 |
% user. For general questions like "How to do X", answers often create an example document by themselves. |
| 106 |
% |
| 107 |
% There are some packages which are very useful for MWEs (and mostly only for these), like the \pkg{lipsum} |
| 108 |
% and \pkg{blindtext} packages. Both produce dummy text in the document which is required to produce realistic scenarios |
| 109 |
% for e.g.\ float placement etc. This frees the user from typing or copying larger dummy texts by himself, |
| 110 |
% which would also increase the size of the example and make it less readable. |
| 111 |
% The \pkg{mwe} package loads such packages and allows for a further reduction of the MWE document size. |
| 112 |
% |
| 113 |
% A problem with sharing MWEs appears if image files are included in the document (e.g.\ \Macro\includegraphics, |
| 114 |
% \env{figure} environments etc.). Often the image is replaced with a replacement code like |
| 115 |
% \Macro\rule{<width>}{<height>} or the \texttt{demo} option of \pkg{graphicx} is used to replace the image with an |
| 116 |
% empty frame without trying to read the given image file. |
| 117 |
% Both of these methods are a little cumbersome and have other issues. For once, an explanation for new users must be |
| 118 |
% added to replace the code with a real \Macro\includegraphics or to remove the \texttt{demo} option for their final |
| 119 |
% document. Another issue might arise when the example requires specific image options like scaling or cropping, |
| 120 |
% which might not be easily and completely be replicated with these replacements. |
| 121 |
% Also, the compiled result will look less than a normal document with real images. |
| 122 |
% |
| 123 |
% To overcome these drawbacks several real dummy images with different sizes, ratios and formats are provided with |
| 124 |
% this package. Once installed in the correct directory in the \texttt{TEXMF} tree they will be available to all |
| 125 |
% documents. This way a user can compile any MWE given to him by another person |
| 126 |
% which uses these image files without requiring code replacements or sharing images. The \pkg{mwe}, which loads |
| 127 |
% \pkg{graphicx}, can be used to minimise the preamble, but is not required to be loaded in order to use the images. |
| 128 |
% |
| 129 |
% It should be noted that the main contribution of this CTAN package is, at least at the moment, the provided demo/test image files. |
| 130 |
% The \pkg{mwe} \LaTeX\ package is (in his current form) just an addition. |
| 131 |
% |
| 132 |
% \section{Usage} |
| 133 |
% The provided image files can be included as normal using i.e.\ using the \pkg{graphicx} package and its |
| 134 |
% \Macro\includegraphics[<options>]{<filename>} macro. |
| 135 |
% They are also provided in source code form (\texttt{.tex} files) and can be included in a document |
| 136 |
% using \Macro\input{<filename>}. They require the \pkg{tikz} package to be loaded. |
| 137 |
% For this to work it is important that the images are located at the indented position in the \texttt{TEXMF} tree as |
| 138 |
% described in section~\ref{sec:installation}. |
| 139 |
% |
| 140 |
% The \pkg{mwe} can be loaded in the preamble of a MWE and loads often used packages. |
| 141 |
% At this moment these are only \pkg{graphicx}, \pkg{lipsum} and \pkg{blindtext}, while the last two are only |
| 142 |
% loaded if they are installed. The package is not required for using the image files. |
| 143 |
% If the package is loaded it will change the graphic extension list so that PDF files are used first for formats which |
| 144 |
% support PDF images. Also \Macro\graphicspath{{example-}} is used to allow to shorten the file names to `|image..|' |
| 145 |
% instead of the full `|example-image...|'. |
| 146 |
% |
| 147 |
% Some MWE might even be better off not to use the package if specific side-effect between packages is tested. |
| 148 |
% |
| 149 |
% \begin{lstlisting}[language={[latex]tex},gobble=4,title={Usage Example}] |
| 150 |
% \documentclass{article} |
| 151 |
% \usepackage{mwe}% or load 'graphicx' and 'blindtext' manually |
| 152 |
% \begin{document} |
| 153 |
% \blindtext |
| 154 |
% \begin{figure} |
| 155 |
% \includegraphics[width=.48\linewidth]{example-image-a}\hfill |
| 156 |
% \includegraphics[width=.48\linewidth]{example-image-b} |
| 157 |
% \caption{MWE to demonstrate how to place to images side-by-side} |
| 158 |
% \end{figure} |
| 159 |
% \blindtext |
| 160 |
% \end{document} |
| 161 |
% \end{lstlisting} |
| 162 |
% |
| 163 |
% |
| 164 |
% |
| 165 |
% \section{Installation}\label{sec:installation} |
| 166 |
% The \pkg{mwe} package has due to its nature a little uncommon installation requirements. |
| 167 |
% While the normal package files are installed as normal, a variety of image files |
| 168 |
% are installed in the \texttt{tex/latex/mwe/} folder, so that they can be accessed from |
| 169 |
% every (MWE) document. |
| 170 |
% |
| 171 |
% Multiple binary images are included which can't be build from the DTX alone |
| 172 |
% without extra conversion tools. A TDS ZIP file which only needs to be unzipped |
| 173 |
% over the TEXMF is also provided. This is the preferred way to install this |
| 174 |
% package for end users and distribution maintainers. If a manual build is wanted |
| 175 |
% change all occurrences of `|nostandalone|' to `|standalone|' in the DTX file. |
| 176 |
% Compile all extracted TEX files with |pdflatex| and convert these files from PDF |
| 177 |
% to PNG and JPG. Compile again with |latex| and |dvips| to create the EPS files |
| 178 |
% (rename the PS to EPS). |
| 179 |
% |
| 180 |
% \begin{center}\small |
| 181 |
% \begin{tabular}{>{\ttfamily}l>{\ttfamily}l} |
| 182 |
% \toprule |
| 183 |
% \normalfont Files & \normalfont\hskip-3em TEXMF Installation folder \\ |
| 184 |
% \midrule |
| 185 |
% mwe.dtx mwe.ins & source/latex/mwe/ \\ |
| 186 |
% mwe.pdf README INSTALL & doc/latex/mwe/ \\ |
| 187 |
% mwe.sty & tex/latex/mwe/ \\ |
| 188 |
% example-image-*x*.\{tex,pdf,png,jpg,eps\} & tex/latex/mwe/ \\ |
| 189 |
% example-image-?.\{tex,pdf,png,jpg,eps\} & tex/latex/mwe/ \\ |
| 190 |
% example-image-golden*.\{tex,pdf,png,jpg,eps\} & tex/latex/mwe/ \\ |
| 191 |
% example-grid-*.{tex,pdf} & tex/latex/mwe/ \\ |
| 192 |
% example-image-a?*.pdf example-image-letter*.pdf & tex/latex/mwe/ \\ |
| 193 |
% example-image-a?*.tex example-image-letter*.tex & source/latex/mwe/ \\ |
| 194 |
% example-movie.mp4 & tex/latex/mwe/ \\ |
| 195 |
% example-movie.tex & source/latex/mwe/ \\ |
| 196 |
% \bottomrule |
| 197 |
% \end{tabular} |
| 198 |
% \end{center} |
| 199 |
% |
| 200 |
% |
| 201 |
% \section{Provided Images} |
| 202 |
% The following images are provided by \pkg{mwe}. |
| 203 |
% If the \pkg{mwe} \LaTeX\ package is loaded the PDF version will be used instead of the PNG version |
| 204 |
% and the `|example-|' part of the filename may be skipped. |
| 205 |
% |
| 206 |
% \subsection{Normal Images} |
| 207 |
% The following images are meant as dummy replacements for real images. |
| 208 |
% They are provided as PDF, JPG, PNG and EPS formats in order to cover every possible use-case. |
| 209 |
% They are also provides as TEX files holding the source code. The \pkg{tikz} package must be loaded |
| 210 |
% in order to use them in a document. These source files originally use the \cls{standalone} class and a preamble, |
| 211 |
% but these lines have been commented out, in order to not require the \pkg{standalone} package in order to \Macro\input |
| 212 |
% them into a MWE or test document. |
| 213 |
% |
| 214 |
% \def\mweimage#1{\begin{figure}\adjincludegraphics[max size={\textwidth}{.8\textheight},center]{#1.pdf}\caption{Image `\texttt{#1}' (PDF, also available as JPG, PNG and EPS).}\end{figure}} |
| 215 |
% |
| 216 |
% \mweimage{example-image} |
| 217 |
% |
| 218 |
% \mweimage{example-image-a} |
| 219 |
% |
| 220 |
% \mweimage{example-image-b} |
| 221 |
% |
| 222 |
% \mweimage{example-image-c} |
| 223 |
% |
| 224 |
% \mweimage{example-image-16x10} |
| 225 |
% |
| 226 |
% \mweimage{example-image-10x16} |
| 227 |
% |
| 228 |
% \mweimage{example-image-16x9} |
| 229 |
% |
| 230 |
% \mweimage{example-image-9x16} |
| 231 |
% |
| 232 |
% \mweimage{example-image-golden} |
| 233 |
% |
| 234 |
% \mweimage{example-image-golden-upright} |
| 235 |
% |
| 236 |
% \mweimage{example-image-1x1} |
| 237 |
% \clearpage |
| 238 |
% \subsection{Plain and empty images} |
| 239 |
% The following plain (no text) and empty (background only) images where added on request for example documents where material is |
| 240 |
% added on top of an image. Then any text would only cause visual distraction. |
| 241 |
% |
| 242 |
% \def\mweimage#1{\adjustimage{max size={\textwidth}{.33\textheight},center, |
| 243 |
% caption={Image `\texttt{#1}' (PDF, also available as JPG, PNG and EPS).},nofloat=figure}{#1.pdf}} |
| 244 |
% |
| 245 |
% \mweimage{example-image-plain} |
| 246 |
% |
| 247 |
% \mweimage{example-image-empty} |
| 248 |
% |
| 249 |
% \clearpage |
| 250 |
% \subsection{Page-size images} |
| 251 |
% The following files are PDFs in a specific page size like A4, letter, etc. |
| 252 |
% They are provided for use cases where whole PDF pages are included. |
| 253 |
% Because these images are large they are scaled down in order to be displayed in this manual. |
| 254 |
% |
| 255 |
% \def\mweimage#1{\begin{figure}[!tbp]\adjincludegraphics[max size={\textwidth}{.8\textheight},center]{#1.pdf}\caption{Image `\texttt{#1}' (PDF, scaled down).}\end{figure}} |
| 256 |
% |
| 257 |
% |
| 258 |
% \mweimage{example-image-a4} |
| 259 |
% |
| 260 |
% \mweimage{example-image-a4-landscape} |
| 261 |
% |
| 262 |
% \mweimage{example-image-a3} |
| 263 |
% |
| 264 |
% \mweimage{example-image-a3-landscape} |
| 265 |
% |
| 266 |
% \mweimage{example-image-a5} |
| 267 |
% |
| 268 |
% \mweimage{example-image-a5-landscape} |
| 269 |
% |
| 270 |
% \mweimage{example-image-letter} |
| 271 |
% |
| 272 |
% \mweimage{example-image-letter-landscape} |
| 273 |
% |
| 274 |
% \clearpage |
| 275 |
% \begingroup |
| 276 |
% \let\newpage\relax |
| 277 |
% \subsection{Numbered pages} |
| 278 |
% Colored 12-pages A4 size document. Can be used with the |pages| key of\ \cs{includegraphics}: \texttt{example-image-a4-numbered} (pages scaled down) |
| 279 |
% \includepdf[pages=-,nup=3x4,offset=0 -30,delta=10 10,scale=.6]{example-image-a4-numbered.pdf} |
| 280 |
% \endgroup |
| 281 |
% \clearpage |
| 282 |
% \begingroup |
| 283 |
% \let\newpage\relax |
| 284 |
% Colored 12-pages letter size document: \texttt{example-image-letter-numbered} (pages scaled down)\par |
| 285 |
% \includepdf[pages=-,nup=3x4,delta=10 10,scale=.6]{example-image-letter-numbered.pdf} |
| 286 |
% \endgroup |
| 287 |
% \clearpage |
| 288 |
% |
| 289 |
% \subsection{Test images} |
| 290 |
% The following images are intended for demonstrations of some image manipulation features. |
| 291 |
% Their grid nature will make cropping effects very visible. |
| 292 |
% These images are provided with sizes both in TeX points (1pt=1/72.27in) and PostScript/PDF points (1pt=1/72in). |
| 293 |
% The pt version will produce more exact results if inserted in source form in a \LaTeX document, while the bp version |
| 294 |
% results in nice integer PDF sizes. The difference is not meaningful for normal MWEs but can be significant if these files |
| 295 |
% are used to demonstrate scaling features. |
| 296 |
% |
| 297 |
% \def\mweimage#1{\adjustimage{max size={\textwidth}{.8\textheight},center,captionbelow={Image `\texttt{#1}' (PDF, also available as JPG, PNG, EPS).},nofloat=figure}{#1.pdf}} |
| 298 |
% |
| 299 |
% \mweimage{example-grid-100x100bp} |
| 300 |
% |
| 301 |
% \mweimage{example-grid-100x100pt} |
| 302 |
% |
| 303 |
% \subsection{Example movie} |
| 304 |
% On request an example movie file \texttt{example-movie.mp4} has been added for examples regarding packages like |
| 305 |
% \pkg{media9} or \pkg{movie15}. As not all PDF viewers can display PDFs with embedded movies correctly this manual does |
| 306 |
% not include an example use. |
| 307 |
% |
| 308 |
% |
| 309 |
% \clearpage |
| 310 |
% \section[Example BibTeX Entries]{Example Bib\TeX\space Entries} |
| 311 |
% The \pkg{mwe} package does not provide an example Bib\TeX{} file itself. However, if example Bib\TeX{} entries are needed the |
| 312 |
% example file \texttt{xampl.bib} provided by the Bib\TeX{} base files can be used. |
| 313 |
% |
| 314 |
% As of time of writing this manual the example file included the following entries. |
| 315 |
% |
| 316 |
% \begin{center}\small |
| 317 |
% \begin{tabular}{ll} |
| 318 |
% \toprule |
| 319 |
% \bfseries Entry Type & \bfseries Key \\ |
| 320 |
% \midrule |
| 321 |
% article & article-minimal \\ |
| 322 |
% article & article-full \\ |
| 323 |
% article & article-crossref \\ |
| 324 |
% article & whole-journal \\ |
| 325 |
% inbook & inbook-minimal \\ |
| 326 |
% inbook & inbook-full \\ |
| 327 |
% inbook & inbook-crossref \\ |
| 328 |
% book & book-minimal \\ |
| 329 |
% book & book-full \\ |
| 330 |
% book & book-crossref \\ |
| 331 |
% book & whole-set \\ |
| 332 |
% booklet & booklet-minimal \\ |
| 333 |
% booklet & booklet-full \\ |
| 334 |
% incollection & incollection-minimal \\ |
| 335 |
% incollection & incollection-full \\ |
| 336 |
% incollection & incollection-crossref \\ |
| 337 |
% book & whole-collection \\ |
| 338 |
% manual & manual-minimal \\ |
| 339 |
% manual & manual-full \\ |
| 340 |
% mastersthesis & mastersthesis-minimal \\ |
| 341 |
% mastersthesis & mastersthesis-full \\ |
| 342 |
% misc & misc-minimal \\ |
| 343 |
% misc & misc-full \\ |
| 344 |
% string & stoc-key \\ |
| 345 |
% string & acm \\ |
| 346 |
% string & stoc \\ |
| 347 |
% inproceedings & inproceedings-minimal \\ |
| 348 |
% inproceedings & inproceedings-full \\ |
| 349 |
% inproceedings & inproceedings-crossref \\ |
| 350 |
% proceedings & proceedings-minimal \\ |
| 351 |
% proceedings & proceedings-full \\ |
| 352 |
% proceedings & whole-proceedings \\ |
| 353 |
% phdthesis & phdthesis-minimal \\ |
| 354 |
% phdthesis & phdthesis-full \\ |
| 355 |
% techreport & techreport-minimal \\ |
| 356 |
% techreport & techreport-full \\ |
| 357 |
% unpublished & unpublished-minimal \\ |
| 358 |
% unpublished & unpublished-full \\ |
| 359 |
% misc & random-note-crossref \\ |
| 360 |
% \bottomrule |
| 361 |
% \end{tabular} |
| 362 |
% \end{center} |
| 363 |
% |
| 364 |
% \clearpage |
| 365 |
% |
| 366 |
% \StopEventually{} |
| 367 |
% \clearpage |
| 368 |
% \section{Implementation} |
| 369 |
% |
| 370 |
% \iffalse |
| 371 |
%<*mwe.sty> |
| 372 |
% \fi |
| 373 |
% \begin{macrocode} |
| 374 |
%<!COPYRIGHT> |
| 375 |
\ProvidesPackage{mwe}[% |
| 376 |
%<!DATE> |
| 377 |
%<!VERSION> |
| 378 |
%<*DRIVER> |
| 379 |
2099/01/01 develop |
| 380 |
%</DRIVER> |
| 381 |
Package to support minimal working examples (MWE)] |
| 382 |
% \end{macrocode} |
| 383 |
% |
| 384 |
% \begin{macrocode} |
| 385 |
\RequirePackage{graphicx} |
| 386 |
% \end{macrocode} |
| 387 |
% |
| 388 |
% Allow ``image'' instead of ``example-image''. |
| 389 |
% \begin{macrocode} |
| 390 |
\expandafter\ifx\csname Ginput@path\endcsname\relax |
| 391 |
\graphicspath{{example-}} |
| 392 |
\fi |
| 393 |
% \end{macrocode} |
| 394 |
% |
| 395 |
% Put `|.pdf|' as first extension if included in |
| 396 |
% list of image file extensions. |
| 397 |
% \begin{macrocode} |
| 398 |
\begingroup |
| 399 |
\def\@tempa#1,.pdf,#2\@nnil{% |
| 400 |
\ifx\@nnil#2\@nnil\else |
| 401 |
\def\@tempa##1\relax##2\@nnil{% |
| 402 |
\gdef\Gin@extensions{.pdf,#1,##1}% |
| 403 |
}% |
| 404 |
\@tempa#2\@nnil |
| 405 |
\fi |
| 406 |
} |
| 407 |
\expandafter\@tempa\Gin@extensions\relax,.pdf,\@nnil |
| 408 |
\endgroup |
| 409 |
% \end{macrocode} |
| 410 |
% |
| 411 |
% \begin{macrocode} |
| 412 |
\IfFileExists{lipsum.sty}{% |
| 413 |
\RequirePackage{lipsum} |
| 414 |
}{} |
| 415 |
\IfFileExists{blindtext.sty}{% |
| 416 |
\RequirePackage{blindtext} |
| 417 |
}{} |
| 418 |
% \end{macrocode} |
| 419 |
|
| 420 |
% \iffalse |
| 421 |
%</mwe.sty> |
| 422 |
% \fi |
| 423 |
% |
| 424 |
% \iffalse |
| 425 |
%<*example-grid-100x100bp.tex> |
| 426 |
% \fi |
| 427 |
% \begin{macrocode} |
| 428 |
%</example-grid-100x100bp.tex> |
| 429 |
%<*example-grid-100x100bp.tex&standalone> |
| 430 |
\documentclass[border=0pt]{standalone} |
| 431 |
\usepackage[T1]{fontenc} |
| 432 |
\usepackage{lmodern} |
| 433 |
|
| 434 |
\usepackage{tikz} |
| 435 |
\newdimen\unit |
| 436 |
\begin{document}% |
| 437 |
%</example-grid-100x100bp.tex&standalone> |
| 438 |
%<*example-grid-100x100bp.tex> |
| 439 |
\tikzset{unit/.code={\unit=\dimexpr#1\relax}}% |
| 440 |
\tikzset{xy/.style={x={#1},y={#1},unit={#1},font={\sffamily\fontsize{.2\unit}{.24\unit}\selectfont},line width=.01\unit}}% |
| 441 |
\begin{tikzpicture}[xy=10bp]% |
| 442 |
\path [use as bounding box] (0,0) rectangle (10,10); |
| 443 |
\foreach \x in {5,...,1} { |
| 444 |
\path [fill=blue!\the\numexpr\x*20\relax!red] (5-\x,5-\x) rectangle (5+\x,5+\x); |
| 445 |
} |
| 446 |
\path [draw] (0,0) rectangle (10,10); |
| 447 |
\foreach \x in {0,...,10} { |
| 448 |
\path [draw] (\x,0) rectangle (\x,10); |
| 449 |
\path [draw] (0,\x) rectangle (10,\x); |
| 450 |
} |
| 451 |
\foreach \y in {0,...,9} |
| 452 |
\foreach \x in {0,...,9} { |
| 453 |
\path (\x+.5,\y+.5) node {\x,\y}; |
| 454 |
} |
| 455 |
\end{tikzpicture}% |
| 456 |
%</example-grid-100x100bp.tex> |
| 457 |
%<*example-grid-100x100bp.tex&standalone> |
| 458 |
\end{document}% |
| 459 |
%</example-grid-100x100bp.tex&standalone> |
| 460 |
%<*example-grid-100x100bp.tex> |
| 461 |
% \end{macrocode} |
| 462 |
% \iffalse |
| 463 |
%</example-grid-100x100bp.tex> |
| 464 |
% \fi |
| 465 |
% |
| 466 |
% \iffalse |
| 467 |
%<*example-grid-100x100pt.tex> |
| 468 |
% \fi |
| 469 |
% \begin{macrocode} |
| 470 |
%</example-grid-100x100pt.tex> |
| 471 |
%<*example-grid-100x100pt.tex&standalone> |
| 472 |
\documentclass[border=0pt]{standalone} |
| 473 |
\usepackage[T1]{fontenc} |
| 474 |
\usepackage{lmodern} |
| 475 |
|
| 476 |
\usepackage{tikz} |
| 477 |
\newdimen\unit |
| 478 |
\begin{document}% |
| 479 |
%</example-grid-100x100pt.tex&standalone> |
| 480 |
%<*example-grid-100x100pt.tex> |
| 481 |
\tikzset{unit/.code={\unit=\dimexpr#1\relax}}% |
| 482 |
\tikzset{xy/.style={x={#1},y={#1},unit={#1},font={\sffamily\fontsize{.2\unit}{.24\unit}\selectfont},line width=.01\unit}}% |
| 483 |
\begin{tikzpicture}[xy=10pt]% |
| 484 |
\path [use as bounding box] (0,0) rectangle (10,10); |
| 485 |
\foreach \x in {5,...,1} { |
| 486 |
\path [fill=blue!\the\numexpr\x*20\relax!red] (5-\x,5-\x) rectangle (5+\x,5+\x); |
| 487 |
} |
| 488 |
\path [draw] (0,0) rectangle (10,10); |
| 489 |
\foreach \x in {0,...,10} { |
| 490 |
\path [draw] (\x,0) rectangle (\x,10); |
| 491 |
\path [draw] (0,\x) rectangle (10,\x); |
| 492 |
} |
| 493 |
\foreach \y in {0,...,9} |
| 494 |
\foreach \x in {0,...,9} { |
| 495 |
\path (\x+.5,\y+.5) node {\x,\y}; |
| 496 |
} |
| 497 |
\end{tikzpicture}% |
| 498 |
%</example-grid-100x100pt.tex> |
| 499 |
%<*example-grid-100x100pt.tex&standalone> |
| 500 |
\end{document}% |
| 501 |
%</example-grid-100x100pt.tex&standalone> |
| 502 |
%<*example-grid-100x100pt.tex> |
| 503 |
% \end{macrocode} |
| 504 |
% \iffalse |
| 505 |
%</example-grid-100x100pt.tex> |
| 506 |
% \fi |
| 507 |
% |
| 508 |
% \iffalse |
| 509 |
%<*example-image-10x16.tex> |
| 510 |
% \fi |
| 511 |
% \begin{macrocode} |
| 512 |
%</example-image-10x16.tex> |
| 513 |
%<*example-image-10x16.tex&standalone> |
| 514 |
\documentclass[border=0]{standalone} |
| 515 |
\usepackage[T1]{fontenc} |
| 516 |
\usepackage{lmodern} |
| 517 |
|
| 518 |
\usepackage{tikz} |
| 519 |
\usetikzlibrary{calc} |
| 520 |
\begin{document}% |
| 521 |
%</example-image-10x16.tex&standalone> |
| 522 |
%<*example-image-10x16.tex> |
| 523 |
\begin{tikzpicture}[y=32bp,x=20bp]% |
| 524 |
\clip (0,0) rectangle (10,10); |
| 525 |
\path [draw,fill=black!25,ultra thick] (0,0) rectangle (10,10); |
| 526 |
\path let \p1=(2,0), \p2=(2.4,0), \p3=(.4,0), \p4 = (.48,0) in |
| 527 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont \llap{16}$\times$\rlap{10}} |
| 528 |
node at (5,2) {\sffamily\fontsize{\x3}{\x4}\selectfont (Original size: 200$\times$320 bp)} |
| 529 |
; |
| 530 |
\end{tikzpicture}% |
| 531 |
%</example-image-10x16.tex> |
| 532 |
%<*example-image-10x16.tex&standalone> |
| 533 |
\end{document}% |
| 534 |
%</example-image-10x16.tex&standalone> |
| 535 |
%<*example-image-10x16.tex> |
| 536 |
% \end{macrocode} |
| 537 |
% \iffalse |
| 538 |
%</example-image-10x16.tex> |
| 539 |
% \fi |
| 540 |
% |
| 541 |
% \iffalse |
| 542 |
%<*example-image-16x10.tex> |
| 543 |
% \fi |
| 544 |
% \begin{macrocode} |
| 545 |
%</example-image-16x10.tex> |
| 546 |
%<*example-image-16x10.tex&standalone> |
| 547 |
\documentclass[border=0]{standalone} |
| 548 |
\usepackage[T1]{fontenc} |
| 549 |
\usepackage{lmodern} |
| 550 |
|
| 551 |
\usepackage{tikz} |
| 552 |
\usetikzlibrary{calc} |
| 553 |
\begin{document}% |
| 554 |
%</example-image-16x10.tex&standalone> |
| 555 |
%<*example-image-16x10.tex> |
| 556 |
\begin{tikzpicture}[x=32bp,y=20bp]% |
| 557 |
\clip (0,0) rectangle (10,10); |
| 558 |
\path [draw,fill=black!25,ultra thick] (0,0) rectangle (10,10); |
| 559 |
\path let \p1=(2,0), \p2=(2.4,0), \p3=(.4,0), \p4 = (.48,0) in |
| 560 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont \llap{16}$\times$\rlap{10}} |
| 561 |
node at (5,2) {\sffamily\fontsize{\x3}{\x4}\selectfont (Original size: 320$\times$200 bp)} |
| 562 |
; |
| 563 |
\end{tikzpicture}% |
| 564 |
%</example-image-16x10.tex> |
| 565 |
%<*example-image-16x10.tex&standalone> |
| 566 |
\end{document}% |
| 567 |
%</example-image-16x10.tex&standalone> |
| 568 |
%<*example-image-16x10.tex> |
| 569 |
% \end{macrocode} |
| 570 |
% \iffalse |
| 571 |
%</example-image-16x10.tex> |
| 572 |
% \fi |
| 573 |
% |
| 574 |
% \iffalse |
| 575 |
%<*example-image-16x9.tex> |
| 576 |
% \fi |
| 577 |
% \begin{macrocode} |
| 578 |
%</example-image-16x9.tex> |
| 579 |
%<*example-image-16x9.tex&standalone> |
| 580 |
\documentclass[border=0]{standalone} |
| 581 |
\usepackage[T1]{fontenc} |
| 582 |
\usepackage{lmodern} |
| 583 |
|
| 584 |
\usepackage{tikz} |
| 585 |
\usetikzlibrary{calc} |
| 586 |
\begin{document}% |
| 587 |
%</example-image-16x9.tex&standalone> |
| 588 |
%<*example-image-16x9.tex> |
| 589 |
\begin{tikzpicture}[x=32bp,y=18bp]% |
| 590 |
\clip (0,0) rectangle (10,10); |
| 591 |
\path [draw,fill=black!25,ultra thick] (0,0) rectangle (10,10); |
| 592 |
\path let \p1=(2,0), \p2=(2.4,0), \p3=(.4,0), \p4 = (.48,0) in |
| 593 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont \llap{16}$\times$\rlap{9}} |
| 594 |
node at (5,2) {\sffamily\fontsize{\x3}{\x4}\selectfont (Original size: 320$\times$180 bp)} |
| 595 |
; |
| 596 |
\end{tikzpicture}% |
| 597 |
%</example-image-16x9.tex> |
| 598 |
%<*example-image-16x9.tex&standalone> |
| 599 |
\end{document}% |
| 600 |
%</example-image-16x9.tex&standalone> |
| 601 |
%<*example-image-16x9.tex> |
| 602 |
% \end{macrocode} |
| 603 |
% \iffalse |
| 604 |
%</example-image-16x9.tex> |
| 605 |
% \fi |
| 606 |
% |
| 607 |
% \iffalse |
| 608 |
%<*example-image-1x1.tex> |
| 609 |
% \fi |
| 610 |
% \begin{macrocode} |
| 611 |
%</example-image-1x1.tex> |
| 612 |
%<*example-image-1x1.tex&standalone> |
| 613 |
\documentclass[border=0]{standalone} |
| 614 |
\usepackage[T1]{fontenc} |
| 615 |
\usepackage{lmodern} |
| 616 |
|
| 617 |
\usepackage{tikz} |
| 618 |
\usetikzlibrary{calc} |
| 619 |
\begin{document}% |
| 620 |
%</example-image-1x1.tex&standalone> |
| 621 |
%<*example-image-1x1.tex> |
| 622 |
\begin{tikzpicture}[x=20bp,y=20bp]% |
| 623 |
\clip (0,0) rectangle (10,10); |
| 624 |
\path [draw,fill=black!25,ultra thick] (0,0) rectangle (10,10); |
| 625 |
\path let \p1=(2,0), \p2=(2.4,0), \p3=(.4,0), \p4 = (.48,0) in |
| 626 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont \llap{1}$\times$\rlap{1}} |
| 627 |
node at (5,2) {\sffamily\fontsize{\x3}{\x4}\selectfont (Original size: 200$\times$200 bp)} |
| 628 |
; |
| 629 |
\end{tikzpicture}% |
| 630 |
%</example-image-1x1.tex> |
| 631 |
%<*example-image-1x1.tex&standalone> |
| 632 |
\end{document}% |
| 633 |
%</example-image-1x1.tex&standalone> |
| 634 |
%<*example-image-1x1.tex> |
| 635 |
% \end{macrocode} |
| 636 |
% \iffalse |
| 637 |
%</example-image-1x1.tex> |
| 638 |
% \fi |
| 639 |
% |
| 640 |
% \iffalse |
| 641 |
%<*example-image-4x3.tex> |
| 642 |
% \fi |
| 643 |
% \begin{macrocode} |
| 644 |
%</example-image-4x3.tex> |
| 645 |
%<*example-image-4x3.tex&standalone> |
| 646 |
\documentclass[border=0]{standalone} |
| 647 |
\usepackage[T1]{fontenc} |
| 648 |
\usepackage{lmodern} |
| 649 |
|
| 650 |
\usepackage{tikz} |
| 651 |
\usetikzlibrary{calc} |
| 652 |
\begin{document}% |
| 653 |
%</example-image-4x3.tex&standalone> |
| 654 |
%<*example-image-4x3.tex> |
| 655 |
\begin{tikzpicture}[x=16bp,y=12bp]% |
| 656 |
\clip (0,0) rectangle (10,10); |
| 657 |
\path [draw,fill=black!25,ultra thick] (0,0) rectangle (10,10); |
| 658 |
\path let \p1=(2,0), \p2=(2.4,0), \p3=(.4,0), \p4 = (.48,0) in |
| 659 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont \llap{4}$\times$\rlap{3}} |
| 660 |
node at (5,2) {\sffamily\fontsize{\x3}{\x4}\selectfont (Original size: 160$\times$120 bp)} |
| 661 |
; |
| 662 |
\end{tikzpicture}% |
| 663 |
%</example-image-4x3.tex> |
| 664 |
%<*example-image-4x3.tex&standalone> |
| 665 |
\end{document}% |
| 666 |
%</example-image-4x3.tex&standalone> |
| 667 |
%<*example-image-4x3.tex> |
| 668 |
% \end{macrocode} |
| 669 |
% \iffalse |
| 670 |
%</example-image-4x3.tex> |
| 671 |
% \fi |
| 672 |
% |
| 673 |
% \iffalse |
| 674 |
%<*example-image-9x16.tex> |
| 675 |
% \fi |
| 676 |
% \begin{macrocode} |
| 677 |
%</example-image-9x16.tex> |
| 678 |
%<*example-image-9x16.tex&standalone> |
| 679 |
\documentclass[border=0]{standalone} |
| 680 |
\usepackage[T1]{fontenc} |
| 681 |
\usepackage{lmodern} |
| 682 |
|
| 683 |
\usepackage{tikz} |
| 684 |
\usetikzlibrary{calc} |
| 685 |
\begin{document}% |
| 686 |
%</example-image-9x16.tex&standalone> |
| 687 |
%<*example-image-9x16.tex> |
| 688 |
\begin{tikzpicture}[y=32bp,x=18bp]% |
| 689 |
\clip (0,0) rectangle (10,10); |
| 690 |
\path [draw,fill=black!25,ultra thick] (0,0) rectangle (10,10); |
| 691 |
\path let \p1=(2,0), \p2=(2.4,0), \p3=(.4,0), \p4 = (.48,0) in |
| 692 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont \llap{16}$\times$\rlap{9}} |
| 693 |
node at (5,2) {\sffamily\fontsize{\x3}{\x4}\selectfont (Original size: 180$\times$320 bp)} |
| 694 |
; |
| 695 |
\end{tikzpicture}% |
| 696 |
%</example-image-9x16.tex> |
| 697 |
%<*example-image-9x16.tex&standalone> |
| 698 |
\end{document}% |
| 699 |
%</example-image-9x16.tex&standalone> |
| 700 |
%<*example-image-9x16.tex> |
| 701 |
% \end{macrocode} |
| 702 |
% \iffalse |
| 703 |
%</example-image-9x16.tex> |
| 704 |
% \fi |
| 705 |
% |
| 706 |
% \iffalse |
| 707 |
%<*example-image-a3-landscape.tex> |
| 708 |
% \fi |
| 709 |
% \begin{macrocode} |
| 710 |
%</example-image-a3-landscape.tex> |
| 711 |
%<*example-image-a3-landscape.tex&standalone> |
| 712 |
\documentclass[10pt]{article} |
| 713 |
\usepackage[a3paper,landscape]{geometry} |
| 714 |
|
| 715 |
\usepackage{tikz} |
| 716 |
\usepackage{lipsum} |
| 717 |
|
| 718 |
\pagestyle{empty} |
| 719 |
\begin{document} |
| 720 |
%</example-image-a3-landscape.tex&standalone> |
| 721 |
%<*example-image-a3-landscape.tex> |
| 722 |
|
| 723 |
\lipsum*[1] |
| 724 |
\begin{tikzpicture}[remember picture,overlay] |
| 725 |
\clip (current page.south west) rectangle (current page.north east); |
| 726 |
\draw [line width=2pt] ([shift={(.5\pgflinewidth,.5\pgflinewidth)}]current page.south west) rectangle ([shift={(-.5\pgflinewidth,-.5\pgflinewidth)}]current page.north east); |
| 727 |
\end{tikzpicture} |
| 728 |
|
| 729 |
\lipsum[2-13] |
| 730 |
|
| 731 |
%</example-image-a3-landscape.tex> |
| 732 |
%<*example-image-a3-landscape.tex&standalone> |
| 733 |
\end{document} |
| 734 |
% |
| 735 |
%</example-image-a3-landscape.tex&standalone> |
| 736 |
%<*example-image-a3-landscape.tex> |
| 737 |
% \end{macrocode} |
| 738 |
% \iffalse |
| 739 |
%</example-image-a3-landscape.tex> |
| 740 |
% \fi |
| 741 |
% |
| 742 |
% \iffalse |
| 743 |
%<*example-image-a3.tex> |
| 744 |
% \fi |
| 745 |
% \begin{macrocode} |
| 746 |
%</example-image-a3.tex> |
| 747 |
%<*example-image-a3.tex&standalone> |
| 748 |
\documentclass[10pt]{article} |
| 749 |
\usepackage[a3paper]{geometry} |
| 750 |
|
| 751 |
\usepackage{tikz} |
| 752 |
\usepackage{lipsum} |
| 753 |
|
| 754 |
\pagestyle{empty} |
| 755 |
\begin{document} |
| 756 |
%</example-image-a3.tex&standalone> |
| 757 |
%<*example-image-a3.tex> |
| 758 |
|
| 759 |
\lipsum*[1] |
| 760 |
\begin{tikzpicture}[remember picture,overlay] |
| 761 |
\clip (current page.south west) rectangle (current page.north east); |
| 762 |
\draw [line width=2pt] ([shift={(.5\pgflinewidth,.5\pgflinewidth)}]current page.south west) rectangle ([shift={(-.5\pgflinewidth,-.5\pgflinewidth)}]current page.north east); |
| 763 |
\end{tikzpicture} |
| 764 |
|
| 765 |
\lipsum[2-13] |
| 766 |
|
| 767 |
%</example-image-a3.tex> |
| 768 |
%<*example-image-a3.tex&standalone> |
| 769 |
\end{document} |
| 770 |
% |
| 771 |
%</example-image-a3.tex&standalone> |
| 772 |
%<*example-image-a3.tex> |
| 773 |
% \end{macrocode} |
| 774 |
% \iffalse |
| 775 |
%</example-image-a3.tex> |
| 776 |
% \fi |
| 777 |
% |
| 778 |
% \iffalse |
| 779 |
%<*example-image-a4-landscape.tex> |
| 780 |
% \fi |
| 781 |
% \begin{macrocode} |
| 782 |
%</example-image-a4-landscape.tex> |
| 783 |
%<*example-image-a4-landscape.tex&standalone> |
| 784 |
\documentclass[a4paper,landscape,10pt]{article} |
| 785 |
\usepackage{geometry} |
| 786 |
|
| 787 |
\usepackage{tikz} |
| 788 |
\usepackage{lipsum} |
| 789 |
|
| 790 |
\pagestyle{empty} |
| 791 |
\begin{document} |
| 792 |
%</example-image-a4-landscape.tex&standalone> |
| 793 |
%<*example-image-a4-landscape.tex> |
| 794 |
|
| 795 |
\lipsum*[1] |
| 796 |
\begin{tikzpicture}[remember picture,overlay] |
| 797 |
\clip (current page.south west) rectangle (current page.north east); |
| 798 |
\draw [line width=2pt] ([shift={(.5\pgflinewidth,.5\pgflinewidth)}]current page.south west) rectangle ([shift={(-.5\pgflinewidth,-.5\pgflinewidth)}]current page.north east); |
| 799 |
\end{tikzpicture} |
| 800 |
|
| 801 |
\lipsum[2-6] |
| 802 |
|
| 803 |
%</example-image-a4-landscape.tex> |
| 804 |
%<*example-image-a4-landscape.tex&standalone> |
| 805 |
\end{document} |
| 806 |
% |
| 807 |
%</example-image-a4-landscape.tex&standalone> |
| 808 |
%<*example-image-a4-landscape.tex> |
| 809 |
% \end{macrocode} |
| 810 |
% \iffalse |
| 811 |
%</example-image-a4-landscape.tex> |
| 812 |
% \fi |
| 813 |
% |
| 814 |
% \iffalse |
| 815 |
%<*example-image-a4.tex> |
| 816 |
% \fi |
| 817 |
% \begin{macrocode} |
| 818 |
%</example-image-a4.tex> |
| 819 |
%<*example-image-a4.tex&standalone> |
| 820 |
\documentclass[a4paper,10pt]{article} |
| 821 |
\usepackage{geometry} |
| 822 |
|
| 823 |
\usepackage{tikz} |
| 824 |
\usepackage{lipsum} |
| 825 |
|
| 826 |
\pagestyle{empty} |
| 827 |
\begin{document} |
| 828 |
%</example-image-a4.tex&standalone> |
| 829 |
%<*example-image-a4.tex> |
| 830 |
|
| 831 |
\lipsum*[1] |
| 832 |
\begin{tikzpicture}[remember picture,overlay] |
| 833 |
\clip (current page.south west) rectangle (current page.north east); |
| 834 |
\draw [line width=2pt] ([shift={(.5\pgflinewidth,.5\pgflinewidth)}]current page.south west) rectangle ([shift={(-.5\pgflinewidth,-.5\pgflinewidth)}]current page.north east); |
| 835 |
\end{tikzpicture} |
| 836 |
|
| 837 |
\lipsum[2-6] |
| 838 |
|
| 839 |
%</example-image-a4.tex> |
| 840 |
%<*example-image-a4.tex&standalone> |
| 841 |
\end{document} |
| 842 |
% |
| 843 |
%</example-image-a4.tex&standalone> |
| 844 |
%<*example-image-a4.tex> |
| 845 |
% \end{macrocode} |
| 846 |
% \iffalse |
| 847 |
%</example-image-a4.tex> |
| 848 |
% \fi |
| 849 |
% |
| 850 |
% \iffalse |
| 851 |
%<*example-image-a4-numbered.tex> |
| 852 |
% \fi |
| 853 |
% \begin{macrocode} |
| 854 |
%</example-image-a4-numbered.tex> |
| 855 |
%<*example-image-a4-numbered.tex&standalone> |
| 856 |
\documentclass[a4paper,12pt]{article} |
| 857 |
\usepackage{geometry} |
| 858 |
|
| 859 |
\usepackage{tikz} |
| 860 |
|
| 861 |
\pagestyle{empty} |
| 862 |
|
| 863 |
\colorlet{color1}{red} |
| 864 |
\colorlet{color2}{green} |
| 865 |
\colorlet{color3}{blue} |
| 866 |
\colorlet{color4}{yellow} |
| 867 |
\colorlet{color5}{orange} |
| 868 |
\colorlet{color6}{olive} |
| 869 |
\colorlet{color7}{pink} |
| 870 |
\colorlet{color8}{lime} |
| 871 |
\colorlet{color9}{purple} |
| 872 |
\colorlet{color10}{teal} |
| 873 |
\colorlet{color11}{cyan} |
| 874 |
\colorlet{color12}{violet} |
| 875 |
|
| 876 |
|
| 877 |
\def\dopage{% |
| 878 |
\null |
| 879 |
\begin{tikzpicture}[remember picture,overlay] |
| 880 |
\path [fill=color\thepage] (current page.south west) rectangle (current page.north east); |
| 881 |
\node[font=\sffamily\huge,scale=12] at (current page) {\thepage}; |
| 882 |
|
| 883 |
\end{tikzpicture}% |
| 884 |
\clearpage |
| 885 |
} |
| 886 |
|
| 887 |
\def\doit{\tikzstuff\afterpage{\doit}} |
| 888 |
|
| 889 |
\begin{document} |
| 890 |
%</example-image-a4-numbered.tex&standalone> |
| 891 |
%<*example-image-a4-numbered.tex> |
| 892 |
|
| 893 |
\dopage |
| 894 |
\dopage |
| 895 |
\dopage |
| 896 |
\dopage |
| 897 |
\dopage |
| 898 |
\dopage |
| 899 |
\dopage |
| 900 |
\dopage |
| 901 |
\dopage |
| 902 |
\dopage |
| 903 |
\dopage |
| 904 |
\dopage |
| 905 |
|
| 906 |
%</example-image-a4-numbered.tex> |
| 907 |
%<*example-image-a4-numbered.tex&standalone> |
| 908 |
\end{document} |
| 909 |
% |
| 910 |
%</example-image-a4-numbered.tex&standalone> |
| 911 |
%<*example-image-a4-numbered.tex> |
| 912 |
% \end{macrocode} |
| 913 |
% \iffalse |
| 914 |
%</example-image-a4-numbered.tex> |
| 915 |
% \fi |
| 916 |
% |
| 917 |
% \iffalse |
| 918 |
%<*example-image-a5-landscape.tex> |
| 919 |
% \fi |
| 920 |
% \begin{macrocode} |
| 921 |
%</example-image-a5-landscape.tex> |
| 922 |
%<*example-image-a5-landscape.tex&standalone> |
| 923 |
\documentclass[a5paper,landscape,10pt]{article} |
| 924 |
\usepackage{geometry} |
| 925 |
|
| 926 |
\usepackage{tikz} |
| 927 |
\usepackage{lipsum} |
| 928 |
|
| 929 |
\pagestyle{empty} |
| 930 |
\begin{document} |
| 931 |
%</example-image-a5-landscape.tex&standalone> |
| 932 |
%<*example-image-a5-landscape.tex> |
| 933 |
|
| 934 |
\lipsum*[2] |
| 935 |
\begin{tikzpicture}[remember picture,overlay] |
| 936 |
\clip (current page.south west) rectangle (current page.north east); |
| 937 |
\draw [line width=2pt] ([shift={(.5\pgflinewidth,.5\pgflinewidth)}]current page.south west) rectangle ([shift={(-.5\pgflinewidth,-.5\pgflinewidth)}]current page.north east); |
| 938 |
\end{tikzpicture} |
| 939 |
|
| 940 |
\lipsum[3-4] |
| 941 |
|
| 942 |
%</example-image-a5-landscape.tex> |
| 943 |
%<*example-image-a5-landscape.tex&standalone> |
| 944 |
\end{document} |
| 945 |
% |
| 946 |
%</example-image-a5-landscape.tex&standalone> |
| 947 |
%<*example-image-a5-landscape.tex> |
| 948 |
% \end{macrocode} |
| 949 |
% \iffalse |
| 950 |
%</example-image-a5-landscape.tex> |
| 951 |
% \fi |
| 952 |
% |
| 953 |
% \iffalse |
| 954 |
%<*example-image-a5.tex> |
| 955 |
% \fi |
| 956 |
% \begin{macrocode} |
| 957 |
%</example-image-a5.tex> |
| 958 |
%<*example-image-a5.tex&standalone> |
| 959 |
\documentclass[a5paper,10pt]{article} |
| 960 |
\usepackage{geometry} |
| 961 |
|
| 962 |
\usepackage{tikz} |
| 963 |
\usepackage{lipsum} |
| 964 |
|
| 965 |
\pagestyle{empty} |
| 966 |
\begin{document} |
| 967 |
%</example-image-a5.tex&standalone> |
| 968 |
%<*example-image-a5.tex> |
| 969 |
|
| 970 |
\lipsum*[2] |
| 971 |
\begin{tikzpicture}[remember picture,overlay] |
| 972 |
\clip (current page.south west) rectangle (current page.north east); |
| 973 |
\draw [line width=2pt] ([shift={(.5\pgflinewidth,.5\pgflinewidth)}]current page.south west) rectangle ([shift={(-.5\pgflinewidth,-.5\pgflinewidth)}]current page.north east); |
| 974 |
\end{tikzpicture} |
| 975 |
|
| 976 |
\lipsum[3-4] |
| 977 |
|
| 978 |
%</example-image-a5.tex> |
| 979 |
%<*example-image-a5.tex&standalone> |
| 980 |
\end{document} |
| 981 |
% |
| 982 |
%</example-image-a5.tex&standalone> |
| 983 |
%<*example-image-a5.tex> |
| 984 |
% \end{macrocode} |
| 985 |
% \iffalse |
| 986 |
%</example-image-a5.tex> |
| 987 |
% \fi |
| 988 |
% |
| 989 |
% \iffalse |
| 990 |
%<*example-image-a.tex> |
| 991 |
% \fi |
| 992 |
% \begin{macrocode} |
| 993 |
%</example-image-a.tex> |
| 994 |
%<*example-image-a.tex&standalone> |
| 995 |
\documentclass[border=0]{standalone} |
| 996 |
\usepackage[T1]{fontenc} |
| 997 |
\usepackage{lmodern} |
| 998 |
|
| 999 |
\usepackage{tikz} |
| 1000 |
\usetikzlibrary{calc} |
| 1001 |
\begin{document}% |
| 1002 |
%</example-image-a.tex&standalone> |
| 1003 |
%<*example-image-a.tex> |
| 1004 |
\begin{tikzpicture}[x=32bp,y=24bp]% 4x3 |
| 1005 |
\clip (0,0) rectangle (10,10); |
| 1006 |
\path [fill=black!25] (0,0) rectangle (10,10); |
| 1007 |
\draw [thick,black!40] |
| 1008 |
(0,0) -- (10,10) |
| 1009 |
(10,0) -- (0,10) |
| 1010 |
(5,0) -- (5,10) |
| 1011 |
(0,5) -- (10,5) |
| 1012 |
; |
| 1013 |
\path [draw,ultra thick] (0,0) rectangle (10,10); |
| 1014 |
\path let \p1=(5,0), \p2=(6,0), \p3=(.4,0), \p4 = (.48,0) in |
| 1015 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont A} |
| 1016 |
; |
| 1017 |
\end{tikzpicture}% |
| 1018 |
%</example-image-a.tex> |
| 1019 |
%<*example-image-a.tex&standalone> |
| 1020 |
\end{document}% |
| 1021 |
%</example-image-a.tex&standalone> |
| 1022 |
%<*example-image-a.tex> |
| 1023 |
% \end{macrocode} |
| 1024 |
% \iffalse |
| 1025 |
%</example-image-a.tex> |
| 1026 |
% \fi |
| 1027 |
% |
| 1028 |
% \iffalse |
| 1029 |
%<*example-image-b.tex> |
| 1030 |
% \fi |
| 1031 |
% \begin{macrocode} |
| 1032 |
%</example-image-b.tex> |
| 1033 |
%<*example-image-b.tex&standalone> |
| 1034 |
\documentclass[border=0]{standalone} |
| 1035 |
\usepackage[T1]{fontenc} |
| 1036 |
\usepackage{lmodern} |
| 1037 |
|
| 1038 |
\usepackage{tikz} |
| 1039 |
\usetikzlibrary{calc} |
| 1040 |
\begin{document}% |
| 1041 |
%</example-image-b.tex&standalone> |
| 1042 |
%<*example-image-b.tex> |
| 1043 |
\begin{tikzpicture}[x=32bp,y=24bp]% 4x3 |
| 1044 |
\clip (0,0) rectangle (10,10); |
| 1045 |
\path [fill=black!25] (0,0) rectangle (10,10); |
| 1046 |
\draw [thick,black!40] |
| 1047 |
(0,0) -- (10,10) |
| 1048 |
(10,0) -- (0,10) |
| 1049 |
(5,0) -- (5,10) |
| 1050 |
(0,5) -- (10,5) |
| 1051 |
; |
| 1052 |
\path [draw,ultra thick] (0,0) rectangle (10,10); |
| 1053 |
\path let \p1=(5,0), \p2=(6,0), \p3=(.4,0), \p4 = (.48,0) in |
| 1054 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont B} |
| 1055 |
; |
| 1056 |
\end{tikzpicture}% |
| 1057 |
%</example-image-b.tex> |
| 1058 |
%<*example-image-b.tex&standalone> |
| 1059 |
\end{document}% |
| 1060 |
%</example-image-b.tex&standalone> |
| 1061 |
%<*example-image-b.tex> |
| 1062 |
% \end{macrocode} |
| 1063 |
% \iffalse |
| 1064 |
%</example-image-b.tex> |
| 1065 |
% \fi |
| 1066 |
% |
| 1067 |
% \iffalse |
| 1068 |
%<*example-image-c.tex> |
| 1069 |
% \fi |
| 1070 |
% \begin{macrocode} |
| 1071 |
%</example-image-c.tex> |
| 1072 |
%<*example-image-c.tex&standalone> |
| 1073 |
\documentclass[border=0]{standalone} |
| 1074 |
\usepackage[T1]{fontenc} |
| 1075 |
\usepackage{lmodern} |
| 1076 |
|
| 1077 |
\usepackage{tikz} |
| 1078 |
\usetikzlibrary{calc} |
| 1079 |
\begin{document}% |
| 1080 |
%</example-image-c.tex&standalone> |
| 1081 |
%<*example-image-c.tex> |
| 1082 |
\begin{tikzpicture}[x=32bp,y=24bp]% 4x3 |
| 1083 |
\clip (0,0) rectangle (10,10); |
| 1084 |
\path [fill=black!25] (0,0) rectangle (10,10); |
| 1085 |
\draw [thick,black!40] |
| 1086 |
(0,0) -- (10,10) |
| 1087 |
(10,0) -- (0,10) |
| 1088 |
(5,0) -- (5,10) |
| 1089 |
(0,5) -- (10,5) |
| 1090 |
; |
| 1091 |
\path [draw,ultra thick] (0,0) rectangle (10,10); |
| 1092 |
\path let \p1=(5,0), \p2=(6,0), \p3=(.4,0), \p4 = (.48,0) in |
| 1093 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont C} |
| 1094 |
; |
| 1095 |
\end{tikzpicture}% |
| 1096 |
%</example-image-c.tex> |
| 1097 |
%<*example-image-c.tex&standalone> |
| 1098 |
\end{document}% |
| 1099 |
%</example-image-c.tex&standalone> |
| 1100 |
%<*example-image-c.tex> |
| 1101 |
% \end{macrocode} |
| 1102 |
% \iffalse |
| 1103 |
%</example-image-c.tex> |
| 1104 |
% \fi |
| 1105 |
% |
| 1106 |
% \iffalse |
| 1107 |
%<*example-image-golden.tex> |
| 1108 |
% \fi |
| 1109 |
% \begin{macrocode} |
| 1110 |
%</example-image-golden.tex> |
| 1111 |
%<*example-image-golden.tex&standalone> |
| 1112 |
\documentclass[border=0]{standalone} |
| 1113 |
\usepackage[T1]{fontenc} |
| 1114 |
\usepackage{lmodern} |
| 1115 |
|
| 1116 |
\usepackage{tikz} |
| 1117 |
\usetikzlibrary{calc} |
| 1118 |
\begin{document}% |
| 1119 |
%</example-image-golden.tex&standalone> |
| 1120 |
%<*example-image-golden.tex> |
| 1121 |
\begin{tikzpicture}[x=32.36067978bp,y=20bp]% |
| 1122 |
\clip (0,0) rectangle (10,10); |
| 1123 |
\path [draw,fill=black!25,ultra thick] (0,0) rectangle (10,10); |
| 1124 |
\path let \p1=(1.5,0), \p2=(1.8,0), \p3=(.4,0), \p4 = (.48,0) in |
| 1125 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont Golden ratio} |
| 1126 |
node at (5,2) {\sffamily\fontsize{\x3}{\x4}\selectfont (Original size: 32.361$\times$200 bp)} |
| 1127 |
; |
| 1128 |
\end{tikzpicture}% |
| 1129 |
%</example-image-golden.tex> |
| 1130 |
%<*example-image-golden.tex&standalone> |
| 1131 |
\end{document}% |
| 1132 |
%</example-image-golden.tex&standalone> |
| 1133 |
%<*example-image-golden.tex> |
| 1134 |
% \end{macrocode} |
| 1135 |
% \iffalse |
| 1136 |
%</example-image-golden.tex> |
| 1137 |
% \fi |
| 1138 |
% |
| 1139 |
% \iffalse |
| 1140 |
%<*example-image-golden-upright.tex> |
| 1141 |
% \fi |
| 1142 |
% \begin{macrocode} |
| 1143 |
%</example-image-golden-upright.tex> |
| 1144 |
%<*example-image-golden-upright.tex&standalone> |
| 1145 |
\documentclass[border=0]{standalone} |
| 1146 |
\usepackage[T1]{fontenc} |
| 1147 |
\usepackage{lmodern} |
| 1148 |
|
| 1149 |
\usepackage{tikz} |
| 1150 |
\usetikzlibrary{calc} |
| 1151 |
\begin{document}% |
| 1152 |
%</example-image-golden-upright.tex&standalone> |
| 1153 |
%<*example-image-golden-upright.tex> |
| 1154 |
\begin{tikzpicture}[y=32.36067978bp,x=20bp]% |
| 1155 |
\clip (0,0) rectangle (10,10); |
| 1156 |
\path [draw,fill=black!25,ultra thick] (0,0) rectangle (10,10); |
| 1157 |
\path let \p1=(2,0), \p2=(2.4,0), \p3=(.4,0), \p4 = (.48,0) in |
| 1158 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont\shortstack{Golden\strut\\\strut ratio}} |
| 1159 |
node at (5,2) {\sffamily\fontsize{\x3}{\x4}\selectfont (Original size: 200$\times$32.361 bp)} |
| 1160 |
; |
| 1161 |
\end{tikzpicture}% |
| 1162 |
%</example-image-golden-upright.tex> |
| 1163 |
%<*example-image-golden-upright.tex&standalone> |
| 1164 |
\end{document}% |
| 1165 |
%</example-image-golden-upright.tex&standalone> |
| 1166 |
%<*example-image-golden-upright.tex> |
| 1167 |
% \end{macrocode} |
| 1168 |
% \iffalse |
| 1169 |
%</example-image-golden-upright.tex> |
| 1170 |
% \fi |
| 1171 |
% |
| 1172 |
% \iffalse |
| 1173 |
%<*example-image-letter-landscape.tex> |
| 1174 |
% \fi |
| 1175 |
% \begin{macrocode} |
| 1176 |
%</example-image-letter-landscape.tex> |
| 1177 |
%<*example-image-letter-landscape.tex&standalone> |
| 1178 |
\documentclass[letterpaper,landscape,10pt]{article} |
| 1179 |
\usepackage{geometry} |
| 1180 |
|
| 1181 |
\usepackage{tikz} |
| 1182 |
\usepackage{lipsum} |
| 1183 |
|
| 1184 |
\pagestyle{empty} |
| 1185 |
\begin{document} |
| 1186 |
%</example-image-letter-landscape.tex&standalone> |
| 1187 |
%<*example-image-letter-landscape.tex> |
| 1188 |
|
| 1189 |
\lipsum*[1] |
| 1190 |
\begin{tikzpicture}[remember picture,overlay] |
| 1191 |
\clip (current page.south west) rectangle (current page.north east); |
| 1192 |
\draw [line width=2pt] ([shift={(.5\pgflinewidth,.5\pgflinewidth)}]current page.south west) rectangle ([shift={(-.5\pgflinewidth,-.5\pgflinewidth)}]current page.north east); |
| 1193 |
\end{tikzpicture} |
| 1194 |
|
| 1195 |
\lipsum[2-5] |
| 1196 |
|
| 1197 |
%</example-image-letter-landscape.tex> |
| 1198 |
%<*example-image-letter-landscape.tex&standalone> |
| 1199 |
\end{document} |
| 1200 |
% |
| 1201 |
%</example-image-letter-landscape.tex&standalone> |
| 1202 |
%<*example-image-letter-landscape.tex> |
| 1203 |
% \end{macrocode} |
| 1204 |
% \iffalse |
| 1205 |
%</example-image-letter-landscape.tex> |
| 1206 |
% \fi |
| 1207 |
% |
| 1208 |
% \iffalse |
| 1209 |
%<*example-image-letter.tex> |
| 1210 |
% \fi |
| 1211 |
% \begin{macrocode} |
| 1212 |
%</example-image-letter.tex> |
| 1213 |
%<*example-image-letter.tex&standalone> |
| 1214 |
\documentclass[letterpaper,10pt]{article} |
| 1215 |
\usepackage{geometry} |
| 1216 |
|
| 1217 |
\usepackage{tikz} |
| 1218 |
\usepackage{lipsum} |
| 1219 |
|
| 1220 |
\pagestyle{empty} |
| 1221 |
\begin{document} |
| 1222 |
%</example-image-letter.tex&standalone> |
| 1223 |
%<*example-image-letter.tex> |
| 1224 |
|
| 1225 |
\lipsum*[1] |
| 1226 |
\begin{tikzpicture}[remember picture,overlay] |
| 1227 |
\clip (current page.south west) rectangle (current page.north east); |
| 1228 |
\draw [line width=2pt] ([shift={(.5\pgflinewidth,.5\pgflinewidth)}]current page.south west) rectangle ([shift={(-.5\pgflinewidth,-.5\pgflinewidth)}]current page.north east); |
| 1229 |
\end{tikzpicture} |
| 1230 |
|
| 1231 |
\lipsum[2-5] |
| 1232 |
|
| 1233 |
%</example-image-letter.tex> |
| 1234 |
%<*example-image-letter.tex&standalone> |
| 1235 |
\end{document} |
| 1236 |
% |
| 1237 |
%</example-image-letter.tex&standalone> |
| 1238 |
%<*example-image-letter.tex> |
| 1239 |
% \end{macrocode} |
| 1240 |
% \iffalse |
| 1241 |
%</example-image-letter.tex> |
| 1242 |
% \fi |
| 1243 |
% |
| 1244 |
% \iffalse |
| 1245 |
%<*example-image-letter-numbered.tex> |
| 1246 |
% \fi |
| 1247 |
% \begin{macrocode} |
| 1248 |
%</example-image-letter-numbered.tex> |
| 1249 |
%<*example-image-letter-numbered.tex&standalone> |
| 1250 |
\documentclass[letterpaper,12pt]{article} |
| 1251 |
\usepackage{geometry} |
| 1252 |
|
| 1253 |
\usepackage{tikz} |
| 1254 |
|
| 1255 |
\pagestyle{empty} |
| 1256 |
|
| 1257 |
\colorlet{color1}{red} |
| 1258 |
\colorlet{color2}{green} |
| 1259 |
\colorlet{color3}{blue} |
| 1260 |
\colorlet{color4}{yellow} |
| 1261 |
\colorlet{color5}{orange} |
| 1262 |
\colorlet{color6}{olive} |
| 1263 |
\colorlet{color7}{pink} |
| 1264 |
\colorlet{color8}{lime} |
| 1265 |
\colorlet{color9}{purple} |
| 1266 |
\colorlet{color10}{teal} |
| 1267 |
\colorlet{color11}{cyan} |
| 1268 |
\colorlet{color12}{violet} |
| 1269 |
|
| 1270 |
|
| 1271 |
\def\dopage{% |
| 1272 |
\null |
| 1273 |
\begin{tikzpicture}[remember picture,overlay] |
| 1274 |
\path [fill=color\thepage] (current page.south west) rectangle (current page.north east); |
| 1275 |
\node[font=\sffamily\huge,scale=12] at (current page) {\thepage}; |
| 1276 |
|
| 1277 |
\end{tikzpicture}% |
| 1278 |
\clearpage |
| 1279 |
} |
| 1280 |
|
| 1281 |
\def\doit{\tikzstuff\afterpage{\doit}} |
| 1282 |
|
| 1283 |
\begin{document} |
| 1284 |
%</example-image-letter-numbered.tex&standalone> |
| 1285 |
%<*example-image-letter-numbered.tex> |
| 1286 |
|
| 1287 |
\dopage |
| 1288 |
\dopage |
| 1289 |
\dopage |
| 1290 |
\dopage |
| 1291 |
\dopage |
| 1292 |
\dopage |
| 1293 |
\dopage |
| 1294 |
\dopage |
| 1295 |
\dopage |
| 1296 |
\dopage |
| 1297 |
\dopage |
| 1298 |
\dopage |
| 1299 |
|
| 1300 |
%</example-image-letter-numbered.tex> |
| 1301 |
%<*example-image-letter-numbered.tex&standalone> |
| 1302 |
\end{document} |
| 1303 |
% |
| 1304 |
%</example-image-letter-numbered.tex&standalone> |
| 1305 |
%<*example-image-letter-numbered.tex> |
| 1306 |
% \end{macrocode} |
| 1307 |
% \iffalse |
| 1308 |
%</example-image-letter-numbered.tex> |
| 1309 |
% \fi |
| 1310 |
% |
| 1311 |
% \iffalse |
| 1312 |
%<*example-image.tex> |
| 1313 |
% \fi |
| 1314 |
% \begin{macrocode} |
| 1315 |
%</example-image.tex> |
| 1316 |
%<*example-image.tex&standalone> |
| 1317 |
\documentclass[border=0]{standalone} |
| 1318 |
\usepackage[T1]{fontenc} |
| 1319 |
\usepackage{lmodern} |
| 1320 |
|
| 1321 |
\usepackage{tikz} |
| 1322 |
\usetikzlibrary{calc} |
| 1323 |
\begin{document}% |
| 1324 |
%</example-image.tex&standalone> |
| 1325 |
%<*example-image.tex> |
| 1326 |
\begin{tikzpicture}[x=32bp,y=24bp]% 4x3 |
| 1327 |
\clip (0,0) rectangle (10,10); |
| 1328 |
\path [fill=black!25] (0,0) rectangle (10,10); |
| 1329 |
\draw [thick,black!40] |
| 1330 |
(0,0) -- (10,10) |
| 1331 |
(10,0) -- (0,10) |
| 1332 |
(5,0) -- (5,10) |
| 1333 |
(0,5) -- (10,5) |
| 1334 |
; |
| 1335 |
\path [draw,ultra thick] (0,0) rectangle (10,10); |
| 1336 |
\path let \p1=(2,0), \p2=(2.4,0), \p3=(.4,0), \p4 = (.48,0) in |
| 1337 |
node at (5,5) {\sffamily\fontsize{\x1}{\x2}\selectfont Image} |
| 1338 |
; |
| 1339 |
\end{tikzpicture}% |
| 1340 |
%</example-image.tex> |
| 1341 |
%<*example-image.tex&standalone> |
| 1342 |
\end{document}% |
| 1343 |
%</example-image.tex&standalone> |
| 1344 |
%<*example-image.tex> |
| 1345 |
% \end{macrocode} |
| 1346 |
% \iffalse |
| 1347 |
%</example-image.tex> |
| 1348 |
% \fi |
| 1349 |
% |
| 1350 |
% \iffalse |
| 1351 |
%<*example-movie.tex> |
| 1352 |
% \fi |
| 1353 |
% \begin{macrocode} |
| 1354 |
%</example-movie.tex> |
| 1355 |
%<*example-movie.tex&standalone> |
| 1356 |
\documentclass[border=0,tikz]{standalone} |
| 1357 |
\usepackage[T1]{fontenc} |
| 1358 |
\usepackage{lmodern} |
| 1359 |
|
| 1360 |
\usepackage{tikz} |
| 1361 |
\usetikzlibrary{calc} |
| 1362 |
\begin{document}% |
| 1363 |
%</example-movie.tex&standalone> |
| 1364 |
%<*example-movie.tex> |
| 1365 |
\foreach \n in {0,...,60} {% |
| 1366 |
\begin{tikzpicture}[x=32bp,y=18bp]% 16x9 |
| 1367 |
\clip (0,0) rectangle (10,10); |
| 1368 |
\path [fill=black!25] (0,0) rectangle (10,10); |
| 1369 |
\path [draw,ultra thick] (0,0) rectangle (10,10); |
| 1370 |
\node at (5,7) {\sffamily\Huge Example Movie}; |
| 1371 |
\node at (5,4) {\sffamily\Large \ifnum\n=60 01:00\else00:\ifnum\n<10 0\fi\n\fi}; |
| 1372 |
\fill [black!45] (2,2) rectangle (8,2.5); |
| 1373 |
\fill [black!65] (2,2) rectangle (2+\n/10,2.5); |
| 1374 |
\end{tikzpicture}% |
| 1375 |
}% |
| 1376 |
%</example-movie.tex> |
| 1377 |
%<*example-movie.tex&standalone> |
| 1378 |
\end{document}% |
| 1379 |
%</example-movie.tex&standalone> |
| 1380 |
%<*example-movie.tex> |
| 1381 |
% \end{macrocode} |
| 1382 |
% \iffalse |
| 1383 |
%</example-movie.tex> |
| 1384 |
% \fi |
| 1385 |
% |
| 1386 |
% |
| 1387 |
% \Finale |
| 1388 |
% \endinput |