# Tag Info

1

Actually, the first error message for me is: ! Undefined control sequence. \beamer@sort #1#2->\long \def \beamer@todo {#1}\def \beamer@ospec {}\beamer@... In any case, it works if you \protect the \alert: \tag{\protect\alert{Eq. 1}} However, note that this will only color the tag text, not the parentheses, ...

1

The problem is twofold here. First, it looks like you miss the customcolors option. Second, if you want the customization to be global, you have to define it in the preamble. Otherwise, \hfsetfillcolor{blue!10} \hfsetbordercolor{blue} given before a \tikzmarkin customize only that command and not he subsequent ones. Try: \documentclass{beamer} ...

4

Here is a modification of my answer to a previous question asking to add margin notes the first time a reference is made. This uses the cleveref package to allow context-aware citations, which makes underlining the name as well as number easy. Edit: As pointed out by @egreg below, the previous answer would break if a list of references was passed to \cref. ...

0

This is a very common problem, and is related to the way listings processes its input. When you escape within a listing, no listing-related processing occurs, so you'll find that not only the formatting changes, but also the natural spacing. Moreover, you'll notice a difference between the spacing supplied via lstlisting and the inline lstinline. Either way, ...

1

Add only BACKGROUND_COLOR="xclEnvBk" in the section of switches.ini. The rest of the setting from  are for multiline backgrounds. And don't forget to load the script.

0

Using keywords will be very easy from a programming point of view. So you simply add keyowrds={mywork} to your entries and use the standard entry types. @Article{Benji, author = {Benji}, keywords = {mywork}, } With numeric and numeric-verb you could use ...

4

I suggest you remove the padding added by \colorbox; the staggering can be remedied by adding a phantom with ascenders and descenders. \documentclass{article} \usepackage{xcolor,alltt} \colorlet{lightgreen}{green!30} \colorlet{lightred}{red!30} \newcommand{\?}[2]{% \begingroup\setlength{\fboxsep}{0pt}% \colorbox{#1}{\vphantom{fg}#2}% \endgroup } ...

Top 50 recent answers are included