Changes

Jump to navigation Jump to search
254 bytes added ,  21:05, 14 April 2022
Give lorem ipsum an example
The {{modulesrc|m-ipsum.mkiv}} module lets you define your own lorem ipsum commands. Such a command samples a number of lines, words, or paragraphs from an input file you specify, and typesets them. Thanks to the {{code|1=before=, after=, left=}}, and {{code|1=right=}} keys, you can decorate the sampled lines or words with code, allowing you to fake itemizations, headers, and all sorts of things.
{{Multicol}}
<texcode>
\usemodule[ipsum]
 
\setuppapersize[A7]
 
\starttext
\ipsum[
alternative=paragraphwords, n=37, before=\blank{[do]}, afterinbetween=\blankspace,
language=la
]
\ipsumdefineipsum [ward:itemize] [file=ward, alternative=lines, before={\startitemize[packed]}, after=\stopitemize, left=\startitem, right=\stopitem,]  \ipsum[ward:itemize]\stoptext</texcode>{{Multicol-break}}<context> language=la\usemodule[ipsum]
\pagesetuppapersize[A7]
\starttext \defineipsumipsum[ [ward] alternative=words, [file n=ward7, before={[do]}, inbetween=\blankspace, after language=\blankla ]
\defineipsum
[ward:itemize]
[file=ward], [ alternative=lines,
before={\startitemize[packed]},
after=\stopitemize,
\ipsum[ward:itemize]
\stoptext
</texcodecontext>{{Multicol-end}}
== Letters to rectangles ==

Navigation menu