summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/blindtext/blindtext_english.dtx
blob: 358fb6c5145689125862bd0862a2d191dc089fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
%
%
% ^^A This document is generated by mk_blindtext_texts.rb
%
%
% \subsection{English Texts (babel: english)}
% \changes{V1.9e}{2011-12-09}{Correction English}
% Thanks to Felix Lehmann for corrections.
%
%    \begin{macro}{\blindtext@english}
%    Define flag, so we can check if language is defined.
%    \begin{macrocode}
\def\blindtext@english{}
%    \end{macrocode}
%    \end{macro}
%
% Define the default blind text for English.
%    \begin{macrocode}
\blind@addtext{english}{%
  \def\blindtext@text{%
    Hello, here is some text without a meaning\blindtext@endsentence
    This text should show what a printed text will look like at this
    place\blindtext@endsentence If you read this text, you will get no
    information\blindtext@endsentence Really? Is there no information?
    Is there a difference between this text and some nonsense like
    ``Huardest gefburn''? Kjift -- not at all! A blind text
    \blindmarkup{like this} gives you information  about the selected
    font, how the letters are written and an impression  of the
    look\blindtext@endsentence This text should contain \blindmarkup{all
    letters of the alphabet} and it should be written in of the original
    language\blindtext@endsentence There is no need for  special
    content, but the length of words should match the
    language\blindtext@endsentence%
  }% \blindtext@text
}
%    \end{macrocode}
%
%
% \changes{V1.9e}{2011-12-09}{Default paragraph start for English}
% Define different paragraph starts for second and later paragraphs.
% The first paragraph gets no special start.
%    \begin{macrocode}
\blind@addtext{english}{%
  \def\blindtext@parstart{%
      \ifcase\value{blind@countparstart}\or
This is the second paragraph.\or
And after the second paragraph follows the third paragraph.\or
After this fourth paragraph, we start a new paragraph sequence.\or
        \setcounter{blind@countparstart}{0}
      \fi
      \stepcounter{blind@countparstart}
  }% \blindtext@parstart
}
%    \end{macrocode}
%
% Define counters for list environments.
%    \begin{macrocode}
\blind@addtext{english}{%
  \def\blindtext@count{%
    \ifcase\value{blind@listcount}\or
      First\or Second\or Third\or Fourth\or Fifth\or
      Sixth\or Seventh\or Eighth\or Ninth\or Tenth\or
      Eleventh\or Twelfth%
    \else
      Another%
    \fi
  }% \blindtext@count
  \def\blindtext@item{item in a list}%
}%\addto\extrasenglish
%    \end{macrocode}
%
% Define title lines for English.
%    \begin{macrocode}
\blind@addtext{english}{%
  \def\blindtext@heading{Heading on Level\xspace}%
  \def\blindtext@list{Lists}%
  \def\blindtext@listEx{Example for list\xspace}%
}%\addto\extrasenglish
%    \end{macrocode}
%
% Add the title for |\blindmathpaper|.
%    \begin{macrocode}
\blind@addtext{english}{%
    \def\blindtext@blindmath{Some blind text with math formulas}%
}%\addto\extrasenglish
%    \end{macrocode}
%
%
% Define the bible-option text for english.
%    \begin{macrocode}
\ifblindbible
\blind@addtext{english}{%
  \def\blindtext@text{%
    And the Lord God said unto the serpent, Because thou hast done this,
    thou art cursed above all cattle, and above every beast of the
    field; upon thy belly shalt thou go, and dust shalt thou eat all the
    days of thy life:
    And God said unto Moses, `I am that I am': and he said, Thus shalt
    thou say unto the children of Israel, `I am' hath sent me unto you.
    And he shall offer thereof his offering, even an offering made by
    fire unto the Lord; the fat that covereth the inwards, and all the
    fat that is upon the inwards,\ldots
    And the Lord spake unto Moses in the wilderness of Sinai,
    saying,\ldots
    Jair the son of Manasseh took all the country of Argob unto the
    coasts of Geshuri and Maachathi; and called them after his own name,
    Bashanhavothjair, unto this day.%
  }% \blindtext@text
  \def\blindtext@parstart{}%no change for bible option
}
\fi %\ifbible
%    \end{macrocode}
%
% Define the random-option text for english.
%    \begin{macrocode}
\ifblindrandom
  \PackageWarning{blindtext}{Option random not defined for english\MessageBreak}%
  \blind@addtext{english}{%
    \setcounter{blindtext}{1}
  }
\fi %option random
%    \end{macrocode}
%
% Define the pangram-option text for english.
%    \begin{macrocode}
\ifblindpangram
\blind@addtext{english}{%
    \setcounter{blindtext}{5}
    \def\blindtext@text{%
    \blind@countxx=1 %
    \loop  
      \ifcase\value{blind@pangramcount}%
The quick brown fox jumps over the lazy dog\blindtext@endsentence
\or Jackdaws love my big Sphinx of Quartz\blindtext@endsentence
\or Pack my box with five dozen liquor jugs\blindtext@endsentence
\or The five boxing wizards jump quickly\blindtext@endsentence
\or Sympathizing would fix Quaker objectives\blindtext@endsentence
\or Many-wived Jack laughs at probes of sex quiz\blindtext@endsentence
\or Turgid saxophones blew over Mick's jazzy quaff\blindtext@endsentence
\or Playing jazz vibe chords quickly excites my
wife\blindtext@endsentence
\or A large fawn jumped quickly over white zinc
boxes\blindtext@endsentence
\or Exquisite farm wench gives body jolt to prize
stinker\blindtext@endsentence
\or Jack amazed a few girls by dropping the antique onyx vase!\xspace%
    \setcounter{blind@pangramcount}{-1}%
    \fi%
    \refstepcounter{blind@pangramcount}%
  \ifnum\blind@countxx<\value{blind@pangrammax}\advance\blind@countxx by 1 %
  \repeat%
  \setcounter{blind@pangrammax}{\value{blindtext}}%
  }% \blindtext@text  
  \def\blindtext@parstart{}%no change for pangram option
}
\fi %option pangram
%    \end{macrocode}
%
% ^^A %%%%%%%%%% End English Texts %%%%%%%%%%%%%%%%
%