Quantcast
Channel: Highlight labeled lines of code with minted - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 2 View Live

Image may be NSFW.
Clik here to view.

Answer 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


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 Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>