4.4 Generar textos de muestra

In this final section we take a quick look at four packages for generating (random) text samples, a functionality that is occasionally useful.

4.4.1 lipsum y friends - Generando muestras de texto

The lipsum package by Patrick Happel, now maintained by Phelype Oleinik, provides access to 150 paragraphs of pseudo Latin utterances, the first of them starting “Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, . . .”, which gave the package its name.

4.4.2 blindtext - Pruebas de diseño más elaboradas

A much more elaborate and comprehensive solution is provided by the blindtext package by Knut Lickert. Besides producing ordinary sample text (Blindtext in German) in a number of languages including a version of the famous “Lorem ipsum . . .”, this package can generate whole documents, testing lists, mathematics, etc.; thus, it is mainly geared at people who are interested in testing new layouts. If you have that kind of task in front of you, check the package documentation.

Here is an example showing mathematics in text written in the German language:

Dies hier ist ein Blindtext zum Testen von Textausgaben. Wer diesen Text liest, ist selbst schuld. sin2(α) + cos2(β) = 1. Der Text gibt lediglich den Grauwert der Schrift an E = mc2. Ist das wirklich so? Ist es gleichgültig, ob ich schreibe: „Dies ist ein Blindtext“ oder „Huardest gefburn“? Kjift – mitnichten! Ein Blindtext bietet mir wichtige Informationen. √n a · √n b = √n ab. An ihm messe ich die Lesbarkeit einer Schrift, ihre Anmutung, wie harmonisch die Figuren zueinander stehen und prüfe, wie breit oder schmal sie läuft. √n a √n b = pn ab . Ein Blindtext sollte möglichst viele verschiedene Buchstaben enthalten und in der Originalsprache gesetzt sein. a √n b = √n anb. Er muss keinen Sinn ergeben, sollte aber lesbar sein. dΩ = sin ϑdϑdϕ. Fremdsprachige Texte wie „Lorem ipsum“ dienen nicht dem eigentlichen Zweck, da sie eine falsche Anmutung vermitteln.

A somewhat longer example tests lists and uses a bible text for the paragraphs: