mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 12:24:36 +08:00
Add portuguese translation
This commit is contained in:
@@ -46,6 +46,7 @@
|
|||||||
\DeclareVoidOption{en}{\ekv{lang=en}}
|
\DeclareVoidOption{en}{\ekv{lang=en}}
|
||||||
\DeclareVoidOption{cn}{\ekv{lang=cn}}
|
\DeclareVoidOption{cn}{\ekv{lang=cn}}
|
||||||
\DeclareVoidOption{it}{\ekv{lang=it}}
|
\DeclareVoidOption{it}{\ekv{lang=it}}
|
||||||
|
\DeclareVoidOption{pt}{\ekv{lang=pt}}
|
||||||
|
|
||||||
\DeclareVoidOption{fancy}{\ekv{mode=fancy}}
|
\DeclareVoidOption{fancy}{\ekv{mode=fancy}}
|
||||||
\DeclareVoidOption{simple}{\ekv{mode=simple}}
|
\DeclareVoidOption{simple}{\ekv{mode=simple}}
|
||||||
@@ -682,6 +683,40 @@
|
|||||||
\newcommand{\historyname}{Хувилбарын түүх}
|
\newcommand{\historyname}{Хувилбарын түүх}
|
||||||
}{\relax}
|
}{\relax}
|
||||||
|
|
||||||
|
\ifdefstring{\ELEGANT@lang}{pt}{
|
||||||
|
\RequirePackage[portuguese]{babel}
|
||||||
|
\setlength\parindent{2em}
|
||||||
|
\newcommand\figref[1]{\textbf{Figura}~\ref{#1}}
|
||||||
|
\newcommand\tabref[1]{\textbf{Tabela}~\ref{#1}}
|
||||||
|
\renewcommand{\spanishchaptername}{Capítulo \thechapter}
|
||||||
|
\newcommand{\authorname}{\textbf{Autor: }}
|
||||||
|
\newcommand{\institutename}{\textbf{Instituição: }}
|
||||||
|
\newcommand{\datename}{\textbf{Data: }}
|
||||||
|
\newcommand{\versionname}{\textbf{Versão: }}
|
||||||
|
\newcommand{\notename}{Observação}
|
||||||
|
\newcommand{\proofname}{Demostração}
|
||||||
|
\newcommand{\problemname}{Problema}
|
||||||
|
\newcommand{\definitionname}{Definição}
|
||||||
|
\newcommand{\theoremname}{Teorema}
|
||||||
|
\newcommand{\axiomname}{Axioma}
|
||||||
|
\newcommand{\postulatename}{Postulado}
|
||||||
|
\newcommand{\lemmaname}{Lema}
|
||||||
|
\newcommand{\propositionname}{Proposição}
|
||||||
|
\newcommand{\corollaryname}{Corolário}
|
||||||
|
\newcommand{\examplename}{Exemplo}
|
||||||
|
\newcommand{\exercisename}{Exercício}
|
||||||
|
\newcommand{\remarkname}{Comentário}
|
||||||
|
\newcommand{\assumptionname}{Assunto}
|
||||||
|
\newcommand{\conclusionname}{Conclusão}
|
||||||
|
\newcommand{\solutionname}{Soluções}
|
||||||
|
\newcommand{\propertyname}{Propiedade}
|
||||||
|
\newcommand{\introductionname}{Introdução}
|
||||||
|
\newcommand{\problemsetname}{Questão}
|
||||||
|
\newcommand\bioinfo[2]{\gdef\@bioinfo{\textbf{#1}: #2}}
|
||||||
|
\newcommand{\updatename}{Atualização: }
|
||||||
|
\newcommand{\historyname}{Histórico de versões}
|
||||||
|
}{\relax}
|
||||||
|
|
||||||
\graphicspath{{./figure/}{./figures/}{./image/}{./images/}{./graphics/}{./graphic/}{./pictures/}{./picture/}}
|
\graphicspath{{./figure/}{./figures/}{./image/}{./images/}{./graphics/}{./graphic/}{./pictures/}{./picture/}}
|
||||||
|
|
||||||
\RequirePackage{tikz} %% load tikz without tikz
|
\RequirePackage{tikz} %% load tikz without tikz
|
||||||
|
|||||||
Reference in New Issue
Block a user