summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-01 21:34:40 +0000
committerKarl Berry <karl@freefriends.org>2017-08-01 21:34:40 +0000
commit7ba0b2e501e4b5d83a48295804d3570ef3407f8a (patch)
tree84ceb1534f87b41ff6aca6b306fed3b33466ecb2 /Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
parentb26f035ced2518fea3f81bb1c8bd54de090262df (diff)
novel (1aug17)
git-svn-id: svn://tug.org/texlive/trunk@44933 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty')
-rw-r--r--Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty37
1 files changed, 26 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty b/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
index 48d2e30772c..3bea7af88dd 100644
--- a/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
+++ b/Master/texmf-dist/tex/lualatex/novel/novel-TextMacros.sty
@@ -13,9 +13,11 @@
%%
%%
\ProvidesFile{novel-TextMacros.sty}%
-[2017/07/26 v1.32 LaTeX file (text macros usable within document body)]
+[2017/07/31 v1.34 LaTeX file (text macros usable within document body)]
%%
+%% Novel Tracking messages in this file begin with 4.
+\NDB{4.0 in novel-TextMacros.sty.}
%% This file contains commands that are usable within the document body,
%% for styling and otherwise manipulating text.
@@ -121,7 +123,7 @@
% \part{}, \chapter{}, \section{}, \subsection{}, \subsubsection{}, \paragraph{}, \subparagraph{}
%
%% Certain commands will generate an error, so that you know they cannot be used:
-% \maketitle, \makeindex, \tableofcontents, \listoftables, \listoffigures
+% \maketitle, \makeindex, \tableofcontents, \listoftables, \listoffigures, \textls
%
%% You cannot use \includepdf (package: pdfpages).
%
@@ -139,18 +141,17 @@
% Useful when you wish to put a note to yourself in the *.tex document.
% Not the same as % comment, because anything after the braces will print.
\long\gdef\memo#1{}
+\NDB{4.1 in novel-TextMacros.sty.}
%
\gdef\stake{\rule{0pt}{1pt}} % placeholder
%
% \forceindent and \backindent perform or remove indent, using \hspace{}.
% Rationale: Sometimes \indent and \noindent are neutralized by another command.
\newlength\forceparlength % holds default value, even when \parindent changed
-\AtBeginDocument{
- \setlength\forceparlength{\parindent}
- \global\forceparlength=\forceparlength
- \gdef\forceindent{\ifvmode\else\unskip\fi\stake\hspace{\forceparlength}}
- \gdef\backindent{\ifvmode\else\unskip\fi\hspace{-\forceparlength}}
-}
+\NDB{4.2 in novel-TextMacros.sty.}
+
+% See novel.cls for accompanying AtBeginDocument routine.
+
%%
% \smcp{} and \textsc{} small caps (Open Type) and \allsmcp{}:
%
@@ -171,6 +172,7 @@
}
%
\ExplSyntaxOff
+\NDB{4.4 in novel-TextMacros.sty.}
%
\let\textsc\smcp\relax % unified
\let\oldscshape\scshape\relax % in case needed later
@@ -188,6 +190,7 @@
%% Just in case `xcolor' re-defines its internals, to prevent code bomb:
\ProvideDocumentCommand\@declaredcolor { m } {}
\ProvideDocumentCommand\@undeclaredcolor { o m } {}
+\NDB{4.5 in novel-TextMacros.sty.}
%%
\if@graytext % and the usual colors, including black and white.
\definecolor[named]{gray1}{gray}{0.15} % ten percent gray, etc.
@@ -208,6 +211,7 @@
\ifthenelse{\equal{#2}{hingledingle}}{\@declaredcolor{white}}{}% hingledingle is internal alias for white
}
\fi
+\NDB{4.6 in novel-TextMacros.sty.}
%%
@@ -229,7 +233,7 @@
\expandafter\aftergroup\csname nov@ettl@fterGroup\the\nov@ettl@fter\endcsname%
}
% End code from `etextools`.
-
+\NDB{4.7 in novel-TextMacros.sty.}
@@ -247,6 +251,7 @@
#2%
\fi%
}
+\NDB{4.8 in novel-TextMacros.sty.}
%% \bigemdash inspired by code by RTBarnard at stackoverflow.com, CC-by-sa-3.0:
% Allows a rule of variable length to fill available space at its right.
% There must be a "right-hand limit" imposed by something, such as by enclosing
@@ -272,7 +277,7 @@
{\leaders\hbox{\rule[\@myraise ex]{1pt}{\@mythick em}}\hfill\stake}%
}
%%
-
+\NDB{4.9 in novel-TextMacros.sty.}
%%
% \charscale[scale,x,y]{text} and starred version
@@ -320,7 +325,7 @@
}
\ExplSyntaxOff
%%
-
+\NDB{4.10 in novel-TextMacros.sty.}
@@ -352,6 +357,7 @@
\FPround{\my@tempDetailsSkipNum}{\my@tempDetailsSkipNum}{2}%
\fontsize{\my@tempDetailsFontNum pt}{\my@tempDetailsSkipNum pt}\selectfont}%
{\endgroup}
+\NDB{4.11 in novel-TextMacros.sty.}
%
%%
% Environment toc (alternative table of contents):
@@ -370,6 +376,7 @@
}{%
\endgroup\end{adjustwidth}\par%
}%
+\NDB{4.12 in novel-TextMacros.sty.}
%% \tocitem[number]{description}{page} provides a one-line table entry in toc.
% optional number might be chapter number. Can use ~ to offset.
% unstarred: distance between description and page is not decorated.
@@ -387,6 +394,7 @@
\dotfill%
\,#3\par\vspace{\@tocskip}%
}%
+\NDB{4.13 in novel-TextMacros.sty.}
%
\newcommand\@tocitemns[3][]{%
\ifthenelse{\equal{#1}{}}{}{%
@@ -400,6 +408,7 @@
\hfill%
#3\par\vspace{\@tocskip}%
}%
+\NDB{4.14 in novel-TextMacros.sty.}
%% end toc and \tocitem.
%%
%% legalese environment. Certain info, such as Copyright page, customarily is
@@ -418,6 +427,7 @@
\setlength\@temphangl{\widthof{#1}}%
\stake\hspace{-\@temphangl}#1%
}
+\NDB{4.15 in novel-TextMacros.sty.}
%%
% \showlength[decimal places]{length}{units}
% Returns the length as a string with the units, but does not change the length.
@@ -445,6 +455,7 @@
\temp@lengthnum#3%
}
%% end \showlength
+\NDB{4.16 in novel-TextMacros.sty.}
%% \squeeze{} and \crush{} slightly shrink the horizonal dimension of the
@@ -478,6 +489,7 @@
\gdef\realmarker{\toggletrue{@realmarker}} % anywhere in text
\gdef\fakemarker{\togglefalse{@realmarker}} % anywhere in text
%%
+\NDB{4.17 in novel-TextMacros.sty.}
\ExplSyntaxOn
%
\DeclareDocumentCommand \sups { m }
@@ -495,6 +507,7 @@
}%
}% end \sups
%
+\NDB{4.18 in novel-TextMacros.sty.}
\DeclareDocumentCommand \subs { m }
{%
\iftoggle{@realmarker}{%
@@ -522,6 +535,8 @@
\gdef\specialblankline{\null} % deprecated
%%
+\NDB{4.19 in novel-TextMacros.sty.}
+
%%
%% End of file `novel-TextMacros.sty'.