-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to make an zebra effect on linenumbers and contents #211
Comments
Take a look at gpoore/fvextra#8. |
Thanks you very much for your response. Waiting for your good news. |
By the way, if you want use new \documentclass{article}
\usepackage{minted}
% names of new added options might change
\makeatletter
\minted@def@optfv{highlightlinenumbercolor}
\minted@def@optfv{linenumberwidth}
\makeatother
\setminted{
linenos,
highlightcolor={cyan!10, cyan!15},
highlightlinenumbercolor={yellow!30, yellow!40},
numbersep=3pt
}
\begin{document}
\begin{minted}{c}
int main() {
printf("hello, world");
return 0;
\end{minted}
\end{document} |
problem at tex.stackexchange.com
I am using highlightlines={1,3,5,7,...}, but this is not convenient when there is too many lines.
The text was updated successfully, but these errors were encountered: