I'm writing a document in which I want to show an example of LaTeX file. I not know this syntax, how to display it horiyontaly in my document as in picture.
Code: Select all
\begin{lstlisting}
\begin{document}
\documentclass[a4paper]{article}
Welcome to the first \LaTeX document!
\end{document}
\end{lstlisting}
I want to display as in the attached picture. How to code it for horizontal display? Tabular?
Thank you!