From ad393e9184aa72de0a9daa1ac5a5bffeb4c25d50 Mon Sep 17 00:00:00 2001 From: "Achim D. Brucker" Date: Sun, 20 May 2018 09:23:58 +0100 Subject: [PATCH] Initial commit: root file for Isabelle/DOF 'scholarly_paper/lncs'. --- .../root-scholarly_paper-lncs.tex | 109 ++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 document-generator/document-template/root-scholarly_paper-lncs.tex diff --git a/document-generator/document-template/root-scholarly_paper-lncs.tex b/document-generator/document-template/root-scholarly_paper-lncs.tex new file mode 100644 index 0000000..1d51391 --- /dev/null +++ b/document-generator/document-template/root-scholarly_paper-lncs.tex @@ -0,0 +1,109 @@ +%% Copyright (C) 2018 The University of Sheffield +%% 2018 The University of Paris-Sud +%% +%% 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 +%% version 1 of the License, or any later version. +%% OR +%% The 2-clause BSD-style license. +%% +%% SPDX-License-Identifier: LPPL-1.0+ OR BSD-2-Clause + +%% Warning: Do Not Edit! +%% ===================== +%% This is the root file for the Isabelle/DOF configuration "scholarly_paper/lncs". +%% All customization and/or additional packages should be added to the file +%% preamble.tex. + +\RequirePackage{ifvtex} +\documentclass{llncs} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[USenglish]{babel} +\usepackage{isabelle} +\usepackage{xcolor} +\usepackage{isabellesym} +\usepackage{amsmath} +\usepackage{amssymb} +\usepackage[numbers, sort&compress, sectionbib]{natbib} +\usepackage{DOF-scholarly_paper-lncs} +\IfFileExists{preamble.tex}{\input{preamble.tex}}{}% +\usepackage{xspace} +\newcommand{\isadof}{Isabelle/DOF\xspace} +\usepackage{graphicx} +\usepackage{hyperref} +\setcounter{tocdepth}{3} +\hypersetup{% + bookmarksdepth=3 + ,pdfpagelabels + ,pageanchor=false + ,bookmarksnumbered + ,plainpages=false +} % more detailed digital TOC (aka bookmarks) +\sloppy +\allowdisplaybreaks[4] +\urlstyle{rm} +\isabellestyle{it} +\usepackage[caption]{subfig} +\usepackage[size=footnotesize]{caption} + +\newcommand{\ie}{i.e.} +\newcommand{\eg}{e.g.} + +\renewcommand{\topfraction}{0.9} % max fraction of floats at top +\renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom +\setcounter{topnumber}{2} +\setcounter{bottomnumber}{2} +\setcounter{totalnumber}{4} % 2 may work better +\setcounter{dbltopnumber}{2} % for 2-column pages +\renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text +\renewcommand{\textfraction}{0.07} % allow minimal text w. figs +\renewcommand{\floatpagefraction}{0.7} % require fuller float pages +\renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% Overrides the (rightfully issued) warning by Koma Script that \rm +%%% etc. should not be used (they are deprecated since more than a +%%% decade) + \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm} + \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf} + \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt} + \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} + \DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\begin{document} +\selectlanguage{USenglish}% +\renewcommand{\bibname}{References}% +\renewcommand{\figurename}{Fig.} +\renewcommand{\abstractname}{Abstract.} +\renewcommand{\subsubsectionautorefname}{Sect.} +\renewcommand{\subsectionautorefname}{Sect.} +\renewcommand{\sectionautorefname}{Sect.} +\renewcommand{\figureautorefname}{Fig.} +\newcommand{\subtableautorefname}{\tableautorefname} +\newcommand{\subfigureautorefname}{\figureautorefname} +\newcommand{\lstnumberautorefname}{Line} + + + +\maketitle +\makeatother +\input{session} +% optional bibliography +\IfFileExists{root.bib}{% +{\small \renewcommand{\doi}[1]{} + \newcommand{\urlprefix}{} + + \bibliographystyle{spmpscinat} + + \bibliography{root} +}}{} +\end{document} + +%%% Local Variables: +%%% mode: latex +%%% TeX-master: t +%%% End: