summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/math-e/10-07-6.ltx
blob: 0bd8a52344288b626db120811055a14fec5a8d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
%% 
%%  An UIT Edition example
%% 
%%  Example 10-07-6 on page 213.
%% 
%%  Copyright (C) 2010 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}
\pagestyle{empty}
\setlength\textwidth{375.57637pt}
\usepackage[utf8]{inputenc}
\AtBeginDocument{\setlength\parindent{0pt}}
\setcounter{equation}{14}
\renewcommand\theequation{10.\arabic{equation}}
\StartShownPreambleCommands
\usepackage{amsmath}
\makeatletter
\@fleqntrue\let\old@mathmargin=\@mathmargin\@mathmargin=-1sp
\let\oldmathindent=\mathindent\let\mathindent=\@mathmargin
\newsavebox{\myendhook}     % for the tables
\def\tagform@#1{{(\maketag@@@{\ignorespaces#1\unskip\@@italiccorr)}
  \makebox[0pt][r]{%        % aligned after the line number
    \makebox[0.5\textwidth][l]{\usebox{\myendhook}}}%
  \global\sbox{\myendhook}{}% empty box
}}
\makeatother
\StopShownPreambleCommands
\begin{document}
\sbox{\myendhook}{\footnotesize% save table
\begin{tabular}{@{}ll}
  $a_0$  & Bohr radius ($\mathrm{= 0{,}53\,\mbox{\AA}}$)\\
  $e$    & elementary charge\\
$N_{si}$ & number of silicium atoms\\
         & per unit volume\\
     $m$ & atom mass\\
     $Z$ & atomic number
\end{tabular}}
%
\begin{equation}
\varepsilon = \frac{E\times 4\times\pi\times \varepsilon_{0}
    \times a_0 \times \left( Z_i^{\frac{2}{3}} + Z_{Si}^{\frac{2}{3}}
    \right)^{-\frac{1}{2}}} {Z_i\times Z_{Si}\times e^2\times\left(1+
    \frac{m_i}{m_{Si}}\right)}\,;
\end{equation}
%
\sbox{\myendhook}{abc}
\begin{equation} a^2+b^2 = c^2 \end{equation}
\begin{equation} z = 9 \end{equation}
\end{document}