Open.GL icon indicating copy to clipboard operation
Open.GL copied to clipboard

Syntax highlighting in ebook

Open ghost opened this issue 8 years ago • 0 comments

Hi! It looks like you compiled the ebook with LaTeX. If so, do you mind using lstinputlusting to include the source code as it also offers syntax highlighting:

\usepackage{listingsutf8}
\lstinputlisting[language=C++, numbers=left, linerange=44-71, firstnumber=44]{main.cpp}

Regards

ghost avatar Mar 07 '18 14:03 ghost