summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ximera/src/leash.dtx
blob: b52b5e2bf0c62f6e2fbe4d94554fa05644d53429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% \subsubsection{Leashes}
% \DescribeEnv{leash}{Put content inside a scrollable box.}
%    \begin{macrocode}
%<*classXimera>

\newenvironment{leash}[1]{%
}{%
}


%</classXimera>
%    \end{macrocode}

%    \begin{macrocode}
%<*htXimera>
\renewenvironment{leash}[1]{\ifvmode \IgnorePar\fi \EndP\HCode{<div style="overflow: auto; height: #1px">}}{\HCode{</div>}\IgnoreIndent}
%</htXimera>
%    \end{macrocode}