From ba7499d75b8508b2df8e57c271da5148cb05e0ff Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 18 Mar 2011 20:48:34 +0000 Subject: elbioimp (18mar11) git-svn-id: svn://tug.org/texlive/trunk@21758 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/elbioimp/elbioimp.cls | 33 +++++++++++------------ 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'Master/texmf-dist/tex/latex/elbioimp/elbioimp.cls') diff --git a/Master/texmf-dist/tex/latex/elbioimp/elbioimp.cls b/Master/texmf-dist/tex/latex/elbioimp/elbioimp.cls index 4fc1d07f92b..fe1e47ac7ac 100644 --- a/Master/texmf-dist/tex/latex/elbioimp/elbioimp.cls +++ b/Master/texmf-dist/tex/latex/elbioimp/elbioimp.cls @@ -7,7 +7,7 @@ %% elbioimp.dtx (with options: `class') %% This is a generated file. %% -%% Copyright (C) 2010 by Dag Langmyhr +%% Copyright (C) 2011 by Dag Langmyhr %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, see @@ -15,7 +15,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{elbioimp} - [2010/11/03 v1.1 Document class for Journal of Electrical Bioimpedance] + [2011/03/02 v1.2 Document class for Journal of Electrical Bioimpedance] \DeclareOption*{\ClassWarningNoLine {elbioimp}{Class option \CurrentOption \space is illegal in this document class}} @@ -27,7 +27,8 @@ \AtBeginDocument{\renewcommand{\maketitle}{% \twocolumn[\begin{minipage}{\textwidth} \renewcommand{\and}{, } - \let \thanks = \footnote + \let \thanks = \affiliation + \let \samethanks = \sameaffiliation \renewcommand{\footnoterule}{} \def \@makefntext ##1{\noindent \small \@thefnmark. \it ##1} @@ -39,6 +40,13 @@ \end{minipage}\par\vspace{14pt}\noindent \elb@rule{\textwidth}\vspace{11pt}]}} \newcommand{\elb@rule}[1]{\rule{#1}{0.6pt}} +\newcommand{\affiliation}[1]{\footnote{#1}} +\newcommand{\sameaffiliation}[1][0]{% + \addtocounter{mpfootnote}{-1}% + \ifthenelse{#1<1} + {\@makefnmark} + {\@textsuperscript{\normalfont#1}}% + \addtocounter{mpfootnote}{1}} \newcommand{\keywords}[1]{\def\elb@keywords{#1}} \renewenvironment{abstract} {\small\noindent @@ -57,7 +65,7 @@ \tolerance = 2000 \hbadness = \tolerance \AtBeginDocument{\pagestyle{empty}} \RequirePackage{mathptmx} -\renewcommand{\Huge}{\@setfontsize% +\renewcommand{\Huge}{\@setfontsize \Huge {20}{26}} \renewcommand{\huge}{\@setfontsize \huge {16}{20.8}} @@ -68,7 +76,7 @@ \renewcommand{\large}{\@setfontsize \large {11}{14.3}} \renewcommand{\normalsize}{% - \@setfontsize \normalsize {10}{13} + \@setfontsize \normalsize {10}{13}% \abovedisplayskip = 10pt plus 2pt minus 5pt \abovedisplayshortskip = @@ -130,26 +138,17 @@ {subsubsection}{3}{0pt}% {-11pt plus -6pt minus -2pt}% {11pt plus 6pt minus 2pt}% - {\normalfont\normalsize\it}} -\renewcommand{\paragraph}{\@startsection - {paragraph}{4}{0pt}% - {-11pt plus -6pt minus -2pt}% - {11pt plus 6pt minus 2pt}% - {\normalfont\normalsize\it}} -\renewcommand{\subparagraph}{\@startsection - {subparagraph}{5}{0pt}% - {-11pt plus -6pt minus -2pt}% - {11pt plus 6pt minus 2pt}% - {\normalfont\normalsize\it}} + {\normalfont\normalsize}} \setcounter{secnumdepth}{-2} \RequirePackage[margin=0.5cm,font=footnotesize, aboveskip=5pt]{caption} \DeclareCaptionLabelFormat{fig} {\ifthenelse{\equal{#1}% - {Figure}}{Fig}{Tab}.\,#2} + {Figure}}{Fig}{Tab}.~#2} \captionsetup{labelformat=fig} \setlength{\floatsep}{6pt plus 3pt} \setlength{\textfloatsep}{\floatsep} +\renewcommand{\floatpagefraction}{0.8} \bibliographystyle{vancouver} \renewcommand{\@openbib@code}{\small \setlength{\itemsep}{3pt}% -- cgit v1.2.3