summaryrefslogtreecommitdiff
path: root/info/examples/Math-E/03-06-2.ltx
blob: 6e216e96d73fb66e7ed9f4a1b8f105f6f0f3f38d (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
%% 
%%  An UIT Edition example
%% 
%%  Example 03-06-2 on page 27.
%% 
%%  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}
\setcounter{equation}{30}
\renewcommand\theequation{3.\arabic{equation}}\usepackage[english]{babel}
\setlength\parindent{0pt}
\setlength\parskip{1ex plus 0.2ex}
\StartShownPreambleCommands
\usepackage{calc}
\StopShownPreambleCommands
\begin{document}
Similar to inline mode, displayed formulae can be framed, but have to be \ldots
(This text is to illustrate the line width.)

\fbox{\parbox{\linewidth-2\fboxsep-2\fboxrule}{%
\begin{equation} f(x)=\int_1^{\infty}\frac{1}{x^2}\,\mathrm{d}x=1 \end{equation}}}
\end{document}