source: libros/maquetacion/libros_cenditel.cls @ 6a6b629

revisionfinal
Last change on this file since 6a6b629 was 6a6b629, checked in by antonio <antonio@…>, 10 years ago

Agregados nuevos acrónimos. Mejoras en las plantillas de documentos para impresión y electrónico.

  • Property mode set to 100755
File size: 67.0 KB
Line 
1\usepackage[utf8]{inputenc}
2\usepackage{textpos}
3\setlength{\TPHorizModule}{\paperwidth}
4\def\currversion{Abr 01, 2014}
5%% libros_cenditel.cls
6  %****************************************************************%
7  %*                                                              *%
8  %*     Preparado por Rodolfo Sumoza.                            *%
9  %*     Basado en la plantilla para libros wileysix.cls          *%
10  %*     Fundación CENDITEL                                       *%
11  %*     MPPCTI                                                   *%
12  %*                                                              *%
13  %*                                                              *%
14  %****************************************************************%
15
16  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17  %% Contenido de la macro:
18  %% Dimensiones
19  %% Parámetros Globales
20  %% Listas
21  %% Páginas de Título, Prefacio, Introducción
22  %% Comandos de Partes, Capítulos, y Apéndices
23  %% Contadores
24  %% Nombres a nivel de encabezado
25  %% Comandos de Sección
26  %% Verso, Espacios, Extracción
27  %% Matemáticas
28  %% Títulos de Figuras y Tablas 
29  %% Tabla de Contenidos, Listas de Figuras, LOT
30  %% Bibliografía, Referencias
31  %% Pie de páginas
32  %% Encabezados
33  %% Tipos de letra para lugares específicos
34  %% Algoritmos
35  %% Glosario
36  %% Índice
37  %% Índices Múltiples
38  %% Líneas de borrador
39  %% Problemas propuestos
40  %% Ejercicios
41  %% Soluciones
42  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
43
44
45\typeout{^^J^^J
46Estilo de libro Fundación CENDITEL^^J
47^^J
48Escrito por Rodolfo L. Sumoza Matos, Fundación CENDITEL.^^J
49^^J
50Fecha de la versión: \currversion^^J^^J}
51
52
53
54\expandafter\ifx\csname mathunderscore\endcsname\relax
55\def\mathunderscore{\leavevmode\kern.06em\vbox{\hrule width.3em}}
56\def\mathellipsis{\mbox {$\m@th{\,.\,.\,.}\,$}}\fi
57\global\newdimen\phspace
58
59\parindent=1pc
60\parskip=0pt %se agrega .1pt
61
62%% para hacer el tamaño 6 1/8 por 9 1/4
63\textheight=45pc \textwidth=28pc
64
65\topmargin.75in
66\headheight 12pt
67\headsep 18pt
68\topskip  10pt
69\footskip 18pt
70
71\columnsep 10pt
72\columnseprule 0pt
73
74\footnotesep 6.65pt
75\skip\footins 18pt
76
77\floatsep 12pt plus 2pt minus 2pt
78\textfloatsep 20pt plus 2pt minus 4pt
79\intextsep 12pt plus 2pt minus 2pt
80
81\dblfloatsep 12pt plus 2pt minus 2pt
82\dbltextfloatsep 20pt plus 2pt minus 4pt
83
84\@fptop 0pt plus 1fil
85\@fpsep 8pt plus 2fil
86\@fpbot 0pt plus 1fil
87\@dblfptop 0pt plus 1fil
88\@dblfpsep 8pt plus 2fil
89\@dblfpbot 0pt plus 1fil
90
91\maxdepth=4pt %%
92
93\oddsidemargin-18pt
94\advance\oddsidemargin-.5in
95\evensidemargin-6pt
96\oddsidemargin=100pt
97
98\advance\oddsidemargin-.5in
99\evensidemargin=0pt
100\advance\evensidemargin-.5in
101\marginparwidth .75in
102
103\if@twocolumn
104 \setlength\marginparsep {10\p@}
105\else
106  \setlength\marginparsep{7\p@}
107\fi
108\setlength\marginparpush{5\p@}
109
110\setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
111
112%%%
113\setcounter{topnumber}{10}
114\def\topfraction{.9}
115\setcounter{bottomnumber}{10}
116\def\bottomfraction{.9}
117\setcounter{totalnumber}{20}
118\def\textfraction{.1}
119\def\floatpagefraction{.5}
120\setcounter{dbltopnumber}{2}
121\def\dbltopfraction{.7}
122\def\dblfloatpagefraction{.5}
123%%%
124
125\setlength\arraycolsep{5\p@}
126\tabcolsep 6pt
127
128\setlength\arrayrulewidth{.4\p@}
129\setlength\doublerulesep{2\p@}
130\setlength\tabbingsep{\labelsep}
131\skip\@mpfootins = \skip\footins
132\setlength\fboxsep{3\p@}
133\setlength\fboxrule{.4\p@}
134
135\setlength\columnsep{10\p@}
136\setlength\columnseprule{0\p@}
137
138%%%%%%%%%%%%%%% <<== final de las dimensiones
139
140%%% Parámetros globales ==>>
141
142\setcounter{secnumdepth}{3}
143\setcounter{tocdepth}{2}
144
145%% Diferenciar la posición izquierda y derecha de las páginas.
146\@twosidetrue  \@mparswitchtrue
147\@twocolumnfalse
148
149\newif\if@openbib
150\@openbibfalse
151\newif\if@openright
152\newif\if@mainmatter
153\newif\if@restonecol
154\newif\if@titlepage
155\newif\ifdraft
156
157%% Iniciar un nuevo capítulo en el lado derecho
158\newif\if@openright
159\@openrighttrue
160
161
162\newcommand{\contentsname}{CONTENIDOS}
163\newcommand{\listfigurename}{Lista de Figuras}
164\newcommand{\listtablename}{Lista de Tablas}
165\newcommand{\bibname}{Bibliografía}
166\newcommand{\indexname}{ÍNDICE}
167\newcommand{\figurename}{Figura}
168\newcommand{\tablename}{Tabla}
169\newcommand{\partname}{PARTE}
170\newcommand{\chaptername}{Capítulo}
171\newcommand{\appendixname}{Apéndice}
172
173%%% <== Fin de Parámetros globales
174
175\ProcessOptions
176
177
178\NeedsTeXFormat{LaTeX2e}
179
180\newcommand{\@ptsize}{}
181
182\renewcommand{\normalsize}{%
183\ifdraft
184   \@setfontsize\normalsize\@xpt\@xviipt
185\else
186   \@setfontsize\normalsize\@xpt\@xiipt
187\fi
188   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
189   \abovedisplayshortskip \z@ \@plus3\p@
190   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
191   \belowdisplayskip \abovedisplayskip
192   \let\@listi\@listI}
193\normalsize
194\newcommand{\small}{%
195\ifdraft
196   \@setfontsize\small\@ixpt{17}%
197\else
198   \@setfontsize\small\@ixpt{11}%
199\fi
200   \abovedisplayskip 8.5\p@ %\@plus3\p@ \@minus4\p@
201   \abovedisplayshortskip \z@ %\@plus2\p@
202   \belowdisplayshortskip 4\p@ %\@plus2\p@ \@minus2\p@
203   \def\@listi{\leftmargin\leftmargini
204               \topsep 4\p@ \@plus2\p@ \@minus2\p@
205               \parsep 2\p@ \@plus\p@ \@minus\p@
206               \itemsep \parsep}%
207   \belowdisplayskip \abovedisplayskip
208}
209\newcommand{\footnotesize}{%
210\ifdraft
211   \@setfontsize\footnotesize\@viiipt{17}%
212\else
213   \@setfontsize\footnotesize\@viiipt{9.5}%
214\fi
215   \abovedisplayskip 6\p@ %\@plus2\p@ \@minus4\p@
216   \abovedisplayshortskip \z@ %\@plus\p@
217   \belowdisplayshortskip 3\p@ %\@plus\p@ \@minus2\p@
218   \def\@listi{\leftmargin\leftmargini
219               \topsep 3\p@ \@plus\p@ \@minus\p@
220               \parsep 2\p@ \@plus\p@ \@minus\p@
221               \itemsep \parsep}%
222   \belowdisplayskip \abovedisplayskip
223}
224\newcommand{\xscriptsize}{\@setfontsize\scriptsize\@vipt\@viipt}
225\newcommand{\scriptsize}{\@setfontsize\scriptsize\@viipt\@viiipt}
226\newcommand{\tiny}{\@setfontsize\tiny\@vpt\@vipt}
227\newcommand{\large}{\@setfontsize\large\@xiipt{14}}
228\newcommand{\Large}{\@setfontsize\Large\@xivpt{18}}
229\newcommand{\LARGE}{\@setfontsize\LARGE\@xviipt{22}}
230\newcommand{\huge}{\@setfontsize\huge\@xxpt{25}}
231\newcommand{\Huge}{\@setfontsize\Huge\@xxvpt{30}}
232
233
234\@maxdepth\maxdepth
235\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
236\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
237\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
238\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
239\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
240\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
241\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
242\DeclareRobustCommand{\cal}{\@fontswitch{\relax}{\mathcal}}
243\DeclareRobustCommand{\mit}{\@fontswitch{\relax}{\mathnormal}}
244
245
246\lineskip 1pt
247\normallineskip 1pt
248\def\baselinestretch{1}
249
250\normalsize
251%% <<== Fin de información sobre fuentes
252
253
254%% Listas ==>>
255
256\leftmargini 20pt
257\leftmarginii 15pt
258\leftmarginiii 36pt
259\leftmarginiv 17pt
260\leftmarginv 10pt
261\leftmarginvi 10pt
262
263\def\@listI{\leftmargin\leftmargini
264            \parsep 4\p@ \@plus2\p@ \@minus\p@
265            \topsep 8\p@ \@plus2\p@ \@minus4\p@
266            \itemsep4\p@ \@plus2\p@ \@minus\p@}
267\let\@listi\@listI
268\@listi
269\def\@listii {\leftmargin\leftmarginii
270              \labelwidth\leftmarginii
271              \advance\labelwidth-\labelsep
272              \topsep    4\p@ \@plus2\p@ \@minus\p@
273              \parsep    2\p@ \@plus\p\@minus\p@
274              \itemsep   \parsep}
275\def\@listiii{\leftmargin\leftmarginiii
276              \labelwidth\leftmarginiii
277              \advance\labelwidth-\labelsep
278              \topsep    2\p@ \@plus\p@\@minus\p@
279              \parsep    \z@
280              \partopsep \p@ \@plus\z@ \@minus\p@
281              \itemsep   \topsep}
282\def\@listiv {\leftmargin\leftmarginiv
283              \labelwidth\leftmarginiv
284              \advance\labelwidth-\labelsep}
285\def\@listv  {\leftmargin\leftmarginv
286              \labelwidth\leftmarginv
287              \advance\labelwidth-\labelsep}
288\def\@listvi {\leftmargin\leftmarginvi
289              \labelwidth\leftmarginvi
290              \advance\labelwidth-\labelsep}
291
292
293
294\leftmargin\leftmargini
295\labelsep 5pt
296\labelwidth\leftmargini\advance\labelwidth-\labelsep
297
298
299\setlength  \labelwidth{\leftmargini}
300\addtolength\labelwidth{-\labelsep}
301
302\@beginparpenalty -\@lowpenalty
303\@endparpenalty   -\@lowpenalty
304\@itempenalty     -\@lowpenalty
305
306\renewcommand{\theenumi}{\arabic{enumi}}
307\renewcommand{\theenumii}{\alph{enumii}}
308\renewcommand{\theenumiii}{\roman{enumiii}}
309\renewcommand{\theenumiv}{\Alph{enumiv}}
310\newcommand{\labelenumi}{\theenumi.}
311\newcommand{\labelenumii}{(\theenumii)}
312\newcommand{\labelenumiii}{\theenumiii.}
313\newcommand{\labelenumiv}{\theenumiv.}
314\renewcommand{\p@enumii}{\theenumi}
315\renewcommand{\p@enumiii}{\theenumi(\theenumii)}
316\renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
317\def\sqbullet{\raise2pt\hbox{\vrule width 2.5pt depth0pt height 2.5pt}}
318\newcommand{\labelitemi}{\sqbullet}
319%\newcommand{\labelitemi}{$\m@th\bullet$}
320\newcommand{\labelitemii}{\normalfont\bfseries --}
321\newcommand{\labelitemiii}{$\m@th\ast$}
322\newcommand{\labelitemiv}{$\m@th\cdot$}
323\newenvironment{description}
324               {\list{}{\labelwidth\z@ \itemindent-\leftmargin
325                        \let\makelabel\descriptionlabel}}
326               {\endlist}
327
328
329\newcommand*{\descriptionlabel}[1]{\hspace\labelsep
330                                \normalfont\bfseries #1}
331
332%%% <<=== Fin de comandos de listas
333
334%% Páginas de título, Prefacio, Introducción==>>
335
336\def\preface{\startonoddpage
337\chapter*{Prefacio}
338\global\titletrue
339\markboth{PREFACIO}{PREFACIO}
340\addcontentsline{toc}{schapter}{Prefacio}}
341
342\def\prefacefirst{\startonoddpage
343\chapter*{Prefacio a la Primera Edición}
344\global\titletrue
345\markboth{PREFACIO A LA PRIMERA EDICIÓN}{PREFACIO A LA PRIMERA EDICIÓN}
346\addcontentsline{toc}{schapter}{\protect\numberline{\ }\string\rlap{Prefacio a la Primera Edición}}}
347
348\let\endprefacefirst\endpreface
349
350\def\endpreface{\newpage\markboth{}{}}
351
352\def\prefaceauthor#1{\vskip14pt\hbox to\textwidth{\hfill\small\sc #1}}
353
354
355\def\foreword{\startonoddpage
356\chapter*{Prólogo}
357\global\titletrue
358\markboth{PRÓLOGO}{PRÓLOGO}
359\addcontentsline{toc}{schapter}{Prólogo}}
360\let\endforeword\endpreface
361
362
363\def\dedication#1{\startonoddpage
364\global\titletrue
365\null\vskip15pc
366\noindent\hfill\vtop{\hsize=.45\hsize
367\leftskip=\parfillskip
368\baselineskip=12pt
369\parfillskip=0pt
370\def\\ {\vskip.5pt}
371\Large\it
372\noindent#1\vskip1sp}
373\thispagestyle{empty}
374\newpage\markboth{}{}
375}
376
377\def\where#1{\vskip4pt\vtop{\parindent=0pt \wherefont #1}}
378
379%%%%%%%%%%%%%%%%%%%
380\def\introduction{\startonoddpage
381\global\titletrue
382\chapter*{Introducción}
383\markboth{INTRODUCCIÓN}{INTRODUCCIÓN}
384\renewcommand{\thechapter}{I}
385\addcontentsline{toc}{schapter}{Introducción}}
386
387\def\endintroduction{\newpage}
388
389%%
390%% Autor de la Introducción, Abr 01, 2014
391
392\def\introauthor#1#2{\vskip-1in
393\addcontentsline{toc}{ichapter}{#1}
394\vtop to 0pt{
395{\sc #1}
396\chapteraffil{#2}
397\vss}\global\everypar={\hskip-\parindent\everypar={}}\vskip1in}
398
399
400\def\l@ichapter#1#2{%
401  \ifnum \c@tocdepth >1
402    \addpenalty{-\@highpenalty}%
403    \vskip -3pt \@plus\p@
404     \setlength\@tempdima{2.5em}%
405    \begingroup
406      \parindent \z@ \rightskip \@pnumwidth
407      \parfillskip -\@pnumwidth
408      \leavevmode 
409      \advance\leftskip\@tempdima
410      \hskip -\leftskip
411\hbox{\it #1}\hfill\par
412      \penalty\@highpenalty
413    \endgroup
414\vskip1sp
415  \fi}
416
417%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
418
419\def\acknowledgments{\startonoddpage
420\global\titletrue
421\chapter*{Agradecimientos}
422\addcontentsline{toc}{schapter}{Agradecimientos}}
423
424\def\endacknowledgments{\newpage}
425
426\let\acknowledgements\acknowledgments
427\let\endacknowledgements\endacknowledgments
428
429\def\authorinitials#1{\vskip12pt
430\hbox to\textwidth{\hfill#1}\newpage}
431
432
433%% from 2e
434\newcommand{\frontmatter}{\cleardoublepage
435            \@mainmatterfalse\pagenumbering{roman}}
436\newcommand{\mainmatter}{\cleardoublepage
437       \@mainmattertrue\pagenumbering{arabic}}
438\newcommand{\backmatter}{\if@openright\cleardoublepage\else\clearpage\fi
439      \@mainmatterfalse}
440%%
441
442\newif\iftitle
443
444\def\booktitle#1{\def\thetitle{\uppercase{#1}}}
445\def\subtitle#1{\def\thesubtitle{#1}}
446\def\author#1{\def\theauthor{#1}}
447\let\authors\author
448\def\editionstatement#1{\def\theeditionstatement{#1}}
449
450\booktitle{}
451\subtitle{}
452\editionstatement{}
453
454%\def\coverpage{\thispagestyle{empty}
455%   \includegraphics[scale=0.7]{P_4.png}
456%    %\clearpage
457%}
458
459\def\halftitlepage{\thispagestyle{empty}
460  \vspace*{9pc}%
461  {\parindent \z@
462    \interlinepenalty\@M
463\LARGE
464\hyphenpenalty10000
465\bfseries\halftitlefont 
466\def\\ {\vskip1sp}
467\noindent\thetitle\vskip 1sp
468}
469\newpage
470}
471
472\def\titlepage{\ifodd\c@page\else\thispagestyle{empty}\null\newpage\fi
473\thispagestyle{empty}
474\vbox to\vsize{\vspace*{36pt}%
475\hrule height3pt
476\vskip6pc
477\parindent \z@
478\interlinepenalty\@M
479\Huge
480\hyphenpenalty10000
481\bfseries\titlefont 
482\uppercase{\thetitle}
483\ifx\subtitle\empty\else
484{\vskip1pt\baselineskip22pt
485\subtitlefont \vrule height2pc width0pt\thesubtitle\vskip1sp}\fi
486\vskip1pc
487\hrule
488\ifx\theeditionstatement\empty\else
489\vskip48pt
490{\editionfont \theeditionstatement}\fi
491\vskip6.5pc
492{\frenchspacing\baselineskip=12pt
493\authorfont \theauthor\vskip1sp}
494\vfill
495\noindent{\includegraphics[width=1.7in]{logoCenditel.png}}
496\vskip-8pt
497{\wileyfont Publicación de la Fundación CENDITEL}
498\vskip24pt}\newpage}
499
500\def\affil#1{{\affilfont #1}\vskip18pt}
501
502
503\def\dotspace{\hskip5pt/\hskip5pt}
504
505%% fin de páginas de Título. Prefacio
506
507%% Comandos de Parte, Capítulo, y Apéndice ===>>>
508
509\def\chaptermark#1{}
510
511\newcommand{\part}{\startonoddpage
512                 \thispagestyle{empty}%
513                     \@tempswafalse
514                 \secdef\@part\@spart}
515
516\def\@part[#1]#2{%
517\ifnum\c@part=0 \global\@mainmattertrue
518\pagenumbering{arabic}\setcounter{page}{1}\fi
519    \ifnum \c@secnumdepth >-2\relax
520      \refstepcounter{part}%
521      \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
522    \else
523      \addcontentsline{toc}{part}{#1}%
524    \fi
525    \markboth{}{}
526  {
527\vglue36pt
528\parindent \z@
529 \interlinepenalty\@M
530%\Large
531%{\parindent \z@
532%\partnumberfont
533%\hfill
534%\partname~\Roman{part}
535%\includegraphics[scale=0.60]{fondoParteDeLibro.png}
536%}
537
538%\hbox to\textwidth
539{%
540%\hbox to 1.5in{
541
542\setlength{\unitlength}{1pt}%
543\begin{picture}(0,150)(0,0)
544\put(10,0){\includegraphics[scale=0.80]{fondoParteDeLibro.png}}
545\put(257,85){
546\Large
547\parindent \z@
548\partnumberfont
549\hfill
550\partname~\Roman{part}}
551%}
552
553\end{picture}%
554}
555
556
557
558\hfill\vrule depth12pt width0pt
559%\hrule height3pt % <- la raya horizontal
560%\vtop to23.5pc{\vfill % <- espacio entre PARTE y el titulo de la parte
561\vtop to20pc{\vfill
562\hyphenpenalty10000
563\raggedright
564\parfillskip=0pt
565\LARGE\baselineskip=24pt\boldmath\bfseries\partfont 
566\uppercase{#2}\vskip1pc
567\hrule height 1pt
568\vskip7pc}}}
569
570
571\def\@spart#1{%
572    {\centering
573     \interlinepenalty \@M
574     \reset@font
575     \Huge \bfseries #1\par}%
576    \@endpart}
577\def\@endpart{\vfill\newpage
578              \if@twoside
579                \hbox{}%
580                \thispagestyle{empty}%
581                \newpage
582             \fi}
583
584
585\def\and{\lowercase{and}\ }
586
587\def\eatone#1{}
588\def\oldauthor[#1]#2{{\ifnum\c@chapter<1
589\vskip-2pc
590\else
591\vskip2pc
592\ifnum\c@chapter>9\leftskip=4pc\else
593\leftskip=3pc\fi\fi\let\\ \newline{#2}\vskip1sp}
594{\let\\ \space \let\footnote\eatone\xdef\totoc{\tocauthorfont #1}}
595\addtocontents{toc}{\vskip-2.5pt{\string\noindent\hskip24pt\totoc}}
596\addtocontents{toc}{\vskip6pt}
597}
598
599
600\newif\iffirstprologue
601\def\prologue#1#2{\iffirstprologue\vskip4pt
602\global\firstprologuefalse\else
603\vskip12pt\fi
604{\leftskip=1pc
605\parindent=0pt \small
606\let\\ \newline#1\vskip1sp
607\hbox to\textwidth{\hfill\def\two{#2}\ifx\two\empty\else---#2\fi}
608}\vskip12pt}
609
610
611\newdimen\SpaceAboveChapterNumber
612\SpaceAboveChapterNumber=36pt
613
614\def\chapter{\let\thetable\savethetable
615\let\thefigure\savethefigure
616\global\c@footnote=0
617\global\probcount=0
618\global\c@chapapp=0
619\global\appendfalse
620\renewcommand{\thechapter}{\arabic{chapter}}
621                    \@afterindentfalse
622                    \secdef\@chapter\@schapter}
623
624\let\savefootnote\footnote
625\let\savefootnotetext\footnotetext
626
627\newcount\savefootnotenumber
628\newcount\ftnum
629\newcount\saveftnum
630\def\catchfootnote#1{%
631\global\advance\ftnum by1
632\expandafter\gdef\csname thecatchfootnote\the\ftnum\endcsname{#1}}
633
634\def\zfnsymbol#1{\expandafter\@zfnsymbol\csname c@#1\endcsname}
635
636\def\@zfnsymbol#1{\ensuremath{\ifcase#1\or \dagger\or \ddagger\or
637   \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger
638   \or \ddagger\ddagger \else\@ctrerr\fi}}
639
640\def\zzfnsymbol#1{\expandafter\@zfnsymbol\csname c@#1\endcsname}
641
642\def\@zzfnsymbol#1{\ensuremath{\ifcase#1 \dagger\or \ddagger\or
643   \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger
644   \or \ddagger\ddagger \else\@ctrerr\fi}}
645
646\def\@chapter[#1]#2{\startonoddpage
647\global\titletrue
648%% no floats on chapter title page
649\global\@topnum\z@
650\global\@botnum\z@
651%%
652\ifnum\c@chapter=0\relax \ifnum\c@part=1 \else \setcounter{page}{1}
653\global\@mainmattertrue% <<===
654\fi\fi
655%% if using answers.sty:
656\expandafter\ifx\csname Closesolutionfile\endcsname \relax
657\else
658\Closesolutionfile{ans}\fi
659%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
660\lowercase{\global\savefootnotenumber=\c@footnote
661\global\ftnum=0
662\setbox0=\hbox{\let\thanks\catchfootnote
663\let\\ \relax\let\footnote\catchfootnote#2}
664{\def\thefootnote{\zfnsymbol{footnote}}
665\ifnum\ftnum<1 \else
666\saveftnum\ftnum
667\global\advance\saveftnum by1
668\ftnum=1
669\loop\ifnum\saveftnum>\ftnum
670\advance\c@footnote by 1
671\savefootnotetext{\csname thecatchfootnote\the\ftnum\endcsname}
672\global\advance\ftnum by1
673\repeat
674\fi}}
675%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
676%
677\gdef\thepage{\csname @arabic\endcsname\c@page}
678%
679\refstepcounter{chapter}% <<==== moved this here instead of below mainmatter
680%% when using answers.sty,
681%% to open an ans<chapnum> file to be used for solutions section
682\expandafter\ifx\csname Opensolutionfile\endcsname\relax\else
683\Opensolutionfile{ans}[ans\the\c@chapter]\fi
684\let\dolabelnow\relax
685{\def\label##1{\gdef\dolabelnow{\savelabel{##1}}}%
686     \global\setbox0=\hbox{\def\\ {\relax}#2}}%
687\ifnum \c@secnumdepth >\m@ne
688                       \if@mainmatter
689                         \typeout{\@chapapp\space\thechapter.}%
690\let\thanks\eatone
691                         \addcontentsline{toc}{chapter}%
692                                   {\protect\numberline{\thechapter}#1}%
693                       \else
694\let\thanks\eatone
695                         \addcontentsline{toc}{chapter}{#1}%
696                       \fi
697                    \else
698\let\thanks\eatone
699                      \addcontentsline{toc}{chapter}{#1}%
700                    \fi
701                    \chaptermark{#1}%
702                      \@makechapterhead{{
703\def\thanks##1{$^{\zfnsymbol{footnote}}$}
704\def\\ {\vskip1sp}\uppercase{#2}}}%
705\dolabelnow
706                      \@afterheading
707                    \lowercase{\global\c@footnote\savefootnotenumber}}
708
709\def\@makechapterhead#1{%
710\vglue10pt
711\SpaceAboveChapterNumber=36pt
712  {\parindent \z@
713    \interlinepenalty\@M
714%\noindent{\includegraphics[scale=0.2]{icono2.jpg}}
715%\noindent{\includegraphics[scale=0.15]{IconoOctagonoGrande.png}}
716%\noindent{\includegraphics[scale=0.7]{IconoOctagonoVerde.png}}
717%\noindent{\includegraphics[scale=0.25]{fondoCapituloDeLibro.png}}
718
719
720%\Large
721%\hbox to\textwidth{\hbox{\chapternumberfont CAPÍTULO
722%\the\c@chapter}\hfill\vrule depth1pt width0pt}
723%\hbox to\textwidth{\hfill
724%{\noindent{\includegraphics[scale=0.20]{fondoCapituloDeLibro.png}}}
725%}
726\hbox to\textwidth{%
727\hbox to 1.5in{
728\setlength{\unitlength}{1pt}%
729\begin{picture}(0,200)(0,0)
730\put(110,0){\includegraphics[scale=0.20]{fondoCapituloDeLibro.png}}
731\put(33,87){
732\Large
733\hbox to\textwidth{\hbox{\chapternumberfont CAPÍTULO
734\the\c@chapter}\hfill\vrule depth1pt width0pt}
735}
736\end{picture}%
737}
738}
739
740
741%\begin{textblock}{0.3}(5,5)
742%{\noindent{\includegraphics[scale=0.20]{fondoCapituloDeLibro.png}}}
743%\end{textblock}
744
745%\begin{textblock}{0.3}(6,6)
746%{
747%\Large
748%\hbox to\textwidth{\hbox{\chapternumberfont CAPÍTULO
749%\the\c@chapter}\hfill\vrule depth1pt width0pt}
750%}
751%\end{textblock}
752
753
754%\Large
755%\hbox to\textwidth{\hbox{\chapternumberfont CAPÍTULO
756%\the\c@chapter}\hfill\vrule depth1pt width0pt}
757
758
759\hrule height0pt
760\vtop to16.5pc{\vfill
761\hyphenpenalty10000
762\raggedright
763\parfillskip=0.5pt
764\LARGE\boldmath\bfseries\chaptertitlefont 
765#1\vskip1pc
766\hrule height 1pt
767\vskip7pc}}
768\dooffprintinfo}
769
770\def\@schapter#1{\if@twocolumn
771                   \@topnewpage[\@makeschapterhead{#1}]%
772                 \else
773                   \@makeschapterhead{#1}%
774                   \@afterheading
775                 \fi\global\titletrue\relax}
776
777\def\@makeschapterhead#1{%
778  \vspace*{14pc}%
779\noindent{\Large\bfseries\chaptertitlefont
780\uppercase{#1}}\nobreak
781\vskip1pc\hrule height1pt\vskip7.5pc}
782
783\let\title\chapter
784
785\newcount\c@chapapp
786\def\chapappendix#1{\par
787\global\advance\c@chapapp by 1
788  \setcounter{section}{0}%
789  \setcounter{figure}{0}%
790  \setcounter{table}{0}%
791  \setcounter{equation}{0}%
792  \renewcommand{\@chapapp}{\appendixname}%
793  \renewcommand{\thechapter}{%\the\c@chapter.
794\Alph{chapapp}}
795\renewcommand{\thetable}{\the\c@chapter-\thechapter.\@arabic\c@table\theletter}
796\renewcommand{\thefigure}{\the\c@chapter-\thechapter.\@arabic\c@figure\theletter}
797\def\one{#1}\ifx\one\empty
798\section*{Apéndice}
799\markright{APÉNDICE}
800\addcontentsline{toc}{schapter}{\protect\numberline{Apéndice}}
801\else
802\section*{Apéndice: #1}
803\markright{APÉNDICE}
804\addcontentsline{toc}{schapter}{\protect\numberline{Apéndice: #1}}
805\fi
806}
807
808
809%%% <<=== final de comandos para Capítulo, Parte, y Apéndice
810
811
812%%% Contadores ===>>
813\newcounter {part}
814\newcounter {chapter}
815\newcounter {section}[chapter]
816\newcounter {subsection}[section]
817\newcounter {subsubsection}[subsection]
818\newcounter {paragraph}[subsubsection]
819\newcounter {subparagraph}[paragraph]
820
821%%% <=== final contadores
822
823%%% Nombres a nivel de encabezado ==>>
824\renewcommand{\thepart}         {\Roman{part}}
825\renewcommand{\thechapter}      {\arabic{chapter}}
826\renewcommand{\thesection}      {\thechapter.\arabic{section}}
827\renewcommand{\thesubsection}   {\thesection.\arabic{subsection}}
828\renewcommand{\thesubsubsection}{\thesubsection .\arabic{subsubsection}}
829\renewcommand{\theparagraph}    {\thesubsubsection.\arabic{paragraph}}
830\renewcommand{\thesubparagraph} {\theparagraph.\arabic{subparagraph}}
831\newcommand{\@chapapp}{\chaptername}
832
833%%% <<== final de nombres a nivel de encabezado
834
835
836%%% Comandos de Sección ====>>>>
837
838% \@startsection {NOMBRE}{NIVEL}{IDENTACIÓN}{PREVIO SALTO}{DESPUÉS DE SALTO}{ESTILO}
839%            opcional * [ENCABEZADO ALTERNATIVO]{ENCABEZADO}
840%    Comando genérico para el inicio de sección.
841%    NOMBRE          : ejemplo, 'subsección'
842%    NIVEL           : un número, denotando profundidad de la sección -- ejemplo: capítulo=1,
843%                      sección=2, etc.
844%    IDENTACIÓN      : Indentación del encabezado desde el margen izquierdo
845%    ANTES DE SALTO  : Valor absoluto = salto a nivel superior del encabezado.
846%                      Si es negativo, entonces se suprime la identación del texto que sigue al encabezado.
847%    DESPUÉS DE SALTO: si es positivo, entonces es el salto a dar después del encabezado, de lo contrario,
848%                      es el salto a dar a la derecha del encabezado actual.
849%    ESTILO          : comandos para la configuración de estilo
850%  Si falta el '*', entonces se incrementa el contador. Si está presente, entonces no debería haber un argumento en encabezado alternativo
851%  Utilice el contador 'secnumdepth' cuyo valor es el mayor nivel de la sección a ser enumerada
852
853
854
855\newcommand{\section}{\@startsection {section}{1}{\z@}%
856                                   {-22pt plus -1pt minus -6pt
857}%
858                                   {13pt}%
859                                   {\reset@font\large\bfseries\boldmath\sectionfont}}
860\newcommand{\subsection}{\@startsection{subsection}{2}{\z@}%
861                                     {-16pt plus -1pt minus -3pt
862}%
863                                     {8pt}%
864                                 {\reset@font\large\bfseries\boldmath\subsectionfont}}
865\newcommand{\subsubsection}{\@startsection{subsubsection}{3}{\z@}%
866                                     {-12pt plus -1pt minus -6pt
867}%
868                                     {-1em}
869                           {\reset@font\normalsize\bfseries\boldmath\subsubsectionfont}}
870\newcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}%
871                                    {-12pt}%
872                                    {-1em}%
873                               {\reset@font\normalsize\bfseries\paragraphfont}}
874\newcommand{\subparagraph}{\@startsection{subparagraph}{5}{\parindent}%
875                                       {3.25ex \@plus1ex \@minus .2ex}%
876                                       {-1em}%
877                                      {\reset@font\normalsize\bfseries}}
878
879%%% <<=== final comandos de secciones
880
881
882%%% Verso, Cita, Extracto ==>>
883
884\newenvironment{verse}
885               {\let\\=\@centercr
886                \list{}{\itemsep      \z@
887                        \itemindent   -1.5em%
888                        \listparindent\itemindent
889                        \rightmargin  \leftmargin
890                        \advance\leftmargin 1.5em}%
891                \item[]}
892               {\endlist}
893\newenvironment{quotation}
894               {\small
895\list{}{\listparindent \parindent%
896                        \itemindent    \listparindent
897                        \rightmargin   \leftmargin
898                        \parsep        \z@ \@plus\p@}%
899                \item[]}
900               {\endlist}
901\newenvironment{quote}
902               {\small
903\list{}{\rightmargin\leftmargin}%
904                \item[]}
905               {\endlist}
906\let\extract\quotation
907\let\endextract\endquotation
908%% <<== final Verso, Cita, Extracto
909
910
911%%% Matemática ===>>>
912
913\@addtoreset{equation}{chapter}
914\renewcommand{\theequation}{\thechapter.\arabic{equation}}
915
916%%% ruta fácil para hacer matemáticas en negrita utilizando $ fórmula $
917\def\dobold#1{\hbox{\boldmath$\displaystyle #1$\unboldmath}}
918\let\mathbold\dobold
919
920%% crear una caja alrededor de la ecuación o ambiente desplegado
921\def\boxit#1{{\fboxsep=6pt\ifmmode
922\fbox{$\displaystyle #1$}
923\else
924\vskip14pt{\centerline{\fbox{\vtop{\vskip-9pt\vskip1sp\advance\hsize-41pt #1\vskip-8pt}}}\vskip14pt}\fi}}
925
926%%% <<<=== final Matemática
927
928
929%%% Título de Figuras y Tablas ==>>>
930\newcounter{figure}[chapter]
931\renewcommand{\thefigure}{\thechapter.%
932\@arabic\c@figure\theletter}
933\def\fps@figure{tbp}
934\def\ftype@figure{1}
935\def\ext@figure{lof}
936\def\fnum@figure{\figurename~\thefigure}
937\newenvironment{figure}
938               {\@float{figure}}
939               {\end@float}
940\newenvironment{figure*}
941               {\@dblfloat{figure}}
942               {\end@dblfloat}
943\newcounter{table}[chapter]
944\renewcommand{\thetable}{\thechapter.\@arabic\c@table\theletter}
945
946\let\savethetable\thetable
947\let\savethefigure\thefigure
948
949
950\def\fps@table{tbp}
951\def\ftype@table{2}
952\def\ext@table{lot}
953\def\fnum@table{\tablename~\thetable}
954\newenvironment{table}
955               {\@float{table}}
956               {\end@float}
957\newenvironment{table*}
958               {\@dblfloat{table}}
959               {\end@dblfloat}
960\newlength\abovecaptionskip
961\newlength\belowcaptionskip
962\setlength\abovecaptionskip{10\p@}
963\setlength\belowcaptionskip{0\p@}
964
965\def\xfigure{figure}
966
967\long\def\@makecaption#1#2{%
968\vskip\abovecaptionskip
969{\small\hyphenpenalty10000
970\ifx\@captype\xfigure
971\ifcontinued\global\advance\c@figure -1\fi
972\else
973\ifcontinued\global\advance\c@table -1\fi
974\fi%
975 \sbox\@tempboxa{{\fignumfont#1 \ifcontinued (Continuación)\fi
976\quad \ifx\@captype\xfigure\figtextfont\else
977\tabtextfont\fi\let\newline\ #2}}%
978  \ifdim \wd\@tempboxa >.9\hsize \hyphenpenalty10000
979\fignumfont #1 \ifcontinued (Continuación)\fi\quad
980\ifx\@captype\xfigure\figtextfont\else
981\tabtextfont\fi#2\par
982  \else
983    \global \@minipagefalse
984    \hbox to\hsize{\hfil\box\@tempboxa\hfil}%
985  \fi
986\ifx\@captype\xfigure
987  \vskip\belowcaptionskip
988\else
989\vskip3pt\fi
990\gdef\theletter{\relax}
991\global\continuedfalse
992}}
993
994
995\newif\ifsettotop
996
997
998\def\@xfloat#1[#2]{%
999\def \@captype {#1}\def \@fps {#2}\@onelevel@sanitize \@fps
1000\def \reserved@b {!}\ifx \reserved@b \@fps \@fpsadddefault \else 
1001\ifx \@fps \@empty \@fpsadddefault \fi \fi 
1002\ifhmode \@bsphack \@floatpenalty -\@Mii \else \@floatpenalty -\@Miii \fi 
1003\ifinner \@parmoderr \@floatpenalty \z@
1004\else \@next \@currbox \@freelist {\@tempcnta \sixt@@n
1005\expandafter \@tfor \expandafter \reserved@a \expandafter :\expandafter 
1006=\@fps \do {\if \reserved@a h\ifodd \@tempcnta \else \advance \@tempcnta \@ne
1007\fi \fi \if \reserved@a t\@setfpsbit \tw@ \global\settotoptrue\fi 
1008\if \reserved@a b\@setfpsbit 4\fi 
1009\if \reserved@a p\@setfpsbit 8\fi 
1010\if \reserved@a !\ifnum \@tempcnta >15
1011\advance\@tempcnta -\sixt@@n\relax\fi \fi }\@tempcntb
1012\csname ftype@\@captype \endcsname \multiply \@tempcntb \@xxxii \advance 
1013\@tempcnta \@tempcntb \global \count \@currbox \@tempcnta }\@fltovf \fi 
1014\global \setbox \@currbox \color@vbox \normalcolor \vbox \bgroup 
1015\ifx\@captype\xtable
1016\ifsettotop
1017\vglue-6pt
1018\fi\fi\global\settotopfalse
1019\hsize \columnwidth \@parboxrestore \@floatboxreset}
1020
1021\let\savetabular\tabular
1022\def\tabular{\tablefontsize\baselineskip=12pt\savetabular}
1023
1024\@namedef{tabular*}#1{\def\@halignto{to#1}
1025\tablefontsize\baselineskip12pt\@tabular}
1026
1027\def\@array[#1]#2{%
1028  \if #1t\vtop \else \if#1b\vbox \else \vcenter \fi\fi
1029  \bgroup
1030  \setbox\@arstrutbox\hbox{%
1031    \vrule \@height\arraystretch\ht\strutbox
1032           \@depth\arraystretch \dp\strutbox
1033           \@width\z@}%
1034  \@mkpream{@{}#2@{}}%
1035  \edef\@preamble{%
1036    \ialign \noexpand\@halignto
1037      \bgroup \@arstrut \@preamble \tabskip\z@skip \cr}%
1038  \let\@startpbox\@@startpbox \let\@endpbox\@@endpbox
1039  \let\tabularnewline\\%
1040    \let\par\@empty
1041    \let\@sharp##%
1042    \set@typeset@protect
1043    \lineskip\z@skip\baselineskip\z@skip
1044    \ifhmode \@preamerr\z@ \@@par\fi
1045    \@preamble}
1046
1047\def\tablenotes{\vskip2pt\footnotesize}
1048\let\endtablenotes\relax
1049
1050%% Compatibilidad con versiones anteriores:
1051\let\savehline\hline
1052
1053\let\hline\savehline
1054\def\arraystretch{1.25}
1055
1056%%%%%%%%% Títulos numerados con letras
1057
1058\def\theletter{\relax}
1059\newif\ifxfirsttime
1060\xfirsttimetrue
1061
1062\def\caption{\ifx\@captype\xtable
1063\ifx\theletter\xrelax
1064\global\xfirsttimetrue\refstepcounter\@captype\else
1065\ifxfirsttime\global\xfirsttimefalse\refstepcounter\@captype\fi\fi
1066\else
1067\ifx\theletter\xrelax
1068\global\xfirsttimetrue\refstepcounter\@captype\else
1069\ifxfirsttime\global\xfirsttimefalse\refstepcounter\@captype\fi\fi\fi
1070\edef\@currentlabel{\expandafter\csname p@\@captype\endcsname%
1071\expandafter\csname the\@captype\endcsname}
1072\xdef\currcaptype{\@captype}
1073\@dblarg{\@caption\@captype}}
1074
1075\def\letteredcaption#1{\gdef\theletter{#1}\caption}
1076
1077\newif\ifcontinued
1078\def\continuedcaption{\global\continuedtrue\caption}
1079
1080%%% <<=== final de los títulos de Figura y Tabla
1081
1082
1083%%% Tabla de Contenidos, Lista de Figuras, LOT ===>>
1084
1085\newcommand{\@pnumwidth}{1.55em}
1086\newcommand{\@tocrmarg} {2.55em  plus .5in}
1087\newcommand{\@dotsep}{4.5}
1088
1089\def\startonoddpage{\clearpage
1090\ifodd\c@page\else\null\thispagestyle{empty}\newpage\fi}
1091
1092\newcommand{\tableofcontents}{%
1093\startonoddpage
1094\global\titletrue
1095    \chapter*{\contentsname}
1096        \@mkboth{\uppercase{\contentsname}}{\uppercase{\contentsname}}%
1097\vskip-9pt
1098\bgroup\parskip=0pt
1099\chapskip=26pt
1100\authorskip=-6pt
1101\chapheight3pt
1102\partskip=-8pt
1103{\normalsize\tocfonts\baselineskip=14pt
1104\hyphenpenalty=10000
1105    \@starttoc{toc}%
1106}
1107\egroup
1108    \if@restonecol\twocolumn\fi
1109
1110\newpage
1111\markboth{}{}
1112    }
1113
1114\def\splitintwo#1.#2*{\llap{#1}\rlap{.#2}}
1115
1116\newcommand{\listoftables}{%
1117\startonoddpage
1118\global\titletrue
1119    \chapter*{Lista de Tablas
1120        \@mkboth{\uppercase{Lista de Tablas}}{\uppercase{Lista de Tablas}}}%
1121\addcontentsline{toc}{schapter}{Lista de Tablas}
1122\vskip-9pt
1123\bgroup\parskip=2pt
1124{\def\numberline##1{\def\one{##1}%
1125\hb@xt@\@tempdima{\expandafter\splitintwo\one*\hfil}}
1126\normalsize\tocfonts
1127\hyphenpenalty=10000
1128    \@starttoc{lot}%
1129}
1130\egroup
1131    \if@restonecol\twocolumn\fi
1132\newpage
1133\markboth{}{}
1134    }
1135
1136
1137
1138\newcommand{\listoffigures}{%
1139\startonoddpage
1140\global\titletrue
1141    \chapter*{Lista de Figuras
1142        \@mkboth{\uppercase{Lista de Figuras}}{\uppercase{Lista de Figuras}}}%
1143\addcontentsline{toc}{schapter}{Lista de Figuras}
1144\vskip-9pt
1145\bgroup\parskip=2pt
1146{\def\numberline##1{\def\one{##1}%
1147\hb@xt@\@tempdima{\expandafter\splitintwo\one*\hfil}}
1148\normalsize\tocfonts
1149\hyphenpenalty=10000
1150    \@starttoc{lof}%
1151}
1152\egroup
1153    \if@restonecol\twocolumn\fi
1154\newpage
1155\markboth{}{}
1156    }
1157
1158\newskip\partskip
1159
1160\def\l@part#1#2{%
1161  \ifnum \c@tocdepth >-2\relax
1162    \addpenalty{-\@highpenalty}%
1163\vskip16pt
1164    \begingroup
1165      {\centering\leavevmode\chaptocfont
1166         \uppercase{Parte\ \/ #1}
1167\vskip8pt
1168\vskip\partskip
1169}\par
1170       \nobreak
1171         \global\@nobreaktrue
1172         \everypar{\global\@nobreakfalse\everypar{}}
1173    \endgroup
1174\vskip1sp
1175  \fi}
1176
1177\def\l@chapter#1#2{%
1178  \ifnum \c@tocdepth >\m@ne
1179    \addpenalty{-\@highpenalty}%
1180    \vskip 10pt \@plus\p@
1181     \setlength\@tempdima{2.5em}%
1182    \begingroup
1183\let\numberline\xnumberline
1184      \parindent \z@ \rightskip \@pnumwidth
1185      \parfillskip -\@pnumwidth
1186      \leavevmode 
1187      \advance\leftskip\@tempdima
1188      \hskip -\leftskip
1189\chaptocfont 
1190#1\nobreak\hfil \nobreak\hbox 
1191to\@pnumwidth{\hss\chaptocfont #2}\par
1192      \penalty\@highpenalty
1193    \endgroup
1194\vskip4pt
1195  \fi}
1196
1197\def\l@schapter#1#2{%
1198  \ifnum \c@tocdepth >1
1199    \addpenalty{-\@highpenalty}%
1200    \vskip 3pt \@plus\p@
1201     \setlength\@tempdima{2.5em}%
1202    \begingroup
1203      \parindent \z@ \rightskip \@pnumwidth
1204      \parfillskip -\@pnumwidth
1205      \leavevmode 
1206      \advance\leftskip\@tempdima
1207      \hskip -\leftskip
1208%\chaptocfont
1209#1\nobreak\hfil \nobreak\hbox 
1210to\@pnumwidth{\hss #2}\par
1211      \penalty\@highpenalty
1212    \endgroup
1213\vskip1sp
1214  \fi}
1215
1216
1217\def\l@sschapter#1#2{%
1218  \ifnum \c@tocdepth >1
1219    \addpenalty{-\@highpenalty}%
1220    \vskip 6pt \@plus\p@
1221     \setlength\@tempdima{2.5em}%
1222    \begingroup
1223      \parindent \z@ \rightskip \@pnumwidth
1224      \parfillskip -\@pnumwidth
1225      \leavevmode 
1226      \advance\leftskip\@tempdima
1227      \hskip -\leftskip
1228\bf
1229#1\nobreak\hfil \nobreak\hbox 
1230to\@pnumwidth{\hss #2}\par
1231      \penalty\@highpenalty
1232    \endgroup
1233\vskip1sp
1234  \fi}
1235
1236\def\l@achapter#1#2{%
1237  \ifnum \c@tocdepth >0
1238    \addpenalty{-\@highpenalty}%
1239    \vskip 6pt
1240     \setlength\@tempdima{2.5em}%
1241    \begingroup
1242      \parindent \z@ \rightskip \@pnumwidth
1243      \parfillskip -\@pnumwidth
1244      \leavevmode 
1245      \advance\leftskip\@tempdima
1246      \hskip -\leftskip
1247\chaptocfont 
1248#1\nobreak\hfil \nobreak\hbox 
1249to\@pnumwidth{\hss #2}\par
1250      \penalty\@highpenalty
1251    \endgroup
1252\vskip4pt
1253  \fi}
1254
1255% \@dottedtocline{NIVEL}{IDENTACIÓN}{AMPLITUD_NUMERO}{TÍTULO}{PÁGINA} :
1256%   Macro para producir una línea de tabla de contenidos con los siguientes parámetros:
1257%     NIVEL           : Si NIVEL > \c@tocdepth, entonces no se genera la línea.
1258%     IDENTACIÓN      : Identación total desde el margen izquierdo.
1259%     AMPLITUD_NUMERO : Amplitud de la caja para el número si el TÍTULO tiene un comando \numberline.
1260%                       Como de 25 Enero de 1988, esto también el la cantidad extra de identación agregada a la segunda y subsecuentes líneas para
1261%                       líneas de múltiples entradas.
1262%     TÍTULO          : Contenidos de entrada.
1263%     PÁGINA          : Número de página.
1264%
1265%  Utilice los siguientes parámetros, los cuales deben ser configurados en el estilo del documento.
1266%  Estos deben definirse con \def's.
1267%    \@pnumwidth : Ancho de la caja en el cual el número de página es colocado.
1268%    \@tocrmarg  : Identación del márgen derecho para todas las líneas exceptuando la última en entradas múltiples.
1269%    \@dotsep    : Separación entre puntos, unidad in (pulgadas) mu ().  Debe definirse para \def'd un número como 2 o 1.7
1270%
1271
1272\def\@dottedtocline#1#2#3#4#5{%
1273\ifnum #1>\c@tocdepth \else \vskip 1sp {\leftskip #2\relax%
1274\rightskip \@tocrmarg  \parfillskip -\rightskip \parindent #2\relax%
1275\@afterindenttrue \interlinepenalty \@M \leavevmode \@tempdima #3\relax %
1276\advance \leftskip \@tempdima \hbox {}\hskip -\leftskip #4%
1277\nobreak% \leaders \hbox {$\m@th \mkern%
1278% \@dotsep mu.\mkern \@dotsep mu$}
1279\hfill\nobreak\hbox to\@pnumwidth {\hfil #5}\par }\fi}
1280
1281\newskip\tabandfigskip
1282\tabandfigskip=6pt plus 3pt minus 3pt
1283\def\l@table{\setlength\@tempdima{18pt}%
1284\vskip\tabandfigskip
1285\@dottedtocline{1}{1.5em}{3.5em}}
1286\def\l@figure{\setlength\@tempdima{18pt}%
1287\vskip\tabandfigskip
1288\@dottedtocline{1}{1.5em}{3.5em}}
1289
1290\def\l@section{\setlength\@tempdima{18pt}%
1291\@dottedtocline{1}{2.5em}{3em}}%was 2.3em
1292\def\l@subsection{\@dottedtocline{2}{5.5em}{3.6em}}% #3 was 3.4em
1293\def\l@subsubsection{\@dottedtocline{3}{7em}{5.1em}} %was 4.1em
1294\def\l@paragraph{\@dottedtocline{4}{10em}{5em}}
1295\def\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
1296
1297
1298%%% <<=== final TOC
1299
1300%%% Bibliografiá, Referencias, Agradecimientos ===>>
1301
1302%%%%%% Bibliografía utilizando BibTeX
1303
1304\def\chapbibliography{%
1305{\let\thebibliography\thechapbibliography
1306\let\endthebibliography\endthechapbibliography
1307\@input {\jobname.bbl}}
1308}
1309
1310\def\thechapbibliography#1{\section*{Referencias}
1311\markright{REFERENCIAS}
1312\addcontentsline{toc}{schapter}{Referencias}
1313\small
1314\labelsep 5pt
1315\list
1316  {\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}%
1317    \leftmargin\labelwidth
1318    \advance\leftmargin\labelsep
1319    \usecounter{enumiv}%
1320    \let\p@enumiv\@empty
1321    \def\theenumiv{\arabic{enumiv}}}%
1322    \def\newblock{\hskip .11em plus.33em minus.07em}%
1323    \sloppy\clubpenalty4000\widowpenalty4000
1324    \sfcode`\.=\@m}
1325
1326\def\endthechapbibliography{%
1327  \endlist}
1328
1329
1330
1331%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1332\def\newblock{}
1333
1334\let\save@lbibitem\@lbibitem
1335\let\save@bibitem\@bibitem
1336\def\@lbibitem{\def\@biblabel##1{[##1]}
1337\save@lbibitem}
1338
1339\def\@bibitem{\labelsep=5pt\def\@biblabel##1{##1.}\save@bibitem}
1340
1341\def\bibitem{\@ifnextchar[\@lbibitem\@bibitem}
1342
1343
1344%% to get rid of the extra argument used for thebibliography,
1345%% when redefinining thebibliography to be chapreferences:
1346\def\chapthebibliography#1{\chapreferences}
1347\let\endchapthebibliography\endchapreferences
1348
1349\def\chapreferences#1{\ifvmode\vskip-\lastskip\fi
1350\vskip8pt\vskip1sp\section*{REFERENCIAS}
1351\addcontentsline{toc}{schapter}{Referencias}
1352\bgroup
1353\small
1354\list
1355  {\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}%
1356    \leftmargin\labelwidth
1357    \advance\leftmargin\labelsep
1358    \usecounter{enumiv}%
1359    \let\p@enumiv\@empty
1360    \def\theenumiv{\arabic{enumiv}}}%
1361    \def\newblock{\hskip .11em plus.33em minus.07em}%
1362    \sloppy\clubpenalty4000\widowpenalty4000
1363    \sfcode`\.=\@m
1364}
1365
1366\def\endchapreferences{\endlist\egroup}
1367
1368\def\thebibliography#1{\startonoddpage
1369\global\titletrue\dooffprintinfo
1370\chapter*{Referencias}
1371\markboth{REFERENCIAS}{REFERENCIAS}
1372\addcontentsline{toc}{schapter}{Referencias}
1373\small
1374\labelsep 5pt
1375\list
1376  {\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}%
1377    \leftmargin\labelwidth
1378    \advance\leftmargin\labelsep
1379    \usecounter{enumiv}%
1380    \let\p@enumiv\@empty
1381    \def\theenumiv{\arabic{enumiv}}}%
1382    \def\newblock{\hskip .11em plus.33em minus.07em}%
1383    \sloppy\clubpenalty4000\widowpenalty4000
1384    \sfcode`\.=\@m}
1385
1386\def\endthebibliography{%
1387  \endlist}
1388
1389\def\references{\bgroup\thebibliography}
1390\def\endreferences{\endthebibliography\egroup}
1391
1392
1393%% final Bibliografía, Referencias y Agradecimientos
1394
1395
1396%%% Pié de páginas ===>>>
1397
1398%  \renewcommand{\footnoterule}{%
1399%  \kern-3\p@
1400%  \hrule width .4\columnwidth
1401%  \kern 2.6\p@}
1402
1403  \let\footnoterule\relax
1404
1405\@addtoreset{footnote}{chapter}
1406
1407\long\def\@makefntext#1{%
1408    \parindent 1em%
1409    \noindent
1410    \@makefnmark#1}
1411
1412\newcount\footnum
1413\newcount\savefootnum
1414\def\endnote#1{\global\advance\footnum by 1\relax$^{\the\footnum}$%
1415\long\expandafter\gdef\csname foot\the\footnum\endcsname{%
1416\vtop{\footnotesize\hsize=\textwidth\leftskip=12pt\relax\parindent=-12pt
1417\indent\hbox to12pt{\the\footnum.\hfill}{#1\strut\vskip1sp}}\vskip1pt}}
1418
1419\def\endnotetext#1{\global\advance\footnum by 1\relax
1420\long\expandafter\gdef\csname foot\the\footnum\endcsname{%
1421\vtop{\footnotesize\hsize=\textwidth\leftskip=12pt\relax\parindent=-12pt
1422\indent\hbox to12pt{\the\footnum.\hfill}{#1\strut\vskip1sp}}\vskip1pt}}
1423
1424\newif\ifrefnoteused
1425\def\refnote{\ifrefnoteused\else\global\refnoteusedtrue
1426\typeout{^^J^^J!!! ===>>>^^J
1427Por favor no utilice el comando \string\refnote.^^J
1428En su lugar escriba una referencia estándar de LaTeX y utilice \string\cite
1429^^J<<<=== !!!^^J^^J}\fi}
1430
1431\def\notes{\ifnum\footnum=0\else
1432\savefootnum=\footnum
1433\footnum=0
1434\noindent\loop\ifnum\savefootnum>\footnum%
1435\global\advance\footnum by1\relax%
1436\csname foot\the\footnum\endcsname\relax%
1437\expandafter\gdef\csname foot\the\footnum\endcsname{\relax}\relax%
1438\repeat\global\footnum=0\relax\fi}
1439
1440\def\note{\hfill}
1441
1442
1443%%% <<<=== Final de Pié de páginas
1444
1445
1446
1447%%% Encabezados de ejecución ===>>>
1448
1449%% a menos que se necesite esto, déjelo descomentado
1450    \let\@mkboth\@gobbletwo
1451    \let\chaptermark\@gobble
1452    \let\sectionmark\@gobble
1453
1454\def\ps@headings{\let\@mkboth\markboth
1455 \def\@oddfoot{\rlap{\ifoffprintinfo\global\offprintinfofalse%
1456\printoffprintinfo\fi}%
1457\iftitle\global\titlefalse{\hfill\foliofont\thepage}\fi}
1458 \def\@evenfoot{\iftitle\global\titlefalse{\foliofont\thepage\hfill}\fi
1459\llap{\ifoffprintinfo\global\offprintinfofalse%
1460\printoffprintinfo\fi}%
1461}
1462 \def\@evenhead{\iftitle\else{\foliofont \thepage}\hskip1.5pc%
1463\footnotesize\runningheadfont\MakeUppercase\leftmark\fi\hfill}
1464 \def\@oddhead{\hfill\iftitle\else{\footnotesize\runningheadfont 
1465\MakeUppercase\rightmark}\hskip1.5pc%
1466\foliofont\thepage\fi}%
1467 \def\chaptermark##1{\markboth {\uppercase{##1}}{}}%
1468 \def\sectionmark##1{\markright {\uppercase{##1}}}}
1469
1470\markboth{}{}
1471
1472\ps@headings
1473
1474\pagestyle{headings}
1475\pagenumbering{roman}
1476
1477
1478
1479%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1480%% Uso especial de fuentes
1481%%
1482
1483%% Llamado a fuentes modernas de computadores. Se redefinirá si las fuentes son utilizadas
1484%%
1485%% \documentclass{wileysix}
1486%% \usepackage{w-bookps}
1487%%  utilizará fuentes PostScript.
1488
1489%% \documentclass{wileysix} utilizará fuentes modernas de Computadoras.
1490
1491
1492%% Times-Roman
1493\def\timesroman{cmr10 }
1494\def\timesbold{cmbx10 }
1495\def\timesitalic{cmti10 }
1496\def\timesbolditalic{cmbx10 }
1497
1498%% Helvetica
1499\def\helvetica{cmss10 }
1500\def\helveticabold{cmssbx10 }
1501\def\helveticaboldoblique{cmssi10 }
1502\def\helveticaoblique{cmssi10 }
1503
1504%% Uso especial de fuentes
1505%%
1506%% Tabla de Contenidos
1507\font\tocarttitlefont=\helveticabold at 12pt
1508\font\chaptocfont=\helveticabold at 10pt
1509\font\tocfonts=\timesroman at 10pt
1510
1511
1512%% Encabezados
1513\font\runningheadfont=\helvetica at6,5pt
1514\font\foliofont=\helveticabold at 9pt
1515
1516%% Título del libro, Página de medio título
1517
1518\font\halftitlefont=\helveticabold at 20pt
1519\font\titlefont=\helveticabold at 27pt
1520\font\subtitlefont=\helveticabold at 20pt
1521\font\editionfont=\helvetica at 14pt
1522\font\authorfont=\helveticabold at 11pt
1523\font\affilfont=\helvetica at 10pt
1524\font\locfont=\timesbolditalic at 7pt
1525
1526\font\wileyfont=\helveticabold at 10pt
1527\font\imprintfont=\helvetica at 10pt
1528
1529%% Título de parte
1530\font\partfont=\helvetica at 24pt
1531\font\partnumberfont=\helveticabold at 14pt
1532
1533%% Título de capítulo
1534\font\chapternumberfont=\helveticabold at 14pt
1535\font\chaptertitlefont=\helvetica at 18pt
1536
1537%% Encabezados de sección
1538\font\sectionfont=\timesbold at 10pt
1539\font\subsectionfont=\helveticabold at 10pt
1540\font\subsubsectionfont=\helveticaboldoblique at 10pt
1541\font\paragraphfont=\helveticaoblique at 10pt
1542
1543%% Títulos de figuras y tablas
1544\font\fignumfont=\timesbold at 9pt
1545\font\tabnumfont=\timesbold at 9pt
1546\font\figtextfont=\timesroman at 9pt
1547\font\tabtextfont=\timesroman at 9pt
1548
1549%% Fuente de tablas
1550\def\tablefontsize{\small}
1551\def\tablefootnotesize{\footnotesize}
1552
1553%% Referencias/Bibligrafia
1554\def\bibfontsize{\small}
1555
1556%% Fuentes de texto
1557\font\bit=\timesbolditalic at 8pt
1558
1559%% Fuentes mayúscula pequeñas
1560\font\bigscfont\timesroman at 9.5pt
1561\font\smscfont\timesroman at 7.5pt
1562\font\wherefont\timesitalic at 8pt
1563
1564%% Configuración de problema
1565\font\probfont\timesbolditalic at 10pt
1566
1567
1568%%% <=== Final uso de fuentes especiales
1569
1570%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1571%%%% Fuentes mayúscula pequeñas
1572
1573% To use: \fakesc some stuff*
1574%% \bigscfont, \smscfont are listed in font section above.
1575
1576\def\fakesc#1*{\edef\stuff{#1 }%
1577\expandafter\pickupnewword\stuff* }
1578\def\saveast{*}
1579
1580\def\rrelax{\relax}
1581
1582\def\pickupnewlett#1{\def\letter{#1}%
1583\ifx\letter\saveast\unskip%
1584\let\go\relax \else
1585\ifx\letter\rrelax{\bigscfont\ }%
1586\let\go\pickupnewword\else%
1587\uppercase{\def\ucletter{#1}%  upper case letter
1588\ifx\letter\ucletter%
1589{\bigscfont#1}\else{\smscfont#1}\fi}%%
1590\let\go\pickupnewlett\fi\fi\go}
1591
1592\def\pickupnewword#1 {\expandafter\pickupnewlett#1\relax}
1593%% <== end fakesc
1594
1595%% ==> glosario
1596\def\glossary{\startonoddpage\global\titletrue
1597\dooffprintinfo
1598\markboth{GLOSARIO}{GLOSARIO}
1599\chapter*{Glosario}
1600\addcontentsline{toc}{schapter}{Glosario}
1601\everypar={}
1602\bgroup
1603\leftskip=1in \parindent=-1in
1604\def\term##1{\vskip3pt\indent\hbox to 1in{##1\hfill}\relax}}
1605\def\endglossary{\vskip12pt\egroup\newpage
1606\markboth{}{}
1607}
1608%% <==
1609
1610%% ==> acronimos
1611\def\acronyms{\startonoddpage\global\titletrue
1612\dooffprintinfo
1613\markboth{ACRÓNIMOS}{ACRÓNIMOS}
1614\chapter*{Acrónimos}
1615\addcontentsline{toc}{schapter}{Acrónimos}
1616\everypar={}
1617\bgroup
1618\normalsize
1619\leftskip=1pc \parindent=-1pc
1620\def\term##1{\vskip2pt{\bf ##1}\hskip1em\relax}}
1621\def\endacronyms{\vskip12pt\egroup\newpage
1622\markboth{}{}
1623}
1624
1625\def\acro#1#2{\vskip4pt\hbox to\textwidth{\normalsize
1626\hbox to5pc{#1\hfill}\vtop{\advance\hsize by
1627-5pc\raggedright\noindent#2}}}
1628
1629%% <==
1630
1631%% ==> símbolos
1632\def\symbols{\startonoddpage\global\titletrue
1633\dooffprintinfo
1634\markboth{LISTA DE SÍMBOLOS}{LISTA DE SÍMBOLOS}
1635\chapter*{Símbolos}
1636\addcontentsline{toc}{schapter}{Lista de Símbolos}
1637\everypar={}
1638\bgroup\leftskip=1pc \parindent=-1pc
1639\def\term##1{\vskip2pt{$##1\,$}\hskip1em\relax}}
1640\def\endsymbols{\vskip12pt\egroup
1641\newpage
1642\markboth{}{}
1643}
1644%% <== final de símbolos
1645
1646
1647
1648%%%%%%%%%%%%%%%%%%%%%%%
1649%% Índice ===>>>
1650
1651\makeindex
1652% latex default
1653%% Use \latexprintindex instead of \printindex to
1654%% get the default latex index.
1655
1656%% Contents of makeidx.sty contained in \latexprintindex command.
1657%% This is because \printindex is defined in this package so
1658%% user doing \usepackage{makeidx} will get error message.
1659
1660\providecommand*\seealso[2]{\emph{\alsoname} #1}
1661\providecommand*\alsoname{ver también}
1662
1663\newcommand\printindex{\startonoddpage
1664\def\see##1##2{\emph{\seename} ##1}
1665\def\seename{ver}
1666\@input@{\jobname.ind}}
1667
1668\def\indexname{Índice}
1669
1670\newenvironment{theindex}
1671               {\if@twocolumn
1672                  \@restonecolfalse
1673                \else
1674                  \@restonecoltrue
1675                \fi
1676                \columnseprule \z@
1677                \columnsep 35\p@
1678                \twocolumn[\@makeschapterhead{\indexname}]%
1679                \@mkboth{\uppercase{\indexname}}%
1680                        {\uppercase{\indexname}}%
1681 \addcontentsline{toc}{schapter}{\indexname}
1682\global\titletrue\dooffprintinfo
1683\parindent\z@
1684    \parskip\z@ \@plus .3\p@\relax
1685    \let\item\@idxitem
1686\spaceskip=3pt plus 2pt minus 1pt\xspaceskip=\spaceskip
1687\footnotesize\baselineskip=10pt plus 1pt minus 1pt}
1688               {\pagestyle{headings}
1689\if@restonecol\onecolumn\else
1690\clearpage\fi}
1691
1692\newcommand{\@idxitem}  {\par\hangindent 40\p@}
1693\newcommand{\subitem}   {\par\hangindent 40\p@ \hspace*{20\p@}}
1694\newcommand{\subsubitem}{\par\hangindent 40\p@ \hspace*{30\p@}}
1695\newcommand{\indexspace}{\par\vskip 10\p@ \@plus0\p@ \@minus3\p@\relax}
1696
1697\def\multiprintindex#1#2{\startonoddpage
1698\def\see##1##2{\emph{\seename} ##1}
1699\def\seename{ver}
1700\def\indexname{#2}
1701\markboth{#2}{#2}
1702\input #1.ind}
1703
1704\newskip\iletterskip
1705\iletterskip=8pt plus .1pt minus 2pt
1706\def\iletter#1{\goodbreak\vskip\iletterskip{\sectionfont\uppercase{#1}\vrule depth 8pt width0pt}\nobreak}
1707
1708\def\seealso#1{\hskip16pt{\it Ver también\ }{#1}}
1709
1710\def\ltr#1{\nobreak\vskip\iletterskip
1711\hrule
1712\nobreak
1713\vskip3pt
1714{\bf#1}
1715\nobreak
1716\vskip\iletterskip}
1717
1718
1719%%%%%%%%%%%%%%
1720% Borrador
1721
1722\def\draft{\global\drafttrue
1723\def\@oddfoot{\vtop to 0pt{\vskip24pt\large\tt
1724D R A F T\hfill\today, \realtime\hfill D R A F T\global\titlefalse\vss}}
1725\def\@evenfoot{\@oddfoot}\normalsize}
1726
1727\def\fix{\ifcase\oldtime 0\or0\or0\or%
17280\or0\or0\or0\or0\or0\or0\fi}
1729\def\fixtiming{\ifcase\timing 0\or0\or0\or%
17300\or0\or0\or0\or0\or0\or0\fi}
1731\newcount\timing 
1732\newcount\hourcount
1733\newcount\oldtime 
1734
1735\def\realtime{\timing=\time \oldtime=\time
1736\ifnum\timing>60 \divide\timing by 60
1737\hourcount=\the\timing
1738\multiply\timing by 60
1739\advance\oldtime by-\timing
1740\ifnum\hourcount<12 \number\hourcount:\fix\number\oldtime am\fi%
1741\ifnum\hourcount=12 \number\hourcount:\fix\number\oldtime pm\fi%
1742\ifnum\hourcount>12 \advance\hourcount by-12
1743\number\hourcount:\fix\number\oldtime pm\fi
1744\else12:\fixtiming\number\timing am\fi}
1745
1746\newcommand{\today}{\ifcase\month\or
1747  January\or February\or March\or April\or May\or June\or
1748  July\or August\or September\or October\or November\or December\fi
1749  \space\number\day, \number\year}
1750
1751
1752%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1753%%%%% Macros para problemas propuestos
1754
1755\newcount\probcount
1756\newcount\subprobcount
1757\newcount\c@subproblem
1758\def\problems{
1759\global\probcount=0
1760\global\subprobcount=0
1761\global\c@subproblem=0
1762\goodbreak\vskip12pt
1763\markright{PROBLEMS}
1764\addcontentsline{toc}{section}{\protect\numberline{}Problemas}
1765\noindent{\sectionfont\uppercase{Problemas}\vrule depth 4pt width0pt}\markright{PROBLEMAS}\nobreak}
1766
1767\long\def\xappendixname{\appendixname}%
1768
1769\def\endproblems{\xdef\@currentlabel{\thechapter}}
1770\def\appendchapt{\Alph {chapter}}
1771\def\prob{\ifx\@chapapp\xappendixname
1772\let\go\aprob\else\let\go\chapprob\fi\go}
1773\def\subprob{\ifx\@chapapp\xappendixname
1774\let\go\asubprob\else\let\go\chapsubprob\fi\go}
1775
1776
1777\def\aprob{\vskip6pt
1778\leftskip=0pt
1779\global\c@subproblem=0
1780\global\advance\probcount by1
1781\xdef\@currentlabel{\Alph{chapter}.\the\probcount}
1782\noindent{\bf\Alph{chapter}.\the\probcount\hskip12pt\relax}}
1783
1784
1785\def\asubprob{\vskip1pt
1786\global\advance\c@subproblem by1
1787\leftskip=39pt
1788\xdef\@currentlabel{\Alph{chapter}.\the\probcount.\alph{subproblem}}
1789%
1790\noindent\hbox to 0pt{\hss\bf\alph{subproblem})\ \ }\relax}
1791
1792
1793\newcount\c@subproblem
1794
1795\def\chapprob{\vskip6pt
1796\leftskip=0pt
1797\global\c@subproblem=0
1798\global\advance\probcount by1
1799\xdef\@currentlabel{\the\c@chapter.\the\probcount}
1800\noindent{\bf\the\c@chapter.\the\probcount\hskip12pt\relax}}
1801
1802\def\chapsubprob{\vskip1pt
1803\global\advance\c@subproblem by1
1804\leftskip=39pt
1805\xdef\@currentlabel{\the\c@chapter.\the\probcount.\alph{subproblem}}
1806%
1807\noindent\hbox to 0pt{\hss\alph{subproblem})\ \ }\relax}
1808
1809\def\sidebysideprob#1#2{\centerline{\vtop{\hsize=.475\textwidth
1810\prob #1}\hfill\vtop{\hsize=.475\textwidth \prob #2}}}
1811
1812\def\sidebysidesubprob#1#2{\centerline{\vtop{\hsize=.475\textwidth
1813\subprob #1}\hfill\vtop{\hsize=.475\textwidth \subprob #2}}}
1814
1815%%%% <<==  Final de problemas propuestos
1816
1817%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1818%%%%% Ejercicios
1819
1820
1821\def\exercises{\goodbreak\vskip12pt
1822\markright{EJERCICIOS}
1823\addcontentsline{toc}{section}{\protect\numberline{}Ejercicios}
1824\section*{EJERCICIOS}
1825\global\probcount=0
1826\global\subprobcount=0
1827\global\c@subproblem=0
1828\markright{EJERCICIOS}\nobreak}
1829
1830\def\endexercises{\vskip1sp\xdef\@currentlabel{\thechapter}}
1831
1832\let\exer\prob
1833\let\subexer\subprob
1834\let\sidebysideexer\sidebysideprob
1835\let\sidebysidesubexer\sidebysidesubprob
1836
1837
1838
1839%%%% <<==  final de macro de ejercicios
1840
1841
1842\pagenumbering{roman}
1843\widowpenalty10000
1844\clubpenalty10000
1845
1846%%%%%
1847%%%% side by side
1848%%%% to use:
1849% \begin{figure or table} \sidebyside{}{} \end{figure or table}
1850%
1851% \begin{table}
1852% \sidebyside{\caption{table caption} first table}
1853% {\caption{table caption} second table}
1854% \end{table}
1855
1856% or
1857
1858% \begin{figure}
1859% \sidebyside{\vskip<dimen>\caption{fig caption}}
1860% {\vskip<dimen>\caption{fig caption}}
1861% \end{figure}
1862
1863%% To label for cross referencing, use \label after and <outside> of
1864%% \caption{}
1865
1866% \begin{table}
1867% \sidebyside{\caption{table caption}\label{tab1}
1868% first table}
1869% {\caption{table caption}\label{tab2} second table}
1870% \end{table}
1871
1872% or
1873
1874% \begin{figure}
1875% \sidebyside{\vskip<dimen>\caption{fig caption}\label{fig1}}
1876% {\vskip<dimen>\caption{fig caption}\label{fig2}}
1877% \end{figure}
1878
1879
1880
1881\long\def\sidebyside#1#2{%
1882\hbox to\textwidth{\vtop{\hsize=.5\textwidth%
1883\advance\hsize by -.5\columnsep
1884\parindent=0pt
1885\centering
1886 
1887#1\vskip1sp}\hskip\columnsep\vtop{\hsize=.5\textwidth%
1888\advance\hsize by -.5\columnsep
1889\parindent=0pt
1890\centering
1891#2
1892
1893}\hfill}}
1894
1895\def\copyrightpage{\thispagestyle{empty}%
1896\vbox to\textheight\bgroup\vfill\obeylines\obeyspaces\xcopyrightpage}
1897
1898\def\xcopyrightpage#1#2\end#3{\scriptsize\parindent=0pt
1899%Copyleft \copyright{#1} por Fundación CENDITEL.
1900%\vskip6.5pt
1901%Publicado por Fundación CENDITEL - MPPCTI.\\
1902%\vskip6.5pt
1903
1904Derecho de Autor © 2014 de: Endira Mora, Antonio Araujo, Víctor Bravo, Rodolfo Sumoza, José Contreras, Daniel Quintero.
1905
1906Fundación Centro Nacional de Desarrollo e Investigación en Tecnologías Libres (CENDITEL).
1907Ministerio del Poder Popular para la Educación Universitaria, Ciencia y Tecnología.
1908República Bolivariana de Venezuela.
1909Algunos Derechos Reservados – Copyleft.
1910
1911La presente obra está liberada bajo una Licencia ``Creative Commons Atribución - Reconocimiento, No comercial, Sin obra derivada 3.0'', que permite copiar, distribuir, exhibir y ejecutar la obra, no hacer obras derivadas y no hacer usos comerciales de la misma, bajo las condiciones de atribuir el crédito correspondiente a los autores  y compartir las obras derivadas resultantes bajo esta misma licencia.\\
1912
1913Más información sobre la licencia en:  http://creativecommons.org/licenses/by-nc-sa/3.0/\\
1914                 
1915ISBN de la obra independiente: No. ''en trámite''\\
1916Deposito Legal No. ''en trámite''\\
1917
1918
1919%\vskip10pt
1920%{\locfont Publicaciones de CENDITEL:}
1921%\vskip8pt
1922%#2
1923%Impreso en la República Bolivariana de Venezuela.\\
1924
1925%10\ \ 9\ \ 8\ \ 7\ \ 6\ \ 5\ \  4\ \ 3\ \ 2\ \ 1
1926\vskip24pt
1927\egroup\let\@badend\relax\endgroup}
1928
1929\let\endcopyrightpage\relax
1930
1931\def\seriespage{\newpage\thispagestyle{empty}\vbox to\textheight\bgroup\vfill
1932\leftskip=34pt \rightskip=-34pt}
1933\def\endseriespage{\vskip6pt{\noindent\hskip-12pt
1934Texto adicional de información} \vskip24pt\egroup
1935\newpage}
1936\def\series#1#2{\noindent\hskip-12pt\uppercase{#1}\\
1937\global\setbox0=\hbox{\footnotesize#2}
1938\hsize=\wd0
1939\footnotesize#2}
1940
1941\def\eds#1{\vskip6pt\footnotesize\noindent Editors: {\it #1}}
1942
1943%%%%%%%%%%%%
1944%% Información de la separata
1945
1946\newif\ifoffprintinfo
1947%\def\dooffprintinfo{\global\offprintinfotrue}
1948% \offprintinfofalse -> deshabilita el texto que aparece en la parte inferior
1949%izquierda de inicio de capitulo
1950\def\dooffprintinfo{\global\offprintinfofalse}
1951
1952\def\copyrightyear#1{\def\thecopyrightyear{#1}}
1953
1954\copyrightyear{\the\year}
1955
1956\def\dofnote#1#2{\vtop{\hyphenpenalty=10000
1957\advance\hsize -10pt \raggedright
1958\footnotesize{\it #1. }\\{By #2}
1959\noindent\hbox{\footnotesize
1960Copyright \copyright\ \thecopyrightyear\ John Wiley \&
1961Sons, Inc.}}}
1962
1963
1964\def\offprintinfo#1#2{
1965\def\theoffprint{\bgroup\frenchspacing
1966\dofnote{#1}{#2}
1967\egroup}}
1968
1969\def\x@makefntext#1{   
1970\kern-3\p@
1971\hrule\@width.4\columnwidth
1972\kern2.6\p@
1973\vrule height 9pt width0pt \relax
1974#1}
1975
1976\def\offprintinfoerror{\typeout{^^J^^J
1977!! Please enter {\string\offprintinfo\string{(Título,
1978Edición)\string}\string{(Autor)\string}^^J en el inicio de su documento.!!^^J^^J}}
1979\bgroup
1980\x@makefntext{Por favor introduzca {\tt \string\offprintinfo\string{(Título,
1981Edición)\string}\string{(Autor)\string}\newline en el inicio de su
1982documento.\vrule depth8pt width0pt}\egroup}}
1983
1984
1985\def\printoffprintinfo{\vtop to0pt{%
1986\hsize=\textwidth\footnotesize
1987\expandafter\ifx\csname theoffprint\endcsname\relax
1988\offprintinfoerror\else\theoffprint\fi\vskip1sp\vss}}
1989
1990\let\c@CHAPTER\c@chapter
1991
1992%% LaTeX2e Cropmark Macros
1993%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1994\newif\ifcropmarkson
1995\def\noprintcropmarks{\global\cropmarksonfalse}
1996\def\nocropmarks{\global\cropmarksonfalse}
1997\global\cropmarksonfalse
1998
1999
2000\newdimen\widthofcropmarks
2001
2002\widthofcropmarks=39.25pc
2003\advance\widthofcropmarks.125in %% new
2004\widthofcropmarks=6.125in
2005
2006\newdimen\raisetopcropmarks
2007\raisetopcropmarks=-25pt
2008\advance\raisetopcropmarks.25in
2009
2010\newdimen\raisebottomcropmarks
2011%\raisebottomcropmarks-48pt
2012
2013\raisebottomcropmarks-34pt % was 80pt
2014
2015
2016\newdimen\movecropmarksright
2017\movecropmarksright=-92pt
2018
2019\def\topcropmarks{\ifcropmarkson
2020\vtop to0pt{\vss
2021\hbox to0pt{\hskip\movecropmarksright\hbox to0pt{\hss%
2022\hbox to2pc{\hrulefill\hskip3pt}\raise6pt\hbox{\vrule height 2pc}}%
2023\hskip\widthofcropmarks%
2024\hbox to0pt{%
2025\raise6pt\hbox{\vrule height 2pc}\hbox to2pc{\hskip3pt\hrulefill}\hss}\hss}%
2026\vskip\raisetopcropmarks}
2027\fi}
2028
2029\def\bottomcropmarks{\ifcropmarkson
2030\vtop to0pt{\vskip-\raisebottomcropmarks
2031\hbox to0pt{\hskip\movecropmarksright\hbox to0pt{\hss%
2032\hbox to2pc{\hrulefill\hskip3pt}\lower6pt\hbox{\vrule depth 2pc height
20330pt}}%
2034\hskip\widthofcropmarks%
2035\hbox to0pt{%
2036\lower6pt\hbox{\vrule depth 2pc height0pt}\hbox
2037to2pc{\hskip3pt\hrulefill}\hss}\hss}%
2038\vss}\fi}
2039
2040
2041\long\def\docropmarks{\let\saveshipout\shipout
2042\long\def\shipout\vbox##1{\saveshipout\vbox{\topcropmarks##1\bottomcropmarks
2043}}
2044}
2045
2046\docropmarks
2047
2048\voffset-25pt
2049\hoffset40pt % was 48
2050
2051
2052%% new additions, as of Jan 25, 2005
2053\newtheorem{theorem}{Theorem}[chapter]
2054
2055\newif\iffirstappendix
2056\global\firstappendixtrue
2057
2058\newcount\c@appfootnote
2059
2060\def\appthanks#1{*\gdef\realthanks{#1}}
2061
2062\newif\ifappend
2063
2064\def\lookatapp{\if\next[\let\go\yappendix\else
2065\let\go\xappendix\fi\go}
2066
2067\def\appendix{\global\appendtrue
2068\let\thetable\savethetable
2069\let\thefigure\savethefigure
2070  \renewcommand{\@chapapp}{\appendixname}%
2071%% if using answers.sty:
2072\expandafter\ifx\csname Closesolutionfile\endcsname \relax
2073\else
2074\Closesolutionfile{ans}\fi
2075%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2076\futurelet\next\lookatapp}
2077
2078\def\yappendix[#1]#2{\startonoddpage
2079\global\titletrue\dooffprintinfo
2080\global\@mainmattertrue% <<===
2081\gdef \thepage {\csname @arabic\endcsname \c@page }
2082%% To fix includeonly numbering bug: ====>>
2083\if@partsw\else
2084\iffirstappendix\setcounter{chapter}{0}\fi
2085\global\firstappendixfalse\fi%
2086\refstepcounter{chapter}
2087% <<====  end bug fix
2088%% when using answers.sty,
2089%% to open an ans<chapnum> file to be used for solutions section
2090\expandafter\ifx\csname Opensolutionfile\endcsname\relax\else
2091\Opensolutionfile{ans}[ans\Alph{chapter}]\fi
2092  \setcounter{section}{0}%
2093  \setcounter{figure}{0}%
2094  \setcounter{table}{0}%
2095  \setcounter{equation}{0}%
2096 \setcounter{theorem}{0}%
2097\def\two{#2}\ifx\two\empty
2098\chapter*{Apéndice \Alph{chapter}}
2099\renewcommand{\thechapter}{\Alph{chapter}}
2100\addcontentsline{toc}{achapter}{\thechapter}
2101\else
2102\chapter*{\vtop{\let\thanks\appthanks
2103 \baselineskip=30pt \parindent=0pt
2104\leftskip=0pt
2105\Alph{chapter}\vskip4pt
2106 #2}}
2107%
2108\renewcommand{\thechapter}{\Alph{chapter}}
2109\addcontentsline{toc}{achapter}{\thechapter\hskip2pt \ \quad #1}
2110\fi
2111%
2112\def\one{#1}
2113{\let\\ \
2114\ifx\one\empty
2115\markboth{\uppercase{Apéndice \thechapter}}{\uppercase{Apéndice \thechapter}}
2116\else
2117\markboth{\uppercase{#1}}{\uppercase{#1}}
2118\fi
2119}
2120\xdef\@currentlabel{\thechapter}
2121\ifx\realthanks\xrelax\else
2122\xdef\dofoot{\realthanks}
2123\fi
2124{\ifx\realthanks\xrelax\else
2125\def\thefootnote{*}
2126\footnotetext{\dofoot}\fi}
2127\gdef\realthanks{\relax}
2128}
2129
2130
2131\let\dofoot\relax
2132\gdef\realthanks{\relax}
2133\def\xrelax{\relax}
2134\def\xappendix#1{\startonoddpage
2135\global\titletrue\dooffprintinfo
2136\global\@mainmattertrue% <<===
2137\gdef \thepage {\csname @arabic\endcsname \c@page }
2138%% To fix includeonly numbering bug: ====>>
2139\if@partsw\else
2140\iffirstappendix\setcounter{chapter}{0}\fi
2141\global\firstappendixfalse\fi%
2142\refstepcounter{chapter}
2143% <<====  end bug fix
2144%% when using answers.sty,
2145%% to open an ans<chapnum> file to be used for solutions section
2146%
2147\expandafter\ifx\csname Opensolutionfile\endcsname\relax\else
2148\Opensolutionfile{ans}[ans\Alph{chapter}]\fi
2149  \setcounter{section}{0}%
2150  \setcounter{figure}{0}%
2151  \setcounter{table}{0}%
2152  \setcounter{equation}{0}%
2153 \setcounter{theorem}{0}%
2154  \renewcommand{\@chapapp}{\appendixname}%
2155\def\one{#1}\ifx\one\empty
2156\chapter*{Apéndice \Alph{chapter}}
2157\renewcommand{\thechapter}{\Alph{chapter}}
2158\addcontentsline{toc}{achapter}{\thechapter\hskip2pt \ \quad Apéndice}
2159\else
2160\chapter*{\vtop{\let\thanks\appthanks
2161 \baselineskip=30pt
2162\leftskip=0pt \parindent=0pt
2163 Apéndice \Alph{chapter}\vskip4pt
2164 #1}}
2165\renewcommand{\thechapter}{\Alph{chapter}}
2166\let\thanks\eatone
2167\addcontentsline{toc}{achapter}{\thechapter\hskip2pt \ \quad
2168 #1}
2169\fi
2170\def\one{#1}
2171{\let\\ \
2172\ifx\one\empty
2173\markboth{\uppercase{Apéndice \thechapter}}{\uppercase{Apéndice \thechapter}}
2174\else
2175\let\thanks\eatone
2176\markboth{\uppercase{#1}}{\uppercase{#1}}
2177\fi
2178}
2179\xdef\@currentlabel{\thechapter}
2180\ifx\realthanks\xrelax\else
2181\xdef\dofoot{\realthanks}
2182\fi
2183{\ifx\realthanks\xrelax\else
2184\def\thefootnote{*}
2185\footnotetext{\dofoot}}
2186\fi
2187\gdef\realthanks{\relax}
2188\egroup
2189}
2190
2191
2192%% For square boxes for Q.E.D. symbol, used in end proof
2193
2194 \newdimen\slugwidth
2195 \newdimen\slugheight
2196 \newdimen\slugdepth
2197
2198 \slugwidth=4.5pt
2199 \slugheight=4.5pt
2200 \slugdepth=0pt
2201
2202
2203 \def\qed{\unskip\nobreak~~~\hfill\llap{%
2204 \vbox{\unskip\nobreak~~~\hfill\llap{\vrule height \slugheight width
2205 \slugwidth depth\slugdepth}}}}
2206
2207\def\sslug{\raise.5ex\hbox{\vrule width 4pt height4pt depth0pt}}
2208\def\slug{\vrule width 7pt height7pt depth0pt}
2209\@addtoreset{exampnum}{chapter}
2210\newcount\c@exampnum
2211
2212%%%%%%%%%%%% Ejemplo %%%%%%%%%%%%%%%%%
2213\def\exbox{{\fboxsep=0pt \fboxrule =.5pt
2214\fbox{\vrule height 7pt width 0pt\hskip7pt}%
2215\hskip-5.5pt\raise 2pt\hbox{\vrule width 7.25pt height 7.25pt}
2216}}
2217
2218\def\example{\@ifnextchar[{\xexample}{\yexample}}
2219
2220\def\xexample[#1]{\goodbreak\everypar={}\vskip12pt\global\advance\c@exampnum by 1
2221\xdef\@currentlabel{\thechapter.\the\c@exampnum}
2222\noindent\vrule depth14pt width0pt\exbox\ \ {\small\bf
2223\uppercase{Example} \thechapter.\the\c@exampnum}\hskip1em {\bf #1}%
2224\vskip1sp
2225\bgroup\nobreak\vskip1sp
2226\leftskip=18pt
2227\@afterindentfalse\@afterheading\nobreak}
2228
2229\def\yexample{\goodbreak\everypar={}\vskip12pt\global\advance\c@exampnum by 1
2230\xdef\@currentlabel{\thechapter.\the\c@exampnum}
2231\noindent\vrule depth14pt width0pt\exbox\ \ {\small\bf \uppercase{Ejemplo} \thechapter.\the\c@exampnum}
2232\vskip1sp
2233\bgroup
2234\leftskip=18pt
2235\@afterindentfalse\@afterheading\nobreak}
2236
2237\def\endexample{\vskip1sp\egroup\vskip6pt
2238\global\everypar={\hskip-\parindent\everypar={}}
2239\leftskip=0pt
2240}
2241
2242%% ==> Algoritmo
2243\def\xpar{\par\leavevmode}
2244{\catcode`\^^M=\active % these lines must end with %
2245  \gdef\xobeylines{\catcode`\^^M\active \let^^M\xpar}%
2246}
2247
2248\@addtoreset{algorithm}{chapter}
2249\@addtoreset{algo}{chapter}
2250\newtheorem{algo}{Algorithm}[chapter]
2251\newcount\c@algorithm
2252
2253\def\algorithm{\vskip12pt
2254\global\advance\c@algorithm by 1
2255\xdef\@currentlabel{\thechapter.\the\c@algorithm}
2256\noindent{\bf Algoritmo \arabic{chapter}.\arabic{algorithm}}
2257\vskip6pt
2258\bgroup\xobeylines\obeyspaces\def\ {\quad}
2259\parindent=0pt\footnotesize\tt\leftskip=1pc\vskip4pt\relax}
2260
2261\def\endalgorithm{\vskip4pt\egroup}
2262
2263%% <== Algoritmo
2264
2265\let\savelabel\label
2266
2267 \def\proof{\everypar={}
2268 \futurelet\next\lookforbracket}
2269
2270 \def\lookforbracket{\ifx\next[\let\go\usespecialterm
2271 \else\let\go\relax
2272 \ifvmode\vskip-\lastskip\fi
2273 \vskip8pt
2274 \noindent{\it Proof\/:}%
2275\enskip\relax\fi\ignorespaces\go}
2276
2277 \def\usespecialterm[#1]{\ifvmode\vskip-\lastskip\fi
2278 \vskip6pt
2279 \noindent%
2280 {\it Proof\ \ {\rm(#1):}}\ \ \relax\ignorespaces}
2281
2282 \def\endproof{\qed\vskip6pt\relax}
2283
2284%%%%%%%%%%%%%%%%%
2285%% Answers macros
2286%%%% Problems and Solutions, Accomodating answers.sty commands
2287
2288
2289\def\solutionchap#1{\section*{\uppercase{Soluciones por Capítulo} #1}
2290\openin1 ans#1.tex \ifeof1
2291\typeout{^^J^^J No file ans#1.tex!
2292^^J\string\solutionchap\string{#1\string} requires ans#1.tex^^J
2293Please
2294make sure that you have entered
2295\string\usepackage{answers} and
2296\string\Newassociation\string{sol\string}\string{Solution\string}\string{ans\string}\space and then run LaTeX on your file again.}
2297\else
2298\input{ans#1}\fi}
2299
2300\def\solutionappendix#1{\section*{\uppercase{Soluciones por Apéndice} #1}
2301\openin1 ans#1.tex \ifeof1
2302\typeout{^^J^^J No file ans#1.tex!
2303^^J\string\solutionchap\string{#1\string} requires ans#1.tex^^J
2304Please
2305make sure that you have entered
2306\string\usepackage{answers} and
2307\string\Newassociation\string{sol\string}\string{Solution\string}\string{ans\string}\space and then run LaTeX on your file again.}
2308\else
2309\input{ans#1}\fi}
2310
2311
2312\def\solutions{\newpage\ifodd\c@page\else\thispagestyle{empty}
2313\null\newpage\fi
2314\chapter*{Problem Solutions}
2315\markboth{Problem Solutions}{Problem Solutions}
2316\addcontentsline{toc}{schapter}{Problem Solutions}
2317\expandafter\ifx\csname Closesolutionfile\endcsname \relax\else
2318\Closesolutionfile{ans}\fi
2319}
2320
2321\let\savedocument\document
2322\let\saveenddocument\enddocument
2323
2324\def\enddocument{
2325\expandafter\ifx\csname Closesolutionfile\endcsname \relax\else
2326\Closesolutionfile{ans}\fi
2327\saveenddocument}
2328
2329\def\document{%
2330\savedocument
2331\expandafter\ifx\csname Newassociation\endcsname\relax
2332\def\sol{\typeout{^^J^^J To make \string\begin\string{sol\string} work, please use \string\usepackage\string{answers\string}
2333^^J^^J}}
2334\def\endsol{\typeout{^^J^^J}}
2335\def\Solution##1{\typeout{^^J^^J To make \string\Solution\space work, please use \string\usepackage\string{answers\string}
2336^^J^^J}}
2337\else
2338\Newassociation{sol}{Solution}{ans}\fi
2339}
2340
2341\def\xnumberline#1{\hb@xt@\@tempdima{\hskip12pt\llap{#1}\hfill}}
2342
2343\newcommand{\contentsinbrief}{%
2344\startonoddpage
2345\global\titletrue
2346\advance\chapskip-6pt
2347\chapheight=-12pt
2348\partskip=-12pt
2349\vglue-10.5pc
2350    \chapter*{Lista breve de Contenidos}
2351    \@mkboth{\uppercase{Lista breve de Contenidos}}{\uppercase{Lista breve de Contenidos}}%
2352\bgroup
2353\let\numberline\xnumberline
2354\parskip=6pt
2355{\hyphenpenalty=10000
2356\parindent=0pt
2357\@startchaptoc{toc}
2358}
2359\egroup
2360    \if@restonecol\twocolumn\fi
2361\newpage
2362\setcounter{tocdepth}{2}
2363\markboth{}{}
2364    }
2365
2366\def\@startchaptoc#1{%
2367  \begingroup
2368\def\l@chapter##1##2{%
2369  \ifnum \c@tocdepth >\m@ne
2370    \addpenalty{-\@highpenalty}%
2371    \vskip 12pt \@plus6\p@
2372     \setlength\@tempdima{2em}% was 1.5
2373    \begingroup\chaptocfont
2374      \parindent \z@ \rightskip \@pnumwidth
2375      \parfillskip -\@pnumwidth
2376      \leavevmode
2377      \advance\leftskip\@tempdima
2378      \hskip -\leftskip
2379 ##1\nobreak\hfil \nobreak\hbox to\@pnumwidth{\hss ##2}\par
2380      \penalty\@highpenalty
2381    \endgroup
2382  \fi\vskip-6pt}
2383\setcounter{tocdepth}{0}
2384    \makeatletter
2385    \@input{\jobname.#1}%
2386    \@nobreakfalse
2387  \endgroup}
2388
2389
2390%%% Macros de libro editado:
2391
2392\font\chapauthorfont=cmcsc10
2393\font\chapaffilfont=\timesroman at 9pt
2394
2395\def\chapteraffil#1{\vskip6pt
2396\noindent{\let\affilmark\newaffilmark\chapaffilfont\ignorespaces #1\vskip1sp}}
2397\def\saveaffilmark#1{$^{#1}$}
2398\def\newaffilmark#1{\leftskip4pt\hbox to0pt{\hss\hbox to 4pt{$^{#1}$}}}
2399\def\eatone#1{}
2400
2401\newdimen\chapskip
2402\chapskip=26pt
2403\newdimen\chapheight
2404\newdimen\authorskip
2405
2406\def\chapterauthors#1{\vbox to0pt{\vglue-1in
2407\let\affilmark\saveaffilmark\chapauthorfont #1\vrule height 10pt width0pt\ }
2408{\let\chapteraffil\eatone\let\affilmark\eatone
2409\addtocontents{toc}{\string\nobreak
2410\vskip\authorskip
2411\string\noindent\vrule height 9pt width0pt\hskip\chapskip#1\hfill\vskip\chapheight}\ \vskip3pt}}
2412
2413\def\contributors{\chapter*{COLABORADORES}
2414\vskip1sp
2415\leftskip=10pt
2416\parindent-10pt
2417\vskip-2pt
2418\everypar={}
2419\def\footnote##1{\hskip-10pt\savefootnote{##1}\hskip10pt}
2420\setcounter{page}{5}
2421\global\titletrue
2422\markboth{COLABORADORES}{COLABORADORES}}
2423
2424\def\endcontributors{\newpage\markboth{}{}}
2425
2426\def\name#1{\vskip2pt\fakesc #1*\hskip10pt}
2427
2428%%%%%%%%%%%%%%%%%%%%%
2429%% Warn against using earlier commands
2430\expandafter\def\csname chapreferences*\endcsname{
2431\typeout{^^J^^J \string\begin\string{chapreferences*\string}\space is
2432obsolete.^^J Please use
2433\string\begin\string{chapreferences\string}\string{<widest label>\string}\space instead.^^J Consulte docs.pdf si tiene preguntas.}\stop }
2434
2435\expandafter\def\csname references*\endcsname{
2436\typeout{^^J^^J \string\begin\string{references*\string}\space is
2437obsolete.^^J Please use
2438\string\begin\string{references\string}\string{<widest label>\string}\space instead.^^J Consulte docs.pdf si tiene preguntas.}\stop }
2439
2440
2441\expandafter\def\csname namedchapreferences\endcsname{
2442\typeout{^^J^^J \string\begin\string{namedchapreferences\string}\space is
2443obsolete.^^J Please use
2444\string\begin\string{chapreferences\string}\string{<widest label>\string}\space instead.^^J Consulte docs.pdf si tiene preguntas.}\stop }
2445
2446\expandafter\def\csname namedreferences\endcsname{
2447\typeout{^^J^^J \string\begin\string{namedreferences\string}\space is
2448obsolete.^^J Please use
2449\string\begin\string{references\string}\string{<widest label>\string}\space instead.^^J Consulte docs.pdf si tiene preguntas.}\stop }
2450
2451\endinput
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
Note: See TracBrowser for help on using the repository browser.