-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
5.9-embed.tex
19 lines (15 loc) · 1.18 KB
/
5.9-embed.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
\definesubsection{Embed}
\begin{identifier}{embed}
\[ <type .*> <target ![,]*>(, *<parameter ![,]*>)*( *\])?
\end{identifier}
\definetextualcomponent{embed}{display: block;target: target} \\
The embed is a \g{singular line directive}. The content of the \inline$type$ binding determines the embed's type, and the \inline$parameter$ bindings determine the embed's parameters. The style of the \g{resulting textual component} is dynamically dependant on the given type. \\
Unless the \ident{embed-property-width} or \ident{embed-property-height} parameters are present, the size of the embed \g{resulting textual component} is constrained to be smaller than the width and height of the \g{page} it is output to while preserving the embed content's aspect ratio. If the \g{page} has no width or height, or the embed content's dimensions are smaller than both of those, then the embed content is sized to its own dimensions. The \g{resulting textual component} must not be split across multiple \gpl{page}.\\
\input{5.9.1-types.tex}
\input{5.9.2-parameters.tex}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "markless"
%%% TeX-engine: luatex
%%% TeX-command-extra-options: "-shell-escape"
%%% End: