summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty')
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty22
1 files changed, 12 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty b/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
index 2ed0a50c957..bbecf3ce63a 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty
@@ -13,7 +13,7 @@
%%
%%
\ProvidesFile{novel-ChapterScene.sty}%
-[2017/03/09 v1.0.7 LaTeX file (chapter and scene macros)]
+[2017/03/12 v1.0.8 LaTeX file (chapter and scene macros)]
%%
@@ -56,7 +56,7 @@
%% Repair \FirstLine{} command from `magaz' package.
-% Problem: Conflict with \noindent\nov@AfterGroup as used in ChapterDisplay.
+% Problem: Conflict with \noindent\nov@AfterGroup as used in ChapterStart.
% The \noindent is carried past \FirstLine to the following paragraph.
% Solution: After FirstLine completes, back up one line vertically, then insert
% and empty line to restore grid and absorb the noindent.
@@ -73,7 +73,7 @@
-%% ChapterDisplay environment.
+%% ChapterStart environment.
% The most useful way to start a new chapter. Occupies a fixed amount of
% vertical space. Also self-adjust when used with dropfolio. Automatically
% calls \thispagestyle if set for all chapter displays.
@@ -82,13 +82,13 @@
\newif \if@csalignok \@csalignokfalse
%
% The argument is the number of normal baselineskips high:
-\newenvironment{ChapterDisplay}[1][10]
+\newenvironment{ChapterStart}[1][10]
{%
- \FPsub{\@fixlines}{#1}{3}%
+ \FPsub{\@fixlines}{#1}{2}%
\FPsub{\@fixlines}{\@fixlines}{0.001}% fudge to avoid rounding problems
- \if@thispagestyleset\else\thispagestyle{\@setchapterdisplay}\fi%
- \ResetFootnoteSymbol% resets symbolic markers, but not numeric markers
- \if@addCTline\null\else\fi% used with dropfolio
+ \if@thispagestyleset\else\thispagestyle{\@setchapterstart}\fi%
+ \ResetFootnoteSymbol% resets symbolic markers, but not numerical markers
+ \null%
\setcounter{@linequarter}{0}%
\begin{textblock*}{\textwidth}[0,0](0pt,0pt)%
}{%
@@ -106,10 +106,12 @@
}{\vspace{0.25\nbs}}{}%
\end{textblock*}%
\vspace{\@fixlines\nbs}%
+ \if@addCTline\null\fi%
\nov@AfterGroup\NoIndentAfterThis% etextools and noindentafter
}
%%
-
+\LetLtxMacro\ChapterDisplay\ChapterStart\relax % deprecated
+\LetLtxMacro\endChapterDisplay\endChapterStart\relax % deprecated
%
\newcommand\ChapterTitle[2][c]{% optional alignment l, c, r
@@ -201,7 +203,7 @@
% the right edge of the Epigraph.
% The text may be styled with the usual simple commands such as \emph{}.
% There is no provision for a horizontal line.
-% If used on a stand-alone page, or in the ChapterDisplay environment,
+% If used on a stand-alone page, or in the ChapterStart environment,
% then the vertical extent of the Epigraph does not much matter.
% If mingled with main text (not recommended) you may have to correct
% the line grid using some amount of \vspace{}. That's your problem.