diff options
author | Karl Berry <karl@freefriends.org> | 2013-10-10 22:37:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-10-10 22:37:14 +0000 |
commit | 95ca32d40c7d3f78258cac6b977f909169659be4 (patch) | |
tree | b1b639fc1a9f909289b5a4df9ef2523303f59719 /Master/texmf-dist/tex/latex/lettre/lettre.cls | |
parent | 3663c65a6db3af1da47593f800cd586161bba772 (diff) |
lettre (10oct13)
git-svn-id: svn://tug.org/texlive/trunk@31879 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lettre/lettre.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/lettre/lettre.cls | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/lettre/lettre.cls b/Master/texmf-dist/tex/latex/lettre/lettre.cls index 391beed9614..a785eb70edf 100644 --- a/Master/texmf-dist/tex/latex/lettre/lettre.cls +++ b/Master/texmf-dist/tex/latex/lettre/lettre.cls @@ -1,7 +1,8 @@ % %NAME% : Lettre +% maintenance: Vincent Belaïche (vincentb1@users.sourceforge.net) % %AUTHOR% : Denis Mégevand - Observatoire de Genève % %EMAIL% : Denis.Megevand@obs.unige.ch -% %VERSION% : v2.346 +% %VERSION% : v2.348 %% %% This is file `lettre.cls'. %% @@ -30,7 +31,7 @@ % \NeedsTeXFormat{LaTeX2e} \RequirePackage{graphicx} -\ProvidesClass{lettre}[2002/07/22 v2.346] +\ProvidesClass{lettre}[2013/10/07 v2.349] \typeout{Copyleft Denis Megevand - Observatoire de Geneve}% %% \newcommand\@ptsize{} @@ -101,11 +102,11 @@ % **************************************** % * MISE-EN-PAGE : parametres * % **************************************** -% -% suppression de l'offset vertical -\voffset -1in% + % marge sup. 25mm \topmargin 25mm% +% suppression de l'offset vertical +\advance\topmargin by -1in % sep. d'entete 4mm \headheight 0pt% \headsep 4mm% @@ -119,11 +120,12 @@ \footnotesep 5mm% \marginparpush 1mm% % -% suppression de l'offset horizontal -\hoffset -1in% % marge gauche 25mm \oddsidemargin 25mm% \evensidemargin 25mm% +% suppression de l'offset horizontal +\advance\oddsidemargin by -1in +\advance\evensidemargin by -1in % largeur texte 160mm \textwidth 160mm% % sep. note lat. 4mm @@ -184,7 +186,8 @@ % * MACROS INTERNES * % ************************************************ % -\def\t#1#2{\begin{list}{#1}{\setlength{\labelsep}{10pt}% +\@ifundefined{lettre@t}{}{\PackageError{lettre}{Definition en double}{Redefinition de la macro `lettre@t'}} +\def\lettre@t#1#2{\begin{list}{#1}{\setlength{\labelsep}{10pt}% \setlength{\labelwidth}{\listmargin}% \setlength{\leftmargin}{\listmargin}% \setlength{\listparindent}{0pt}}% @@ -957,27 +960,27 @@ \vskip\csname letter\the\c@lettre\endcsname mm \fi \l@@info{Post-scriptum defini}% - \noindent\t{#1}{#2\\}\vfill\penalty-100\relax}% + \noindent\lettre@t{#1}{#2\\}\vfill\penalty-100\relax}% % \def\cc#1{\penalty100\relax \if@letter \vskip\csname letter\the\c@lettre\endcsname mm \fi \l@@info{Copies declarees}% - \noindent\t{\ccname}{#1\\}\vfill\penalty-100\relax}% + \noindent\lettre@t{\ccname}{#1\\}\vfill\penalty-100\relax}% % \def\encl#1{\penalty100\relax \if@letter \vskip\csname letter\the\c@lettre\endcsname mm \fi \l@@info{Annexes declarees}% - \noindent\t{\enclname}{#1\\}\vfill\penalty-100\relax}% + \noindent\lettre@t{\enclname}{#1\\}\vfill\penalty-100\relax}% \def\mencl{\penalty100\relax \if@letter \vskip\csname letter\the\c@lettre\endcsname mm \fi \l@@info{Annexes mentionnees}% - \noindent\t{\mentionname\\}{~}\vfill\penalty-100\relax}% + \noindent\lettre@t{\mentionname\\}{~}\vfill\penalty-100\relax}% % % **************************************** % * DEFINITIONS DEPENDANT DU LANGAGE * |