diff options
author | Norbert Preining <preining@logic.at> | 2006-10-04 08:43:01 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2006-10-04 08:43:01 +0000 |
commit | ba9472aebfed07843bc4faa00c7b96bc86194691 (patch) | |
tree | 4a952a012e2f1663beaac6384dec265fb50dd361 /Master/texmf-dist/tex/latex/emulateapj/emulateapj.cls | |
parent | a88bdfe70c672cfced299babf0a54881a916bcca (diff) |
Fix ctan2tds for pgf installation
comment powerdot-doc-vn in tpm-ctan-check, it always breaks
Update of the following packages:
labelcas pstricks-add sectionbox ltxmisc frenchle flowfram verse emulateapj
pst-pdf poemscol babelbib dk-bib breakurl screenplay ncctools xkeyval bibleref
muthesis pst-labo pgf ncclatex active-conf xcolor commath lineno dottex makeplo
git-svn-id: svn://tug.org/texlive/trunk@2240 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/emulateapj/emulateapj.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/emulateapj/emulateapj.cls | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/emulateapj/emulateapj.cls b/Master/texmf-dist/tex/latex/emulateapj/emulateapj.cls index 921ed00e880..b9eb196d3fd 100644 --- a/Master/texmf-dist/tex/latex/emulateapj/emulateapj.cls +++ b/Master/texmf-dist/tex/latex/emulateapj/emulateapj.cls @@ -1,4 +1,4 @@ -%% This is emulateapj.cls, version May 4, 2006 +%% This is emulateapj.cls, version August 13, 2006 %% For the latest version check http://hea-www.harvard.edu/~alexey/emulateapj %% %% 2/9/03: MAJOR CHANGE: This is a complete rewrite of emulateapj. It adds @@ -238,6 +238,10 @@ %% 05/04/6: redefine \tableline as \hrule; otherwise it weirdly interact %% with my implementation of deluxetable %% +%% 08/13/6: Collect altaffiltext into token and issue \altaffiliation +%% only once. This overcomes the problem with 2**n processing +%% time for long affiliation lists. +%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Copyright 2000-2006 Alexey Vikhlinin %% @@ -252,7 +256,7 @@ %% %% Alexey Vikhlinin <alexey@head.cfa.harvard.edu> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\def\emulapj@ver{05/04/06} +\def\emulapj@ver{08/13/06} \ProvidesClass{emulateapj} @@ -571,7 +575,29 @@ }% \let\affil=\affiliation \def\altaffilmark#1{\textsuperscript{#1}} -\def\altaffiltext#1#2{\altaffiliation{\hspace*{3mm}\textsuperscript{#1}\hspace*{0.7mm}#2}\stepcounter{front@matter@foot@note}} + +% Fight poor revtex algorithm for altaffiliation: +\def\@alt@affil@kill@next@symbol#1{\relax} +\newtoks\alt@affil@toks \alt@affil@toks{\@alt@affil@kill@next@symbol} +\newtoks\alt@affil@toks@count \alt@affil@toks@count{} + +\def\altaffiltext#1#2{% +\global\alt@affil@toks\expandafter{\the\alt@affil@toks\\\hspace*{3mm}\textsuperscript{#1}\hspace*{0.7mm}#2}% +\global\alt@affil@toks@count\expandafter{\the\alt@affil@toks@count\stepcounter{front@matter@foot@note}}% +} +\let\@author@finish@revtex=\@author@finish +\def\@author@finish{% +\if!\the\alt@affil@toks@count!% +\relax +\else +\altaffiliation{\the\alt@affil@toks}\the\alt@affil@toks@count +\fi +\@author@finish@revtex +} + +%\def\altaffiltext#1#2{\altaffiliation{\hspace*{3mm}\textsuperscript{#1}\hspace*{0.7mm}#2}\stepcounter{front@matter@foot@note}} + +%% end altaffiliation \let\old@foot@note@mark=\footnotemark \let\old@foot@note@text=\footnotetext |