-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.tex
79 lines (59 loc) · 2.49 KB
/
example.tex
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
% Adjust comments according to the version you want to produce.
\input{unset-accessibility.tex}
%\input{set-accessibility.tex}
%%%%%%%%%%%%%%%%%%%%%%%%
% %
% Usual latex file now % (except for figure inclusion, see below,
% % and after begin document).
%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\begin{document}
%% This will make math stuff bold if needed.
\HandleMathMode
%% Title page
\thispagestyle{empty}
\vfill
\hrule
\vspace{20mm}
\centerline{\Huge \sc \LaTeX\ accessibility example}
\vspace{20mm}
\hrule
\vspace{10mm}
\centerline{\hfill Last revision: \today}
\vfill
\strut
\pagebreak
%% Content
\chapter{Text and figures}
%% dummy text... Edgar Poe indeed.
At Paris, just after dark one gusty evening in the autumn of 18-, I was
enjoying the twofold luxury of meditation and a meerschaum, in company
with my friend C. Auguste Dupin, in his little back library, or
book-closet, au troisiême, No. 33, Rue Dunôt, Faubourg St. Germain. For
one hour at least we had maintained a profound silence; while each, to
any casual observer, might have seemed intently and exclusively occupied
with the curling eddies of smoke that oppressed the atmosphere of the
chamber. For myself, however, I was mentally discussing certain topics
which had formed matter for conversation between us at an earlier period
of the evening; I mean the affair of the Rue Morgue, and the mystery
attending the murder of Marie Rogêt. I looked upon it, therefore, as
something of a coincidence, when the door of our apartment was thrown
open and admitted our old acquaintance, Monsieur G--, the Prefect of the
Parisian police.
\begin{equation}
\sum_{i=1}^n \xi^2 \neq \int_0^1 x^{\xi+1}
\end{equation}
We gave him a hearty welcome; for there was nearly half as much of the
entertaining as of the contemptible about the man, and we had not seen
him for several years. We had been sitting in the dark, and Dupin now
arose for the purpose of lighting a lamp, but sat down again, without
doing so, upon G.'s saying that he had called to consult us, or rather
to ask the opinion of my friend, about some official business which had
occasioned a great deal of trouble.
%% We provide a command for single-image figure that handles the display.
\begin{figure}[htbp]
\centerline{\IncludeGraphics{height=5cm}{EdgarAllanPoe.jpg}} % instead of \includegraphics[...]{...}
\caption{This is how the figure displays... this is Edgar Allan Poe.\label{fig:example}}
\end{figure}
\end{document}