From 07fac38a6c23b0152722f231b9ff61c594b93ba7 Mon Sep 17 00:00:00 2001 From: MacAir Marx Date: Thu, 10 Jan 2019 14:43:55 -0600 Subject: [PATCH] Decimal dot for spanish version --- Chapters/Chapter02.tex | 3 +++ itmthesis.cls | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Chapters/Chapter02.tex b/Chapters/Chapter02.tex index ba3d77c..ace43bf 100644 --- a/Chapters/Chapter02.tex +++ b/Chapters/Chapter02.tex @@ -38,3 +38,6 @@ Agregar la cantidad de capítulos que se requieran. En la \autoref{fig:A} se mue \caption{Using \texttt{subfigures} package.} \label{fig:subFigures} \end{figure} + + +Las cantidades usan comas y punto decimal correctamente para México. Es decir 1,526.00, aparece correctamente tanto como texto, como ecuación $1,526.00$, cuando se agrega el comando \texttt{decimalpoint} en la configuración; test. \ No newline at end of file diff --git a/itmthesis.cls b/itmthesis.cls index 244a29c..b9c00ad 100644 --- a/itmthesis.cls +++ b/itmthesis.cls @@ -97,7 +97,7 @@ \ifthenelse{\boolean{@spanish}}%test { %then clause \@ifpackageloaded{babel} - {\relax}{\RequirePackage[es-tabla,spanish]{babel}}% + {\relax}{\RequirePackage[es-tabla,spanish,es-nodecimaldot]{babel}}% } {\relax}% else clause %3.2.3 Listing related stuff