我正在使用 mako、python 和 latex,我想在我的文档中使用等宽字体!我正在使用以下命令:
\usepackage[scaled]{inconsolata}
\usepackage[T1]{fontenc}
\renewcommand*\familydefault{\ttdefault}
但我收到了这个错误:
Source LaTex File: /tmp/tmpPBrCPK/1394108320.270.tex
Run count: 1
Bad character code (-1).:77:{-17253.39}<!>
Bad character code (-1).:77:{-17253.39}<!>
Bad character code (-1).:77:{-17253.39}<!>
Bad character code (-1).:86:{IIBB BS AS}<!>
Bad character code (-1).:90:{Retencion ing br}<!>
Bad character code (-1).:94:{Percepciones II.BB. BSAS}<!>
我尝试使用\endlinechar=98
和\endlinechar=13
,在第二种情况下,我得到了同样的错误,在第一种情况下,我得到了
LaTeX Error: Missing \begin{document}.:32:<!>
Undefined control sequence.:13:\else<!>
Undefined control sequence.:20:\fi<!>
Undefined control sequence.:24:\endinput<!>
Undefined control sequence.:14:\endinput<!>
Undefined control sequence.:14:\endinput<!>
Undefined control sequence.:14:\endinput<!>
Undefined control sequence.:55:\endinput<!>
Undefined control sequence.:51:\endinput<!>
Undefined control sequence.:39:\NR@showkeysfalse<!>
有任何想法吗? :\