-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path6.10-compound.tex
28 lines (22 loc) · 1.62 KB
/
6.10-compound.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\definesubsection{Compound}
\defineidentifier{compound}{''<content .>''\\(<option .*>(, *<option .*>)*\\)}
\definetextualcomponent{compound}{} \\
The compound \g{directive} is a \g{compound inline directive}. It determines its \g{style} dynamically by the additive combination of present options in the \inline$option$ binding. In the case where the style combination of two options conflicts, the style of the last option has priority. \\
Only the \g{text} held by the \g{content binding} is outputted to the \g{resulting textual component}. The \inline$option$ binding cannot contain any other \gpl{directive}.\\
An \g{implementation} must at least support the options specified in this section, but may add additional options the syntax and implications of which are completely \g{implementation dependant}. If an option is found that the \g{implementation} does not support or recognise, it is ignored and a \g{warning} may be \glink{signalling}{signalled}. \\
When a compound \g{directive} is \glink{processing}{processed}, processing begins anew over the \g{content binding}. Once the \inline$options$ binding has been \glink{full match}{fully matched}, the \g{resulting textual component} is ended and control is handed back to the \g{standard processing loop}.
\input{6.10.1-bold.tex}
\input{6.10.2-italic.tex}
\input{6.10.3-underline.tex}
\input{6.10.4-strikethrough.tex}
\input{6.10.5-spoiler.tex}
\input{6.10.6-font.tex}
\input{6.10.7-color.tex}
\input{6.10.8-size.tex}
\input{6.10.9-hyperlink.tex}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "markless"
%%% TeX-engine: luatex
%%% TeX-command-extra-options: "-shell-escape"
%%% End: