mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-11-22 22:09:45 +01:00
nvim: stars display correctly after pandoc compile
This commit is contained in:
13
.config/nvim/lua/resources/header.tex
Normal file
13
.config/nvim/lua/resources/header.tex
Normal file
@@ -0,0 +1,13 @@
|
||||
% \usepackage[utf8]{inputenc}
|
||||
% \DeclareUnicodeCharacter{2605}{\ensuremath{\star}}
|
||||
%
|
||||
\usepackage{fontspec}
|
||||
\usepackage{newunicodechar}
|
||||
|
||||
\newfontfamily\symbolafont{Symbola}
|
||||
|
||||
% U+2605 BLACK STAR
|
||||
\newunicodechar{★}{{\symbolafont ★}}
|
||||
|
||||
% U+2606 WHITE STAR
|
||||
\newunicodechar{☆}{{\symbolafont ☆}}
|
||||
Reference in New Issue
Block a user