summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/emisa
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-26 22:10:54 +0000
committerKarl Berry <karl@freefriends.org>2020-11-26 22:10:54 +0000
commitd92ff598fe7b6e43069d579f979856b474f525aa (patch)
treeed17bc604f91a4c783b40794592b550c29bfc86a /Master/texmf-dist/tex/latex/emisa
parentfa46996da4f6f4b433c8a98849b4b0572fc9f140 (diff)
emisa (26nov20)
git-svn-id: svn://tug.org/texlive/trunk@57013 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/emisa')
-rw-r--r--Master/texmf-dist/tex/latex/emisa/emisa.cls34
1 files changed, 25 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/emisa/emisa.cls b/Master/texmf-dist/tex/latex/emisa/emisa.cls
index dc3804f165c..b51211ebcad 100644
--- a/Master/texmf-dist/tex/latex/emisa/emisa.cls
+++ b/Master/texmf-dist/tex/latex/emisa/emisa.cls
@@ -9,9 +9,9 @@
%% If you absolutely have to change emisa.cls, please
%% do so in emisa.dtx (after altering the name, of course!).
%%
-%% Copyright (C) 2009,2010,2011,2012 by Martin Wilhelm Leidig
+%% Copyright (C) 2009-2012 by Martin Wilhelm Leidig
%% <mwl@moss.in-berlin.de>
-%% Copyright (C) 2015,2016,2017,2018 by Enterprise Modelling and Information
+%% Copyright (C) 2015-2020 by Enterprise Modelling and Information
%% Systems Architectures -- International Journal of Conceptual Modeling
%% (EMISAJ)
%% ------------------------------------------------------------------------
@@ -32,7 +32,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{emisa}%
-[2018/02/24 2.2.0 LaTeX class EMISA]
+[2020/11/26 2.3.0 LaTeX class EMISA]
\def\@clearglobaloption#1{%
\def\@tempa{#1}%
\def\@tempb{\@gobble}%
@@ -76,6 +76,9 @@
\DeclareOption{noreferee}{\@refereefalse}
\DeclareOption{review}{\@refereetrue}
\DeclareOption{noreview}{\@refereefalse}
+\newif\if@usecleveref
+\DeclareOption{cleveref}{\@useclevereftrue}
+\DeclareOption{nocleveref}{\@useclevereffalse}
\newif\if@cover
\def\coveron{\@covertrue}
\def\coveroff{\@coverfalse}
@@ -86,11 +89,8 @@
\DeclareOption{nomicrotype}{\@microtypefalse}
\PassOptionsToClass{a4paper,twoside,11pt}{article}%
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}%
-\ExecuteOptions{american,final,noreferee,nocover,oneside,openany}%
+\ExecuteOptions{american,final,noreferee,nocover,cleveref,oneside,openany}%
\ProcessOptions*\relax%
-\IfFileExists{latexrelease.sty}%
- {\RequirePackage[latest]{latexrelease}}%
- {\RequirePackage{fixltx2e}}%
\LoadClass{article}[2001/06/01]%
\RequirePackage[utf8]{inputenc}%
\RequirePackage[T1]{fontenc}%
@@ -149,6 +149,8 @@
\RequirePackage{eso-pic}%
\RequirePackage{placeins}%
\RequirePackage{newtxtext}
+\RequirePackage{amsmath}
+\RequirePackage{amssymb}
\RequirePackage{newtxmath}
\RequirePackage[zerostyle=b,straightquotes]{newtxtt}
\if@microtype
@@ -173,7 +175,6 @@
\lstnewenvironment{sourcecode*}[1][]
{\lstset{float=htbp,#1}}
{}
- \RequirePackage{amsmath}
\RequirePackage[amsmath,standard,hyperref]{ntheorem}
\RequirePackage{url}
\urlstyle{same}
@@ -190,7 +191,22 @@
urlcolor=black,
hyperfootnotes=false
]{hyperref}%
-\RequirePackage{doclicense}
+\if@usecleveref%
+ \RequirePackage[capitalise,nameinlink]{cleveref}
+ \crefname{section}{Sec.}{Sec.}
+ \Crefname{section}{Sec.}{Sec.}
+ \crefname{figure}{\figurename}{\figurename}
+ \Crefname{figure}{\figurename}{\figurename}
+ \crefname{listing}{\lstlistingname}{\lstlistingname}
+ \Crefname{listing}{\lstlistingname}{\lstlistingname}
+ \crefname{table}{\tablename}{\tablename}
+ \Crefname{table}{\tablename}{\tablename}
+\fi%
+\RequirePackage[%
+ type={CC},%
+ modifier={by-nc-sa},%
+ version={4.0}%
+]{doclicense}
\begingroup
\catcode`\Z=3
\long\gdef\@M@T@#1#2Z#3#4#5\@nil{#4}