summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/censor/censor.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-02-11 03:01:50 +0000
committerNorbert Preining <norbert@preining.info>2022-02-11 03:01:50 +0000
commit4eb178c7cffedf8da4dc598b6d187a142e5ad93d (patch)
tree120985ceadfbf44b7e5b4935706ae048b6730d08 /macros/latex/contrib/censor/censor.tex
parent6ca8808eb5a413a8e33a0a5c32e2d0742d8af36b (diff)
CTAN sync 202202110301
Diffstat (limited to 'macros/latex/contrib/censor/censor.tex')
-rw-r--r--macros/latex/contrib/censor/censor.tex18
1 files changed, 15 insertions, 3 deletions
diff --git a/macros/latex/contrib/censor/censor.tex b/macros/latex/contrib/censor/censor.tex
index e9990244f2..ef64629f13 100644
--- a/macros/latex/contrib/censor/censor.tex
+++ b/macros/latex/contrib/censor/censor.tex
@@ -556,8 +556,20 @@ However, it is also clear that an extended text passage may contain
The \verb|\blackout| and \verb|\xblackout| macros can at least digest
control sequences in the input-text stream.
-How the sequences are handled will require some user intervention.
-By default, these macros will be echoed into the output stream in a literal
+How the sequences are handled may require some user intervention.
+
+Certain macro that are known to expand directly into typeset characters
+ are handled automatically.
+These include \verb|\$|, \verb|\&|, \verb|\#|, \verb|\%|, \verb|\_|,
+ \verb|\o|, \verb|\O|, \verb|\oe|, \verb|\OE|, \verb|\aa|, \verb|\AA|,
+ \verb|\ae|, \verb|\AE|, \verb|\l|, and \verb|\L|.
+Other macros, that are part of the \LaTeX{} accents, are likewise
+ handled seamlessly, including \verb|\`|, \verb|\=|, \verb|\'|,
+ \verb|\.|, \verb|\^|, \verb|\"|, \verb|\u|, \verb|\d|, \verb|\v|,
+ \verb|\b|, \verb|\H|, \verb|\t|, \verb|\~|, and \verb|\c|.
+
+For macros outside of these special cases, the default behavior is
+ to echo the macro into the output stream in a literal
(unexpanded) form.
Consider the following line of \LaTeX{} code:
@@ -574,7 +586,7 @@ The \verb|\textit| is still part of the blackout rendering, but the
of \verb|\textit|.
Some macros, however, expand to literal text.
-Because they are, by default, carried literally into the output, they
+Because macros are, by default, carried literally into the output, they
will only expand into text \textit{after} the censoring has been
applied.
Consider the following line of \LaTeX{} code: