-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathurantia-es.sty
449 lines (403 loc) · 15.4 KB
/
urantia-es.sty
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
\NeedsTeXFormat{LaTeX2e}[2000/06/01]
\ProvidesPackage{urantia-es}[2021/08/21 v1.0]
% conditional markup tuning, to maintain more than 1 version of module sources with hand-tuned markup
\def\tunemarkuptag#1{\@namedef{tune@markup@#1}{}}
\def\tunemarkup#1#2{\@ifundefined{tune@markup@#1}{}{#2}}
\def\tunemarkuptwo#1#2#3{\@ifundefined{tune@markup@#1}{#3}{#2}}
% various page sizes
\tunemarkuptag{pgnexus10}
%\tunemarkuptag{pgthinmob}
%\tunemarkuptag{pgkoboaurahd}
\RequirePackage[parvs]{ubook}
% various font families
\tunemarkuptag{garamond}
\setdefaultlanguage{spanish}
\renewcommand{\r}{\kern2pt\raisebox{1.5ex}{\circle{2}}}
\newcommand{\subtitlefont}{\Large}
\tunemarkup{garamond}{%
\def\urantiamainfont{Garamond Premier Pro}
\def\urantiaparttitlefont{GoudyHandtooled BT}
\def\urantiaauthorfont{PF DaVinci Script Pro}
\def\urantiatitlefont{Garamond Premier Pro Semibold Display}
\def\urantiaheaderfont{Garamond Premier Pro Medium Caption}
\def\urantiaheadingfont{Arial Narrow Bold}
}
% Samsung Galaxy A70 20:9 aspect ratio
\tunemarkup{pgthinmob}{\RequirePackage[dvips,headheight=19pt,headsep=2pt,vmargin={0.2in,0.15in},hmargin={0.1in},twoside=true,papersize={90.0mm,200mm}]{geometry}}
% Google Nexus 10 (or any Android 10" colour device)
\tunemarkup{pgnexus10}{\RequirePackage[dvips,headheight=19pt,headsep=2pt,vmargin={0.2in,0.15in},hmargin={0.1in},twoside=true,papersize={135.0mm,216mm}]{geometry}}
% Kobo Aura HD 7"
\tunemarkup{pgkoboaurahd}{\RequirePackage[dvips,headheight=15pt,headsep=4pt,vmargin={0.2in,0.13in},hmargin={0.05in},twoside=true,papersize={102.0mm,136.0mm}]{geometry}}
% allow inter-paragraph space to grow
\setlength{\parskip}{2pt plus 5pt minus 2pt}
\setmainfont[WordSpace={1.2,2.5,1.0},Mapping=tex-text]{\urantiamainfont}
\newfontfamily\titlefont[Letters=Uppercase,LetterSpace=3.0,WordSpace=2.0,Mapping=tex-text]{\urantiatitlefont}
\newfontfamily\parttitlefont[Letters=Uppercase,LetterSpace=3.0,WordSpace=2.0,Mapping=tex-text]{\urantiaparttitlefont}
\newfontfamily\headerfont[WordSpace=2.4,Letters=Uppercase,LetterSpace=2.0,Mapping=tex-text]{\urantiaheaderfont}
\newfontfamily\sectiontitlefont[WordSpace=2.0,Letters=Uppercase,LetterSpace=4.0,Mapping=tex-text]{\urantiaheaderfont}
\newfontfamily\headingfont[LetterSpace=1.2,WordSpace=1.2,Mapping=tex-text]{\urantiaheadingfont}
\newfontfamily\authorfontfamily[Mapping=tex-text]{\urantiaauthorfont}
\newfontfamily\libertinefont[Mapping=tex-text]{Linux Libertine O}
\newcommand{\tux}{{\libertinefont ^^^^e000}}
\newcounter{paper}
\newcounter{secnum}
\fancyhead{}
\fancyfoot{}
\fancyhead[L]{\bibheadfont\vs@range}
\fancyhead[R]{\bibheadfont\bibheadpagesize\thepage}
\renewcommand{\author}[1]{\begin{center}\authorfontfamily\authorfontsize\textcolor{ubblue}{#1}\end{center}\fancyhead[CE]{\bibheadfont\MakeUppercase{#1}}}
\newcommand{\upartheader}[1]{%
\par\vspace{3ex}\pagebreak[3]%
{
\titlefont\bibtocheadfont
\ifnum #1=1
\partitxt.~\partiup
\fi
\ifnum #1=2
\partiitxt.~\partiiup
\fi
\ifnum #1=3
\partiiitxt.~\partiiiup
\fi
\ifnum #1=4
\partivtxt.~\partivup
\fi
}\vspace{2ex}%
}
\newcommand{\upapertitleheader}[3]{%
\mbox{%
\makebox[0.05\linewidth][c]{№}%
\makebox[0.57\linewidth][c]{\textsc{#1}}%
\makebox[0.29\linewidth][l]{\textsc{#2}}%
\makebox[0.06\linewidth][r]{\textsc{#3}}%
}%
}
\newcommand{\upapertitle}[4]{%
{
\pagebreak[3]%
\makebox[0.05\linewidth][r]{#1. }%
\makebox[0.57\linewidth][l]{#2\bibdf}%
\makebox[0.29\linewidth][l]{#3\bibdf}%
\makebox[0.07\linewidth][r]{\headerfont\bibpr{#4}}%
}\vspace{0.6ex}\linebreak
}
\newcommand{\li}[1]{\kern1.0em\relax\makebox[0.2em][r]{#1}\kern0.3em\relax}
\newcommand*{\usection}[1]{%
\def\secname{#1}
\stepcounter{secnum}%
\par\raggedbottom\addtolength{\topskip}{0pt plus 20pt}\vspace*{1ex}%
{\centering\sectiontitlefont\parbox{\columnwidth}{\mdseries\centering\uppercase{#1}}\\*[3pt]}%
\def\bibnobreakspace{ }
% XXX for section-level bookmarks uncomment the following line and comment the one after
\bib@raise@anchor{\bibpdfbookmark[2]{#1}{\bkname_\thechnum_\curr@vs}\label{p\thepaper_\thesecnum}\hypertarget{p\thepaper_\thesecnum}{}}%
\def\bibnobreakspace{\kern5pt\relax}
\flushbottom\addtolength{\topskip}{0pt plus -20pt}
}
\def\bibnobreakspace{\kern5pt\relax}
\newcommand{\separatorline}{\begin{center}*\ \ *\ \ *\ \ *\ \ *\end{center}}
\newcommand{\separatorshort}{\begin{center}*\ *\ *\end{center}}
\providecommand{\textlatin}[1]{{#1}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\bibdropcapscolor}{ubdarkred}
\columnseprule=0.0pt
\def\mytoday{{\ddmmyyyydate\today}}
\def\bibchap{\printvssup{\curr@vs}}
\def\vs@range{%
\@ifundefined{mark@vs@\thepage}{}{%
\bibheadpapersize\thepaper:\expandafter\expandafter\expandafter
\vs@range@a\csname mark@vs@\thepage\endcsname
}%
}
% vine leaves
\def\hr{j}
\def\hhr{k}
\def\hhhr{l}
\def\hhhhr{i}
\def\hl{j}
\def\hhl{k}
\def\hhhl{l}
\def\hhhhl{i}
\def\topplank{fghe}
\def\botplank{ghef}
\def\topl{a}
\def\topprer{f}
\def\topr{b}
\def\botl{c}
\def\botprer{g}
\def\botr{d}
\RequirePackage{enumitem}
\newcommand{\titleframe}{%
\begingroup
\tunemarkup{pgnexus10}{%
\setlength{\unitlength}{13.2pt}%
\fontsize{\unitlength}{\unitlength}\usefont{U}{webo}{xl}{n}
\begin{picture}(0,0)(1.0,-44.0)%
\color{ubblue}
% top left corner
\put(0,0){\topl}
% top plank
\multiput(1.2,0)(4.8,0){5}{\topplank}
% top right corner
\put(25.2,0){\topprer}
\put(26.4,0){\topr}
% right plank
\multiput(26.3,-1.2)(0,-4.7){9}{\hr}
\multiput(26.3,-2.4)(0,-4.7){9}{\hhr}
\multiput(26.3,-3.6)(0,-4.7){9}{\hhhr}
\multiput(26.3,-4.8)(0,-4.7){9}{\hhhhr}
% left plank
\multiput(0,-1.2)(0,-4.7){9}{\hhhhl}
\multiput(0,-2.4)(0,-4.7){9}{\hl}
\multiput(0,-3.6)(0,-4.7){9}{\hhl}
\multiput(0,-4.8)(0,-4.7){9}{\hhhl}
% bottom left corner
\put(0,-43.6){\botl}
% bottom plank
\multiput(1.2,-43.6)(4.8,0){5}{\botplank}
% bottom right corner
\put(25.2,-43.6){\botprer}
\put(26.4,-43.6){\botr}
\end{picture}%
}%
\tunemarkup{pgkoboaurahd}{%
\setlength{\unitlength}{6.6pt}%
\fontsize{\unitlength}{\unitlength}\usefont{U}{webo}{xl}{n}
\begin{picture}(0,0)(1.6,-56.0)%
% top left corner
\put(0,0){\topl}
% top plank
\multiput(1,0)(4,0){10}{\topplank}
% top right corner
\put(41,0){\topprer}
\put(42,0){\topr}
% right plank
\multiput(42,-1)(0,-4){14}{\hr}
\multiput(42,-2)(0,-4){14}{\hhr}
\multiput(42,-3)(0,-4){14}{\hhhr}
\multiput(42,-4)(0,-4){14}{\hhhhr}
% left plank
\multiput(0,-1)(0,-4){14}{\hhhhl}
\multiput(0,-2)(0,-4){14}{\hl}
\multiput(0,-3)(0,-4){14}{\hhl}
\multiput(0,-4)(0,-4){14}{\hhhl}
% bottom left corner
\put(0,-57){\botl}
% bottom plank
\multiput(1,-57)(4,0){10}{\botplank}
% bottom right corner
\put(41,-57){\botprer}
\put(42,-57){\botr}
\end{picture}%
}%
\endgroup
}
\DeclareTextAccent{\'}{\encodingdefault}{180}
\setlength{\columnsep}{3.5mm}
\setlength\parindent{14\p@}
\newcommand{\hsetoff}{\hspace*{1em}}
\newcommand{\vsetspace}{\vspace{1ex}}
\newcommand{\bibcovertitlefont}{\parttitlefont\fontsize{18}{18}\selectfont}
\protected\def\print@vssup#1{\makebox[0.9em][l]{\@textsuperscript{\fontsize{7}{7}\bfseries#1}}\kern0.4em\relax}
% for TOC entries horizontal spacing
\newcommand{\numw}{0.08\linewidth}
\newcommand{\txtw}{0.81\linewidth}
\def\pc{{\fontsize{13}{13}\selectfont§§}\kern3pt}
\tunemarkup{pgnexus10}{%
\tolerance=500
\definecolor{ubblue}{rgb}{0.0, 0.3, 0.6}
\definecolor{ubgreen}{rgb}{0.0, 0.4, 0.0}
\definecolor{ubdarkred}{rgb}{0.8, 0.0, 0.0}
\protected\def\print@vssup#1{\makebox[0.4em][l]{\@textsuperscript{\fontsize{7}{7}\bfseries#1}}\kern0.3em\relax}
\newcommand{\titlesepbig}{{\usefont{U}{webo}{xl}{n}\huge\textcolor{ubblue}{ahb}}}
\newcommand{\bibpaperfont}{\titlefont\fontsize{14}{18}\selectfont}
\newcommand{\bibpapertitlefont}{\titlefont\fontsize{16}{18}\selectfont}
\newcommand{\bibtocsuperheadfont}{\fontsize{14}{20}\selectfont}
\renewcommand{\bibtocheadfont}{\addfontfeature{LetterSpace=1.2}\fontsize{11}{12}\bfseries}
\renewcommand{\bibtocfont}{\fontsize{8.3}{16}\selectfont}
\newcommand{\bibheadpapersize}{\fontsize{8.0}{8.0}\selectfont}
\renewcommand{\bibheadchapsize}{\fontsize{7.5}{7.5}\selectfont}
\renewcommand{\bibheadversesize}{\fontsize{7}{7}\selectfont}
\renewcommand{\bibheadpagesize}{\fontsize{8}{8}\selectfont}
\newcommand{\subfont}{\fontsize{14}{17}\itshape}
\newcommand{\parttitlefontsize}{\LARGE}
\newcommand{\bibsectitlefont}{\sectiontitlefont\fontsize{11}{13}\selectfont}
\renewcommand{\bibheadfont}{\headingfont\fontsize{7.7}{7.7}\selectfont}
\newcommand{\bibbookend}{\fontsize{16.5}{19}\selectfont}
\newcommand{\urantiamainfontsize}{16.5/19}
\newcommand{\authorfontsize}{\fontsize{26}{8}\selectfont}%
\newcommand{\titlefontsize}{\fontsize{19}{28}\selectfont}
}
\tunemarkup{pgthinmob}{%
\tolerance=9999
\definecolor{ubblue}{rgb}{0.0, 0.3, 0.6}
\definecolor{ubgreen}{rgb}{0.0, 0.4, 0.0}
\definecolor{ubdarkred}{rgb}{0.8, 0.0, 0.0}
\protected\def\print@vssup#1{\makebox[0.2em][r]{\@textsuperscript{\headerfont\fontsize{10}{10}\selectfont#1}}\kern0.2em\relax}
\newcommand{\titlesepbig}{{\usefont{U}{webo}{xl}{n}\Large\textcolor{ubblue}{ahb}}}
\newcommand{\bibpaperfont}{\titlefont\fontsize{13}{15}\selectfont}
\newcommand{\bibpapertitlefont}{\titlefont\fontsize{15}{17}\selectfont}
\newcommand{\bibtocsuperheadfont}{\fontsize{14}{20}\selectfont}
\renewcommand{\bibheadfont}{\headingfont\fontsize{7.2}{7.2}\selectfont}
\renewcommand{\bibtocheadfont}{\addfontfeature{LetterSpace=1.2}\fontsize{12}{16}\bfseries}
\renewcommand{\bibtocfont}{\fontsize{7}{13.5}\selectfont}
\newcommand{\bibheadpapersize}{\fontsize{8.0}{8.0}\selectfont}
\renewcommand{\bibheadchapsize}{\fontsize{7.5}{7.5}\selectfont}
\renewcommand{\bibheadversesize}{\fontsize{7}{7}\selectfont}
\renewcommand{\bibheadpagesize}{\fontsize{8}{8}\selectfont}
\newcommand{\subfont}{\fontsize{14}{17}\itshape}
\newcommand{\parttitlefontsize}{\Large}
\newcommand{\bibsectitlefont}{\sectiontitlefont\fontsize{9}{12}\selectfont}
\newcommand{\bibbookend}{\fontsize{19}{21}\selectfont}
\newcommand{\urantiamainfontsize}{19/21}
\newcommand{\authorfontsize}{\fontsize{22}{9}\bfseries\itshape}%
\newcommand{\titlefontsize}{\fontsize{20}{22}\selectfont}
}
\tunemarkup{pgkoboaurahd}{%
\tolerance=9999
\setcounter{DefaultLines}{2}
\definecolor{ubblue}{rgb}{0.0, 0.0, 0.0}
\definecolor{ubgreen}{rgb}{0.0, 0.0, 0.0}
\definecolor{ubdarkred}{rgb}{0.0, 0.0, 0.0}
\protected\def\print@vssup#1{\makebox[0.4em][l]{\@textsuperscript{\fontsize{7}{7}\bfseries#1}}\kern0.3em\relax}
\newcommand{\titlesepbig}{{\usefont{U}{webo}{xl}{n}\huge\textcolor{ubblue}{ahb}}}
\newcommand{\bibpaperfont}{\titlefont\fontsize{12}{16}\selectfont}
\newcommand{\bibpapertitlefont}{\titlefont\fontsize{14}{16}\selectfont}
\newcommand{\bibtocsuperheadfont}{\fontsize{12}{20}\selectfont}
\renewcommand{\bibtocheadfont}{\addfontfeature{LetterSpace=1.2}\fontsize{10}{12}\bfseries}
\renewcommand{\bibtocfont}{\fontsize{7}{14}\selectfont}
\newcommand{\bibheadpapersize}{\fontsize{8.0}{8.0}\selectfont}
\renewcommand{\bibheadchapsize}{\fontsize{7.5}{7.5}\selectfont}
\renewcommand{\bibheadversesize}{\fontsize{7}{7}\selectfont}
\renewcommand{\bibheadpagesize}{\fontsize{8}{8}\selectfont}
\newcommand{\subfont}{\fontsize{11}{13}\itshape}
\newcommand{\parttitlefontsize}{\normalsize}
\newcommand{\bibsectitlefont}{\sectiontitlefont\fontsize{9}{9}\selectfont}
\renewcommand{\bibheadfont}{\headingfont\fontsize{7.7}{7.7}\selectfont}
\newcommand{\bibbookend}{\fontsize{16}{18}\selectfont}
\newcommand{\urantiamainfontsize}{16/18}
\newcommand{\authorfontsize}{\fontsize{21}{8}\selectfont}%
\newcommand{\titlefontsize}{\fontsize{15}{22}\selectfont}
}
\newcommand{\vsetoff}{\vspace*{1ex}}%
\AtBeginDocument{%
\hypersetup{%
pdftitle={The Fifth Epochal Revelation (The Urantia Papers)},%
pdfauthor={Tigran Aivazian <[email protected]>},%
pdfcreator={Bibles.org.uk Typesetting System based on TeX Live 2020},%
pdfsubject={Urantia Papers in Spanish},%
pdfkeywords={Urantia,Earth,Religion,Jesus,Revelation,God,Christianity,Bible,Scripture,History,Evolution},%
pdflang={Spanish},%
pdfcreationdate={D:20210821210700Z},%
pdfmoddate={D:\pdfdate-00'00'}%
}%
}
\renewcommand{\bibcontname}{LOS TÍTULOS DE LOS ESCRITOS}
\def\continuedtxt{(continuación)}
\def\urantiapapers{LOS ESCRITOS DE URANTIA}
\def\papertxt{ESCRITO}
\def\partitxt{PARTE I}
\def\partiup{EL UNIVERSO CENTRAL Y LOS SUPRAUNIVERSOS}
\def\partimix{Parte I. El universo central y los suprauniversos}
\def\partisub{Auspiciada por un colectivo de seres personales del suprauniverso, provenientes de Uversa, con el beneplácito de los ancianos de días Orvontón.}
\def\partiitxt{PARTE II}
\def\partiiup{EL UNIVERSO LOCAL}
\def\partiimix{Parte II. El universo local}
\def\partiisub{Auspiciada por un colectivo de seres personales del universo local de Nebadón con el beneplácito de Gabriel de Lugar de Salvación.}
\def\partiiitxt{PARTE III}
\def\partiiiup{LA HISTORIA DE URANTIA}
\def\partiiimix{Parte III. La historia de Urantia.}
\def\partiiisub{Estos escritos se auspiciaron por un colectivo de seres personales del universo local con el beneplácito de Gabriel de Lugar de Salvación.}
\def\partivtxt{PARTE IV}
\def\partivup{VIDA Y ENSEÑANZAS DE JESÚS}
\def\partivmix{Parte IV. Vida y enseñanzas de Jesús}
\def\partivsubone{Este conjunto de escritos se auspició por una comisión de doce criaturas intermedias bajo la supervisión de un melquisedec, director de la revelación.}
\def\partivsubtwo{El ser intermedio secundario asignado en su momento a la custodia sobrehumana del Apóstol Andrés proporcionó la base de esta narrativa.}
\newcommand{\bibpaperdisplay}[2]{%
\begin{center}%
\ifnum #1>0\bibpaperfont\papertxt\nobreakspace #1\\[1ex]\fi
\bibpapertitlefont\uppercase{#2}\\%
\end{center}%
}
\newcommand{\upaper}[2]{%
\newpage\thispagestyle{empty}%
\setcounter{paper}{#1}%
\setcounter{secnum}{0}%
\bibpaperdisplay{#1}{#2}%
\ubookdescr{p#1}{
toc={\makebox[\numw][r]{#1.\,}\makebox[\txtw][l]{#2\bibdf}},
bookmark={#1. #2},
header={#2},
abbr={p#1}
}%
\fancyhead[CO]{\bibheadfont\MakeUppercase{#2}}%
}
\newcommand{\parti}{%
\newpage
\thispagestyle{empty}%
\bibpart{\partitxt. \partiup}{\partimix}{pt1}%
\vspace*{\stretch{0.1}}%
\begin{center}%
{%
\parttitlefont\parttitlefontsize
\partitxt\\[1ex]
\partiup\\[2ex]
}%
\subfont\partisub\\%
\vspace*{\stretch{0.5}}%
\end{center}%
\newpage
}
\newcommand{\partii}{%
\newpage
\thispagestyle{empty}%
\bibpart{\partiitxt. \partiiup}{\partiimix}{pt2}%
\vspace*{\stretch{0.1}}%
\begin{center}%
{%
\parttitlefont\parttitlefontsize
\partiitxt\\[1ex]
\partiiup\\[2ex]
}%
\subfont\partiisub\\
\end{center}%
\vspace*{\stretch{0.5}}%
\newpage
}
\newcommand{\partiii}{%
\newpage
\thispagestyle{empty}%
\bibpart{\partiiitxt. \partiiiup}{\partiiimix}{pt3}%
\vspace*{\stretch{0.1}}%
\begin{center}%
{%
\parttitlefont\parttitlefontsize
\partiiitxt\\[1ex]
\partiiiup\\[2ex]
}%
\subfont\partiiisub\\
\end{center}%
\vspace*{\stretch{0.5}}%
\newpage
}
\newcommand{\partiv}{%
\newpage
\thispagestyle{empty}%
\bibpart{\partivtxt. \partivup}{\partivmix}{pt4}%
\vspace*{\stretch{0.1}}%
\begin{center}%
{%
\parttitlefont\parttitlefontsize
\partivtxt\\[1ex]
\partivup\\[2ex]
}%
\subfont
\partivsubone\\[1ex]%
\partivsubtwo\\%
\vspace*{\stretch{0.5}}%
\end{center}%
\newpage
}
%\begin{hyphenrules}{spanish}
%\hyphenation{%
%}
%\end{hyphenrules}