texlive[51207] Master: unam-thesis (23may19)

commits+karl at tug.org commits+karl at tug.org
Thu May 23 22:59:51 CEST 2019


Revision: 51207
          http://tug.org/svn/texlive?view=revision&revision=51207
Author:   karl
Date:     2019-05-23 22:59:51 +0200 (Thu, 23 May 2019)
Log Message:
-----------
unam-thesis (23may19)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/unam-thesis/
    trunk/Master/texmf-dist/doc/latex/unam-thesis/README.md
    trunk/Master/texmf-dist/tex/latex/unam-thesis/
    trunk/Master/texmf-dist/tex/latex/unam-thesis/unam-thesis.cls
    trunk/Master/tlpkg/tlpsrc/unam-thesis.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/unam-thesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/unam-thesis/README.md	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/unam-thesis/README.md	2019-05-23 20:59:51 UTC (rev 51207)
@@ -0,0 +1,132 @@
+UNAM Class
+====================
+
+Class for creating dissertation documents according to the National Autonomous University of
+Mexico (UNAM) guidelines.
+
+This class inherits the book class, so, in escence one should create
+volumes, chapters, front chapters, appendixes, and so on. Before using
+this class the user must create the following document structure:
+
++ /working_directory/
+  + thesis.tex
+  + bibliography.bib
++ /tex/
+  + frontMatter.tex
+  + foreword.tex
+  + chapter1.tex
+  + chapterN.tex
+  + appendix1.tex
+  + appendixN.tex
++ /img/
+  + pictures{.png, .jpg, .pdf}
+
+Commands
+---------------------
+
+This class creates a cover page and title page from information
+provided by the user, by default the user should insert comands to
+indicate the information that will be displayed on the cover (which is
+replicated in the second page). To specify the author you must insert
+the command `\author{}`, to specify the title of the work the command
+`\title{}` is needed, for creating the cover page the following
+commands are defined:
+
++ `\tipotrabajo{tipo}`
+Defines the type of document: (thesis, report, etc).
++ `\grado{grado}`
+Defines the grade to obtain: (Bachelor, Master, PhD).
++ `\fechaexamen{fecha}` 
+Defines the date of your examination: (April 30th, 2019).
++ `\asesor{asesor}`
+Defines your advisor's name.
++ `\programaestudio{programa}`
++ `\campoconocimiento{conocimiento}`
++ `\campodisciplinario{disciplinario}`
++ `\instituto{instituto}`
++ `\facultad{facultad}`
++ `\universidad{universidad}`
++ `\escudouniversidad{escudoU}`
+Points to the path (relative to the /img/ directory) of your university coat-of-arms.
++ `\escudofacultad{escudoF}`
+Points to the path (relative to the /img/ directory) of your school coat-of-arms.
++ `\lugar{lugar}`
+Defines the place where your exam will be applied.
++ `\tema{tema}`
+Defines the topic of your work.
++ `\presidente{presidente}`
++ `\secretario{secretario}`
++ `\vocal{vocal}`
++ `\primersuplente{suplente1}`
++ `\segundosuplente{suplente2}`
+
+Example
+---------------------
+
+A minimal working example should have this structure:
+
+```
+\documentclass[12pt]{unam-thesis}
+
+%% Selección de la fuente a utilizar (modo texto y matemático)
+%\usepackage[cmintegrals, cmbraces]{newtxmath}
+%\usepackage{garamondx, ebgaramond-maths}
+%\usepackage{garamondx, mathdesign}
+\usepackage{garamondx} %% Fuente preferida (opcional)
+\usepackage[garamondx, cmintegrals, cmbraces]{newtxmath} %% Fuente preferida (opcional)
+%% Fin selección de la fuente
+
+\author{Nombre Apellidos}
+\title{Caracterización y mejora aerodinámica de un vehículo tipo ATV}
+\grado{Maestro en Ingeniería}
+\fechaexamen{2 de Mayo 2019}
+\tipotrabajo{Tesis}
+\asesor{Dr. Nombre Apellidos}
+\instituto{Instituto Donde Estudio}
+\facultad{Facultad de Ingeniería}
+\universidad{Universidad Nacional Autónoma de México}
+\lugar{Juriquilla, Querétaro}
+\programaestudio{Programa de Maestría y Doctorado en Ingeniería Mecánica}
+\campoconocimiento{Ingeniería automotriz}
+\campodisciplinario{Mecánica}
+
+\begin{document}
+\frontmatter
+\maketitle
+\tableofcontents
+\listoffigures
+
+\input{tex/prefacio}
+
+\mainmatter
+\input{tex/introduccion}
+\input{tex/marcoteorico}
+\input{tex/desarrollo}
+\input{tex/pruebas}
+\input{tex/resultados}
+\input{tex/conclusiones}
+
+\appendix
+\input{tex/programas}
+\input{tex/planos}
+\backmatter
+\printbibliography[heading=bibintoc]
+
+\end{document}
+```
+
+License
+---------------------
+
+unam-thesis is free software: you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+unam-thesis is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with unam-thesis. If not, see <https://www.gnu.org/licenses/>.
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/doc/latex/unam-thesis/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/unam-thesis/unam-thesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/unam-thesis/unam-thesis.cls	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/unam-thesis/unam-thesis.cls	2019-05-23 20:59:51 UTC (rev 51207)
@@ -0,0 +1,325 @@
+\ProvidesClass{unam}[2019/05/20 v0.5 Juan Camacho]
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
+\ProcessOptions\relax
+\ifx\pdfoutput\undefined
+   \LoadClass[dvips, letterpaper]{book}
+\else
+   \LoadClass[letterpaper]{book}
+\fi
+
+\usepackage[spanish,mexico]{babel}
+\usepackage{pslatex}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage[margin=2.5cm]{geometry}
+\usepackage{graphicx, amsmath, physics, subcaption, caption}
+\usepackage{multirow, booktabs, xcolor, longtable, pdfpages}
+\usepackage{setspace}
+\renewcommand{\baselinestretch}{1.3}
+\renewcommand{\arraystretch}{1.3}
+\graphicspath{{./img/}}
+\usepackage[tracking=true]{microtype}
+\usepackage[backend=biber,style=phys,citestyle=numeric]{biblatex}
+\DeclareLanguageMapping{spanish}{spanish-apa}
+\usepackage{csquotes}
+\addbibresource{bibliografia.bib}
+\usepackage{listingsutf8}
+\usepackage{inconsolata}
+
+%% Derivada material
+\newcommand{\mdv}[2]{\frac{\mathrm{\textbf{D}{#1}}}{\mathrm{\textbf{D}{#2}}}}
+
+%% Selección de fuente para fragmentos de código
+\everymath{\displaystyle}
+\lstset{
+  language=Java, 
+  frameround=fttt,
+  backgroundcolor=\color{gray!5},
+  numbers=left,
+  breaklines=true,
+  keywordstyle=\color{blue}\bfseries, 
+  basicstyle=\ttfamily\color{red},
+  numberstyle=\color{black},
+  tabsize=2,
+  rulecolor=\color{black!20},
+  title=\lstname,
+  escapeinside={\'*}{*)},
+  breakatwhitespace=true,
+  framextopmargin=2pt,
+  framexbottommargin=2pt,
+  extendedchars=false,    
+}
+\lstMakeShortInline[columns=fixed]|
+
+%% Definición de las cabeceras del documento
+\usepackage{fancyhdr}
+\fancypagestyle{unam}{
+  \fancyhead{}
+  \fancyhead[RO]{\if at mainmatter \rightmark\fi}
+  \fancyhead[LE]{\if at mainmatter \rightmark\fi}
+  \fancyhead[C]{\if at mainmatter \leftmark\fi}
+  \fancyfoot{}
+  \fancyfoot[C]{\thepage}
+}
+
+\pagestyle{unam}
+\renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{#1}}{}}
+\renewcommand{\headrulewidth}{1pt}
+\setlength{\headheight}{16pt}
+
+%% Modificación del título de los capítulos
+\usepackage{titlesec}
+%\usepackage{lettrine}
+\def\thickhrulefill{\leavevmode \leaders \hrule height 0.3ex \hfill \kern \z@}
+
+\titleformat{\chapter}[display]
+{\if at mainmatter 
+  \bfseries\LARGE 
+\else 
+  \bfseries\Huge
+\fi}
+{\if at mainmatter
+  \filright\MakeUppercase{\large\chaptertitlename}
+  \quad\Huge\thechapter\;\thickhrulefill
+\fi}
+{0ex}
+{\if at mainmatter
+  \filleft
+\fi}
+[\if at mainmatter
+\vspace{1ex}\titlerule\vspace{0.5ex}\titlerule
+\fi]
+
+\renewcommand*{\lstlistingname}{Código}
+\renewcommand*{\lstlistlistingname}{Índice de códigos}
+%\usepackage[colorlinks=true,pdfusetitle]{hyperref}
+\usepackage[pdfusetitle,hidelinks]{hyperref}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Definición de la portada %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewcommand{\thepage}{\roman{page}}
+
+% Establece las variables que serán utilizadas en la portada
+\newcommand{\@tipotrabajo}{}
+\newcommand{\tipotrabajo}[1]{\renewcommand{\@tipotrabajo}{#1}}
+
+\newcommand{\@grado}{}
+\newcommand{\grado}[1]{\renewcommand{\@grado}{#1}}
+
+\newcommand{\@fechaexamen}{}
+\newcommand{\fechaexamen}[1]{\renewcommand{\@fechaexamen}{#1}}
+
+\newcommand{\@asesor}{}
+\newcommand{\asesor}[1]{\renewcommand{\@asesor}{#1}}
+
+\newcommand{\@programaestudio}{}
+\newcommand{\programaestudio}[1]{\renewcommand{\@programaestudio}{#1}}
+
+\newcommand{\@campoconocimiento}{}
+\newcommand{\campoconocimiento}[1]{\renewcommand{\@campoconocimiento}{#1}}
+
+\newcommand{\@campodisciplinario}{}
+\newcommand{\campodisciplinario}[1]{\renewcommand{\@campodisciplinario}{#1}}
+
+\newcommand{\@instituto}{}
+\newcommand{\instituto}[1]{\renewcommand{\@instituto}{#1}}
+
+\newcommand{\@facultad}{}
+\newcommand{\facultad}[1]{\renewcommand{\@facultad}{#1}}
+
+\newcommand{\@universidad}{}
+\newcommand{\universidad}[1]{\renewcommand{\@universidad}{#1}}
+
+\newcommand{\@escudouniversidad}{}
+\newcommand{\escudouniversidad}[1]{\renewcommand{\@escudouniversidad}{#1}}
+
+\newcommand{\@escudofacultad}{}
+\newcommand{\escudofacultad}[1]{\renewcommand{\@escudofacultad}{#1}}
+
+\newcommand{\@lugar}{}
+\newcommand{\lugar}[1]{\renewcommand{\@lugar}{#1}}
+
+\newcommand{\@tema}{}
+\newcommand{\tema}[1]{\renewcommand{\@tema}{#1}}
+
+\newcommand{\@presidente}{}
+\newcommand{\presidente}[1]{\renewcommand{\@presidente}{#1}}
+
+\newcommand{\@secretario}{}
+\newcommand{\secretario}[1]{\renewcommand{\@secretario}{#1}}
+
+\newcommand{\@vocal}{}
+\newcommand{\vocal}[1]{\renewcommand{\@vocal}{#1}}
+
+\newcommand{\@primersuplente}{}
+\newcommand{\primersuplente}[1]{\renewcommand{\@primersuplente}{#1}}
+
+\newcommand{\@segundosuplente}{}
+\newcommand{\segundosuplente}[1]{\renewcommand{\@segundosuplente}{#1}}
+
+% Insertamos metadatos en el PDF
+\hypersetup{
+  pdfinfo={
+    Producer={LaTeX with 'unam' class by Juan Camacho}
+  }
+}
+
+% Las páginas iniciales del libro estarán a una sola columna.
+\newenvironment{unacolumna}{%
+  \@restonecolfalse
+  \if at twocolumn
+     \@restonecoltrue\onecolumn
+  \else
+     \newpage
+  \fi
+}{%
+  \if at restonecol
+     \twocolumn
+  \else
+     \newpage
+  \fi
+}
+
+\renewcommand{\maketitle}{%
+  \begin{unacolumna}
+    \thispagestyle{empty}
+    \begin{minipage}[c][\textheight][c]{.2\textwidth}
+      \centering
+      \includegraphics[width=.8\linewidth]{unam}
+
+      \vspace{5pt}
+
+      \rule{3pt}{.75\textheight} 
+      \hspace{1pt} \rule{1pt}{.75\textheight}
+      \hspace{1pt} \rule{3pt}{.75\textheight}
+
+      \vfill
+
+      \includegraphics[width=.8\linewidth]{ingenieria}
+    \end{minipage}
+    \begin{minipage}[c][\textheight][c]{.8\textwidth}
+      \centering
+      {\Large \expandafter\MakeUppercase\expandafter{\@universidad}}\\
+
+      \rule{\textwidth}{3pt} 
+      \vspace{2pt}
+      \rule{\textwidth}{1pt}
+
+      \vspace{5pt}
+
+      {\large \expandafter\MakeUppercase\expandafter{\@instituto}}\\
+      {\large \expandafter\MakeUppercase\expandafter{\@facultad}}
+
+      \vfill
+
+      {\Large \expandafter\MakeUppercase\expandafter{\@title}}
+
+      \vfill
+
+      \textls[1000]{\huge
+        \expandafter\MakeUppercase\expandafter{\@tipotrabajo}}\\
+      {QUE PARA OBTENER EL GRADO DE}\\
+      {\expandafter\MakeUppercase\expandafter{{\@grado}}}
+
+      \vfill
+
+      PRESENTA:\\
+      \textbf{\expandafter\MakeUppercase\expandafter{\@author}}
+
+      \vfill
+
+      {\small DIRECTOR DE
+        \expandafter\MakeUppercase\expandafter{\@tipotrabajo}}\\
+      \expandafter\MakeUppercase\expandafter{\@asesor}
+
+      \vfill
+
+      \flushright
+      \expandafter\MakeUppercase\expandafter{\@lugar}
+      {. }\expandafter\MakeUppercase\expandafter{\@fechaexamen}
+    \end{minipage}
+
+    \newpage
+    \thispagestyle{empty}
+    \begin{center}
+      \includegraphics[width=0.2\linewidth]{unam}
+
+      \textbf{\large  \expandafter\MakeUppercase\expandafter{\@universidad}}
+
+       \expandafter\MakeUppercase\expandafter{\@programaestudio}
+
+       \expandafter\MakeUppercase\expandafter{\@campoconocimiento}
+       { - }\expandafter\MakeUppercase\expandafter{\@campodisciplinario}
+
+      \vfill
+
+      \expandafter\MakeUppercase\expandafter{\@title}
+
+      \vfill
+
+      \expandafter\MakeUppercase\expandafter{\@tipotrabajo}\\
+      {QUE PARA OPTAR POR EL GRADO DE:}\\
+      \expandafter\MakeUppercase\expandafter{\@grado}
+
+      \vfill
+
+      {PRESENTA:}\\
+      \expandafter\MakeUppercase\expandafter{\@author}
+
+
+      \vfill
+
+      {TUTOR PRINCIPAL:}\\
+      \expandafter\MakeUppercase\expandafter{\@asesor}
+
+      \vfill
+
+      \expandafter\MakeUppercase\expandafter{\@lugar}{. }
+      \expandafter\MakeUppercase\expandafter{\@fechaexamen}
+
+      \newpage
+
+      \flushleft\large
+
+      \vspace{10pt}
+
+      \textbf{\Large JURADO ASIGNADO:}
+
+      \vfill
+
+      PRESIDENTE: \expandafter\MakeUppercase\expandafter{\@presidente}
+
+      SECRETARIO: \expandafter\MakeUppercase\expandafter{\@secretario}
+
+      VOCAL: \expandafter\MakeUppercase\expandafter{\@vocal}
+
+      1$^{er.}$ SUPLENTE: \expandafter\MakeUppercase\expandafter{\@primersuplente}
+
+      2$^{do.}$ SUPLENTE: \expandafter\MakeUppercase\expandafter{\@segundosuplente}
+
+      \vfill
+
+
+      LUGAR O LUGARES DONDE SE REALIZÓ LA TESIS: 
+      \expandafter\MakeUppercase\expandafter{\@lugar}{. }
+
+
+      \vfill
+
+      \centering
+
+      \textbf{TUTOR DE TESIS:}
+
+      \expandafter\MakeUppercase\expandafter{\@asesor}
+
+      \vfill
+
+      \rule{.3\textwidth}{2pt}
+
+      FIRMA
+      
+  \end{center}
+  \end{unacolumna}
+}
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/latex/unam-thesis/unam-thesis.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-05-23 20:58:23 UTC (rev 51206)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2019-05-23 20:59:51 UTC (rev 51207)
@@ -710,7 +710,7 @@
     ukrhyph ulem ulqda ulthese
     umbclegislation umich-thesis uml umlaute umoline
     umthesis umtypewriter
-    unamth-template unamthesis
+    unam-thesis unamth-template unamthesis
     undergradmath underlin underoverlap underscore undolabl
     unfonts-core unfonts-extra
     uni-wtal-ger uni-wtal-lin unicode-data unicode-bidi unicode-math unisugar

Modified: trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc	2019-05-23 20:58:23 UTC (rev 51206)
+++ trunk/Master/tlpkg/tlpsrc/collection-publishers.tlpsrc	2019-05-23 20:59:51 UTC (rev 51207)
@@ -199,6 +199,7 @@
 depend umbclegislation
 depend umthesis
 depend umich-thesis
+depend unam-thesis
 depend unamth-template
 depend unamthesis
 depend unitn-bimrep

Added: trunk/Master/tlpkg/tlpsrc/unam-thesis.tlpsrc
===================================================================


More information about the tex-live-commits mailing list