| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- \section{Tipos de letra}
- \subsection{Tamaños}
- Esto es un ejemplo de cómo cambiar el tipo de letra en un documento de \LaTeX. A continuación, se muestran algunos ejemplos de diferentes tipos de letra que se pueden utilizar:
- \begin{itemize}
- \item \textbf{Negrita:} \textbf{Este texto está en negrita.}
- \item \textit{Cursiva:} \textit{Este texto está en cursiva.}
- \item \underline{Subrayado:} \underline{Este texto está subrayado.}
- \item \texttt{Monoespaciado:} \texttt{Este texto está en monoespaciado.}
- \item {\Large Grande:} {\Large Este texto es grande.}
- \item {\small Pequeño:} {\small Este texto es pequeño.}
- \item {\tiny Muy pequeño:} {\tiny Este texto es muy pequeño.}
- \item {\huge Muy grande:} {\huge Este texto es muy grande.}
- \end{itemize}
- \subsection{Familias de tipos}
- \begin{itemize}
- \item \textrm{Serif:} \textrm{Este texto está en una familia de tipo serif.}
- \item \textsf{Sans-serif:} \textsf{Este texto está en una familia de tipo sans-serif.}
- \item \texttt{Monoespaciado:} \texttt{Este texto está en una familia de tipo monoespaciado.}
- \end{itemize}
- \sffamily
- \lipsum[1]
- \subsection{Ejemplos}
- %Example of different font sizes and types
- This is a simple example, {\tiny this will show different font sizes} and also {\rmfamily\textsc{different font styles}}.
- \vspace{1cm}
- %Example of different font sizes and types
- In this example the {\huge huge font size} is set and the {\footnotesize Foot note size also}. There's a fairly large set of font sizes.
- \vspace{1cm}
- %Example of different font sizes and types
- In this example, a command and a switch are used. \texttt{A command is used to change the style of a sentence}.
- \sffamily
- A switch changes the style from this point to the end of the document unless another switch is used.
- \rmfamily
- \vspace{1cm}
- %Example of different font sizes and types
- Part of this text is written \textsl{in different font style} to highlight it.
|