Browse Source

Code from class 1 and 2

main
commit
b3563e669d
2 changed files with 179 additions and 0 deletions
  1. +2
    -0
      Readme.md
  2. +177
    -0
      main.tex

+ 2
- 0
Readme.md View File

@ -0,0 +1,2 @@
# Readme
This code was developed during the first approach LaTeX class during January-June 2023 semester.

+ 177
- 0
main.tex View File

@ -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}

Loading…
Cancel
Save