Browsing index pages (2 articles)
↧
Highlight labeled lines of code with minted
I was wondering whether I could use the labeling mechanism explained here to get the line numbers that I want to use for highlighting code via highlightlines in minted.I am imagining something like...
View ArticleAnswer by muzimuzhi Z for Highlight labeled lines of code with minted
Both \ref and \pageref are not fully expandable, but refcount package provides a \getrefnumber{<label name>} which fully expands to the linked counter value of that <label name>. Hence your...
View Article
Browsing index pages (2 articles)