diff options
Diffstat (limited to 'macros/luatex/latex/novel/lualatex/novel-TextMacros.sty')
-rw-r--r-- | macros/luatex/latex/novel/lualatex/novel-TextMacros.sty | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/macros/luatex/latex/novel/lualatex/novel-TextMacros.sty b/macros/luatex/latex/novel/lualatex/novel-TextMacros.sty index c2d9b02afd..487aa84c63 100644 --- a/macros/luatex/latex/novel/lualatex/novel-TextMacros.sty +++ b/macros/luatex/latex/novel/lualatex/novel-TextMacros.sty @@ -2,11 +2,11 @@ %% Copyright 2017-2023 Robert Allgeyer. %% %% This file may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, version 1.3c only. -%% https://www.latex-project.org/lppl/lppl-1-3c/ +%% conditions of the LaTeX Project Public License, version 1.3c. +%% License URL: https://www.latex-project.org/lppl/lppl-1-3c/ %% \ProvidesFile{novel-TextMacros.sty}% -[2023/03/25 v1.81b LaTeX file (text macros usable within document body)] +[2023/08/26 v1.82 LaTeX file (text macros usable within document body)] %% @@ -536,6 +536,11 @@ %% end \sidebyside +%% Added in v.1.82: +\newcommand\myparindent[1]{\gdef\myown@parindent{#1}} +\@onlypreamble\myparindent +%% + %% Some things must wait until after layout calculations: \gdef\@ActivateTextLengths{% called by `novel.cls' \AtEndPreamble @@ -544,7 +549,11 @@ \gsetlength\nfs{\@SetFontSize} \newlength\nbs % abbreviation for normal baselineskip \gsetlength\nbs{\baselineskip} - \gsetlength\parindent{1.5em} % may be locally changed + \ifdefined\myown@parindent + \gsetlength\parindent{\myown@parindent} + \else + \gsetlength\parindent{1.5em} + \fi \newlength\normalparindent \gsetlength\normalparindent{\parindent} \newlength\normalxheight % height of lowercase x |