New answers tagged


The difference between the begin and end is that \{ picks up the current font which is typically roman at the start but monospace by the end. Clearly that's not intended, here I change both begin and end lines to move the braces inside the scope of the font change. \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} ...


Environment macrocode does a lot more than just being a verbatim environment. Replacing it by lstlisting is not trivial: The indexing of macro names is lost. Problematic is the last line with the end tokens (\end{macrocode} or \end{lstlisting}, because of the percent char in the first column. The formatting of the docstrip tags is different. Also the ...


It should be fixed in beta, see CONTEXT distribution - beta version

Top 50 recent answers are included