diff options
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty b/Master/texmf-dist/tex/lualatex/novel/novel-ChapterScene.sty index 40510d2ff84..c4ae78198f1 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/09/20 v1.40.1 LaTeX file (chapter and scene macros)] +[2017/09/21 v1.40.2 LaTeX file (chapter and scene macros)] %% @@ -36,11 +36,26 @@ % \sceneline centers a line, about 1/3 textwidth. % \scenestars centers three widely-spaced asterisks. % Default behavior is \noindent for following paragraph. -% Use \IndentAfterScenebreak in preamble to change this globally. +% Use \AfterScenebreak{indent or noindent} in preamble to change this globally. % Either way, the local behavior can be changed using \indent or \noindent. -% Note: The indent behavior is activated AtBeginDocument. \newif\if@indentAfterScenebreak \@indentAfterScenebreakfalse -\newcommand\IndentAfterScenebreak{\@indentAfterScenebreaktrue} +\newcommand\IndentAfterScenebreak{\@indentAfterScenebreaktrue} % deprected from v. 1.40.2 +\newcommand\AfterScenebreak[1]{% indent or noindent. From v. 1.40.2 + \def\ngoodarg{false} + \ifthenelse{\equal{#1}{indent}}{% + \def\ngoodarg{true} + \@indentAfterScenebreaktrue + }{}% + \ifthenelse{\equal{#1}{noindent}}{% + \def\ngoodarg{true} + \@indentAfterScenebreakfalse + }{}% + \ifthenelse{\equal{\ngoodarg}{false}}{% + \ClassError{novel}{Bad argument for \string\AfterScenebreak\space}% + {\string\AfterScenebreak\space argument must be indent or noindent.}% + }{}% +} +\AfterScenebreak{noindent} % default % \newcommand\scenebreak{\null} % |