最近經常需要用Latex來寫文檔、做幻燈片,中間穿插着很多公式,但總覺得公式中的字體不是很舒服。調用amsfonts包后,也沒發現數學符號的字體有什么變化,料想應該是beamer中的字體設置出了問題。
仔細查了查,發現beamer中默認使用Sans Serif字體,即沒有襯線的字體。如果要在公式中使用標准的Latex字體,即Computer Modern字體的話,
方法一:需要在前面加上\def\mathfamilydefault{\rmdefault}就可以使用優美的數學公式了。
\documentclass[fontset = none]{beamer}
\def\mathfamilydefault{\rmdefault}
\begin{document}
\end{document}
方法二:其實除了使用上面的方法之外,還有另外一個方法也是可以的,在前面加上下面這句:
\usefonttheme[onlymath]{serif}
轉自:http://blog.renren.com/share/221543889/8483548332
Beamer暫停時下方文檔半透明顯示技巧:
半透明顯示:
\setbeamercovered{dynamic} % translucent when using pause1
(使用 translucent,可以在 \pause 使用時將其之后的內容變為半透明顯示,演示者自己可以看到,但是又能體現出分步展示的層次感)
把這行放到 \begin{document} 之前就可以~
轉自:https://zhidao.baidu.com/question/1765921427475752660.html