hongyangqin / HyNote

HyNote 个人笔记
8 stars 4 forks source link

[Latex]设置背景色,文本高亮 #35

Open hongyangqin opened 7 years ago

hongyangqin commented 7 years ago

解决办法

\usepackage{xcolor}
\newcommand\hl{\bgroup\markoverwith
  {\textcolor[rgb]{0.9, 0.99, 0.9}{\rule[-.5ex]{2pt}{2.5ex}}}\ULon}

123\hl{高亮???}321

image