Skip to content

Commit

Permalink
Fix beamer highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
mh4ckt3mh4ckt1c4s committed Jan 5, 2024
1 parent 5cff32c commit f3f7426
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions data/templates/default.latex
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,15 @@ $-- also used for underline
\usepackage[soul]{lua-ul}
\else
\usepackage{soul}
$if(beamer)$
\makeatletter
\let\HL\hl
\renewcommand\hl{% fix for beamer highlighting
\let\set@color\beamerorig@set@color
\let\reset@color\beamerorig@reset@color
\HL}
\makeatother
$endif$
$if(CJKmainfont)$
\ifXeTeX
% soul's \st doesn't work for CJK:
Expand Down

0 comments on commit f3f7426

Please sign in to comment.