-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
5.9.2.3-height.tex
16 lines (13 loc) · 1.04 KB
/
5.9.2.3-height.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
\definesubsubsubsection{Height}
\defineidentifier{embed-property-height}{height (<pixels ~n+px>|<percent ~n+\%>)}
\definestyle{embed-property-height}{height: size} \\
Causes the embed content's height to be fixed to the specified size. The size can be given in either \inline$pixels$ or \inline$percent$ where \inline$pixels$ will set the height to be the exact amount of pixels given if the document is viewed at its native resolution. \inline$percent$ will scale the height to the given percentage of the height of the \g{document}. If the \g{document} should not have a height, the \inline$percent$ specification does nothing. Unless the \ident{embed-property-width} is also specified, the embed content's aspect ratio must be preserved. \\
\begin{examples}
\example{[ image assets/markless-logo.png, width 50px, height 100px ]}{\includegraphics[width=50px,height=100px]{assets/markless-logo}}
\end{examples}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "markless"
%%% TeX-engine: luatex
%%% TeX-command-extra-options: "-shell-escape"
%%% End: