79327908

Date: 2025-01-03 23:19:58
Score: 1
Natty:
Report link

Characters with accents, such as á, é, í, ó, ú, which I use because I work with the Spanish language, can be displayed correctly in the listings using the following configuration:

\lstset{
literate=%
{á}{{\'a}}{1}
{é}{{\'e}}{1}
{í}{{\'i}}{1}
{ó}{{\'o}}{1}
{ú}{{\'u}}{1}}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ángel Reyes Guzmán