Created
January 3, 2019 23:21
-
-
Save cardi/c7327d6018fc9cac59b1559480c86114 to your computer and use it in GitHub Desktop.
latex - enabling better readability of showlabels using efbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{report} | |
\usepackage{xcolor} | |
\usepackage{blindtext} | |
\pagestyle{empty} | |
%%% boxed showlabels %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\usepackage{efbox} | |
\usepackage[inline]{showlabels} | |
\renewcommand{\showlabelfont}{\sffamily \color{blue}} | |
\renewcommand{\showlabelsetlabel}[1]{\efbox{\showlabelfont #1}} | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\begin{document} | |
\blindtext | |
\label{example-label} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LaTeX - overlapping showlabels