| 1 |
% Any piece of code related to font selection in the following preamble |
| 2 |
% (document class, font package, font selection commands ...) should be |
| 3 |
% reported in `template.mp'. |
| 4 |
|
| 5 |
\documentclass[twoside,11pt]{article} |
| 6 |
\usepackage[T1]{fontenc} |
| 7 |
\usepackage{amsmath} |
| 8 |
\usepackage{amssymb} |
| 9 |
|
| 10 |
% Choose your favourite fonts combination (if available). |
| 11 |
% See "http://ctan.tug.org/tex-archive/info/Free_Math_Font_Survey". |
| 12 |
% |
| 13 |
%\usepackage{cmbright} % CM text & CM Bright math |
| 14 |
%\usepackage{ccfonts,eulervm} % Concrete text & Euler math |
| 15 |
%\usepackage{ccfonts} % Concrete text & math |
| 16 |
%\usepackage[math]{iwona} % Iwona text & math |
| 17 |
%\usepackage[math]{kurier} % Kurier text & math |
| 18 |
%\usepackage[math]{anttor} % Antykwa Torunska text & math |
| 19 |
%\usepackage{kmath,kerkis} % Kerkis text & math |
| 20 |
%\usepackage{fouriernc} % New Century Schoolbook & Fourier math |
| 21 |
%\usepackage{pxfonts} % Palatino & pxfonts math |
| 22 |
%\usepackage{mathpazo} % Palatino & Pazo math |
| 23 |
%\usepackage{mathpple} % Palatino & Euler math |
| 24 |
\usepackage[varg]{txfonts} % Times & txfonts math |
| 25 |
%\usepackage{mathtime} % Times & Belleek math |
| 26 |
%\usepackage{mathptmx} % Times & Symbol math |
| 27 |
%\usepackage{mbtimes} % Omega Serif text & Omega math |
| 28 |
%\usepackage{arev} % Arev Sans text with Arev math |
| 29 |
%\usepackage[charter]{mathdesign} % Bitstream Charter & Math Design math |
| 30 |
%\usepackage{comicsans} % Comic Sans text & math |
| 31 |
%\usepackage[garamond]{mathdesign} % Garamond & Math Design math |
| 32 |
%\usepackage{fourier} % Utopia & Fourier math |
| 33 |
%\usepackage[utopia]{mathdesign} % Utopia & Math Design math |
| 34 |
|
| 35 |
% Picture inclusion macro: \drv |
| 36 |
% |
| 37 |
% \drv includes a picture file in such a way that the baseline of the included |
| 38 |
% picture coincides with the baseline of the inclusion point. The code for \drv |
| 39 |
% was suggested by Josselin Noirel on the fr.comp.text.tex usenet group. |
| 40 |
|
| 41 |
\usepackage{graphicx} |
| 42 |
\makeatletter |
| 43 |
\def\Gin@def@bp#1\relax#2#3{\gdef#2{#3}} |
| 44 |
\newsavebox{\graphicsbox} |
| 45 |
\newcommand*{\drv}[1]{% |
| 46 |
\sbox{\graphicsbox}{\includegraphics{#1}}% |
| 47 |
\raisebox{\Gin@lly bp}% |
| 48 |
{\usebox{\graphicsbox}}} |
| 49 |
\makeatother |
| 50 |
|
| 51 |
\begin{document} |
| 52 |
\paragraph{First example} |
| 53 |
\begin{gather*} |
| 54 |
\drv{template.100} |
| 55 |
\end{gather*} |
| 56 |
\paragraph{Second example} |
| 57 |
\begin{gather*} |
| 58 |
\drv{template.110} |
| 59 |
\end{gather*} |
| 60 |
\end{document} |