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

Spanish translation #133

Open
EthanDeng opened this issue Nov 16, 2020 · 3 comments
Open

Spanish translation #133

EthanDeng opened this issue Nov 16, 2020 · 3 comments

Comments

@EthanDeng
Copy link
Member

The following Spanish translation is provided by Gustavo A. Corradi, I will push to the dev version, It will be better if someone can provide an example.

\ifdefstring{\ELEGANT@lang}{es}{
  \RequirePackage[spanish]{babel}
  \setlength\parindent{2em}
  \newcommand\figref[1]{\textbf{Figura}~\ref{#1}}
  \newcommand\tabref[1]{\textbf{Tabla}~\ref{#1}}
  \renewcommand{\spanishchaptername}{Capítulo \thechapter}
  \newcommand{\authorname}{\textbf{Autor: }}
  \newcommand{\institutename}{\textbf{Instituto: }}
  \newcommand{\datename}{\textbf{Fecha: }}
  \newcommand{\versionname}{\textbf{Versión: }}
  \bibliographystyle{\ELEGANT@bibstyle}
  \newcommand{\notename}{Nota}
  \newcommand{\proofname}{Demostración}
  \newcommand{\problemname}{Problema}
  \newcommand{\definitionname}{Definición}
  \newcommand{\theoremname}{Teorema}
  \newcommand{\axiomname}{Axioma}
  \newcommand{\postulatename}{Postulado}
  \newcommand{\lemmaname}{Lema}
  \newcommand{\propositionname}{Proposición}
  \newcommand{\corollaryname}{Corolario}
  \newcommand{\examplename}{Ejemplo}
  \newcommand{\exercisename}{Ejercicio}
  \newcommand{\remarkname}{Comentario}
  \newcommand{\assumptionname}{Asunto}
  \newcommand{\conclusionname}{Conclusión}
  \newcommand{\solutionname}{Solución}
  \newcommand{\propertyname}{Propiedad}
  \newcommand{\introductionname}{Introducción}
  \newcommand{\problemsetname}{Ejercicio}
  \newcommand\bioinfo[2]{\gdef\@bioinfo{\textbf{#1}: #2}}
  \newcommand{\updatename}{Actualización:}
  \newcommand{\historyname}{Historial de versiones}
}{\relax}
@moshpirit
Copy link

How can we use "autores" (plural of "author") in the first page? I tried to add \newcommand{\authors}{\textbf{Autores: }} but it returns me some error.

@sikouhjw
Copy link
Contributor

sikouhjw commented Mar 8, 2021

How can we use "autores" (plural of "author") in the first page? I tried to add \newcommand{\authors}{\textbf{Autores: }} but it returns me some error.

If you ask questions separately, please open a new issue.

@moshpirit
Copy link

sure, sorry, BTW, the Spanish translation works great with me so far

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants