Skip to content

How to get code line numbers inside page margins? #9647

Answered by jgm
MohamedEmary asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry, forgot that that line is not in the template, because it is supplied by skylighting.
In that case, you can try adding this to header-includes:

\RecustomVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}, xleftmargin=1.5em}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jgm
Comment options

jgm Apr 9, 2024
Maintainer

Answer selected by MohamedEmary
@MohamedEmary
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants