Dummy text

From Wiki
Revision as of 09:24, 23 May 2013 by Esteis (talk | contribs) (Add fakewords examples)
Jump to navigation Jump to search

\input

The \input basename command lets you input text from a .tex file. You don't have to provide your own dummy text: ConTeXt ships with a number of lovely quotations. You can find them described on the \input page.

% mode=mkiv
\setuppapersize[A7]
\starttext
  \input khatt-en
\stoptext

Fake text

The module m-visual.mkiv contains code to produce word-sized black rectangles in random lengths and numbers.

% mode=mkiv
\setuppapersize[A7]
\usemodule[visual]
\setupsystem[random=10]
\setupwhitespace[big]

\starttext
    \subject{ \tfd \fakewords{3}{4} }

    \fakewords{30}{40} % min, max

    \fakenwords{6}{2}  % words, random seed

    \startformula
        \fakeformula
    \stopformula
\stoptext

Lorem ipsum