auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] composed characters in LaTeX source code


From: Stephen Berman
Subject: Re: [AUCTeX] composed characters in LaTeX source code
Date: Thu, 08 Nov 2018 22:57:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

On Thu, 8 Nov 2018 21:53:11 +0100 jfbu <address@hidden> wrote:

> Le 08/11/2018 à 21:08, Stephen Berman a écrit :
>> On Thu, 8 Nov 2018 18:29:42 +0100 Joost Kremers <address@hidden> wrote:
>>
>>> On Thu, Nov 08, 2018 at 06:07:17PM +0100, Stephen Berman wrote:
>>>> Emacs can correctly display composed characters, and I want to use such
>>>> characters in a LaTeX source file but when I run the latter through
>>>> pdflatex, the PDF output display is wrong.
>>>
>>> If you have Unicode input files, usually the best thing to do is to
>>> use XeLaTeX or LuaLaTeX to process your files. pdflatex groks a subset
>>> of Unicode with the inputenc package, but it's only a subset. IME
>>> XeLaTeX does a much better job, even though it's claimed to be
>>> slower. (I never use pdflatex, so I can't really compare).
>>>
>>> If for some reason you need or want to use pdflatex, then I doubt
>>> there's a solution.
>>
>> Thanks.  I ran it through XeLaTeX and that indeed output the composed
>> character correctly aligned, though the vertical positioning looks worse
>> to me than with pdflatex (see attached screenshots; text0.pdf is with
>> pdflatex and text1.pdf with xelatex).
>
> as pointed out in my reply to other branch of this thread perhaps try
> with something like
>
> \usepackage{fontspec}
> \setmainfont{Times New Roman}
>
>
> in preamble, for XeLaTeX or LuaLaTeX.

Thanks.  Yes, changing the font did make a difference.

Steve Berman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]