0

I want to write code in LaTeX with this style enter image description here I tried with listings but I didn't get the same result. Does anyone could hepl me?

matdlara
  • 101
  • You should use \texttt{} or \ttfamily to switch to typewriter font. As for listing, see: https://tex.stackexchange.com/questions/33039/using-ttfamily-with-bfseries-or-how-to-enable-bold-in-fixed-width-font – Alan Xiang Sep 22 '20 at 00:35
  • I found the answer to my question in another question jaja https://tex.stackexchange.com/questions/174793/how-can-i-mimic-the-output-of-syntax-macros-marg-oarg-etc-without-using-t – matdlara Sep 22 '20 at 02:46
  • Enjoy typesetting with LaTeX! – Alan Xiang Sep 22 '20 at 03:16

0 Answers0