% \subsubsection{Video} % \DescribeMacro{\youtube}{Youtube command. Requires id.} % \begin{macrocode} %<*classXimera> \newcommand{\youtube}[1]{YouTube link: \url{https://www.youtube.com/watch?v=#1}} % % \end{macrocode} % \begin{macrocode} %<*htXimera> \renewcommand{\youtube}[1]{\ifvmode \IgnorePar\fi \EndP\HCode{
_
}} % % \end{macrocode} % Video commands are also emitted, slightly differently, when placed % at top-level in a xourse file. % \begin{macrocode} %<*htXourse> \renewcommand\youtube[1]{% \ifvmode \IgnorePar\fi \EndP\HCode{#1}\IgnoreIndent% } % % \end{macrocode}