summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/articleingud
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-30 22:06:16 +0000
committerKarl Berry <karl@freefriends.org>2015-10-30 22:06:16 +0000
commitb84b0cf25a2c619e485a4cebeb726836283b6acd (patch)
treef22491d1270873b6ed25c5b0260509c3065fb389 /Master/texmf-dist/tex/latex/articleingud
parenta0bae27cd91afe79294d4f47ce0d7211f9ad92d0 (diff)
articleingud (30oct15)
git-svn-id: svn://tug.org/texlive/trunk@38741 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/articleingud')
-rw-r--r--Master/texmf-dist/tex/latex/articleingud/articleingud.cls342
1 files changed, 160 insertions, 182 deletions
diff --git a/Master/texmf-dist/tex/latex/articleingud/articleingud.cls b/Master/texmf-dist/tex/latex/articleingud/articleingud.cls
index 5f26b2ef9b0..8aab3228530 100644
--- a/Master/texmf-dist/tex/latex/articleingud/articleingud.cls
+++ b/Master/texmf-dist/tex/latex/articleingud/articleingud.cls
@@ -12,12 +12,12 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2012 by Omar Salazar Morales
+%% Copyright (C) 2012-2015 by Omar Salazar
%% osalazarm@correo.udistrital.edu.co
-%% Laboratory for Automation and Computational Intelligence
+%% Laboratory for Automation and Computational Intelligence (LAMIC)
%% Engineering Department
-%% Universidad Distrital ``Francisco José de Caldas''
-%% Bogotá, Colombia
+%% Universidad Distrital Francisco Jose de Caldas
+%% Bogota, Colombia
%% http://www.udistrital.edu.co/
%%
%% This file may be distributed and/or modified under the
@@ -30,7 +30,7 @@
%%
%% This work has the LPPL maintenance status `maintained'.
%%
-%% The Current Maintainer of this work is Omar Salazar Morales.
+%% The Current Maintainer of this work is Omar Salazar.
%%
%% This work consists of the source files:
%% - articleingud.dtx (documented LaTeX file)
@@ -42,25 +42,25 @@
%%
%% Este es un archivo generado.
%%
-%% Derechos de autor (C) 2012 por Omar Salazar Morales
+%% Derechos de autor (C) 2012-2015 por Omar Salazar
%% osalazarm@correo.udistrital.edu.co
-%% Laboratorio de Automática e Inteligencia Computacional
-%% Facultad de Ingeniería
-%% Universidad Distrital ``Francisco José de Caldas''
-%% Bogotá, Colombia.
+%% Laboratorio de Automatica e Inteligencia Computacional (LAMIC)
+%% Facultad de Ingenieria
+%% Universidad Distrital Francisco Jose de Caldas
+%% Bogota, Colombia.
%% http://www.udistrital.edu.co/
%%
%% Este archivo puede ser redistribuido y/o modificado
-%% bajo las condiciones de la Licencia Pública del Proyecto LaTeX,
-%% versión 1.2 o cualquier versión superior (a su opción).
-%% La última versión de esta licencia se encuentra en
+%% bajo las condiciones de la Licencia Publica del Proyecto LaTeX,
+%% version 1.2 o cualquier version superior (a su opcion).
+%% La ultima version de esta licencia se encuentra en
%% http://www.latex-project.org/lppl.txt
-%% y la versión 1.2 o superior es parte de todas las distribuciones
-%% de LaTeX versión 1999/12/01 o superior.
+%% y la version 1.2 o superior es parte de todas las distribuciones
+%% de LaTeX version 1999/12/01 o superior.
%%
%% Este trabajo tiene el estado LPPL de `mantenido'.
%%
-%% El responsable del mantenimiento de este trabajo es Omar Salazar Morales.
+%% El responsable del mantenimiento de este trabajo es Omar Salazar.
%%
%% Este trabajo consiste de los archivos fuente:
%% - articleingud.dtx (archivo LaTeX documentado)
@@ -68,29 +68,27 @@
%%
\NeedsTeXFormat{LaTeX2e}%
\ProvidesClass{articleingud}%
-[2012/11/10 v0.2 Article for INGENIERIA UD]%
+[2015/10/10 v0.3 Article for INGENIERIA UD]%
\newif\ifINGUD@peerreview\INGUD@peerreviewfalse
-\newif\ifINGUD@ingudpapersize\INGUD@ingudpapersizefalse
-\newif\ifINGUD@rightcolauthor\INGUD@rightcolauthorfalse
+\newif\ifINGUD@correspondenceauthor\INGUD@correspondenceauthorfalse
\newif\ifINGUD@endofbiography\INGUD@endofbiographytrue
-\newcommand{\INGUD@internalmargin}{21mm}%
-\newcommand{\INGUD@externalmargin}{18mm}%
-\newcommand{\INGUD@topmargin}{18mm}%
-\newcommand{\INGUD@bottommargin}{18mm}%
-\newcommand{\INGUD@headmargin}{5mm}%
-\newcommand{\INGUD@footmargin}{9mm}%
+\newcommand{\INGUD@internalmargin}{25mm}%
+\newcommand{\INGUD@externalmargin}{25mm}%
+\newcommand{\INGUD@topmargin}{25mm}%
+\newcommand{\INGUD@bottommargin}{25mm}%
+\newcommand{\INGUD@headmargin}{15mm}%
+\newcommand{\INGUD@footmargin}{15mm}%
\newcommand{\INGUD@photosep}{5\p@}%
-\newcommand{\INGUD@colauthorinfosep}{\columnsep}%
-\newcommand{\INGUD@colauthorinfowidth}{0.3\textwidth}%
\newcommand{\INGUD@reviewname}{ingenier\'\i a}%
\newcommand{\INGUD@reviewvolume}{}%
\newcommand{\INGUD@reviewnumber}{}%
\newcommand{\INGUD@reviewissn}{0121-750x}%
+\newcommand{\INGUD@revieweissn}{2344-8393}%
\newcommand{\INGUD@udname}{universidad distrital
francisco jos\'e de caldas}%
-\newcommand{\INGUD@separator}{\hskip 2.5\p@ \@plus1\p@ \@minus 1\p@
+\newcommand{\INGUD@separator}{\hskip 2\p@ \@plus 0.5\p@ \@minus 0.5\p@%
$\scriptstyle\bullet$%
- \hskip 2.5\p@ \@plus 1\p@ \@minus 1\p@}%
+ \hskip 2\p@ \@plus 0.5\p@ \@minus 0.5\p@}%
\newcommand{\INGUD@reviewinfo}{%
\begingroup
\normalfont\scriptsize\scshape
@@ -98,9 +96,10 @@
\ifINGUD@peerreview
draft, paper for peer review \INGUD@separator
\else
- vol.\kern 1\p@ \INGUD@reviewvolume \INGUD@separator
- no.\kern 1\p@ \INGUD@reviewnumber \INGUD@separator
- issn\kern 1\p@ \INGUD@reviewissn \INGUD@separator
+ vol.\kern 1\p@ \INGUD@reviewvolume \INGUD@separator
+ no.\kern 1\p@ \INGUD@reviewnumber \INGUD@separator
+ issn\kern 1\p@ \INGUD@reviewissn \INGUD@separator
+ e-issn\kern 1\p@ \INGUD@revieweissn \INGUD@separator
\fi
\INGUD@udname
\endgroup}%
@@ -114,32 +113,30 @@
\ClassError{articleingud}%
{No \noexpand\INGUDsetciteinfo given}%
{See documentation for details}}%
+\newcommand{\INGUD@typeofpaper}{}%
\DeclareOption{ingudpaper}{%
- \global\INGUD@ingudpapersizetrue}%
+ \OptionNotUsed
+ \ClassWarning{articleingud}%
+ {Unused option `\CurrentOption'}}%
\DeclareOption{titlepage}{%
\OptionNotUsed
- \ClassError{articleingud}%
- {Unused option `\CurrentOption'}%
- {See documentation for details}}%
+ \ClassWarning{articleingud}%
+ {Unused option `\CurrentOption'}}%
\DeclareOption{notitlepage}{%
\OptionNotUsed
- \ClassError{articleingud}%
- {Unused option `\CurrentOption'}%
- {See documentation for details}}%
+ \ClassWarning{articleingud}%
+ {Unused option `\CurrentOption'}}%
\DeclareOption{peerreview}{%
\global\INGUD@peerreviewtrue}%
\DeclareOption{rightcolauthor}{%
- \global\INGUD@rightcolauthortrue}%
+ \OptionNotUsed
+ \ClassWarning{articleingud}%
+ {Unused option `\CurrentOption'}}%
\DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{article}}%
\ProcessOptions\relax
\LoadClass{article}%
-\ifINGUD@ingudpapersize
- \setlength{\paperheight}{240mm}%
- \setlength{\paperwidth}{170mm}%
- \AtBeginDvi{\special{papersize=170mm,240mm}}%
-\fi
-\setlength{\headheight}{24\p@}%
+\setlength{\headheight}{12\p@}%
\setlength{\voffset}{\z@}%
\setlength{\headsep}{\INGUD@topmargin}%
\addtolength{\headsep}{-\INGUD@headmargin}%
@@ -173,137 +170,151 @@
\edef\INGUD@next{\prevgraf=\the\prevgraf}%
\indent\INGUD@next}%
\def\title{\@ifnextchar[\INGUD@titlei\INGUD@titleii}%
-\def\INGUD@titlei[#1]#2#3{%
- \gdef\INGUD@paperinfo{{\normalfont\footnotesize #1}}%
+\def\INGUD@titlei[#1]#2#3#4{%
+ \gdef\INGUD@paperinfo{#1}%
\gdef\@title{#2}%
- \gdef\INGUD@secondtitle{#3}}%
-\def\INGUD@titleii#1#2{%
- \gdef\INGUD@paperinfo{{\normalfont\footnotesize #1}}%
+ \gdef\INGUD@secondtitle{#3}%
+ \gdef\INGUD@typeofpaper{#4}}%
+\def\INGUD@titleii#1#2#3{%
+ \gdef\INGUD@paperinfo{#1}%
\gdef\@title{#1}%
- \gdef\INGUD@secondtitle{#2}}%
+ \gdef\INGUD@secondtitle{#2}%
+ \gdef\INGUD@typeofpaper{#3}}%
\def\author{\@ifnextchar[\INGUD@authori\INGUD@authorii}%
\def\INGUD@authori[#1]#2{%
\ifINGUD@peerreview
\global\let\INGUD@authorinfo\@empty
+ \global\let\@author\@empty
\else
\gdef\INGUD@authorinfo{\begingroup
- \normalfont\footnotesize
- \let\thanks\@gobble
+ \let\thanks\INGUD@gobblethanks
\let\and\INGUD@separator
\let\\\space
#1\relax
\endgroup}%
- \fi
- \gdef\@author{#2}}%
+ \gdef\@author{#2}%
+ \fi}%
\def\INGUD@authorii#1{%
\ifINGUD@peerreview
\global\let\INGUD@authorinfo\@empty
+ \global\let\@author\@empty
\else
\gdef\INGUD@authorinfo{\begingroup
- \normalfont\footnotesize
- \let\thanks\@gobble
+ \let\thanks\INGUD@gobblethanks
\let\and\INGUD@separator
\let\\\space
#1\relax
\endgroup}%
+ \gdef\@author{#1}%
+ \fi}%
+\renewcommand{\and}{,\space}%
+\def\thanks{\@ifnextchar[\INGUD@thanksi\INGUD@thanksii}%
+\def\INGUD@gobblethanks{%
+ \@ifnextchar[\INGUD@gobblethanksi\INGUD@gobblethanksii}%
+\def\INGUD@gobblethanksi[#1]{\INGUD@gobblethanksii}%
+\def\INGUD@gobblethanksii#1#2{}%
+\def\INGUD@thanksi[#1]{%
+ \ifINGUD@correspondenceauthor\else
+ \global\INGUD@correspondenceauthortrue
+ \@textsuperscript{\normalfont\footnotesize
+ \INGUD@correspondencechar ,}%
+ \gdef\INGUD@correspondenceinfo{%
+ \@textsuperscript{\normalfont\footnotesize
+ \INGUD@correspondencechar}#1}%
+ \fi
+ \INGUD@thanksii}%
+\def\INGUD@thanksii#1#2{%
+ \if\INGUD@instring{#1}{\INGUD@authorlabel}\else
+ \ifx\INGUD@authorlabel\@empty\else
+ \g@addto@macro\@thanks{,\space}%
+ \fi
+ \g@addto@macro\INGUD@authorlabel{#1}%
+ \g@addto@macro\@thanks{%
+ \@textsuperscript{\normalfont\footnotesize#1}#2}%
\fi
- \gdef\@author{#1}}%
-\renewcommand{\and}{\\[5\p@]}%
-\renewcommand{\thanks}[1]{\par #1}%
+ \@textsuperscript{\normalfont\footnotesize#1}}%
+\def\INGUD@instring#1#2{\fi\begingroup
+ \edef\x{\endgroup\noexpand\in@{#1}{#2}}\x\ifin@}%
+\def\INGUD@correspondenceinfo{}%
+\def\INGUD@authorlabel{}%
+\def\INGUD@correspondencechar{*}%
\def\@thanks{}%
\renewenvironment{titlepage}{}{}%
-\newcommand{\INGUD@makeciteinfo}{%
-\ifINGUD@peerreview\else
- \@tempdima\textwidth
- \advance\@tempdima by -\INGUD@colauthorinfosep
- \advance\@tempdima by -\INGUD@colauthorinfowidth
- \parbox[b][\headheight][b]{\@tempdima}%
- {\parskip\z@ \parindent\z@
- \normalfont\scriptsize
- \ifINGUD@rightcolauthor
- \raggedright
- \else
- \raggedleft
- \fi
- \INGUD@citeinfo}%
-\fi}%
-\newcommand{\INGUD@makeauthorinfo}{%
- \hb@xt@\z@{\vbox to\z@{\vskip\headsep
- \parbox[t][\textheight][t]{\INGUD@colauthorinfowidth}%
- {\parskip\z@ \parindent\z@
- \normalfont\scriptsize
- \ifINGUD@peerreview\else
- \ifINGUD@rightcolauthor
- \raggedright
- \else
- \raggedleft
- \fi
- \@author
- \fi
- \vfill
- \raggedright
- \@date}%
- \hrule \@width\z@ \@depth\z@ \@height\z@}}%
- \global\let\@thanks\@empty
- \global\let\@author\@empty
- \global\let\@date\@empty
- \global\let\author\relax
- \global\let\date\relax
- \global\let\and\relax
- \global\let\thanks\relax}%
-\long\def\maketitle#1\endmaketitle{%
+\def\maketitle{%
\begingroup
\newpage
\global\@topnum\z@
\thispagestyle{titlepageingud}%
- \columnwidth\textwidth
- \advance\columnwidth by -\INGUD@colauthorinfosep
- \advance\columnwidth by -\INGUD@colauthorinfowidth
- \hsize\columnwidth
- \linewidth\columnwidth
\@twocolumnfalse
- \col@number \@ne
+ \col@number\@ne
\noindent
\@maketitle
- #1\endmaketitle
\global\let\@title\@empty
\global\let\INGUD@secondtitle\@empty
- \global\let\INGUD@citeinfo\@empty
+ \global\let\INGUD@correspondenceinfo\@empty
+ \global\let\INGUD@correspondencechar\@empty
+ \global\let\INGUD@authorlabel\@empty
+ \global\let\INGUD@typeofpaper\@empty
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
\global\let\maketitle\relax
- \global\let\endmaketitle\relax
- \global\let\INGUDsetciteinfo\relax
\global\let\title\relax
+ \global\let\date\relax
+ \global\let\INGUDsetciteinfo\relax
\global\let\INGUDsetvolume\relax
\global\let\INGUDsetnumber\relax
\global\let\INGUDsetinitialpage\relax
+ \global\let\author\relax
+ \global\let\and\relax
+ \global\let\thanks\relax
\endgroup}%
-\def\endmaketitle{\clearpage}%
-\long\def\@maketitle{%
-\begingroup
-\ifINGUD@rightcolauthor
- \raggedleft
-\else
+\def\endmaketitle{%
+ \@tempdima\INGUD@topmargin
+ \advance\@tempdima-\INGUD@headmargin
+ \enlargethispage{\@tempdima}%
+ \ifINGUD@peerreview\else
+ \table[!b]%
+ \normalfont\scriptsize
+ \INGUD@citeinfo
+ \endtable
+ \fi
+ \global\let\INGUD@citeinfo\@empty
+ \global\let\endmaketitle\relax}%
+\def\@maketitle{%
+ \normalfont\normalsize
+ \parskip\z@
+ \parindent\z@
\raggedright
-\fi
- \normalfont \parskip\z@ \parindent\z@
+ {\bfseries\INGUD@typeofpaper\par\nobreak}%
+ \vskip 0.5em \@plus 0.1em\@minus 0.1em\nobreak
{\LARGE\bfseries\@title\par\nobreak}%
- \vskip 1em%
- {\Large\bfseries\slshape\INGUD@secondtitle\par\nobreak}%
-\endgroup}%
+ {\Large\slshape\INGUD@secondtitle\par\nobreak}%
+ \vskip 0.25em \@plus 0.1em\@minus 0.1em\nobreak
+ {\large\bfseries\slshape\@author\par\nobreak}%
+ \vskip 0.25em \@plus 0.1em\@minus 0.1em\nobreak
+ {\footnotesize\@thanks\par\nobreak
+ \vskip 0.25em \@plus 0.1em\@minus 0.1em\nobreak
+ \INGUD@correspondenceinfo\par\nobreak}%
+ \vskip 0.25em \@plus 0.1em\@minus 0.1em\nobreak
+ {\centering\scriptsize\@date\par\nobreak}}%
\newcommand*{\INGUDsetvolume}[1]{\gdef\INGUD@reviewvolume{#1}}%
\newcommand*{\INGUDsetnumber}[1]{\gdef\INGUD@reviewnumber{#1}}%
\newcommand*{\INGUDsetinitialpage}[1]{\global\setcounter{page}{#1}}%
\newcommand*{\INGUDsetciteinfo}[1]{\gdef\INGUD@citeinfo{#1}}%
\renewenvironment{abstract}{%
\removelastskip
- \section*{\abstractname}}{\par}%
-\newcommand{\INGUDkeywordsname}{Key words}%
-\newenvironment{INGUDkeywords}{%
- \removelastskip
- \vskip0.25\baselineskip
\par\nobreak
- \noindent\textbf{\INGUDkeywordsname :}%
- \nobreakspace}{\par}%
+ \vfil\penalty\z@\vfilneg
+ \vtop\bgroup
+ \normalfont\small
+ \centerline{\bfseries\abstractname}}%
+ {\par\xdef\tpd{\the\prevdepth}\egroup
+ \prevdepth=\tpd}%
+\newenvironment{INGUDstructured}[1]{%
+ \removelastskip
+ \par\nobreak
+ \noindent\textbf{#1:}\nobreakspace}{\par}%
\renewcommand{\thetable}{\@Roman\c@table}%
\setlength{\abovecaptionskip}{\z@}%
\setlength{\belowcaptionskip}{\z@}%
@@ -345,12 +356,16 @@
\def\ps@plainingud{%
\def\@oddfoot{\INGUD@reviewinfo\hfil{\bfseries\thepage}}%
\def\@evenfoot{{\bfseries\thepage}\hfil\INGUD@reviewinfo}%
- \def\@oddhead{\vbox{\hb@xt@\textwidth{\hfil\INGUD@authorinfo}%
+ \def\@oddhead{\vbox{\hb@xt@\textwidth{\hfil
+ {\normalfont\footnotesize
+ \INGUD@authorinfo}}%
\vskip2\p@
\hrule \@height0.4\p@
\@width\textwidth
\@depth\z@}}%
- \def\@evenhead{\vbox{\hb@xt@\textwidth{\INGUD@paperinfo\hfil}%
+ \def\@evenhead{\vbox{\hb@xt@\textwidth{{\normalfont\footnotesize
+ \INGUD@paperinfo}%
+ \hfil}%
\vskip2\p@
\hrule \@height0.4\p@
\@width\textwidth
@@ -361,7 +376,8 @@
\else
\def\ps@plainingud{%
\def\@oddfoot{\INGUD@reviewinfo\hfil{\bfseries\thepage}}%
- \def\@oddhead{\vbox{\hb@xt@\textwidth{\hfil\INGUD@authorinfo}%
+ \def\@oddhead{\vbox{\hb@xt@\textwidth{\hfil{\normalfont\footnotesize
+ \INGUD@authorinfo}}%
\vskip2\p@
\hrule \@height0.4\p@
\@width\textwidth
@@ -371,65 +387,27 @@
\fi
\if@twoside
\def\ps@titlepageingud{%
- \ifINGUD@rightcolauthor\else
- \advance\oddsidemargin by \INGUD@colauthorinfosep
- \advance\oddsidemargin by \INGUD@colauthorinfowidth
- \advance\evensidemargin by \INGUD@colauthorinfosep
- \advance\evensidemargin by \INGUD@colauthorinfowidth
- \fi
- \ifINGUD@rightcolauthor
+ \advance\footskip\headheight
+ \advance\footskip\headsep
+ \headsep\z@
+ \headheight\z@
\def\@oddfoot{\INGUD@reviewinfo\hfil{\bfseries\thepage}}%
\def\@evenfoot{{\bfseries\thepage}\hfil\INGUD@reviewinfo}%
- \else
- \def\@oddfoot{\hskip-\INGUD@colauthorinfosep
- \hskip-\INGUD@colauthorinfowidth
- \hb@xt@\textwidth{\INGUD@reviewinfo
- \hfil
- {\bfseries\thepage}}}%
- \def\@evenfoot{\hskip-\INGUD@colauthorinfosep
- \hskip-\INGUD@colauthorinfowidth
- \hb@xt@\textwidth{{\bfseries\thepage}%
- \hfil
- \INGUD@reviewinfo}}%
- \fi
- \ifINGUD@rightcolauthor
- \def\@oddhead{\INGUD@makeciteinfo
- \hfil
- \hb@xt@\z@{\hskip-\INGUD@colauthorinfowidth
- \INGUD@makeauthorinfo}}%
- \else
- \def\@oddhead{\hskip-\INGUD@colauthorinfosep
- \hskip-\INGUD@colauthorinfowidth
- \hb@xt@\textwidth{\INGUD@makeauthorinfo
- \hfil
- \INGUD@makeciteinfo}}%
- \fi
+ \def\@oddhead{}%
\let\@evenhead\@oddhead
\let\@mkboth\markboth
\def\sectionmark##1{}%
\def\subsectionmark##1{}}%
\else
\def\ps@titlepageingud{%
- \ifINGUD@rightcolauthor
- \def\@oddfoot{\INGUD@reviewinfo\hfil{\bfseries\thepage}}%
- \def\@oddhead{\INGUD@makeciteinfo
- \hfil
- \hb@xt@\z@{\hskip-\INGUD@colauthorinfowidth
- \INGUD@makeauthorinfo}}%
- \else
- \advance\oddsidemargin by \INGUD@colauthorinfosep
- \advance\oddsidemargin by \INGUD@colauthorinfowidth
- \def\@oddfoot{\hskip-\INGUD@colauthorinfosep
- \hskip-\INGUD@colauthorinfowidth
- \hb@xt@\textwidth{\INGUD@reviewinfo
+ \advance\footskip\headheight
+ \advance\footskip\headsep
+ \headsep\z@
+ \headheight\z@
+ \def\@oddfoot{\hb@xt@\textwidth{\INGUD@reviewinfo
\hfil
{\bfseries\thepage}}}%
- \def\@oddhead{\hskip-\INGUD@colauthorinfosep
- \hskip-\INGUD@colauthorinfowidth
- \hb@xt@\textwidth{\INGUD@makeauthorinfo
- \hfil
- \INGUD@makeciteinfo}}%
- \fi
+ \def\@oddhead{}%
\let\@mkboth\markboth
\def\sectionmark##1{}}%
\fi
@@ -438,7 +416,7 @@
\INGUD@thebibliography{#1}%
\itemsep\z@
\parsep\z@
- %\parskip\z@ %<-- Necesario si no se necesitan espacios entre entradas
+ \parskip\z@
\footnotesize}%
\ifINGUD@peerreview
\def\biography{%