Browse Source

Tipos de letra

Celestino Rey 2 tuần trước cách đây
mục cha
commit
4d77cf186f
3 tập tin đã thay đổi với 51 bổ sung1 xóa
  1. BIN
      Ejemplos/memoria.pdf
  2. 4 1
      Ejemplos/memoria.tex
  3. 47 0
      Ejemplos/secciones/tipos.tex

BIN
Ejemplos/memoria.pdf


+ 4 - 1
Ejemplos/memoria.tex

@@ -1,4 +1,5 @@
-\documentclass[twocolumn]{article}
+%\documentclass[twocolumn]{article}
+\documentclass{article}
 
 \usepackage[a4paper, total={15cm, 15cm}]{geometry}
 \usepackage{lipsum}
@@ -40,4 +41,6 @@
 
 \include{secciones/conclusion}
 
+\include{secciones/tipos}
+
 \end{document}

+ 47 - 0
Ejemplos/secciones/tipos.tex

@@ -0,0 +1,47 @@
+\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.