# Tag Info

1

I found what I needed in Print small TeX code verbatim and render it. I used: \newcommand\showcase[1]{{\ttfamily\detokenize{#1}} & $#1$ } \begin{document} \begin{tabular}{c|c} \showcase{\geq} \end{tabular} \end{document}

3

\documentclass{article} \usepackage[T1]{fontenc} \begin{document} \raggedright \texttt{\detokenize{C_n = {(z_1, ..., z_n) \in R^n : z_i \neq z_j \forall i \neq j}. I want to prove that pi_k(C_n) = 1 \forall k > 1. any ideas?}} \end{document}

3

We can use lst@outputspace for configuring inter-word space, but id doesn't suffice to set it to normal space, we must also configure CSS for listing environment to break lines. Try this config file: \Preamble{xhtml} \begin{document} \makeatletter \def\lst@outputspace{\HCode{ }} \makeatother \Css{div.lstlisting{white-space:pre-wrap;}} \EndPreamble ...

0

My solution is a new environment named numbenv for numbered environment. Please see the enclosed image file to get a quick look. For following code is placed in the LaTeX preamble. \usepackage{verbatim} \newenvironment{numbenv}{\refstepcounter{equation}\medskip\par\noindent\begin{ minipage}{0.9\textwidth}} ...

1

While alltt doesn't bother changing the category code of < and >, because it assumes that ligatures with these characters are intended for output, verbatim modes do and there is no interface in fancyvrb for changing them back. So you have to do it manually: \documentclass{beamer} \usepackage{alltt,fancyvrb} \makeatletter % fix the ligature list and ...

0

\Sectionformat is from the hyperref package. So if you make sure you include it in the synopsis document with the extract* environment, things should work correctly. If you need other packages in the synopsis, add them to the extract* environment as well. You should also avoid adding text on a line after a synopsis, as that text will be ignored (your ...

Top 50 recent answers are included