| @ -0,0 +1,3 @@ | |||||
| tiempo, voltaje, corriente | |||||
| 0,1,0.1 | |||||
| 1,2,0.3 | |||||
| @ -0,0 +1,78 @@ | |||||
| \documentclass{article} | |||||
| \usepackage{tikz} | |||||
| \usepackage{pgfplots} | |||||
| \pgfplotsset{compat=1.5.1} | |||||
| \begin{document} | |||||
| %1 latex as calculator | |||||
| \begin{tikzpicture} | |||||
| \begin{axis}[ | |||||
| xlabel=tiempo $t$, | |||||
| ylabel=$f(t)$, mark repeat=2] | |||||
| \addplot{x^2+5}; | |||||
| \addplot{x+6}; | |||||
| \end{axis} | |||||
| \end{tikzpicture} | |||||
| %2 coordinates | |||||
| \begin{tikzpicture} | |||||
| \begin{axis}[ | |||||
| xlabel=$x$, | |||||
| ylabel=$f(x)$] | |||||
| \addplot[color=black, mark=diamond, mark size=4pt] coordinates{ | |||||
| (0,0) | |||||
| (1,4) | |||||
| (2,9) | |||||
| (3,-3) | |||||
| }; | |||||
| \addlegendentry{pH} | |||||
| \end{axis} | |||||
| \end{tikzpicture} | |||||
| %3 CSV files: | |||||
| \begin{tikzpicture} | |||||
| \begin{semilogyaxis}[ | |||||
| legend pos=north west, | |||||
| %ylabel style={rotate =-90}, | |||||
| xlabel=timpo en ($s$), | |||||
| ylabel=Voltaje ($mV$)] | |||||
| \addplot[color=black,dashed, mark=o, line width=3pt] table[x=tiempo, y=voltaje, col sep=comma]{data.csv}; | |||||
| \addlegendentry{voltaje} | |||||
| \addplot table[x=tiempo, y=corriente, col sep=comma]{data.csv}; | |||||
| \addlegendentry{corriente} | |||||
| \end{semilogyaxis} | |||||
| \end{tikzpicture} | |||||
| \end{document} | |||||
| @ -0,0 +1,58 @@ | |||||
| \documentclass{article} | |||||
| \usepackage{graphicx} | |||||
| \newcommand{\my}{Este es mi comando} | |||||
| \newcommand{\dosArg}[2]{Este comando imprime dos argumentos: #1 y #2} | |||||
| \newcommand{\myFigure}[3]{ | |||||
| \begin{figure}[htb!] | |||||
| \centering | |||||
| \includegraphics[width=4in]{#1} | |||||
| \caption{#2} | |||||
| \label{fig:#3} | |||||
| \end{figure} | |||||
| } | |||||
| \renewcommand{\LaTeX}{Latex} | |||||
| \begin{document} | |||||
| \my | |||||
| \dosArg{uno}{dos} | |||||
| En este punto hacemos referencia a la Figura \ref{fig:etiqueta} | |||||
| \myFigure{example-image-a}{Texto de la imagen}{etiqueta} | |||||
| \LaTeX{} | |||||
| \end{document} | |||||
| @ -0,0 +1,84 @@ | |||||
| \documentclass[ | |||||
| letterpaper, | |||||
| draft, | |||||
| onecolumn | |||||
| ]{article} | |||||
| %\usepackage{geometry} | |||||
| %\geometry{ | |||||
| %left=3.5cm, | |||||
| %top=2.5cm, | |||||
| %right=3.5cm, | |||||
| %bottom=1.5cm | |||||
| %} | |||||
| \usepackage[utf8]{inputenc} | |||||
| \usepackage{graphicx} | |||||
| \usepackage{blindtext} | |||||
| \newcommand{\portada}{ | |||||
| \begin{titlepage} | |||||
| \includegraphics[width=6cm]{logo-tecnm}\hspace{0.5cm} | |||||
| \includegraphics[width=3cm]{logo}\hspace{1.5cm}\includegraphics[width=3cm]{example-image-a} | |||||
| \\[2cm] | |||||
| %Headings | |||||
| \center{} | |||||
| \textsc{\LARGE Instituto Tecnológico de Morelia}\\[1.5cm] | |||||
| \textsc{\Large División de Estudios Profesionales}\\[1cm] | |||||
| \textsc{\Large Departamento de Ingeniería Y}\\[0.5cm] | |||||
| %Title | |||||
| \rule{\linewidth}{0.5mm}\\[0.4cm] | |||||
| {\huge \bfseries Reporte de Práctica 5} | |||||
| \rule{\linewidth}{0.5mm}\\[1.2cm] | |||||
| %author | |||||
| \begin{flushleft} | |||||
| \emph{Alumno:}\\ | |||||
| Gerardo Marx \textsc{Chávez-Campos} | |||||
| \emph{Número de Control:}\\ | |||||
| {\bfseries D01120294} | |||||
| \end{flushleft} | |||||
| {\large \today} | |||||
| \vfill % fill the rest of page with blank space | |||||
| \end{titlepage} | |||||
| } | |||||
| \begin{document} | |||||
| \portada | |||||
| \pagestyle{headings} | |||||
| \section{Introducción} | |||||
| \blindtext[3] | |||||
| \section{Introducción} | |||||
| \blindtext[3] | |||||
| \section{Introducción} | |||||
| \blindtext[3]\footnote{La nota al pie de la pagina.} | |||||
| \end{document} | |||||
| @ -0,0 +1,195 @@ | |||||
| \documentclass{article} | |||||
| \usepackage[spanish, es-tabla]{babel} | |||||
| \usepackage[utf8]{inputenc} | |||||
| \usepackage{blindtext} | |||||
| \usepackage{booktabs} | |||||
| \usepackage{caption} | |||||
| \captionsetup[table]{skip=2pt} | |||||
| \usepackage{amsmath} | |||||
| \usepackage{listings} | |||||
| \usepackage{xcolor} | |||||
| \definecolor{codegreen}{rgb}{0,0.6,0} | |||||
| \definecolor{miverde}{rgb}{0,0.6,0} | |||||
| \lstdefinestyle{miestilo}{ | |||||
| backgroundcolor=\color{gray!10}, | |||||
| keywordstyle=\color{miverde}, | |||||
| numbers=left, | |||||
| numbersep=5pt, | |||||
| numberstyle={\ttfamily\footnotesize} | |||||
| } | |||||
| \lstdefinestyle{mystyle}{ | |||||
| backgroundcolor=\color{backcolour}, | |||||
| commentstyle=\color{codegreen}, | |||||
| keywordstyle=\color{magenta}, | |||||
| numberstyle=\tiny\color{codegray}, | |||||
| stringstyle=\color{codepurple}, | |||||
| basicstyle=\ttfamily\footnotesize, | |||||
| breakatwhitespace=false, | |||||
| breaklines=true, | |||||
| captionpos=b, | |||||
| keepspaces=true, | |||||
| numbers=left, | |||||
| numbersep=5pt, | |||||
| showspaces=false, | |||||
| showstringspaces=false, | |||||
| showtabs=false, | |||||
| tabsize=2 | |||||
| } | |||||
| %modificando espacios | |||||
| \setlength{\parskip}{0.1cm} % spacio entre parrafos | |||||
| \setlength{\parindent}{0.5cm} %indentacion | |||||
| \renewcommand{\baselinestretch}{1.1} %indentacion | |||||
| \begin{document} | |||||
| \section{Introducción} | |||||
| \noindent | |||||
| \blindtext[1] | |||||
| \blindtext[1] | |||||
| \section{Listas no enumeradas} | |||||
| Esta es una lista no organizada: | |||||
| \begin{itemize} | |||||
| \item \textbf{Uno:} Este es el primer elemento | |||||
| \item Este es el segundo elemento | |||||
| \end{itemize} | |||||
| \section{Listas enumeradas} | |||||
| %enumerate | |||||
| \begin{enumerate} | |||||
| \item Este es el primer elemento | |||||
| \item Este es el segundo elemento | |||||
| \end{enumerate} | |||||
| \section{Anidadas} | |||||
| \begin{enumerate} | |||||
| \item Elemento uno | |||||
| \item Elemento dos | |||||
| \begin{enumerate} | |||||
| \item Elemento anidado | |||||
| \item Elemento anidado | |||||
| \item Elemento anidado | |||||
| \end{enumerate} | |||||
| \item Elemento tres | |||||
| \end{enumerate} | |||||
| \section{Listas con descripciones} | |||||
| \begin{description} | |||||
| \item[Elemento] Texto de la Descripción | |||||
| \item[Elemento] Texto de la Descripción | |||||
| \end{description} | |||||
| \section{Tablas} | |||||
| Las tablas requieren de dos entornos \texttt{tabular} | |||||
| \begin{table} | |||||
| \centering | |||||
| \caption{\textsc{Título de la tabla.}} | |||||
| \begin{tabular}{ccc} | |||||
| \bfseries Columna 1 & \bfseries Columna 2 & \bfseries Columna 3 \\ | |||||
| %\hline | |||||
| \toprule | |||||
| Elemento & 0.1 & 0.9\\ | |||||
| Elemento & 0.1 & 0.9\\ | |||||
| Elemento & 0.1 & 0.9\\ | |||||
| Elemento & 0.1 & 0.9\\ | |||||
| Elemento & 0.1 & 0.9\\ | |||||
| Elemento & 0.1 & 0.9\\ | |||||
| \bottomrule | |||||
| \end{tabular} | |||||
| \end{table} | |||||
| \section{Tipos de texto} | |||||
| \textbf{Negritas} | |||||
| \emph{Cursiva} | |||||
| \texttt{Máquina de escribir} | |||||
| \textsc{Texto en Mayúsculas} | |||||
| \section{Matrices} | |||||
| \begin{equation} | |||||
| A= | |||||
| \begin{pmatrix} | |||||
| a_{11} & a_{12}^3 &a_{13}^{32} \\ | |||||
| a_{21} & a_{22} & a_{23}\\ | |||||
| a_{31} & a_{32} & a_{33} | |||||
| \end{pmatrix} | |||||
| \end{equation} | |||||
| \section{Secciones de código} | |||||
| \begin{lstlisting}[ | |||||
| caption=Texto del código., | |||||
| label=lst1, | |||||
| style=miestilo, | |||||
| language=python | |||||
| ] | |||||
| import scipy | |||||
| from pandas import readcsv | |||||
| a=3 | |||||
| def funcion: | |||||
| b=c+d | |||||
| return b | |||||
| \end{lstlisting} | |||||
| \end{document} | |||||
| @ -0,0 +1,33 @@ | |||||
| \documentclass[twocolumn]{miclase} | |||||
| \nombre{Gerardo Marx} | |||||
| \titulo{Reporte de práctica 5: Secuencia de ...} | |||||
| \begin{document} | |||||
| \portada | |||||
| \section{Introducción} | |||||
| Hello \LaTeX | |||||
| \blindtext[1] | |||||
| \seccion{Título de la sección} | |||||
| Esto es algo de texto después de la sección... | |||||
| \noindent | |||||
| \begin{example} | |||||
| Este es un ejemplo de entorno | |||||
| \end{example} | |||||
| \begin{example} | |||||
| Este es un ejemplo de entorno | |||||
| \end{example} | |||||
| \section{Ejemplo} | |||||
| \begin{example} | |||||
| Este es un ejemplo de entorno | |||||
| \end{example} | |||||
| \end{document} | |||||
| @ -0,0 +1,101 @@ | |||||
| \NeedsTeXFormat{LaTeX2e} | |||||
| \ProvidesClass{miclase} | |||||
| [2020/11/03 Ejemplo de clase para el tutorial de IEEE-IAS student branch; Gerardo Marx] | |||||
| %packages | |||||
| \RequirePackage{blindtext} | |||||
| \RequirePackage{graphicx} | |||||
| %\RequirePackage{amsmath} | |||||
| \RequirePackage{booktabs} | |||||
| %\RequirePackage{tikz} | |||||
| %\RequirePackage{pgfplots} | |||||
| %\RequirePackage{listings} | |||||
| \DeclareOption{twocolumn}{ | |||||
| \OptionNotUsed | |||||
| \typeout{Option not used} | |||||
| } | |||||
| \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} | |||||
| \ProcessOptions\relax | |||||
| \LoadClass[onecolumn]{article} | |||||
| \def\nombre#1{\def\@nombre{#1}} | |||||
| \def\titulo#1{\def\@titulo{#1}} | |||||
| %new commands | |||||
| \newcommand{\portada}{ | |||||
| \begin{titlepage} | |||||
| %\includegraphics[width=6cm]{logo-tecnm}\hspace{0.5cm} | |||||
| %\includegraphics[width=3cm]{logo}\hspace{1.5cm} | |||||
| \includegraphics[width=3cm]{example-image-a}\\[2cm] | |||||
| %Headings | |||||
| \center{} | |||||
| \textsc{\LARGE Instituto Tecnológico de Morelia}\\[1.5cm] | |||||
| \textsc{\Large División de Estudios Profesionales}\\[1cm] | |||||
| \textsc{\Large Departamento de Ingeniería Y}\\[0.5cm] | |||||
| %Title | |||||
| \rule{\linewidth}{0.5mm}\\[0.4cm] | |||||
| {\huge \bfseries \@titulo} | |||||
| \rule{\linewidth}{0.5mm}\\[1.2cm] | |||||
| %author | |||||
| \begin{flushleft} | |||||
| \emph{Alumno:}\\ | |||||
| \textsc{\@nombre} | |||||
| \emph{Número de Control:}\\ | |||||
| {\bfseries D01120294} | |||||
| \end{flushleft} | |||||
| {\large \today} | |||||
| \vfill % fill the rest of page with blank space | |||||
| \end{titlepage} | |||||
| } | |||||
| %%%%%%%%%%%% | |||||
| \renewcommand{\normalsize}{\fontsize{12}{15}\selectfont} | |||||
| %%%%% | |||||
| %\@startsection{name} | |||||
| % {level} | |||||
| % {indent} | |||||
| % {beforeskip} | |||||
| % {afterskip} | |||||
| % {style}*[toctitle]{title} | |||||
| %%%%% | |||||
| \newcommand{\seccion}{% | |||||
| \@startsection{section} | |||||
| {1} %level | |||||
| {25pt} %indent | |||||
| {5.5ex} %before skip | |||||
| {5.5ex} %after skip | |||||
| {\Large\sffamily\bfseries}% | |||||
| } | |||||
| %%%%%%%%% | |||||
| \newcounter{example}[section] | |||||
| \newenvironment{example}[1][]{\refstepcounter{example}\par \medskip | |||||
| \textbf{Ejemplo~\theexample:\\ #1}}{\medskip} | |||||
| @ -0,0 +1,97 @@ | |||||
| \documentclass[titlepage]{article} | |||||
| \usepackage[spanish]{babel} | |||||
| \usepackage[utf8]{inputenc} | |||||
| \title{Electrónica Industrial: Circuitos de Control para SCR} | |||||
| \author{Gerardo Marx} | |||||
| \begin{document} | |||||
| \maketitle | |||||
| \tableofcontents | |||||
| \vfill | |||||
| \begin{abstract} | |||||
| No mas de 250/350 palabras para resumir el trabajo: resumir la introducción, metodología, resultados y conclusiones. | |||||
| \end{abstract} | |||||
| \section{Introducción} | |||||
| El posible contenido es: | |||||
| \begin{itemize} | |||||
| \item Contexto del problema | |||||
| \item Resaltar el tópico (estadísticas, número, etc) | |||||
| \item Breve resumen de lo que se hizo y se obtuvo | |||||
| \end{itemize} | |||||
| \section{Marco Teórico} | |||||
| \begin{itemize} | |||||
| \item Definiciones | |||||
| \item Conceptos teóricos | |||||
| \item fundamentos | |||||
| \end{itemize} | |||||
| \section{Objetivos} | |||||
| \subsection{Objetivo General} | |||||
| Medir la corriente que fluye en un circuito eléctrico, utilizando un ohmetro, para verificar la ley de Ohm. | |||||
| %Que voy hacer, como lo voy hacer y para que lo voy a hacer. | |||||
| \subsection{Objetivos Específicos} | |||||
| El procedimiento o pasos a seguir para cumplir el objetivo general. | |||||
| \subsection{Hipótesis} | |||||
| \section{Materiales y Métodos} %Metodología | |||||
| \subsection{Experimento} | |||||
| \subsection{Simulaciones} | |||||
| \subsection{Cálculos} | |||||
| \section{Resultados} %discusión | |||||
| \section{Conclusiones y Trabajo Futuro} | |||||
| En \cite{ref1} y \cite{patriarca2002} | |||||
| %referencias | |||||
| \begin{thebibliography}{1} | |||||
| \bibitem{ref1} | |||||
| Gerardo M., Chávez-Campos. | |||||
| \textit{Documento guía para la redacción de documentos técnicos.} | |||||
| \bibitem{patriarca2002} | |||||
| Patriarca, G., Nucera, E., Buonomo, A., Del Ninno, M., Roncallo, C., Pollastrini, E., De Pasquale, T., Milani, A. and Schiavino, D., 2002. \textit{Latex allergy desensitization by exposure protocol: five case reports}. Anesthesia \& Analgesia, 94(3), pp.754-758. | |||||
| \end{thebibliography} | |||||
| \end{document} | |||||
| @ -0,0 +1,187 @@ | |||||
| \documentclass{beamer} | |||||
| \usepackage{graphicx} | |||||
| \usetheme{Madrid} | |||||
| \usecolortheme{crane} | |||||
| \title[Presentación]{Título de la presentación demasiado extenso para desplegarse correctamente} | |||||
| \author[All]{Gerardo Marx, Homer J. Simpson, and Bart Simpson} | |||||
| \setbeamercovered{transparent} | |||||
| \begin{document} | |||||
| \maketitle{} | |||||
| \section{Agenda} | |||||
| \begin{frame}{Agenda} | |||||
| \tableofcontents | |||||
| \end{frame} | |||||
| \begin{frame}{Título} | |||||
| \center | |||||
| \includegraphics[width=2in]{example-image-a} | |||||
| \begin{itemize} | |||||
| \item Primer elemento: Algo de texto o descripción. | |||||
| \item Segundo elemento | |||||
| \end{itemize} | |||||
| \end{frame} | |||||
| \section{Columnas} | |||||
| \subsection{Test} | |||||
| \begin{frame} | |||||
| \frametitle{Columnas y divisiones} | |||||
| \begin{columns} | |||||
| \column{0.5\textwidth} | |||||
| \center | |||||
| \includegraphics[width=\textwidth]{example-image-b} | |||||
| \column{0.5\textwidth} | |||||
| En la siguiente ecuación: | |||||
| $$ E=mc^2$$ | |||||
| \end{columns} | |||||
| \end{frame} | |||||
| \begin{frame}{Overlays} | |||||
| \center | |||||
| \onslide<3>{ | |||||
| \includegraphics[width=2in]{example-image-a} | |||||
| } | |||||
| \begin{itemize} | |||||
| \item<1-> Primer elemento: Algo de texto o descripción. | |||||
| \item<2-> Segundo elemento | |||||
| \end{itemize} | |||||
| \end{frame} | |||||
| \begin{frame}{Overlays continuación} | |||||
| \begin{itemize} | |||||
| \item<1-> \textbf<2>{Primer elemento: Algo de texto o descripción.} | |||||
| \item<2-> Segundo elemento | |||||
| \item<3-> \textcolor<3>{red}{Tercer elemento} | |||||
| \end{itemize} | |||||
| \end{frame} | |||||
| \section{Blocks} | |||||
| \begin{frame}{Bloques} | |||||
| \begin{block}{Título del bloque} | |||||
| Contenido del bloque | |||||
| \end{block} | |||||
| \begin{alertblock}{Título del bloque} | |||||
| Contenido del bloque | |||||
| \end{alertblock} | |||||
| \begin{example} | |||||
| Contenido del bloque | |||||
| \end{example} | |||||
| \begin{definition} | |||||
| Contenido del bloque | |||||
| \end{definition} | |||||
| \end{frame} | |||||
| %-------------- | |||||
| \begin{frame}{bloques continuación...} | |||||
| \begin{theorem}[binomio] | |||||
| $(a+b)^2=a^2+2ab+b^2$ | |||||
| \end{theorem} | |||||
| \begin{corollary} | |||||
| $(a+b)^2=(b+a)^2$ | |||||
| \end{corollary} | |||||
| \begin{proof} | |||||
| $(a+b)^2=(a+b)(a+b)=...$ | |||||
| \end{proof} | |||||
| \end{frame} | |||||
| %------------- | |||||
| \begin{frame}[fragile] | |||||
| \begin{semiverbatim} | |||||
| \\begin | |||||
| for i=1:2:100 | |||||
| x[i]= | |||||
| \end{semiverbatim} | |||||
| Como se sugiere en \cite{key1} | |||||
| \end{frame} | |||||
| \section{Notas y subtítulos} | |||||
| \begin{frame} | |||||
| \frametitle{Título} | |||||
| \framesubtitle{Subtítulo} | |||||
| Esto es algo de texto en el frame\footnote{Un frame es una diapositiva} | |||||
| \end{frame} | |||||
| \section{Referencias} | |||||
| \begin{frame}{Referencias} | |||||
| \begin{thebibliography}{5} | |||||
| \setbeamertemplate{bibliography item}[text] | |||||
| \bibitem{key1} | |||||
| Homer J. Simpson, \textit{The Duh compilation} | |||||
| \setbeamertemplate{bibliography item}[online] | |||||
| \bibitem{key2} | |||||
| Gerardo Marx, \textit{My title} | |||||
| \setbeamertemplate{bibliography item}[article] | |||||
| \bibitem{key1} | |||||
| Homer J. Simpson, \textit{The Duh compilation} | |||||
| \setbeamertemplate{bibliography item}[book] | |||||
| \bibitem{key1} | |||||
| Homer J. Simpson, \textit{The Duh compilation} | |||||
| \setbeamertemplate{bibliography item}[triangle] | |||||
| \bibitem{key1} | |||||
| Homer J. Simpson, \textit{The Duh compilation} | |||||
| \end{thebibliography} | |||||
| \end{frame} | |||||
| \end{document} | |||||
| @ -0,0 +1,16 @@ | |||||
| \documentclass{techreports} | |||||
| \title{Título} | |||||
| \author{Gerardo Marx} | |||||
| \idnumber{01120294} | |||||
| \begin{document} | |||||
| \maketitle{} | |||||
| Hola | |||||
| \includegraphics{example-image-a} | |||||
| \end{document} | |||||
| @ -0,0 +1,55 @@ | |||||
| % Clase para reportes a nivel ingeniería | |||||
| % desarrollado por Gerardo Marx: | |||||
| \NeedsTeXFormat{LaTeX2e} | |||||
| \ProvidesClass{techreports}[2020/11/05 Technical Reports Class] | |||||
| %packages: | |||||
| \RequirePackage{graphicx} | |||||
| %options | |||||
| \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} | |||||
| \ProcessOptions\relax | |||||
| \LoadClass[onecolumn]{article} | |||||
| %%%%%%%%%%%%% | |||||
| %\ifx \title \undefined | |||||
| % \def\title#1{\def\@title{put title}} | |||||
| %\else | |||||
| % \def\title#1{\def\@title{#1}} | |||||
| %\fi | |||||
| %%%%%%%%%%%%%% | |||||
| \def\idnumber#1{\def\@idnumber{#1}} | |||||
| %commands | |||||
| \renewcommand{\maketitle}{ | |||||
| \begin{titlepage} | |||||
| %Headings | |||||
| \center | |||||
| \textsc{\LARGE \bfseries Instituto Tecnológico de Morelia}\\[0.5cm] | |||||
| \includegraphics[width=5cm]{logo}\\[1cm] | |||||
| \textsc{\Large División de Estudios Profesionales}\\[1cm] | |||||
| \textsc{\Large Departamento de Ingeniería Electrónica}\\[0.5cm] | |||||
| %Title | |||||
| \rule{\linewidth}{0.5mm}\\[0.4cm] | |||||
| {\Large \@title} | |||||
| \rule{\linewidth}{0.5mm}\\[1.2cm] | |||||
| %author | |||||
| \begin{flushleft} | |||||
| \emph{Alumno:}\\ | |||||
| \textsc{\@author} | |||||
| \emph{Número de Control:}\\ | |||||
| {\bfseries \@idnumber} | |||||
| \end{flushleft} | |||||
| {\large \today} | |||||
| \vfill % fill the rest of page with blank space | |||||
| \end{titlepage} | |||||
| } | |||||