3.6.12

Blindtext.sty - Generate Text for Test documents


Blindtext - What to do with?

The Package Blindtext.sty allows to create long texts for testing.
Supported languages are:
  • English
  • (N)German
  • Latin (partly supported, only text available, no documents and lists)
On CTAN is also a larger Lorem Ipsumlipsum.sty

Blindtext - How to use?

Create Text

To create text, you can use different macros:
\blindtext
create text.
\Blindtext
create text with paragraphs.
\blindtext[3]
write the text three times.
\Blindtext[2][3]
Write text with two paragraphs.

Create Lists

To create lists you can use:
\blinditemize
Create an itemize-environment.
\blindenumerate
Create an enumerate-environment.
\blinddescription
Create a description-environment.
\Blinditemize
An itemize-environment with paragraphs.
\Blindenumerate
An enumerate-environment with paragraphs.
\Blinddescription
A description-environment with paragraphs.
With an optional parameter you can define the number of list items.

Create Documents

To create complete documents with sections, subsections, lists etc. you can use \blinddocument or \Blinddocument.
\blinddocument
Create a text with sectioning and all list types.
\Blinddocument
Create a longer text.

Math

\blindmathtrue + \blindmathfalse
On and off for inline formula in the blind text.
\blindmathpaper
Some text with formulas in between.
Version 1.9 will not be released at CTAN. A redesigned version will be published later (formula will change and contain more math symbols).

Example

\documentclass[ngerman]{scrartcl}
\usepackage{babel}
\usepackage{blindtext}
\begin{document}
\Blinddocument
\end{document}
This document creates a 15-page document with different section level and lists. You can add a \tableofcontents to get a table of content.

Download of the package

  • See 'Changes'
  • CTAN

Changes

V1.6 (2.8.2006):
If you use a blind text in an undefined language, you get a warnuing and english is used.
V1.7 (1.12.2006):
Wrong spaces are deleted
Replaces a counter for compatibility reasons.
V1.8 (27.1.2009)
More wrong spaces are deleted
V1.9 (3.6.2009) Published on CTAN 2009-08-02
First version of blind text with mathematics
Added support of polyglossia and (n)german.
Added french text (V1.9b)

New languages

If you want blindtext in another language, please provide me the following texts in the new language:
  • Name of the language (The key you use in babel.sty)
  • A short paragraph, something with 6 lines.
  • Some number as text:
    1. First
    2. Second
    3. Third
    4. Fourth
    5. Fivth
    6. Sixth
    7. Seventh
    8. Eighth
    9. Ninth
    10. Tenth
    11. Eleventh
    12. Twelfth
    13. Another
  • item in a list
    This text will be combined with the numbers. (I hope you have no language, where you need the number after the text).
  • Heading on level
  • Lists
  • Example for list

No hay comentarios:

Publicar un comentario