Add details on the literate option for listings
This commit is contained in:
parent
a074052ab7
commit
6dfd17dc46
@ -28,5 +28,5 @@ Its renderings are of rather peculiar appearance.
|
||||
With some amount of configuration, we can overcome the most disturbing default settings.
|
||||
Although \pkg{listings} is not shipped with any pre-defined themes, you can define your own and use them throughout your project with the \mono{lstdefinestyle} command.\footnote{Have a look at it in the package documentation. For the very impatient, here is a solarized theme for \pkg{listings}: \url{https://github.com/jez/latex-solarized}}
|
||||
|
||||
The package is also a bit older than its alternative, causing \acro{UTF8} special characters to break.
|
||||
If this happens to you, have a look at the \mono{literate} option of the \pkg{listings} commands.
|
||||
The package is also a bit older than its alternative, causing \acro{UTF-8} special characters to break.
|
||||
If this happens to you, have a look at the \mono{literate} option of the \pkg{listings}\footnote{The \LaTeX{} WikiBook offers a good starter for the \mono{literate} option covering the most frequent special characters: \url{https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings\#Encoding_issue}} commands.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user