summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/esami/doc/examples/esami-xyz.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/esami/doc/examples/esami-xyz.cfg')
-rw-r--r--Master/texmf-dist/doc/latex/esami/doc/examples/esami-xyz.cfg49
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/esami/doc/examples/esami-xyz.cfg b/Master/texmf-dist/doc/latex/esami/doc/examples/esami-xyz.cfg
index c7ed8b63de9..a9c42402732 100644
--- a/Master/texmf-dist/doc/latex/esami/doc/examples/esami-xyz.cfg
+++ b/Master/texmf-dist/doc/latex/esami/doc/examples/esami-xyz.cfg
@@ -14,6 +14,55 @@
%% License, or (at your option) any later version. %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% other packages
+\AtEndOfPackage{
+\usepackage{ifxetex}%%NUOVO
+\usepackage{ifluatex}%%%NUOVO
+\usepackage{amsmath}
+%========================================================%
+% Some shortcuts and Italian maths %
+%========================================================%
+
+\DeclareMathOperator{\sen}{sen}
+\DeclareMathOperator{\tg}{tg}
+\DeclareMathOperator{\arcsen}{arcsen}
+\DeclareMathOperator{\arctg}{arctg}
+\providecommand*{\dif}{\mathop{}\!\mathrm{d}}
+\providecommand{\dlim}{\displaystyle \lim}
+\providecommand{\me}{\mathrm{e}}
+\providecommand{\D}{\displaystyle}
+
+\newenvironment{sistema}{%%% Taken from somewhere in GUIT forum to write equations systems
+\left\lbrace\begin{array}{@{}l@{}}}%
+ {\end{array}\right.%
+ }
+
+\DeclareRobustCommand{\annu}[2]{_{%%% the annuity command
+ \def\arraystretch{0}
+ \setlength\arraycolsep{1pt}
+\setlength\arrayrulewidth{.2pt}
+\begin{array}[b]{c c}
+ \setlength\arraycolsep{1.5pt}
+ \begin{array}
+ [b]{r|}\hline
+ \\[\arraycolsep]
+ \scriptstyle #1
+ \end{array}&\scriptstyle#2%
+\end{array}%
+}}
+
+\newcommand{\vect}[1]{\boldsymbol{#1}}
+
+%%% We prefer var greek math %%%
+
+\newcommand{\eps}{\varepsilon}
+\newcommand{\oldtheta}{\theta} \renewcommand{\theta}{\vartheta}
+\newcommand{\oldepsilon}{\epsilon} \renewcommand{\epsilon}{\varepsilon}
+\newcommand{\oldrho}{\rho} \renewcommand{\rho}{\varrho}
+\newcommand{\oldphi}{\phi} \renewcommand{\phi}{\varphi}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%
+}
% +=============================+
% | THE HEADING |