; TeX output 1997.02.18:1028soINff cmbx121aLTheffSpanishlanguageIK`y cmr10The le'ExX^4elec-ItronicUUmaillist.XF*orihthislanguagethecharacters'~and"aremadeactive.Intable1anIoverviewSisgivenoftheirpurpGose.TheseactiveaccentcharactersbGehaveaccordingrUUd}pe'a_anmaccentthatallowshyphenation.4V*alidforallvow-_elsUUuppGercaseandlowercase.}pe'n_anwithatilde.Thisisincludedtoimprovecom-_patibilityUUwithFTC.W*orksforuppGercasetoo.}pe"|_disableUUligatureatthispGosition.}pe"-_anexplicithyphensign,allowinghyphenationinthe_restUUoftheword.}pe""_likebh"-,butproGducingnohyphensign(forwordsthat_shouldKbreakatsomesignsuchas\entrada/salida."}pe\-_like7theold\-,=butallowinghyphenationintherest_ofUUtheword.}pe"u_aUUuwithdieresisallowinghyphenation.}pe"a_feminineUUordinalasin1ȍafess.}pe"o_masculineUUordinalasin1ȍofess.}pe"<_forUUF*renchleftdoublequotes(similarto b> cmmi10<<).}pe">_forUUF*renchrightdoublequotes(similarto>>).}pe~n_aUUnwithtilde.qW*orksforuppGercasetoo.uqǍT*ableUU1:qTheextrade nitionsmadebyxspanish.ldf9Itotheiroriginalde nitionsifnotfollowedbyoneofthecharactersindicatedinIthatUUtable.XThisAoptionincludessuppGortforworkingwithextended,x8-bitfonts,xifavqailable.IOldNversionsofthis lebasedthissuppGortontheexistanceofspecialmacroswithInamesasinF*erguson'sML-TU>'ExX.9MThisisnolongerthecase.SuppGortisnowIbased0onprovidinganappropriatede nitionfortheaccentmacrosonentrytoItheSpanishlanguage.ThisisautomaticallydonebyL5ffA͉TU>'ExX2"-orNFSS2.IfT1IencoGding>ischosen,CWandprovidedthatadequatehyphenationpatterns^5Jexist,CWitisIX-ffr J= "5-:Aacmr61L|{Ycmr8The | ledescrib "5-:2LܼCatalanXusedtob'ExX2"*.toloadthepackqaget1encwith\usepackage.IThisUUmustbGedonebeforeloadingxm#R cmss10babel.XIf thecombinationofkeybGoardandTU>'ExXversionthattheuserhasisabletoIproGducetheaccentedcharactersintheT1enconding,~theusercouldseetheac-Icentedcharactersintheeditor,\greatlyimprovingthereadabilityofthedoGcumentIsource.pAsRoftoGday*,SGthisisnotarecommendedmethodforproducingdocumentsIfordistribution,#GalthoughitispGossibletomechanicallytranslatethedocumentsoIthat thereceivercanmakeuseofit.NIfcareistakentode netheencoGdingneededIbyUUthedoGcument,theresultsareprettypGortable.XThis18option lewillautomaticallydetectiftheT1encoGdingisbeingusedandIbGehaveHappropriately*.mIfanyotherencodingisbeingused,KtheaccentmacroswillIbGeUUrede nedtoallowhyphenationontheaccentedwords.XThemacro\LdfInittakescareofpreventingthatthis leisloadedmorethanIonce,UUcheckingthecategorycoGdeofthe@sign,etc. 򍍑Ls1S cmsy9how cmss9coAdei Ls2SߤN cmtt9\LdfInit{spanish}\captionsspanishXWhen[this leisreadasanoption,i.e.bythe\usepackagecommand,spanishIcouldz"bGean`unknown'languageinwhichcasewehavetomakeitknown./SoweIcheck&Jfortheexistenceof\l@spanishtoseewhetherwehavetodosomethingIhere.卍Ls3S\ifx\l@spanish\@undefinedLs4]\@nopatterns{Spanish}Ls5]\adddialect\l@spanish0Ls6S\fi卑XThe nextstepconsistsofde ningcommandstoswitchto(andfrom)theSpan-IishUUlanguage.׍ \captionsspanishIThebmacro\captionsspanishde nesallstrings^6 usedinthefourstandarddoGc-IumentclassesUUprovidedwithL5ffA͉TU>'ExX. 򍍑Ls7S\addto\captionsspanish{%Ls8]\def\prefacename{Prefacio}%Ls9]\def\refname{Referencias}%I10]\def\abstractname{Resumen}%I11]\def\bibname{Bibliograf\'{\i}a}%I12]\def\chaptername{Cap\'{\i}tulo}%I13]\def\appendixname{Ap\'endice}%I14]\def\contentsname{\'IndiceGeneral}%I15]\def\listfigurename{\'IndicedeFiguras}%I16]\def\listtablename{\'IndicedeTablas}%I17]\def\indexname{\'IndicedeMaterias}%I18]\def\figurename{Figura}%I19]\def\tablename{Tabla}%I20]\def\partname{Parte}%I21]\def\enclname{Adjunto}%I^Kffr @toryՃsrc/TeX/spanish.lTheJlistofFJrequenÎtlyAskedQuestionswithAnswersab "5-:6LܼThe?accenÎtontheupp'ExX\accentprimitiveusingsomeparticularaccentthatthefontprovidesIor7mightcheckifacombinedaccentexistsinthefont.lThesetwocaseshappGenIwithrespGectivelyOT1andT1encodings.OF*orthisreasonwesavethede nitionofI\"Zandusethatinthede nitionofothermacros.+W*edolikewisefor\'and\~.ITheIpresentcoGdingofthisoption leisincorrectinthatitcanbreakwhentheIencoGdingZchanges.W*edonotuse\acuteor\tildeasthemacronamesbecauseItheyUUarealreadyde nedas\mathaccent. uI56S\let\dieresis\" I57S\let\texttilde\~I58S\@ifpackagewith{babel}{activeacute}{\let\textacute\'}{}`y\@umlaut 3P\@acute 3P\@tildeIW*echecktheencoGdingandifnotusingT1,wemaketheaccentsexpandbut Ienabling}hyphenationbGeyondtheaccent.'ExX.AnIunsolvedSproblemhereisthattheencoGdingcanchangeatanytime.Thede nitionsIbGelow0aremadeinsuchawaythatachangebGetweentwo256-charencoGdingsIaresuppGorted,fbutchangesbetweena128-charanda256-charencoGdingarenotIpropGerlysupported./cW*echeckifT1isinuse./cIfnot,VwewillgiveawarningandIproGceedrede ningtheaccentmacrossothatTU>'ExXatleast ndsthebreaksthatIareUUnottoGoclosetotheaccent.qThewarningwillonlybGeprintedtothelog le.I59S\ifx\DeclareFontShape\@undefined I60]\wlog{Warning:YouareusinganoldLaTeX}I61]\wlog{Somewordbreakswillnotbefound.}I62]\def\@umlaut#1{\allowhyphens\dieresis{#1}\allowhyphens}I63]\def\@tilde#1{\allowhyphens\texttilde{#1}\allowhyphens}I64]\@ifpackagewith{babel}{activeacute}{%I65f\def\@acute#1{\allowhyphens\textacute{#1}\allowhyphens}}{}I66S\elseI67]\edef\next{T1}I68]\ifx\f@encoding\nextI69f\let\@umlaut\dieresisI70f\let\@tilde\texttildeI71f\@ifpackagewith{babel}{activeacute}{%I72p2\let\@acute\textacute}{}I73]\elseI74f\wlog{Warning:Youareusingencoding\f@encoding\spaceI75p2insteadofT1.}I76f\wlog{Somewordbreakswillnotbefound.}I77f\def\@umlaut#1{\allowhyphens\dieresis{#1}\allowhyphens}I78f\def\@tilde#1{\allowhyphens\texttilde{#1}\allowhyphens}I79f\@ifpackagewith{babel}{activeacute}{%I80p2\def\@acute#1{\allowhyphens\textacute{#1}\allowhyphens}}{}I81]\fiI82S\fi`XNowUUwecande neourshorthands:qtheumlauts,I83S\declare@shorthand{spanish}{"u}{\@umlautu}I84S\declare@shorthand{spanish}{"U}{\@umlautU}uIfrenchUUquotes,4-nsoI85S\declare@shorthand{spanish}{"<}{% I86]\textormath{\guillemotleft{}}{\mbox{\guillemotleft}}}I87S\declare@shorthand{spanish}{">}{%I88]\textormath{\guillemotright{}}{\mbox{\guillemotright}}}Iordinals^8|s,I89S\declare@shorthand{spanish}{"o}{%I90]\leavevmode\raise1ex\hbox{\underbar{\scriptsizeo}}}I91S\declare@shorthand{spanish}{"a}{%I92]\leavevmode\raise1ex\hbox{\underbar{\scriptsizea}}}IacuteUUaccents,I93S\@ifpackagewith{babel}{activeacute}{%I94]\declare@shorthand{spanish}{'a}{\textormath{\@acutea}{^{\prime}a}}I95]\declare@shorthand{spanish}{'e}{\textormath{\@acutee}{^{\prime}e}}I96]\declare@shorthand{spanish}{'i}{\textormath{\@acute\i{}}{^{\prime}i}}I97]\declare@shorthand{spanish}{'o}{\textormath{\@acuteo}{^{\prime}o}}I98]\declare@shorthand{spanish}{'u}{\textormath{\@acuteu}{^{\prime}u}}I99]\declare@shorthand{spanish}{'A}{\textormath{\@acuteA}{^{\prime}A}}E100]\declare@shorthand{spanish}{'E}{\textormath{\@acuteE}{^{\prime}E}}E101]\declare@shorthand{spanish}{'I}{\textormath{\@acuteI}{^{\prime}I}}E102]\declare@shorthand{spanish}{'O}{\textormath{\@acuteO}{^{\prime}O}}E103]\declare@shorthand{spanish}{'U}{\textormath{\@acuteU}{^{\prime}U}}ItheUUacuteaccent,E104]\declare@shorthand{spanish}{''}{%E105f\textormath{\textquotedblright}{\sp\bgroup\prim@s'}}Itildes,E106]\declare@shorthand{spanish}{'n}{\textormath{\~n}{^{\prime}n}}E107]\declare@shorthand{spanish}{'N}{\textormath{\~N}{^{\prime}N}}E108]}{}E109S\declare@shorthand{spanish}{~n}{\textormath{\~n}{\@tilden}}E110S\declare@shorthand{spanish}{~N}{\textormath{\~N}{\@tildeN}}IandUUsomeadditionalcommands:E111S\declare@shorthand{spanish}{"-}{\allowhyphens\-\allowhyphens}E112S\declare@shorthand{spanish}{"|}{%E113]\textormath{\penalty\@M\discretionary{-}{}{\kern.03em}%E114\allowhyphens}{}}E115S\declare@shorthand{spanish}{""}{\hskip\z@skip}XThemacro\ldf@finishtakescareofloGokingforacon guration le,setting IthefmainlanguagetobGeswitchedonat\begin{document}andresettingtheIcategoryUUcoGdeofr@toitsoriginalvqalue.E116S\ldf@finish{spanish} E117Sh5" cmmi9=coAdeiIU3ffr J= "5-:8LܼThePco cmmi10K`y cmr10ٓRcmr7H