Skip to content

Instantly share code, notes, and snippets.

@cardi
Created January 3, 2019 23:21
Show Gist options
  • Save cardi/c7327d6018fc9cac59b1559480c86114 to your computer and use it in GitHub Desktop.
Save cardi/c7327d6018fc9cac59b1559480c86114 to your computer and use it in GitHub Desktop.
latex - enabling better readability of showlabels using efbox
\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}
@cardi
Copy link
Author

cardi commented Jan 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment