On 2012-02-02, John O'Gorman wrote:

> With more recent versions of LyX (e.g. 1.6.4.2 on a Mac and 1.6.5 on
> Linux) this seems to be broken,

> I get the error messages:
> command \cedover unavailable in encoding T1
> command \uunderer unavailable in encoding T1

...

> \DeclareTextCommand{\uunder}{OT1}[1]%
>   {{\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}%
>     \vbox to.2ex{\hbox{\char21}\vss}\hidewidth}}}

> There is a similar command for cedover. As you can see, they use the
> encoding OT1.

> How can I set LyX to use OT1 encoding (or is that undesirable)?

You can set the font encoding (called "latex encoding" by LyX) in the
settings:

 1.6.x only allows global setting under Utils>Preferences
 2.x   also allows per-document configuration
 
Generally, T1 encoding is preferable because it also supports accented
characters (like ü) which in OT1 encoding is built of 2 parts so that
copy/paste and search in a PDF (or PS) file do not work as expected.

Mark that with the use of the T1 font encoding, the Computer Modern fonts
are replaced by the (bitmap!) European Modern fonts unless you select a
different font (e.g. Latin Modern) for your document.

Günter

Reply via email to