From b3563e669d4dec3594fd98ff1c5c7dc509a866d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerardo=20Marx=20Cha=CC=81vez-Campos?= Date: Tue, 14 Feb 2023 22:31:14 -0600 Subject: [PATCH] Code from class 1 and 2 --- Readme.md | 2 + main.tex | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 179 insertions(+) create mode 100644 Readme.md create mode 100644 main.tex diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..4361ffd --- /dev/null +++ b/Readme.md @@ -0,0 +1,2 @@ +# Readme +This code was developed during the first approach LaTeX class during January-June 2023 semester. diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..2c33ab4 --- /dev/null +++ b/main.tex @@ -0,0 +1,177 @@ +%preamble: +\documentclass{article} +\usepackage[utf8x]{inputenc} %file encoding +\usepackage{blindtext} %dummy text +\usepackage[T1]{fontenc} +\usepackage{amsmath} +\usepackage[spanish, es-tabla]{babel} +\usepackage{caption} +\captionsetup[table]{skip=0.1in} +\usepackage{booktabs} +\usepackage{graphicx} + + +\usepackage[version=4]{mhchem} + +%\renewcommand\spanishtablename{Cuadrito} + + +\title{My Research Protocol} +\author{Gerardo Marx Chávez-Campos} +%\{Instituto Tecnológico de Morelia} +\date{\today} + +%Document's body +\begin{document} +\maketitle{} +\tableofcontents +\section{Introduction} +\blindtext[1] +\section{Materials and Methods} +\subsection{Experimental setup} +In the Eq.\eqref{eq:function}, where $x=3$ is defined by + +\begin{equation} +f(x)=x+2\label{eq:function} +\end{equation} + +\begin{equation} + \sum_{i=0}^{\infty}i^2/i +\end{equation} + + +\begin{equation} +f(x)=\int_{t=0}^{t=10}sin(5t)dt +\end{equation} + +\subsection{Experiments} +\subsection*{Details} +\subsection{More details} +\ce{a A + b B -> c C + d D} +\section{Develpment} +\blindtext[2][1] + +\section{Results} +Este es mi texto modificado + +\Blindtext[2][3] + +\section{Conclusion} +\blindtext +Por ejemplo en \cite{knuth1986}... + +% - Matrix +% - Tables +% - Items +% - Figures +% - Title definition, main objective and hypothesis + +\section*{Matrix equations} + +\begin{equation} + \begin{bmatrix} + a & b & c \\ + d & e & f + \end{bmatrix} +\end{equation} + +\begin{equation} +A = + \begin{bmatrix} + a_{11} & a_{12} & a_{13} \\ + a_{21} & a_{22} & a_{23} \\ + a_{31} & a_{32} & a_{33} + \end{bmatrix} +\end{equation} + +\section*{Tables} + + +\begin{table}[h] +\centering +\caption{\sc Collected information from ...} + \begin{tabular}{|l|rc} + \hline + Column 1 & Column 2 & Column 3 \\\hline + Exp1 & 4.5 & 4.4 \\ + Exp2 & 4.4 & 3.4 \\ + Exp3 & 4.5 & 4.4 \\ + Exp4 & 4.4 & 3.4 \\\hline + \end{tabular} +\end{table} + +In Table \ref{tb:experiments} + +\begin{table}[h] +\centering +\caption{\sc Collected information from ...} +\label{tb:experiments} + \begin{tabular}{ccc} + \textbf{Column 1} & Column 2 & Column 3 \\\toprule + Exp1 & 4.5 & 4.4 \\ + Exp2 & 4.4 & 3.4 \\ + Exp3 & 4.5 & 4.4 \\ + Exp4 & 4.4 & 3.4 \\ + \toprule + \end{tabular} +\end{table} + +\section*{Lists} + +\begin{itemize} + \item Some text here + \item Some text here + \item Some text here + \begin{itemize} + \item Nested element + \item Nested element +\end{itemize} + \item Some text here + \item Some text here +\end{itemize} + +\blindtext + +\begin{enumerate} + \item Some text here + \item Some text here + \item Some text here + \begin{enumerate} + \item Nested element + \item Nested element +\end{enumerate} + \item Some text here + \item Some text here +\end{enumerate} + +\begin{description} + \item[Element:] The text here is .... +\end{description} + + + +\section*{Figures} +In the Fig. \ref{fig:a} + +\begin{figure} +\centering +%scale, +\includegraphics[width=4.5in]{example-image-a} +\caption{Some text to describe the figure.} +\label{fig:a} +\end{figure} + + +\clearpage +\begin{thebibliography}{2} +\bibitem{knuth1986} +Donald E. Knuth (1986) \emph{The name of the Book}, Addison-Wesley Prof. + +\end{thebibliography} + + + + + + +\end{document} \ No newline at end of file