summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls')
-rw-r--r--Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls16
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls b/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls
index 3ab2c8f9311..7b3687c3770 100644
--- a/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls
+++ b/Master/texmf-dist/tex/latex/philosophersimprint/philosophersimprint.cls
@@ -22,7 +22,7 @@
%% in the same archive or directory.)
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{philosophersimprint}
-[2013/01/13 v1.3 Typesetting articles for Philosophers' Imprint]
+[2016/07/20 v1.4 Typesetting articles for Philosophers' Imprint]
\newif\ifPHIM@titleimage\PHIM@titleimagetrue
\DeclareOption{titleimage}{\PHIM@titleimagetrue}
\DeclareOption{notitleimage}{\PHIM@titleimagefalse}
@@ -37,6 +37,9 @@
\PassOptionsToPackage{\CurrentOption}{mathpazo}}
\DeclareOption{noBBpl}{%
\PassOptionsToPackage{\CurrentOption}{mathpazo}}
+\newif\ifPHIM@flushend\PHIM@flushendfalse
+\DeclareOption{flushend}{\PHIM@flushendtrue}
+\DeclareOption{noflushend}{\PHIM@flushendfalse}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\InputIfFileExists{philosophersimprint.cfg}{%
\ClassInfo{philosophersimprint}{%
@@ -70,6 +73,15 @@
********************************}%
\PHIM@trajantitlefalse}
\fi
+\ifPHIM@flushend
+ \IfFileExists{flushend.sty}{\RequirePackage{flushend}}{%
+ \ClassWarningNoLine{philosophersimprint}{%
+ ********************************\MessageBreak
+ * Flushend package not found. \MessageBreak
+ * Please install sttools bundle.\MessageBreak
+ ********************************}%
+ \PHIM@flushendfalse}
+\fi
\newif\ifPHIM@hyperref
\AtBeginDocument{%
\@ifpackageloaded{hyperref}{%
@@ -371,7 +383,7 @@
\noindent
\makebox[\PHIM@baselength][l]{\@thefnmark.}#1\egroup}
\settoheight{\footnotesep}{\footnotesize\strut}
-\setlength{\skip\footins}{13.5pt plus 1fill}
+\setlength{\skip\footins}{\the\PHIM@baselength plus \the\PHIM@baselength}
\interfootnotelinepenalty=0
\normalsize
\frenchspacing