| @ -0,0 +1,346 @@ | |||||
| % LaTeX webinar | |||||
| % February 15 to 20, 2021 | |||||
| % Gerardo Marx Chávez-Campos | |||||
| %-------------------------------- | |||||
| \documentclass[gray]{beamer} | |||||
| \usetheme{Warsaw} | |||||
| \setbeamercovered{transparent} | |||||
| %Preamble | |||||
| \usepackage[spanish]{babel} | |||||
| \usepackage[utf8]{inputenc} | |||||
| \usepackage{graphicx} | |||||
| \usepackage{hyperref} | |||||
| \usepackage{color} | |||||
| \usepackage{xcolor} | |||||
| \usepackage{listings} | |||||
| \usepackage[compatibility=false]{caption} | |||||
| \DeclareCaptionFont{white}{\color{white}} | |||||
| \DeclareCaptionFormat{listing}{ | |||||
| \colorbox{gray}{\parbox{\textwidth}{#1#2#3}}} | |||||
| \captionsetup[lstlisting]{ | |||||
| format=listing,labelfont=white,textfont=white} | |||||
| \makeatletter | |||||
| \let\@@magyar@captionfix\relax | |||||
| \makeatother | |||||
| \usepackage{amssymb} | |||||
| %scripts configuration | |||||
| \lstset{numbers=left, numberstyle=\tiny\color{gray}, numbersep=5pt, stepnumber=1,language=[LaTeX]TeX,basicstyle=\footnotesize} | |||||
| \renewcommand{\lstlistingname}{Example}% Listing -> Example | |||||
| % --------- | |||||
| \title[\LaTeX{} Webinar]{How to Write your Next Thesis in \LaTeX} | |||||
| \author[gmarx\_cc@itmorelia.edu.mx]{Gerardo Marx Chávez-Campos} | |||||
| \institute[ITM]{Instituto Tecnológico de Morelia: Industrial Applications Society} | |||||
| \titlegraphic{\includegraphics[width=3cm]{logoItm.pdf}} | |||||
| \begin{document} | |||||
| %----Title page: | |||||
| \begin{frame}[plain] | |||||
| \titlepage | |||||
| \end{frame} | |||||
| %======= Part 1 ========= | |||||
| \section{Part 1: Introduction to \LaTeX} | |||||
| \subsection{What I going to learn?} | |||||
| % +++++++++++++++++++ | |||||
| \begin{frame} | |||||
| \frametitle{What I going to learn?} | |||||
| \begin{itemize} | |||||
| \item How \LaTeX{} works | |||||
| \item How to use Overleaf, \LaTeX{} on a server | |||||
| \item Create simple and complex documents(Thesis) | |||||
| \item How to use different document classes | |||||
| \item Inserting Equations, Tables, and Figures | |||||
| \item How to create \textbf{wonderful} plots | |||||
| \item Create bibliography files and sync them with bib\TeX | |||||
| \end{itemize} | |||||
| \end{frame} | |||||
| %+++++++++++++++++++ | |||||
| \subsection{¿What is \LaTeX{}?} | |||||
| \begin{frame} | |||||
| \frametitle{What is \LaTeX?} | |||||
| \begin{columns} | |||||
| \column{0.35\textwidth} | |||||
| \includegraphics[width=1.2\textwidth]{donald1.png} | |||||
| Donald Knuth | |||||
| \column{0.65\textwidth} | |||||
| \begin{itemize} | |||||
| \item {\bfseries What is \LaTeX?} \LaTeX{} is a document preparation system focused on \textbf{quality and structure} %created by Donald Knuth in 1978. | |||||
| \item The system allows to prepare \textbf{scientific and technical} documents, reports, \textbf{thesis}, presentations, and more. | |||||
| \item \textbf{It is not} a text processor like MS-Word. | |||||
| \item \textbf{Why I should use \LaTeX?} Repeatability, portable, high quality, focus on context not on format. | |||||
| \end{itemize} | |||||
| \end{columns} | |||||
| \end{frame} | |||||
| %+++++++++++++++++++ | |||||
| \begin{frame} | |||||
| \frametitle{How can I try \LaTeX{}?} | |||||
| \begin{itemize} | |||||
| \item <1->\textbf{GUI}: | |||||
| \TeX{}Studio(Windows, MacOS, Linux); | |||||
| \TeX{}Maker(All) | |||||
| \item<2-> \textbf{Distributions}: Mik\TeX{}, Mac\TeX{}, \TeX{}Live | |||||
| \item<3-> \textbf{Online tools}: Share-\LaTeX{} and Overleaf | |||||
| \end{itemize} | |||||
| \end{frame} | |||||
| % +++++++++++++++++++ | |||||
| % overleaf: | |||||
| \begin{frame}{``Los geht's'' - Overleaf} | |||||
| \begin{figure} | |||||
| \centering | |||||
| \includegraphics[width=0.7\textwidth]{doh} | |||||
| %\caption{Esperemos que la computadora no explote...} | |||||
| \end{figure} | |||||
| \end{frame} | |||||
| % +++++++++++++++++++ | |||||
| %---First example: | |||||
| \subsection{A basic document} | |||||
| \begin{frame}[containsverbatim] | |||||
| \frametitle{The first example of \LaTeX} | |||||
| %\example 1: | |||||
| The first example will test that system is working properly and get comfortable with Overleaf. | |||||
| \begin{lstlisting}[label=example1,caption=Hello World] | |||||
| \documentclass{standalone} | |||||
| \begin{document} | |||||
| Hello \LaTeX{}. | |||||
| \end{document} | |||||
| \end{lstlisting} | |||||
| \end{frame} | |||||
| %here 10/Feb/2021 | |||||
| % +++++++++++++++++++ | |||||
| %Example 2: | |||||
| %\begin{frame}[containsverbatim] | |||||
| % \frametitle{Preámbulo y cuerpo} | |||||
| %\begin{itemize} | |||||
| % \item Un documento en \LaTeX{} está | |||||
| % compuesto por dos partes fundamentales: | |||||
| % \textbf{el preámbulo} (librerías) y | |||||
| % \textbf{el cuerpo} del texto | |||||
| % (código)[documentoLaTeX2014]. | |||||
| % \item El preámbulo contiene indicaciones | |||||
| % generales que afectan a la totalidad del | |||||
| % documento; su formato. | |||||
| % \end{itemize} | |||||
| %\begin{lstlisting}[caption=Ejemplo de | |||||
| %preámbulo] | |||||
| %\documentclass[opciones]{clase} | |||||
| %\usepackage[opciones]{paquete} | |||||
| %\title{Nombre-Documento} | |||||
| % ... | |||||
| %\end{lstlisting} | |||||
| % | |||||
| % Hay diversidad de clases de documentos | |||||
| % (\textbf{article, book, report}) y paquetes. | |||||
| %\end{frame} | |||||
| %% +++++++++++++++++++ | |||||
| %\begin{frame}[containsverbatim] | |||||
| % Mientras que el cuerpo del documento se | |||||
| % encuentra entre las siguientes líneas de | |||||
| % código: | |||||
| % \begin{lstlisting}[caption=Ejemplo] | |||||
| % \begin{document} | |||||
| % \section{nombreSec1} | |||||
| % \section{nombreSec2} | |||||
| % \section{nombreSec3} | |||||
| % ... | |||||
| % \end{document} | |||||
| % \end{lstlisting} | |||||
| % | |||||
| % \textit{Note que para contener el cuerpo del | |||||
| % documento utilizamos un \textbf{entorno.} | |||||
| %}\end{frame} | |||||
| %% +++++++++++++++++++ | |||||
| %%clases y paquetes | |||||
| %\subsection{Clases y paquetes básicos} | |||||
| %\begin{frame} | |||||
| %\frametitle{Clases} | |||||
| %Las clases son obligatorias para cada | |||||
| %documento.\textbf{ Solo puede haber un tipo de documento.} | |||||
| % | |||||
| %Los más comunes son: | |||||
| %\begin{itemize} | |||||
| %\item <1-> \textbf{book:} Para escribir libros. | |||||
| % \textit{Estructura el documento en partes, | |||||
| % capítulos, secciones, subsecciones, etc. | |||||
| % }\item <2->\textbf{article:} Se utiliza para | |||||
| % escribir artículos. \textit{Estructura el documento | |||||
| % en secciones, subsecciones, parrafos, etc. | |||||
| % }\item <3->\textbf{report:} Para escribir | |||||
| % informes, es parecido al anterior. | |||||
| % \item <4->\textbf{beamer:} Para hacer documentos | |||||
| % para presentaciones/diapositivas. | |||||
| % \item <5->\textbf{tikz-poster:}Para el | |||||
| % desarrollo de posters. | |||||
| %\end{itemize} | |||||
| %\end{frame} | |||||
| %% +++++++++++++++++++ | |||||
| %\begin{frame} | |||||
| %\frametitle{Paquetes} | |||||
| %Los paquetes son opcionales, pueden ser | |||||
| %múltiples y usarse con cualquiera de las | |||||
| %clases.\\ | |||||
| %\vspace{0.1in} | |||||
| %Algunos de los paquetes básicos son: | |||||
| % \begin{itemize} | |||||
| % \item <1-> \textbf{babel:} Permite trabajar | |||||
| % con múltiples idiomas. \textit{Siempre debe | |||||
| % ser el primer paquete}. | |||||
| %\item <2->\textbf{inputenc:} Permite especificar | |||||
| % el tipo de codificación en los caracteres | |||||
| % ingresados por el teclado. | |||||
| % \item <3->\textbf{graphicx.} Permite incluir gráficos y procesarlos. | |||||
| % \end{itemize} | |||||
| % \end{frame} | |||||
| %%+++++++++++++++++++ | |||||
| % \begin{frame} | |||||
| % \centering | |||||
| % \includegraphics[width=3.2in]{phdRefreshments}\\ | |||||
| % | |||||
| % \LARGE{Receso} | |||||
| % \end{frame} | |||||
| %%=*=*=*=*=*=*=*=*=*=*=*=* | |||||
| %\subsection{Preparando un reporte} | |||||
| %%Después del receso | |||||
| %%+++++++++++++++++++ | |||||
| % \begin{frame} | |||||
| % \frametitle{Definición de las secciones} | |||||
| % \begin{columns} | |||||
| % \column{0.5\textwidth} | |||||
| % \includegraphics[width=2.in]{structure} | |||||
| % \column{0.5\textwidth} | |||||
| % \begin{itemize} | |||||
| % \item<1->Las secciones son normalmente | |||||
| % las mismas en los reportes; más o menos | |||||
| % \item<2->No deben de pasar de entre 5 a 7 | |||||
| % hojas | |||||
| % \item<3-> Las imágenes son en blanco y | |||||
| % negro | |||||
| % \item<4-> Contenido del artículo en texto | |||||
| % plano e imágenes por separado | |||||
| % \item<5-> ¿Qué escribir primero y cómo? | |||||
| % \end{itemize} | |||||
| % \end{columns} | |||||
| % \end{frame} | |||||
| %%======= Día 2 ========= | |||||
| %\section{Día 2: Sección Metodología} | |||||
| % \begin{frame} | |||||
| % \frametitle{Que incluir en la metodología} | |||||
| % \begin{columns} | |||||
| % \column{0.5\textwidth} | |||||
| % \includegraphics[width=1.8in]{structure-2} | |||||
| % \column{0.5\textwidth} | |||||
| % \begin{itemize} | |||||
| % \item<1-> Materialesd y metodos, or Procedimeinto, Experimentos, Simulación, Metodología o Modelo | |||||
| % \item<2->Indica que se hizo y/o utilizo; para replicar los resultados | |||||
| % \item<3->El lector debe aprender del reporte | |||||
| % \item<4-> Normalmente la sección se acompaña de un esquema | |||||
| % \end{itemize} | |||||
| % \end{columns} | |||||
| % \end{frame} | |||||
| % | |||||
| %%+++++++++++++++++++ | |||||
| %\subsection{Revisando metodología} | |||||
| %\begin{frame} | |||||
| % \frametitle{Empezando por el final} | |||||
| % \includegraphics[width=4.5in]{methodology} | |||||
| %\end{frame} | |||||
| % \begin{frame} | |||||
| % \frametitle{Nuestra metodología} | |||||
| % \centering | |||||
| % \includegraphics[width=4.5in]{mistakes} | |||||
| %\end{frame}% +++++++++++++++++++ | |||||
| %%+++++++++++++++++++ | |||||
| % | |||||
| % | |||||
| %%+++++++++++++++++++ | |||||
| %\subsection{Bibliografía} | |||||
| %\begin{frame}{Entorno bibliografía} | |||||
| % El entorno \texttt{thebibliography} es | |||||
| % nativo de \LaTeX{} y puede preferirse | |||||
| % cuando el documento \textbf{contendrá pocas citas | |||||
| % bibliográficas}(menos de 20) o será un documento que | |||||
| % pasará por la revisión de diversos | |||||
| % autores\cite[pág 21]{Mata2014}. En la | |||||
| % siguiente sección de código se muestra el | |||||
| % entorno \texttt{thebibliography}. | |||||
| %\end{frame} | |||||
| % | |||||
| %%+++++++++++++++++++ | |||||
| %\begin{frame}[containsverbatim] | |||||
| %\begin{lstlisting}[caption=Entorno ] | |||||
| %Preambulo | |||||
| %... | |||||
| %\begin{document} | |||||
| %... | |||||
| %\begin{thebibliography}{X} | |||||
| %\bibitem{clave1} Texto de la referencia 1. | |||||
| %\bibitem{clave2} Texto de la referencia 2. | |||||
| %\end{thebibliography} | |||||
| %\end{document} | |||||
| %\end{lstlisting} | |||||
| % El argumento $X$ del entorno indica el | |||||
| % número de entradas que habrá en el | |||||
| % documento. Y cada entrada va acompañada del | |||||
| % comando \texttt{$\backslash$bibitem}, el | |||||
| % argumento (\texttt{clave1}) es una referencia para | |||||
| % el usuario y se recomienda que sea el autor | |||||
| % y el año, tal como se usa en el estilo de | |||||
| % referencias tipo \textbf{Harvard}. El texto | |||||
| % de la referencia debe usarse dependiendo | |||||
| % del estilo de documento que se redacte. | |||||
| %\end{frame} | |||||
| %%+++++++++++++++++++ | |||||
| %\begin{frame}[containsverbatim] | |||||
| %\frametitle{Citas bibliográficas} | |||||
| %Para hacer una cita bibliográfica debe usarse la instrucción \texttt{$\backslash$cite} con la etiqueta correspondiente. | |||||
| % | |||||
| %\begin{lstlisting}[caption=Ejemplo de citas bibliográficas] | |||||
| %Como se puede ver en \cite{Mata2014} ... | |||||
| %... | |||||
| %Como se puede ver en \cite[pag 3]{Mata2014}... | |||||
| %\end{lstlisting} | |||||
| %\end{frame} | |||||
| %%+++++++++++++++++++ | |||||
| %\begin{frame}[plain] | |||||
| % \includegraphics[width=4.5in]{meme-1} | |||||
| %\end{frame} | |||||
| %%+++++++++++++++++++ | |||||
| %%+++++++++++++++++++ | |||||
| %%+++++++++++++++++++ | |||||
| %%+++++++++++++++++++ | |||||
| %%Bibliography: | |||||
| %\begin{thebibliography}{10} | |||||
| % | |||||
| %\bibitem{guiaLatex2014}[Nokyotsu, 2014] | |||||
| %http://nokyotsu.com. | |||||
| %\newblock LaTeX Fácil: Guía rápida de \LaTeX | |||||
| % | |||||
| %\bibitem{documentoLaTeX2014}[Guía de \LaTeX, 2014] | |||||
| %http://thales.cica.es | |||||
| %\newblock Guía para la configuración de documentos de \LaTeX. | |||||
| % | |||||
| %\bibitem{Moser2013}[Moser, 2013] | |||||
| %\newblock How to typeset equations in \LaTeX. | |||||
| % | |||||
| %\bibitem{Reckdahl2006}[Reckdahl K., 2006] | |||||
| %\newblock Using imported graphics in \LaTeX{} and PDF\LaTeX{}. | |||||
| % | |||||
| %\bibitem{Hunninger2012}[Hünninger D., 2012] | |||||
| %\newblock \LaTeX{} a Wikibook, www.wikibooks.org | |||||
| % | |||||
| %\bibitem{Mata2014}[Mata-Pérez M., 2014] | |||||
| %\newblock Bibliografía en \LaTeX{}, una guía concisa de BIB\TeX{}. | |||||
| % | |||||
| %\end{thebibliography} | |||||
| %+++++++++++++++++++ | |||||
| \end{document} | |||||
| %%% Local Variables: | |||||
| %%% mode: latex | |||||
| %%% TeX-master: t | |||||
| %%% End: | |||||