我刚刚升级到12.04版本。我一直使用LaTeX的opensans包(www.ctan.org/pkg/opensans),在Ubuntu上从来没有遇到过问题。现在我按照以前的方式安装它,但是根本无法工作!我在LyX(www.lyx.org)中使用它。有人在Ubuntu 12.04中使用LaTeX的opensans吗?如果有,请告诉我你是如何安装的。
提前感谢。
提前感谢。
texhash ~/texmf/
Map opensans.map
。
通过执行以下命令来完成这个操作:mkdir ~/texmf/web2c
echo 'Map opensans.map' >> ~/texmf/web2c/updmap.cfg
updmap
texhash ~/texmf
这样就可以了!
编辑:根据OP的反馈修改了答案。
sudo apt-get install -y texlive-fonts-extra
那么
pdflatex document.tex
lmtt9
字体在Latin modern软件包中(http://www.ctan.org/tex-archive/fonts/lm/)。你是否也在使用该软件包?也许你可以尝试一个最小的示例,使用`\usepackage{default}[opensans]`? - Gerhard Burger