Deyan Ginev edited subsection_Note_on_Format_specific__.tex  almost 9 years ago

Commit id: b8d4c2f268d37dce481566ab0b5646794a5341e9

deletions | additions      

       

\subsection{Note on Format-specific Directives}  In few unfortunate cases the investment of writing format-independent \latex simply isn't worth the result. For example, it may be very easy to align two \verb|{minipage}| blocks next to each other in HTML, but extremely painfull painful  to fit them on the page in PDF. To achieve a delightful outcome in both formats in such cases, it may be needed to resort to platform-specific directives. \latexml offers support for this distinction using its own conditional operator: \verb|\iflatexml|. Here is an example setup that you can add to your \verb|header.tex| file:  \begin{lstlisting}