diff options
author | Karl Berry <karl@freefriends.org> | 2016-09-19 21:14:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-09-19 21:14:38 +0000 |
commit | 458d60b05b01c000fb05282673faa3d0d6f74425 (patch) | |
tree | 6e664d73f402e53c0fa80440685145a690a13fb0 /Master/texmf-dist/tex/latex/ijsra | |
parent | 9d70d77474dea5d4290597aae2685af2b3566b80 (diff) |
ijsra (19sep16)
git-svn-id: svn://tug.org/texlive/trunk@42100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ijsra')
-rw-r--r-- | Master/texmf-dist/tex/latex/ijsra/ijsra.cls | 167 |
1 files changed, 147 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/ijsra/ijsra.cls b/Master/texmf-dist/tex/latex/ijsra/ijsra.cls index cd3f61aebe6..5b74d35c246 100644 --- a/Master/texmf-dist/tex/latex/ijsra/ijsra.cls +++ b/Master/texmf-dist/tex/latex/ijsra/ijsra.cls @@ -20,8 +20,8 @@ \RequirePackage{ifxetex,ifluatex,ifpdf,ifvtex} \RequirePackage{xkeyval} -\def\IJSRAversion{0.3} -\def\IJSRAversiondate{2016/09/01} +\def\IJSRAversion{0.4} +\def\IJSRAversiondate{2016/09/18} @@ -63,21 +63,25 @@ \RequirePackage{libertine} \renewcommand*\ttdefault{lmvtt} \RequirePackage[french, ngerman, spanish, italian, main=english]{babel} -\ifxetex\else +%\ifxetex\else \RequirePackage[% -,protrusion=true -,expansion=true +%,protrusion=true +%,expansion=true ,verbose=true ,final=true ,letterspace=100 ,babel=true ]{microtype} -\fi +%\fi \RequirePackage{colortbl} \RequirePackage{abbrevs} \RequirePackage{alertmessage} \RequirePackage{marginnote} \RequirePackage{lettrine} % The lettrine is the first enlarged letter at the beginning of the text +\LettrineTextFont{\itshape} +\setcounter{DefaultLines}{3} +\renewcommand{\LettrineTextFont}{\normalfont}%für zweite Klammer +\renewcommand{\LettrineFontHook}{\normalfont} \RequirePackage{paralist} % Used for the compactitem environment which makes bullet points with less space between them \RequirePackage{currfile} \RequirePackage{currfile-abspath} @@ -89,13 +93,13 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt round-mode = places, group-minimum-digits = 4, group-separator ={,}, % für "12.345" statt "12 345" - range-phrase = {~$\times$\ },% + range-phrase = {$\times$},% zero-decimal-to-integer = true, %aus "2.0" wird "2" range-units =single, % --> 2 x 2 m, - auskommentieren für 2 m x 2 m ]{siunitx} \RequirePackage[ % advanced quotes - strict=true, % - warning are errors now - style=english, % - german quotes + strict=true, + style=english, ]{csquotes} \RequirePackage[ %% use for bibliography backend=biber, @@ -106,6 +110,7 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt \RequirePackage{etoolbox} \RequirePackage{graphicx} +\graphicspath{{figures/}} \RequirePackage{wrapfig} % Paket zur Positionierung einbinden \RequirePackage{booktabs}%für schönere Tabellen \RequirePackage{multirow} @@ -137,20 +142,21 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt ]{geometry} \RequirePackage{multicol} % Used for the two-column layout of the document \RequirePackage[% - hang, + %hang, small, labelfont=bf, up, + singlelinecheck=off, + justification=raggedright, textfont=it, up, ]{caption} % Custom captions under/above floats in tables or figures \RequirePackage{subcaption} \RequirePackage{setspace} % for line spacing, e.g. \onehalfspacing \RequirePackage{booktabs} % Horizontal rules in tables -\RequirePackage{float} % Required for tables and figures in the multi-column environment - they need to be placed in specific locations with the [H] (e.g. \begin{table}[H]) \RequirePackage{nth} -\RequirePackage{caption} + \RequirePackage{chngcntr} %Voraussetzung fuer Fussnoten durch alle Kapitel durchnummerieren \RequirePackage{listings} \AtBeginDocument{\counterwithin{lstlisting}{chapter}} @@ -217,8 +223,8 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt \fi }{} -\renewcommand{\marginfont}{% - \normalfont\small\sffamily} +\renewcommand{\marginfont}{\noindent\rule{0pt}{0.7\baselineskip}\color{mygold}\small\sffamily} +\RequirePackage{marginfix} %------------------------------------------- %---Zitate/Quote \def\signed #1{\leavevmode\unskip\nobreak\hfil\penalty50\hskip2em @@ -237,12 +243,89 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt \newcommand\shorttitle{} \newcommand\maintitle{} \newcommand\shortauthor{} -\newcommand\authormail{} +\newcommand\cmail{} \newcommand\affiliation{} \newcommand\thanknote{} + +\patchcmd{\Gin@setfile}{\ttfamily\expandafter\strip@prefix\meaning\@tempa}{\@missingcopyright}{}{} +\def\@missingcopyright{% + \footnotesize\sffamily + Figure omitted due to faster compiling. + % comment the following line if you don't want to show the file name +%\expandafter\strip@prefix\meaning\@tempa + } + \def\keywords{} \def\keywordname{Keywords} +\newcommand{\IJSRAsection}[1]{% + \marginnote{#1}\pdfbookmark[1]{#1}{#1}% +} + +\newcommand\authorone{} +\newcommand\authortwo{} +\newcommand\authorthree{} +\newcommand\authorfour{} +\newcommand\authorfive{} + +\newcommand\affilone{} +\newcommand\affiltwo{} +\newcommand\affilthree{} +\newcommand\affilfour{} +\newcommand\affilfive{} + +\newcommand\affiloneauthor{} +\newcommand\affiltwoauthor{} +\newcommand\affilthreeauthor{} +\newcommand\affilfourauthor{} +\newcommand\affilfiveauthor{} + +\newcommand\bioone{} +\newcommand\biotwo{} +\newcommand\biothree{} +\newcommand\biofour{} +\newcommand\biofive{} + +\newcommand\abstract{} +\undef\abstract{} + +\undef\authorone{} +\undef\authortwo{} +\undef\authorthree{} +\undef\authorfour{} +\undef\authorfive{} + +\undef\affilone{} +\undef\affiltwo{} +\undef\affilthree{} +\undef\affilfour{} +\undef\affilfive{} + +\undef\affiloneauthor{} +\undef\affiltwoauthor{} +\undef\affilthreeauthor{} +\undef\affilfourauthor{} +\undef\affilfiveauthor{} + +\undef\bioone{} +\undef\biotwo{} +\undef\biothree{} +\undef\biofour{} +\undef\biofive{} + +\def\shortauthor{% + \ifdef{\authorone}{\authorone}{}% + \ifdef{\authortwo}{, \authortwo}{}% + \ifdef{\authorthree}{, \authorthree}{}% + \ifdef{\authorfour}{, \authorfour}{}% + \ifdef{\authorfive}{, \authorfive}{} +} + + + + + + \newenvironment{IJSRAabstract} {\list{}{\rightmargin\leftmargin}% \item \footnotesize\sffamily\textbf\keywordname : \keywords\\ @@ -265,7 +348,7 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt \addcontentsline{toc}{chapter}{\shortauthor\protect\newline \maintitle} } -\newcommand\email{{\normalfont\href{mailto:\authormail}{\authormail}}} +\newcommand\email{{\normalfont\href{mailto:\cmail}{\cmail}}} \newbool{@page} \newcommand{\pagerange}[2]{%pp.~ @@ -284,22 +367,66 @@ detect-all, %Zahlen werden in der aktuellen Schrift angezeigt \renewcommand*{\thefootnote}{\fnsymbol{footnote}} \IJSRAchapter{\maintitle} \begin{center} - } -\providecommand\IJSRAmid{% - \end{center} + {\Large\scshape% + \authorone\ifdef{\bioone}{{\footnote[1]{\bioone}}}{}% + \ifdef{\authortwo}{, \authortwo\ifdef{\biotwo}{{\footnote[2]{\biotwo}}}{}}{}% + \ifdef{\authorthree}{, \authorthree\ifdef{\biothree}{{\footnote[3]{\biothree}}}{}}{}% + \ifdef{\authorfour}{, \authorfour\ifdef{\biofour}{{\footnote[4]{\biofour}}}{}}{}% + \ifdef{\authorfive}{, \authorfive\ifdef{\biofive}{{\footnote[5]{\biofive}}}{}}{}% + }% + \\[1em] + \email + \ifdef{\affilone}{\\ \textsuperscript{\ifdef{\affiloneauthor}{$\affiloneauthor$}{}}\affilone}{}% + \ifdef{\affiltwo}{\\ \ifdef{\affiltwoauthor}{\textsuperscript{$\affiltwoauthor$}}{}\affiltwo}{}% + \ifdef{\affilthree}{\\ \ifdef{\affilthreeauthor}{\textsuperscript{$\affilthreeauthor$}}{}\affilthree}{}% + \ifdef{\affilfour}{\\ \ifdef{\affilfourauthor}{\textsuperscript{$\affilfourauthor$}}{}\affilfour}{}% + \ifdef{\affilfive}{\\ \ifdef{\affilfiveauthor}{\textsuperscript{$\affilfiveauthor$}}{}\affilfive}{}% +\end{center} \vspace{3em} \pagestyle{scrheadings} \setcounter{footnote}{0} \renewcommand*{\thefootnote}{\arabic{footnote}} \label{firstpage\IJSRAidentifier} - } + +\ifdef\abstract{% +\begin{IJSRAabstract} +\abstract +\end{IJSRAabstract} +}{} +} + \providecommand\IJSRAclosing{% \IJSRAseparator \printbibliography[heading=subbibliography] \end{refsection} \label{lastpage\IJSRAidentifier} +\undef\authorone{} +\undef\authortwo{} +\undef\authorthree{} +\undef\authorfour{} +\undef\authorfive{} + +\undef\affilone{} +\undef\affiltwo{} +\undef\affilthree{} +\undef\affilfour{} +\undef\affilfive{} + +\undef\affiloneauthor{} +\undef\affiltwoauthor{} +\undef\affilthreeauthor{} +\undef\affilfourauthor{} +\undef\affilfiveauthor{} + +\undef\abstract{} + +\undef\bioone{} +\undef\biotwo{} +\undef\biothree{} +\undef\biofour{} +\undef\biofive{} } \def\Put(#1,#2)#3{\makebox(0,0){\put(#1,#2){#3}}} |