Added frontmatter-environment for supporting configuration using hooks.

This commit is contained in:
Achim D. Brucker 2019-07-27 15:11:43 +01:00
parent 6b0ce07ef6
commit db9afaaa49
3 changed files with 12 additions and 5 deletions

View File

@ -67,11 +67,13 @@
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{frontmatter}{}{}
\begin{document}
\maketitle
\tableofcontents
\begin{frontmatter}
\maketitle
\tableofcontents
\end{frontmatter}
\input{session}
% optional bibliography
\IfFileExists{root.bib}{%

View File

@ -24,6 +24,7 @@
\RequirePackage{ifvtex}
\documentclass[fontsize=11pt,DIV=9,paper=a4,open=right,twoside=semi,abstract=true]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage[varqu,varl]{zi4}% inconsolata typewriter
\usepackage{amsmath,amsthm}
@ -85,11 +86,13 @@
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{frontmatter}{}{}
\begin{document}
\begin{frontmatter}
\maketitle
\tableofcontents
\end{frontmatter}
\input{session}
% optional bibliography
\IfFileExists{root.bib}{%

View File

@ -67,11 +67,13 @@
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{frontmatter}{}{}
\begin{document}
\begin{frontmatter}
\maketitle
\tableofcontents
\end{frontmatter}
\input{session}
% optional bibliography
\IfFileExists{root.bib}{%