| 1 |
% drsetup.tex |
| 2 |
% |
| 3 |
% Some definitions for desc-tex2 |
| 4 |
% |
| 5 |
% D. Roegel, ([email protected]) 15 January 1995 |
| 6 |
% |
| 7 |
% Don't modify this file, but the file mysetup.tex, |
| 8 |
% which is loaded at the end of this file. |
| 9 |
% ================================================ |
| 10 |
% |
| 11 |
% |
| 12 |
\newif\ifDR |
| 13 |
% Uncomment this ONLY if you are the author |
| 14 |
% |
| 15 |
%\DRtrue |
| 16 |
% |
| 17 |
\hsize=10in |
| 18 |
\vsize=7.5in |
| 19 |
\parindent=20pt |
| 20 |
% This can probably be removed: |
| 21 |
\hoffset=-0.8in |
| 22 |
\voffset=-0.8in |
| 23 |
% |
| 24 |
\nopagenumbers |
| 25 |
% |
| 26 |
% english \today |
| 27 |
\def\today{\ifcase\month\or |
| 28 |
January\or February\or March\or April\or May\or June\or |
| 29 |
July\or August\or September\or October\or November\or December\fi |
| 30 |
\space\number\day, \number\year} |
| 31 |
% |
| 32 |
% This is for the frenchmen... (and includes french definition of \today) |
| 33 |
\ifDR |
| 34 |
\input french.sty |
| 35 |
\fi |
| 36 |
% |
| 37 |
% The tree macros: must be loaded after french.sty, *if* french.sty |
| 38 |
% is loaded, otherwise some things won't work |
| 39 |
% (the test for the \tree and \subtree arguments won't work |
| 40 |
% because they are not `catcode-independant' and french.sty changes |
| 41 |
% some key catcodes) |
| 42 |
% |
| 43 |
\input drtree |
| 44 |
% |
| 45 |
% The credits: |
| 46 |
% (put your favorite text here) |
| 47 |
\def\credits{\vbox{\hsize15cm\noindent |
| 48 |
This tree was made on \today\ by ******* with |
| 49 |
the {\tt Lifelines} program (from T.~Wetmore), the \TeX\ |
| 50 |
text processor (from D.~Knuth), |
| 51 |
\TeX\ commands for trees (from D.~Eppstein), |
| 52 |
\TeX\ commands for posters (from T. Van Zandt) |
| 53 |
and a program by E.~Majani completed by D.~Roegel.\par |
| 54 |
It may contain mistakes or omissions and I please |
| 55 |
those who would notice some to signal them to me at the |
| 56 |
following address:\par |
| 57 |
\noindent$\underline{\hbox{\tt **, |
| 58 |
**, |
| 59 |
**, |
| 60 |
USA}}$}} |
| 61 |
\ifDR |
| 62 |
\def\credits{\vbox{\hsize15cm\noindent |
| 63 |
Cet arbre a \'et\'e r\'ealis\'e le \today\ |
| 64 |
par Denis Roegel \`a l'aide du logiciel {\tt Lifelines} |
| 65 |
(de T.~Wetmore), du formatteur \TeX\ (de D.~Knuth), de |
| 66 |
commandes \TeX\ de r\'ealisation d'arbres (de D.~Eppstein), |
| 67 |
de commandes \TeX\ de d\'ecoupage (de T. Van Zandt) |
| 68 |
et d'un programme de E.~Majani compl\'et\'e par moi-m\^eme.\par |
| 69 |
Il peut comporter des erreurs ou des omissions et je prie |
| 70 |
ceux qui en rel\`everaient de me les signaler \`a l'adresse |
| 71 |
suivante:\par |
| 72 |
\noindent$\underline{\hbox{\tt Denis Roegel, |
| 73 |
7 rue de la fonderie, |
| 74 |
67400 ILLKIRCH-GRAFFENSTADEN}}$}} |
| 75 |
\fi |
| 76 |
% |
| 77 |
%--------------------------------------------------------------------------- |
| 78 |
% Title of the tree |
| 79 |
% |
| 80 |
% The title is centered above the tree |
| 81 |
% You can change the title fonts here. |
| 82 |
% You may also change the title text in the report produced. |
| 83 |
% |
| 84 |
%--------------------------------------------------------------------------- |
| 85 |
\font\titlefont=cmbx12 scaled 4300 |
| 86 |
\font\subtitlefont=cmbx10 scaled \magstep5 |
| 87 |
\ifDR % this is for the author only |
| 88 |
\def\title#1#2#3#4#5{% #1 = name of the ancestor |
| 89 |
% #2 = birth date |
| 90 |
% #3 = death date |
| 91 |
% #4 = number of generations (children=only one generation) |
| 92 |
% #5 = total width of the tree |
| 93 |
\hbox to#5{\hss\hbox{\titlefont Descendance de #1}\hss} |
| 94 |
\kern1cm |
| 95 |
\hbox to#5{\hss\hbox{\titlefont (#2 -- #3)}\hss} |
| 96 |
\kern1cm |
| 97 |
\hbox to#5{\hss\hbox{\subtitlefont(#4 g\'en\'erations)}\hss} |
| 98 |
} |
| 99 |
\else |
| 100 |
\def\title#1#2#3#4#5{% #1 = name of the ancestor |
| 101 |
% #2 = birth date |
| 102 |
% #3 = death date |
| 103 |
% #4 = number of generations (children=only one generation) |
| 104 |
% #5 = total width of the tree |
| 105 |
\hbox to#5{\hss\hbox{\titlefont Descendance of #1}\hss} |
| 106 |
\kern1cm |
| 107 |
\hbox to#5{\hss\hbox{\titlefont (#2 -- #3)}\hss} |
| 108 |
\kern1cm |
| 109 |
\hbox to#5{\hss\hbox{\subtitlefont(#4 generations)}\hss} |
| 110 |
} |
| 111 |
\fi |
| 112 |
%--------------------------------------------------------------------------- |
| 113 |
% Special fonts |
| 114 |
%--------------------------------------------------------------------------- |
| 115 |
\font\descfont=cmssbx10 % descendants |
| 116 |
\font\spousefont=cmss10 % spouses |
| 117 |
\font\occufont=cmssi10 % occupations |
| 118 |
\font\datefont=cmss8 % dates |
| 119 |
\font\placefont=cmss8 % places |
| 120 |
%--------------------------------------------------------------------------- |
| 121 |
% Various formatting things: |
| 122 |
\def\spouse#1{\spousefont#1} |
| 123 |
% Formatting of the occupation: |
| 124 |
\def\occupation#1{{\setbox0=\hbox{\occufont#1}% |
| 125 |
\ifdim\wd0>5cm |
| 126 |
\vbox{\hsize5cm\pretolerance10000 |
| 127 |
\raggedright\noindent\occufont#1\endgraf}% |
| 128 |
\else |
| 129 |
{\occufont#1}% |
| 130 |
\fi |
| 131 |
}} |
| 132 |
% Separation line in the boxes: |
| 133 |
\def\sepline{\noalign{\kern2pt\hrule\kern2pt}} |
| 134 |
%--------------------------------------------------------------------------- |
| 135 |
% Tags |
| 136 |
%--------------------------------------------------------------------------- |
| 137 |
% birth tag: |
| 138 |
%\def\btag{N:} |
| 139 |
\def\btag{$\circ$} |
| 140 |
% baptism tag: |
| 141 |
%\def\bapttag{B:} |
| 142 |
\def\bapttag{{\datefont bp:}} |
| 143 |
% marriage tag: |
| 144 |
%\def\mtag{M:} |
| 145 |
\def\mtag{$\mathord{\scriptstyle\bigcirc\mskip-10mu\bigcirc}$} |
| 146 |
% death tag: |
| 147 |
%\def\dtag{D:} |
| 148 |
\def\dtag{$\dag$} |
| 149 |
% at tag: |
| 150 |
\ifDR |
| 151 |
\def\at{\`a} |
| 152 |
\def\seeabove{** voir plus haut **} |
| 153 |
\def\unknown{(nom inconnu)} |
| 154 |
\else |
| 155 |
\def\at{at} |
| 156 |
\def\seeabove{** see above **} |
| 157 |
\def\unknown{(unknown name)} |
| 158 |
\fi |
| 159 |
%--------------------------------------------------------------------------- |
| 160 |
% Month names |
| 161 |
%--------------------------------------------------------------------------- |
| 162 |
\ifDR |
| 163 |
\def\jan{janvier} |
| 164 |
\def\feb{f\'evrier} |
| 165 |
\def\mar{mars} |
| 166 |
\def\apr{avril} |
| 167 |
\def\may{mai} |
| 168 |
\def\jun{juin} |
| 169 |
\def\jul{juillet} |
| 170 |
\def\aug{ao\^ut} |
| 171 |
\def\sep{septembre} |
| 172 |
\def\oct{octobre} |
| 173 |
\def\nov{novembre} |
| 174 |
\def\dec{d\'ecembre} |
| 175 |
\else |
| 176 |
\def\jan{jan} |
| 177 |
\def\feb{feb} |
| 178 |
\def\mar{mar} |
| 179 |
\def\apr{apr} |
| 180 |
\def\may{may} |
| 181 |
\def\jun{jun} |
| 182 |
\def\jul{jul} |
| 183 |
\def\aug{aug} |
| 184 |
\def\sep{sep} |
| 185 |
\def\oct{oct} |
| 186 |
\def\nov{nov} |
| 187 |
\def\dec{dec} |
| 188 |
\fi |
| 189 |
% Add your modifications to this file: |
| 190 |
\input mysetup |
| 191 |
% ----------------- end of file drsetup.tex -------------------- |
| 192 |
|
| 193 |
|