Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actualizaciones 2017 #1

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Trabajo Fin de Master.pdf
Binary file not shown.
Binary file removed Trabajo de Fin de Master.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions autocompilar.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash

command -v dnotify >/dev/null 2>&1 || { echo >&2 "Para utilizar este Script debe instalar el programa 'dnotify'. Pruebe con: 'sudo apt-get install dnotify'."; exit 1; }
command -v inotifywait >/dev/null 2>&1 || { echo >&2 "Para utilizar este Script debe instalar el programa 'inotifywait'. Pruebe con: 'sudo apt-get install inotify-tools'."; exit 1; }

while [ 1 ]
do
echo "Esperando modificaciones en su .tex ... [Presione Ctrl+C para parar la ejecucion]"

dnotify -Mso src .
inotifywait -e modify src/ .

echo "Recompilando... [Presione Cntrl+C para parar la ejecucion]"

Expand Down
8 changes: 4 additions & 4 deletions compilar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Compilar
echo -n $'Compilando... pdflatex (1/3)\r'
pdflatex -interaction=nonstopmode main.tex > /dev/null
pdflatex -interaction=nonstopmode --shell-escape main.tex > /dev/null

echo -n $'Compilando... bibtex\r'
bibtex main > /tmp/bibtex.log
Expand All @@ -11,11 +11,11 @@ echo -n $'Compilando... makeglossaries\r'
makeglossaries main > /tmp/makeglossaries.log

echo -n $'Compilando... pdflatex (2/3)\r'
pdflatex -interaction=nonstopmode main.tex > /dev/null
pdflatex -interaction=nonstopmode --shell-escape main.tex > /dev/null

echo -n $'Compilando... pdflatex (3/3)\r'
pdflatex -interaction=nonstopmode main.tex > /tmp/pdflatex.log
mv main.pdf "Trabajo de Fin de Master.pdf"
pdflatex -interaction=nonstopmode --shell-escape main.tex > /tmp/pdflatex.log
mv main.pdf "Trabajo Fin de Master.pdf"

# Limpiar archivos auxiliares
echo -n $'Limpiando...\r'
Expand Down
69 changes: 68 additions & 1 deletion definiciones.tex
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
\usepackage{float}
% Imágenes
\usepackage[pdftex]{graphicx}
% Figuras en formato .png, .ps, pdf o eps
\DeclareGraphicsExtensions{.png,.eps,.ps,.pdf}
% Mejora de las tablas
\usepackage{array}
% Mejora de los símbolos matemáticos
Expand All @@ -53,16 +55,45 @@
\usepackage{bookmark}
% Estilo de enumeraciones
\usepackage{enumitem}
\setitemize{itemsep=1pt}
\setitemize{topsep=0pt}
% Espacio entre líneas y párrafos
\usepackage{setspace}
% Glosario/Acrónimos
\usepackage[acronym]{glossaries}
\usepackage[toc,section=chapter,acronym]{glossaries}
% Fuentes
\usepackage[T1]{fontenc}
% Tablas con Multifila y Multicolumna
\usepackage{multirow}
% Bibliografía (Ordenacion, etc)
\usepackage{cite}
% Añadir el índice al índice del pdf
\usepackage{tocbibind}
% Code listings
\usepackage{listings}
\usepackage[newfloat]{minted}
\SetupFloatingEnvironment{listing}{name=Código}
\SetupFloatingEnvironment{listing}{listname=Índice de códigos}
%\renewcommand\listingscaption{Código}
\usemintedstyle{tango}
% http://tex.stackexchange.com/a/289964
\usepackage{morewrites}
% https://tex.stackexchange.com/a/38771
\usepackage{amsfonts}
% https://tex.stackexchange.com/a/101860
\usepackage[export]{adjustbox}% http://ctan.org/pkg/adjustbox
% Referencias inteligentes
\usepackage[capitalise,noabbrev,spanish]{cleveref}

\crefname{table}{tabla}{tablas}
\crefname{Table}{Tabla}{Tablas}
\crefname{section}{sección}{secciones}
\crefname{section}{Sección}{Secciones}

% https://tex.stackexchange.com/a/10540
\usepackage{tabularx}
% https://tex.stackexchange.com/a/89932
\newcolumntype{Y}{>{\centering\arraybackslash}X}

% Enlaces
\hypersetup{hidelinks,pageanchor=true,colorlinks,citecolor=Fuchsia,urlcolor=black,linkcolor=Cerulean}
Expand Down Expand Up @@ -171,3 +202,39 @@
\vspace{5mm}
\lstset{basicstyle=\ttfamily\footnotesize,#1}}
{\endminipage}


% caracteres de tick y cruz
\usepackage{pifont}% http://ctan.org/pkg/pifont
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
% para que una celda pueda ocupar varais filas en una tabla
\usepackage{multirow}


% evitar lineas viudas
\clubpenalty10000
\widowpenalty10000

% https://tex.stackexchange.com/a/19767
\usepackage{placeins} % FloatBarrier

\newtheorem{theorem}{Teorema}[section]
\newtheorem{corollary}{Corolario}[theorem]
\newtheorem{lemma}[theorem]{Lema}

% https://en.wikibooks.org/wiki/LaTeX/Glossary#Dual_entries_with_reference_to_a_glossary_entry_from_an_acronym
\usepackage{xparse}
\DeclareDocumentCommand{\newdualentry}{ O{} O{} m m m m } {
\newglossaryentry{gls-#3}{name={#5},text={#5\glsadd{#3}},
description={#6},#1
}
\makeglossaries
\newacronym[see={[Glossary:]{gls-#3}},#2]{#3}{#4}{#5\glsadd{gls-#3}}
}


% https://tex.stackexchange.com/a/41250
\usepackage{hyperref}
\usepackage{bookmark}

Binary file modified graphics/Logo_EPS.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified graphics/Logo_UAM.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified main.tex
100755 → 100644
Empty file.
Loading