summaryrefslogtreecommitdiff
path: root/info/examples/Math/04-20-6.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/Math/04-20-6.ltx')
-rw-r--r--info/examples/Math/04-20-6.ltx22
1 files changed, 9 insertions, 13 deletions
diff --git a/info/examples/Math/04-20-6.ltx b/info/examples/Math/04-20-6.ltx
index e9e092dcc9..ea29c3824f 100644
--- a/info/examples/Math/04-20-6.ltx
+++ b/info/examples/Math/04-20-6.ltx
@@ -1,35 +1,31 @@
%%
%% Ein Beispiel der DANTE-Edition
%% Mathematiksatz mit LaTeX
-%% 2. Auflage
-%%
-%% Beispiel 04-20-6 auf Seite 76.
-%%
-%% Copyright (C) 2012 Herbert Voss
+%% 3. Auflage
+%% Beispiel 04-20-6 auf Seite 75.
+%% Copyright (C) 2018 Herbert Voss
%%
%% It may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
-%%
%% See http://www.latex-project.org/lppl.txt for details.
%%
-%%
%% ====
% Show page(s) 1
%%
%%
-\documentclass[]{exaarticle}
+\documentclass[10pt]{screxa}
\pagestyle{empty}
\setlength\textwidth{352.81416pt}
\AtBeginDocument{\setlength\parindent{0pt}}
-\StartShownPreambleCommands
-\newcommand*\diff{\mathop{}\!\mathrm{d}}
-\StopShownPreambleCommands
+%StartShownPreambleCommands
+\newcommand*\diff[1][]{\mathop{}\!\mathrm{d}\if\relax\detokenize{#1}\relax\else^{#1}\mkern-1.4mu\fi}
+%StopShownPreambleCommands
\begin{document}
\[
-ay^\prime=a\frac{\diff y}{\diff x}
+ay^{\prime}=a\frac{\diff y}{\diff x}
\quad c\cdot v = c\,\frac{\diff s}{\diff t}
- \quad a = \frac{\diff{^2t}}{\diff{t^2}}
+ \quad a = \frac{\diff[2]t}{\diff[2]t}
\quad \int\!\!\diff y=\int\!\sin(x)\diff x
\]
\end{document}