2018-05-20 08:17:50 +00:00
|
|
|
%% Copyright (C) 2018 The University of Sheffield
|
2019-07-28 11:01:58 +00:00
|
|
|
%% 2018 The University of Paris-Saclay
|
2019-06-29 10:16:17 +00:00
|
|
|
%% 2019 The University of Exeter
|
2018-05-20 08:17:50 +00:00
|
|
|
%%
|
|
|
|
%% License:
|
|
|
|
%% This program can be redistributed and/or modified under the terms
|
|
|
|
%% of the LaTeX Project Public License Distributed from CTAN
|
|
|
|
%% archives in directory macros/latex/base/lppl.txt; either
|
2019-08-15 13:52:15 +00:00
|
|
|
%% version 1.3c of the License, or (at your option) any later version.
|
2018-05-20 08:17:50 +00:00
|
|
|
%% OR
|
|
|
|
%% The 2-clause BSD-style license.
|
2019-08-15 13:52:15 +00:00
|
|
|
%%
|
|
|
|
%% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
|
2018-05-20 08:17:50 +00:00
|
|
|
|
|
|
|
\NeedsTeXFormat{LaTeX2e}\relax
|
2018-06-08 13:30:48 +00:00
|
|
|
\ProvidesPackage{DOF-scholarly_paper}
|
2020-04-08 20:40:34 +00:00
|
|
|
[2020/01/14 Unreleased/Isabelle2020%
|
2018-05-20 08:17:50 +00:00
|
|
|
Document-Type Support Framework for Isabelle (LNCS).]
|
|
|
|
|
2019-03-30 23:40:01 +00:00
|
|
|
\RequirePackage{DOF-COL}
|
2018-06-14 21:27:01 +00:00
|
|
|
\RequirePackage{ifthen}
|
2018-09-18 13:29:54 +00:00
|
|
|
|
2018-10-30 00:27:24 +00:00
|
|
|
\RequirePackage{ifthen}
|
|
|
|
\newboolean{DOF@scholarlypaper@force}
|
|
|
|
\DeclareOption{force}{\setboolean{DOF@scholarlypaper@force}{true}}
|
|
|
|
|
|
|
|
\ProcessOptions\relax
|
2018-09-18 13:29:54 +00:00
|
|
|
|
2018-10-30 00:27:24 +00:00
|
|
|
\ifthenelse{\boolean{DOF@scholarlypaper@force}}{%
|
|
|
|
}{%
|
2018-06-08 13:30:48 +00:00
|
|
|
\@ifclassloaded{llncs}%
|
|
|
|
{}%
|
2018-06-14 21:27:01 +00:00
|
|
|
{%
|
|
|
|
\@ifclassloaded{scrartcl}%
|
|
|
|
{%
|
|
|
|
\newcommand{\institute}[1]{}%
|
|
|
|
\newcommand{\inst}[1]{}%
|
|
|
|
\newcommand{\orcidID}[1]{}%
|
|
|
|
\newcommand{\email}[1]{}%
|
2020-09-07 22:57:15 +00:00
|
|
|
\RequirePackage{DOF-scholarly_paper-thm}%
|
2018-06-14 21:27:01 +00:00
|
|
|
}%
|
2019-01-08 20:52:37 +00:00
|
|
|
{%
|
|
|
|
\@ifclassloaded{lipics-v2019}%
|
|
|
|
{%
|
2019-06-29 10:16:17 +00:00
|
|
|
\newcommand{\institute}[1]{}%
|
|
|
|
\newcommand{\inst}[1]{}%
|
|
|
|
\newcommand{\orcidID}[1]{}%
|
|
|
|
\newcommand{\email}[1]{}%
|
|
|
|
}%
|
|
|
|
{%
|
|
|
|
\@ifclassloaded{eptcs}%
|
|
|
|
{%
|
|
|
|
\newcommand{\inst}[1]{}%
|
|
|
|
\newcommand{\orcidID}[1]{}%
|
|
|
|
}%
|
|
|
|
{%
|
|
|
|
\PackageError{DOF-scholarly_paper}
|
|
|
|
{Scholarly Paper only supports LNCS or scrartcl as document class.}
|
|
|
|
{}\stop%
|
|
|
|
}%
|
2019-01-08 20:52:37 +00:00
|
|
|
}%
|
|
|
|
}
|
2018-06-14 21:27:01 +00:00
|
|
|
}
|
2018-10-30 00:27:24 +00:00
|
|
|
}
|
2018-09-18 13:29:54 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% begin: title*
|
2018-10-01 23:36:55 +00:00
|
|
|
\NewEnviron{isamarkuptitle*}[1][]{\isaDof[env={title},#1]{\BODY}}
|
2019-03-30 16:36:25 +00:00
|
|
|
\newisadof{title.scholarly_paper.title}%
|
2018-09-18 13:29:54 +00:00
|
|
|
[label=,type=%
|
2019-03-31 16:47:10 +00:00
|
|
|
,scholarly_paper.title.short_title=%
|
2018-09-18 13:29:54 +00:00
|
|
|
][1]{%
|
|
|
|
\immediate\write\@auxout{\noexpand\title{#1}}%
|
2018-05-20 08:17:50 +00:00
|
|
|
}
|
2018-09-18 13:29:54 +00:00
|
|
|
% end: title*
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2018-05-20 08:17:50 +00:00
|
|
|
|
2018-09-18 13:29:54 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% begin: subtitle*
|
2018-10-01 23:36:55 +00:00
|
|
|
\NewEnviron{isamarkupsubtitle*}[1][]{\isaDof[env={subtitle},#1]{\BODY}}
|
2019-03-30 16:36:25 +00:00
|
|
|
\newisadof{subtitle.scholarly_paper.subtitle}%
|
2018-09-18 13:29:54 +00:00
|
|
|
[label=,type=%
|
2019-03-31 16:47:10 +00:00
|
|
|
,scholarly_paper.subtitle.abbrev=%
|
2018-09-18 13:29:54 +00:00
|
|
|
][1]{%
|
|
|
|
\immediate\write\@auxout{\noexpand\subtitle{#1}}%
|
2018-05-20 08:17:50 +00:00
|
|
|
}
|
2018-09-18 13:29:54 +00:00
|
|
|
% end: subtitle*
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2018-05-20 08:17:50 +00:00
|
|
|
|
2018-09-18 13:29:54 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% begin: scholarly_paper.author
|
2018-05-20 08:17:50 +00:00
|
|
|
\def\dof@author{}%
|
|
|
|
\def\dof@affiliation{}%
|
|
|
|
|
2019-01-09 10:05:12 +00:00
|
|
|
\newcommand{\DOFauthor}{\author{\dof@author}}
|
|
|
|
\newcommand{\DOFinstitute}{\institute{\dof@affiliation}}
|
|
|
|
|
2018-05-20 08:17:50 +00:00
|
|
|
\AtBeginDocument{%
|
2019-01-09 10:05:12 +00:00
|
|
|
\DOFauthor
|
|
|
|
\DOFinstitute
|
2018-09-18 13:29:54 +00:00
|
|
|
}
|
2018-05-20 08:17:50 +00:00
|
|
|
|
|
|
|
\def\leftadd#1#2{\expandafter\leftaddaux\expandafter{#1}{#2}{#1}}
|
|
|
|
\def\leftaddaux#1#2#3{\gdef#3{#1#2}}
|
|
|
|
|
|
|
|
\newcounter{dof@cnt@author}
|
|
|
|
\newcommand{\addauthor}[1]{%
|
|
|
|
\ifthenelse{\equal{\dof@author}{}}{%
|
|
|
|
\gdef\dof@author{#1}%
|
|
|
|
}{%
|
|
|
|
\leftadd\dof@author{\protect\and #1}%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
\newcommand{\addaffiliation}[1]{%
|
|
|
|
\ifthenelse{\equal{\dof@affiliation}{}}{%
|
|
|
|
\gdef\dof@affiliation{#1}%
|
|
|
|
}{%
|
|
|
|
\leftadd\dof@affiliation{\protect\and #1}%
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-03 18:00:33 +00:00
|
|
|
\NewEnviron{isamarkupauthor*}[1][]{\isaDof[env={author},#1]{\BODY}}
|
2019-03-30 16:36:25 +00:00
|
|
|
\provideisadof{text.scholarly_paper.author}%
|
2018-09-18 13:29:54 +00:00
|
|
|
[label=,type=%
|
|
|
|
,scholarly_paper.author.email=%
|
|
|
|
,scholarly_paper.author.affiliation=%
|
|
|
|
,scholarly_paper.author.orcid=%
|
2019-03-31 16:47:10 +00:00
|
|
|
,scholarly_paper.author.http_site=%
|
2018-09-18 13:29:54 +00:00
|
|
|
][1]{%
|
2018-05-20 08:17:50 +00:00
|
|
|
\stepcounter{dof@cnt@author}
|
2018-09-18 13:29:54 +00:00
|
|
|
\def\dof@a{\commandkey{scholarly_paper.author.affiliation}}
|
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.author.orcid}}{}}{%
|
2020-06-23 05:56:35 +00:00
|
|
|
\protected@write\@auxout{}{\string\addauthor{#1\string\inst{\thedof@cnt@author}}}%
|
2018-05-20 08:17:50 +00:00
|
|
|
}{%
|
2020-06-23 05:56:35 +00:00
|
|
|
\protected@write\@auxout{}{\string\addauthor{#1\string\inst{\thedof@cnt@author}\string\orcidID{\commandkey{scholarly_paper.author.orcid}}}}%
|
2018-05-20 08:17:50 +00:00
|
|
|
}
|
2018-09-18 13:29:54 +00:00
|
|
|
\protected@write\@auxout{}{\string\addaffiliation{\dof@a\\\string\email{\commandkey{scholarly_paper.author.email}}}}%
|
2018-05-20 08:17:50 +00:00
|
|
|
}
|
2018-09-18 13:29:54 +00:00
|
|
|
% end: scholarly_paper.author
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2018-05-20 08:17:50 +00:00
|
|
|
|
2018-09-18 13:29:54 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
% begin: scholarly_paper.abstract
|
2019-04-06 18:47:44 +00:00
|
|
|
\providecommand{\keywords}[1]{\mbox{}\\[2ex]\mbox{}\noindent{\textbf{Keywords:}} #1}
|
2019-03-30 16:36:25 +00:00
|
|
|
\newisadof{text.scholarly_paper.abstract}%
|
2018-09-18 13:29:54 +00:00
|
|
|
[label=,type=%
|
|
|
|
,scholarly_paper.abstract.keywordlist=%
|
|
|
|
][1]{%
|
|
|
|
\begin{isamarkuptext}%
|
|
|
|
\begin{abstract}%
|
|
|
|
#1%
|
2019-01-09 11:09:21 +00:00
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.abstract.keywordlist}}{}}{}{%
|
|
|
|
\keywords{\commandkey{scholarly_paper.abstract.keywordlist}}%
|
2018-09-18 13:29:54 +00:00
|
|
|
}%
|
|
|
|
\end{abstract}%
|
|
|
|
\end{isamarkuptext}%
|
2018-05-20 08:17:50 +00:00
|
|
|
}
|
2020-02-17 22:07:34 +00:00
|
|
|
|
2020-04-09 15:25:09 +00:00
|
|
|
\newtheorem{axiom}{Axiom}
|
|
|
|
\newtheorem{ruleX}{Rule} % apparent name-clash with s th from libraries...
|
|
|
|
\newtheorem{assertion}{Assertion}
|
2020-02-17 22:07:34 +00:00
|
|
|
|
2020-04-14 12:44:42 +00:00
|
|
|
% \newcommand{\formalMathStmt[label, mcc, ]
|
2018-09-18 13:29:54 +00:00
|
|
|
% end: scholarly_paper.abstract
|
2020-04-23 12:31:59 +00:00
|
|
|
% | "rule" | "assn" | "expl" | rem | "notation" | "terminology"
|
2020-04-08 21:29:15 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\newisadof{text.scholarly_paper.math_content}%
|
|
|
|
[label=,type=%
|
2020-04-14 12:44:42 +00:00
|
|
|
, scholarly_paper.math_content.short_name ={} % {} or \relax
|
|
|
|
, scholarly_paper.math_content.mcc = % "def" | "axm" | "thm" | "lem" | "prop" | "rule" | "assn"
|
2020-04-08 21:29:15 +00:00
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, Isa_COL.text_element.referentiable =%
|
|
|
|
, Isa_COL.text_element.variants =%
|
|
|
|
, scholarly_paper.text_section.main_author =%
|
|
|
|
, scholarly_paper.text_section.fixme_list =%
|
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, scholarly_paper.technical.definition_list =%
|
|
|
|
, scholarly_paper.technical.status =%
|
|
|
|
]
|
|
|
|
[1]
|
|
|
|
{%
|
|
|
|
\begin{isamarkuptext}%
|
2020-04-14 12:48:16 +00:00
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{defn}}
|
2020-04-09 15:25:09 +00:00
|
|
|
{%
|
2020-04-14 12:44:42 +00:00
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{definition} \label{\commandkey{label}} #1 \end{definition} }
|
|
|
|
{\begin{definition} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{definition}}
|
|
|
|
}%
|
2020-04-09 15:25:09 +00:00
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{axm}}
|
|
|
|
{%
|
2020-04-14 12:44:42 +00:00
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{axiom} \label{\commandkey{label}} #1 \end{axiom} }
|
|
|
|
{\begin{axiom} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{axiom}}
|
|
|
|
}%
|
2020-04-09 15:25:09 +00:00
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{thm}}
|
|
|
|
{%
|
2020-04-14 12:44:42 +00:00
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{theorem} \label{\commandkey{label}} #1 \end{theorem} }
|
|
|
|
{\begin{theorem} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{theorem}}
|
|
|
|
}%
|
2020-04-09 15:25:09 +00:00
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{lem}}
|
|
|
|
{%
|
2020-04-14 12:44:42 +00:00
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{lemma} \label{\commandkey{label}} #1 \end{lemma} }
|
|
|
|
{\begin{lemma} [\commandkey{scholarly_paper.math_content.short_name}]
|
2020-04-23 12:31:59 +00:00
|
|
|
\label{\commandkey{label}} #1
|
2020-04-14 12:44:42 +00:00
|
|
|
\end{lemma}}
|
|
|
|
}%
|
|
|
|
}%
|
2020-04-23 12:31:59 +00:00
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{expl}}
|
2020-04-14 12:44:42 +00:00
|
|
|
{%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{example} \label{\commandkey{label}} #1 \end{example} }
|
|
|
|
{\begin{example} [\commandkey{scholarly_paper.math_content.short_name}]
|
2020-04-23 12:31:59 +00:00
|
|
|
\label{\commandkey{label}} #1
|
2020-04-14 12:44:42 +00:00
|
|
|
\end{example}}
|
|
|
|
}%
|
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{cor}}
|
|
|
|
{%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{corrollary} \label{\commandkey{label}} #1 \end{corrollary} }
|
|
|
|
{\begin{corrollary} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{corrollary}}
|
|
|
|
}%
|
2020-04-09 15:25:09 +00:00
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{prop}}
|
|
|
|
{%
|
2020-04-23 12:31:59 +00:00
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{property} \label{\commandkey{label}} #1 \end{property} }
|
|
|
|
{\begin{property} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{property}}
|
|
|
|
}%
|
2020-04-09 15:25:09 +00:00
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{rule}}
|
|
|
|
{%
|
2020-04-23 12:31:59 +00:00
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{ruleX} \label{\commandkey{label}} #1 \end{ruleX} }
|
|
|
|
{\begin{ruleX} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{ruleX}}
|
|
|
|
}%
|
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{rem}}
|
|
|
|
{%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{remark} \label{\commandkey{label}} #1 \end{remark} }
|
|
|
|
{\begin{remark} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{remark}}
|
|
|
|
}%
|
2020-04-09 15:25:09 +00:00
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{assn}}
|
|
|
|
{%
|
2020-04-23 12:31:59 +00:00
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{assertion} \label{\commandkey{label}} #1 \end{assertion} }
|
|
|
|
{\begin{assertion} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{assertion}}
|
|
|
|
}%
|
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{notation}}
|
|
|
|
{%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{notation} \label{\commandkey{label}} #1 \end{notation} }
|
|
|
|
{\begin{notation} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{notation}}
|
|
|
|
}%
|
|
|
|
}%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{terminology}}
|
|
|
|
{%
|
|
|
|
{\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
|
|
|
{\begin{terminology} \label{\commandkey{label}} #1 \end{terminology} }
|
|
|
|
{\begin{terminology} [\commandkey{scholarly_paper.math_content.short_name}]
|
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{terminology}}
|
|
|
|
}%
|
2020-04-09 15:25:09 +00:00
|
|
|
}%
|
|
|
|
{%
|
2020-04-23 12:31:59 +00:00
|
|
|
\typeout{Internal error: enumeration out of sync with ontology scholarly-paper.}
|
|
|
|
}%
|
|
|
|
}%
|
|
|
|
}%
|
2020-04-14 12:44:42 +00:00
|
|
|
}%
|
|
|
|
}%
|
2020-04-09 15:25:09 +00:00
|
|
|
}%
|
|
|
|
}%
|
|
|
|
}%
|
2020-04-08 21:29:15 +00:00
|
|
|
}%
|
2020-04-09 15:25:09 +00:00
|
|
|
}%
|
|
|
|
}%
|
|
|
|
}%
|
2020-04-08 21:29:15 +00:00
|
|
|
\end{isamarkuptext}%
|
|
|
|
}
|
|
|
|
|
2020-04-09 15:25:09 +00:00
|
|
|
|
|
|
|
|
2020-04-09 16:12:14 +00:00
|
|
|
% end: scholarly_paper.math_content
|
2020-04-08 21:29:15 +00:00
|
|
|
|
2020-04-09 16:12:14 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2020-04-23 14:59:49 +00:00
|
|
|
% Besser: Einfach durchreichen wg Vererbung !
|
2020-04-09 16:12:14 +00:00
|
|
|
\newisadof{text.scholarly_paper.math_example}%
|
|
|
|
[label=,type=%
|
2020-04-23 14:59:49 +00:00
|
|
|
, scholarly_paper.math_content.short_name =%
|
|
|
|
, scholarly_paper.math_content.mcc =%
|
2020-04-09 16:12:14 +00:00
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, Isa_COL.text_element.referentiable =%
|
|
|
|
, Isa_COL.text_element.variants =%
|
|
|
|
, scholarly_paper.text_section.main_author =%
|
|
|
|
, scholarly_paper.text_section.fixme_list =%
|
|
|
|
, scholarly_paper.technical.definition_list =%
|
|
|
|
, scholarly_paper.technical.status =%
|
|
|
|
]
|
|
|
|
[1]
|
|
|
|
{%
|
|
|
|
\begin{isamarkuptext}%
|
2020-04-23 14:59:49 +00:00
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{expl}}{
|
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
2020-04-09 16:12:14 +00:00
|
|
|
{\begin{example} \label{\commandkey{label}} #1 \end{example} }
|
2020-04-23 14:59:49 +00:00
|
|
|
{\begin{example} [\commandkey{scholarly_paper.math_content.short_name}]
|
2020-04-09 16:12:14 +00:00
|
|
|
\label{\commandkey{label}} #1
|
|
|
|
\end{example}}
|
|
|
|
}{%
|
|
|
|
#1%
|
|
|
|
}%
|
|
|
|
\end{isamarkuptext}%
|
|
|
|
}
|
2020-04-08 21:29:15 +00:00
|
|
|
|
2018-09-18 13:29:54 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2020-04-23 14:59:49 +00:00
|
|
|
% Besser: Einfach durchreichen wg Vererbung !
|
2020-02-17 22:07:34 +00:00
|
|
|
\newisadof{text.scholarly_paper.definition}%
|
|
|
|
[label=,type=%
|
2020-04-23 14:59:49 +00:00
|
|
|
, scholarly_paper.math_content.short_name =%
|
|
|
|
, scholarly_paper.math_content.mcc =%
|
2020-02-17 22:07:34 +00:00
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, Isa_COL.text_element.referentiable =%
|
|
|
|
, Isa_COL.text_element.variants =%
|
|
|
|
, scholarly_paper.text_section.main_author =%
|
|
|
|
, scholarly_paper.text_section.fixme_list =%
|
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, scholarly_paper.technical.definition_list =%
|
|
|
|
, scholarly_paper.technical.status =%
|
|
|
|
]
|
|
|
|
[1]
|
|
|
|
{%
|
|
|
|
\begin{isamarkuptext}%
|
2020-04-23 14:59:49 +00:00
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{defn}}{
|
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
2020-02-17 22:07:34 +00:00
|
|
|
{\begin{definition} \label{\commandkey{label}} #1 \end{definition} }
|
2020-04-23 14:59:49 +00:00
|
|
|
{\begin{definition} [\commandkey{scholarly_paper.math_content.short_name}] \label{\commandkey{label}} #1 \end{definition}}
|
2020-02-17 22:07:34 +00:00
|
|
|
}{%
|
|
|
|
#1%
|
|
|
|
}%
|
|
|
|
\end{isamarkuptext}%
|
2020-05-19 15:32:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
% An experiment in inheritance of the default behaviour.
|
2020-05-20 12:55:49 +00:00
|
|
|
% \newisadof{text.scholarly_paper.definition}%
|
|
|
|
% [label=,type=%
|
|
|
|
% , scholarly_paper.math_content.short_name =%
|
|
|
|
% , scholarly_paper.math_content.mcc =%
|
|
|
|
% , Isa_COL.text_element.level =%
|
|
|
|
% , Isa_COL.text_element.referentiable =%
|
|
|
|
% , Isa_COL.text_element.variants =%
|
|
|
|
% , scholarly_paper.text_section.main_author =%
|
|
|
|
% , scholarly_paper.text_section.fixme_list =%
|
|
|
|
% , scholarly_paper.technical.definition_list =%
|
|
|
|
% , scholarly_paper.technical.status =%
|
|
|
|
% ]
|
|
|
|
% [1]
|
|
|
|
% {%
|
|
|
|
% \cscommand{text.scholarly_paper.math_content}%
|
|
|
|
% [label=\commandkey{label},type=\commandkey{type}%
|
|
|
|
% , scholarly_paper.math_content.short_name =\commandkey{scholarly_paper.math_content.short_name}%
|
|
|
|
% , scholarly_paper.math_content.mcc =\commandkey{scholarly_paper.math_content.mcc}%
|
|
|
|
% , Isa_COL.text_element.level =\commandkey{Isa_COL.text_element.level}%
|
|
|
|
% , Isa_COL.text_element.referentiable =\commandkey{Isa_COL.text_element.referentiable}%
|
|
|
|
% , Isa_COL.text_element.variants =\commandkey{Isa_COL.text_element.variants}%
|
|
|
|
% , scholarly_paper.text_section.main_author =\commandkey{scholarly_paper.text_section.main_author}%
|
|
|
|
% , scholarly_paper.text_section.fixme_list =\commandkey{scholarly_paper.text_section.fixme_list}%
|
|
|
|
% , scholarly_paper.technical.definition_list =\commandkey{scholarly_paper.technical.definition_list}%
|
|
|
|
% , scholarly_paper.technical.status =\commandkey{scholarly_paper.technical.status}%
|
|
|
|
% ]
|
|
|
|
% {#1}%
|
|
|
|
% }
|
|
|
|
|
2020-05-19 15:32:25 +00:00
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
%% Besser: Einfach durchreichen wg Vererbung !
|
2020-02-19 17:13:33 +00:00
|
|
|
\newisadof{text.scholarly_paper.lemma}%
|
|
|
|
[label=,type=%
|
2020-04-23 14:59:49 +00:00
|
|
|
, scholarly_paper.math_content.short_name =%
|
|
|
|
, scholarly_paper.math_content.mcc =%
|
2020-02-19 17:13:33 +00:00
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, Isa_COL.text_element.referentiable =%
|
|
|
|
, Isa_COL.text_element.variants =%
|
|
|
|
, scholarly_paper.text_section.main_author =%
|
|
|
|
, scholarly_paper.text_section.fixme_list =%
|
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, scholarly_paper.technical.definition_list =%
|
|
|
|
, scholarly_paper.technical.status =%
|
|
|
|
]
|
|
|
|
[1]
|
|
|
|
{%
|
|
|
|
\begin{isamarkuptext}%
|
2020-04-23 14:59:49 +00:00
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{lem}}{
|
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
2020-02-19 17:13:33 +00:00
|
|
|
{\begin{lemma} \label{\commandkey{label}} #1 \end{lemma} }
|
2020-04-23 14:59:49 +00:00
|
|
|
{\begin{lemma} [\commandkey{scholarly_paper.math_content.short_name}] \label{\commandkey{label}} #1 \end{lemma}}
|
2020-02-19 17:13:33 +00:00
|
|
|
}{%
|
|
|
|
#1%
|
|
|
|
}%
|
|
|
|
\end{isamarkuptext}%
|
|
|
|
}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2020-04-23 14:59:49 +00:00
|
|
|
% Besser: Einfach durchreichen wg Vererbung !
|
2020-02-25 11:38:59 +00:00
|
|
|
\newisadof{text.scholarly_paper.theorem}%
|
2020-02-19 17:13:33 +00:00
|
|
|
[label=,type=%
|
2020-04-23 14:59:49 +00:00
|
|
|
, scholarly_paper.math_content.short_name =%
|
|
|
|
, scholarly_paper.math_content.mcc =%
|
2020-02-19 17:13:33 +00:00
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, Isa_COL.text_element.referentiable =%
|
|
|
|
, Isa_COL.text_element.variants =%
|
|
|
|
, scholarly_paper.text_section.main_author =%
|
|
|
|
, scholarly_paper.text_section.fixme_list =%
|
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, scholarly_paper.technical.definition_list =%
|
|
|
|
, scholarly_paper.technical.status =%
|
|
|
|
]
|
|
|
|
[1]
|
|
|
|
{%
|
|
|
|
\begin{isamarkuptext}%
|
2020-04-23 14:59:49 +00:00
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.mcc}}{thm}}{
|
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.math_content.short_name}} {} }
|
2020-02-25 11:38:59 +00:00
|
|
|
{\begin{theorem} \label{\commandkey{label}} #1 \end{theorem} }
|
2020-04-23 14:59:49 +00:00
|
|
|
{\begin{theorem} [\commandkey{scholarly_paper.math_content.short_name}] \label{\commandkey{label}} #1 \end{theorem}}
|
2020-02-19 17:13:33 +00:00
|
|
|
}{%
|
|
|
|
#1%
|
|
|
|
}%
|
|
|
|
\end{isamarkuptext}%
|
|
|
|
}
|
|
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
2020-04-23 14:59:49 +00:00
|
|
|
% Generic Example. Different inheritance hierachy.
|
2020-02-17 22:07:34 +00:00
|
|
|
\newisadof{text.scholarly_paper.example}%
|
|
|
|
[label=,type=%
|
|
|
|
, Isa_COL.text_element.level =%
|
|
|
|
, Isa_COL.text_element.referentiable =%
|
|
|
|
, Isa_COL.text_element.variants =%
|
|
|
|
, scholarly_paper.text_section.main_author =%
|
|
|
|
, scholarly_paper.text_section.fixme_list =%
|
|
|
|
, scholarly_paper.technical.definition_list =%
|
2020-04-23 14:08:05 +00:00
|
|
|
, scholarly_paper.example.status =%
|
|
|
|
, scholarly_paper.example.short_name =%
|
2020-02-17 22:07:34 +00:00
|
|
|
]
|
|
|
|
[1]
|
|
|
|
{%
|
|
|
|
\begin{isamarkuptext}%
|
2020-04-23 14:08:05 +00:00
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.example.status}}{semiformal}}{
|
|
|
|
\ifthenelse{\equal{\commandkey{scholarly_paper.example.short_name}} {} }
|
2020-02-17 22:07:34 +00:00
|
|
|
{\begin{example} \label{\commandkey{label}} #1 \end{example} }
|
2020-04-23 14:08:05 +00:00
|
|
|
{\begin{example} [\commandkey{scholarly_paper.example.short_name}] %
|
|
|
|
\label{\commandkey{label}} #1 %
|
|
|
|
\end{example}} %
|
|
|
|
}%
|
|
|
|
{%
|
2020-02-17 22:07:34 +00:00
|
|
|
#1%
|
|
|
|
}%
|
|
|
|
\end{isamarkuptext}%
|
|
|
|
}
|
2020-09-22 14:47:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
%% Miscellaneous
|
2020-10-06 03:45:14 +00:00
|
|
|
\usepackage{xspace}
|
|
|
|
\newcommand{\ie}{i.\,e.\xspace}
|
|
|
|
\newcommand{\eg}{e.\,g.\xspace}
|
2020-09-22 14:47:05 +00:00
|
|
|
\newcommand{\etc}{etc}
|
|
|
|
|