[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TeX Gyre Fonts for Debian



On 26-08-07 11:21, Ralf Stubner wrote:
> On Sun, Aug 26, 2007 at 01:57 +0200, "Danai SAE-HAN (韓達耐)" wrote:
>>
>> I get the current warning:
>>
>> LaTeX Font Warning: Font shape `OMS/qbk/m/n' undefined
>> (Font)              using `OMS/cmsy/m/n' instead
> 
> This is a quite usual warning. For example, the following file will
> produce a very similar message:
> 
> \documentclass{article}
> \usepackage[T1]{fontenc}
> %\usepackage{textcomp}
> \begin{document}
> \begin{itemize}
> \item foo
> \end{itemize}
> \end{document}
> 
> LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <10> not available
> (Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 6.
> 
> What happens here is that the bullet (=\textbullet) of the itemize
> environment is taken from a font with OMS encoding (one of the many
> cases wher DEK put things useful for text into math fonts). In order
> to circumvent this, one has to use textcomp.sty, which is commented
> out in the above example. Actually, whenever you use T1 encoded fonts,
> you should also load textcomp.sty.  

Thanks!  It was indeed an itemize environment.  textcomp did the trick.

Cheers

-- 
Danai SAE-HAN (韓達耐)
--
題目:《春晴懷故園海棠》
作者:楊萬里(1127-1206)

竹邊台榭水邊亭,不要人隨只獨行。
乍暖柳條無氣力,淡晴花影不分明。
一番過雨來幽徑,無數新禽有喜聲。
只欠翠紗紅映肉,兩年寒食負先生。

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: