Am 30.05.22 um 14:48 schrieb Rich Shepard:

I learned the reason for the spacing issues is that the program listing
environment does not support tabs for white space, only spaces. Kinda' hard
on the keyboard's space bar. :-)

It _does_ support tab characters, e.g.

\documentclass{article}
\usepackage{listings}
\begin{document}

\lstset{tabsize=8}
\begin{lstlisting}
123456789
    { one tabulator }
        { two tabs }
    123
        { 123+two tabs }
123
\end{lstlisting}
\end{document}


the output:


Herbert
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to