LaTex tricks

记录一些使用 LaTeX 的技巧

自适应下划线

1
\newcommand\dlmu[2][4cm]{\hskip1pt\underline{\hbox to #1{\hss#2\hss}}\hskip3pt}

然后 \dlmu{Hello} 如此调用即可

Beamer 数学公式

Beamer 数学公式使用 Computer Modern Font 的方法,ref

\usefonttheme{professionalfonts}

注意要用 xeLaTex,pdfLaTex 有点问题


LaTex tricks
https://blog.chenz01.top/2025/01/14/LaTex-tricks/
作者
ChenZ01
发布于
2025年1月14日
许可协议