TeX/Latex - Tildes latex letter

 
Vista:

Tildes latex letter

Publicado por Felipe (1 intervención) el 20/04/2018 16:43:33
HOLA!,

necesito ayuda. Yo me basé en una plantilla para generar una carta formal,con un formato descrito en el código de más abajo.
Compila bien, pero por alguna razón las tildes en las letras "a" NO LAS RECONOCE.

Porfavor ayuda, no se como solucionarlo.

Les dejo el código a continuación:


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
\usepackage[utf8]{inputenc}
\usepackage[spanish, es-tabla]{babel}
\usepackage{graphicx} % Required for including pictures
\usepackage{microtype} % Improves typography
\usepackage{gfsdidot} % Use the GFS Didot font: http://www.tug.dk/FontCatalogue/gfsdidot/
\usepackage[T1]{fontenc} % Required for accented characters
\usepackage[pdftex, bookmarksnumbered,  pagebackref, colorlinks=true, citecolor=DarkBlue, linkcolor=DarkBlue!30!Black, urlcolor=Black,bookmarksopen]{hyperref}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{colortbl}
 
% Create a new command for the horizontal rule in the document which allows thickness specification
\makeatletter
\def\vhrulefill#1{\leavevmode\leaders\hrule\@height#1\hfill \kern\z@}
\makeatother
 
%----------------------------------------------------------------------------------------
%	DOCUMENT MARGINS
%----------------------------------------------------------------------------------------
 
\textwidth 6.75in
\textheight 9.25in
\oddsidemargin -.25in
\evensidemargin -.25in
\topmargin -1in
\longindentation 0.50\textwidth
\parindent 0.4in
 
%----------------------------------------------------------------------------------------
%	SENDER INFORMATION
%----------------------------------------------------------------------------------------
 
\def\Who{FB} % Your name
\def\What{ Jefe del Departamento } % Your title
\def\Where{Instituto Traumatologico} % Your department/institution
\def\Address{Algún lugar} % Your address
\def\CityZip{Departamento de } % Your city, zip code, country, etc
\def\Email{E-mail: } % Your email address
\def\TEL{Tel: } % Your phone number
\def\URL{URL: http://www.intraumatologico.cl/} % Your URL
 
%----------------------------------------------------------------------------------------
%	HEADER AND FROM ADDRESS STRUCTURE
%----------------------------------------------------------------------------------------
 
\address{
\includegraphics[width=1.2in]{logo.png} % Include the logo of your institution
\hspace{5.0in} % Position of the institution logo, increase to move left, decrease to move right
\vskip -1.20in~\\ % Position of the text in relation to the institution logo, increase to move down, decrease to move up
\Large\hspace{1.5in}INSTITUTO \hfill ~\\[0.05in] % First line of institution name, adjust hspace if your logo is wide
\hspace{1.5in}TRAUMATOLOGICO \hfill \normalsize % Second line of institution name, adjust hspace if your logo is wide
\makebox[0ex][r]{\bf \Who   }\hspace{0.08in} % Print your name and title with a little whitespace to the right
~\\[-0.11in] % Reduce the whitespace above the horizontal rule
\hspace{1.5in}\vhrulefill{1pt} \\ % Horizontal rule, adjust hspace if your logo is wide and \vhrulefill for the thickness of the rule
\hspace{\fill}\parbox[t]{3.3in}{ % Create a box for your details underneath the horizontal rule on the right
\footnotesize % Use a smaller font size for the details
\Who \\ \em % Your name, all text after this will be italicized
\What\\
\Where\\ % Your department
\Address\\ % Your address
\CityZip\\ % Your city and zip code
\TEL\\ % Your phone number
\Email\\ % Your email address
\URL % Your URL
}
\hspace{-1.4in} % Horizontal position of this block, increase to move left, decrease to move right
\vspace{-1in} % Move the letter content up for a more compact look
}
 
%----------------------------------------------------------------------------------------
%	TO ADDRESS STRUCTURE
%----------------------------------------------------------------------------------------
 
\def\opening#1{\thispagestyle{empty}
{\centering\fromaddress \vspace{0.6in} \\ % Print the header and from address here, add whitespace to move date down
\hspace*{200pt}\today\hspace*{\fill}\par} % Print today's date, remove \today to not display it
{\raggedright \toname \\ \toaddress \par} % Print the to name and address
\vspace{0.4in} % White space after the to address
\noindent #1 % Print the opening line
% Uncomment the 4 lines below to print a footnote with custom text
%\def\thefootnote{}
%\def\footnoterule{\hrule}
%\footnotetext{\hspace*{\fill}{\footnotesize\em Footnote text}}
%\def\thefootnote{\arabic{footnote}}
}

%----------------------------------------------------------------------------------------
%	SIGNATURE STRUCTURE
%----------------------------------------------------------------------------------------
\signature{\Who \\ \What} % The signature is a combination of your name and title

\long\def\closing#1{
\vspace{0.1in} % Some whitespace after the letter content and before the signature
\noindent % Stop paragraph indentation
\hspace*{\longindentation} % Move the signature right
\parbox{\indentedwidth}{\raggedright
#1 % Print the signature text
\vskip 0.65in % Whitespace between the signature text and your name
\fromsig}} % Print your name and title

%----------------------------------------------------------------------------------------

\begin{document}

%----------------------------------------------------------------------------------------
%	TO ADDRESS
%----------------------------------------------------------------------------------------

\begin{letter}
{
}

%----------------------------------------------------------------------------------------
%	LETTER CONTENT
%----------------------------------------------------------------------------------------

\opening{Estimado ,}


En el presente documento se expone el acta de la capacitación y reforzamiento sobre cuidados y mantenimiento de motores neumáticos marca SYNTHES, en el servicio de Esterilización.\\

Se encontró necesario un reforzamiento de estas prácticas debido a la alta taza de fallas de motores neumáticos en el servicio. Este tema fue preocupante debido a que las fallas en motores neumáticos son de gran impacto para el Instituto Traumatológico, debido al alto costo de reparación y/o adquisición de estos. Los costos oscilan desde los \$ 500.000 hasta los \$ 2.000.000 aproximadamente por motor, dependiendo la falla detectada, si es necesario el enví­o de motores a Suiza (Fábrica Synthes J\&J) y repuestos a utilizar en su reparación. Sin contar que el costo de la adquisición de un kit completo de motores neumáticos oscila entre los \$ 8.000.000.\\


\closing{Atentamente,}

%----------------------------------------------------------------------------------------

\end{letter}
\end{document}


Muchas gracias !
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder