diff options
| author | mh4ckt3mh4ckt1c4s <[email protected]> | 2024-01-05 23:58:57 +0100 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-01-05 22:26:49 -0700 |
| commit | dce7f7a6a8ca748f75d82bedd2b822a5b7926ce5 (patch) | |
| tree | 70b89343a28772b2510bc0015ded1efe101605af /data | |
| parent | b3a471b09f3fb7ed2af960cb44671311a68ad82c (diff) | |
Fix beamer highlighting
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/default.latex | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index deac9871d..6d062af19 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -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: |
