summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-02-27 22:45:28 +0000
committerKarl Berry <karl@freefriends.org>2015-02-27 22:45:28 +0000
commit1763513125c2b946a98a96c58651faed9c8f5634 (patch)
tree0b809d843f9a29eb2a94c42cff845f0b347a6065 /Master/texmf-dist/doc/latex/esami/esami-xyz.cfg
parent958e0067544a1527819ac2f103da0983a2792c8d (diff)
esami (27feb15)
git-svn-id: svn://tug.org/texlive/trunk@36393 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/esami/esami-xyz.cfg')
-rw-r--r--Master/texmf-dist/doc/latex/esami/esami-xyz.cfg49
1 files changed, 49 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg b/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg
index c7ed8b63de9..a9c42402732 100644
--- a/Master/texmf-dist/doc/latex/esami/esami-xyz.cfg
+++ b/Master/texmf-dist/doc/latex/esami/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 |