unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* confusion about phi varphi, latex, input-method TeX, prettifying
@ 2016-08-16 19:20 Uwe Brauer
  0 siblings, 0 replies; 2+ messages in thread
From: Uwe Brauer @ 2016-08-16 19:20 UTC (permalink / raw)
  To: emacs-devel; +Cc: auctex-devel

[-- Attachment #1: Type: text/plain, Size: 522 bytes --]

Hello

It seems to me mostly a question for GNU emacs, but I put the
auctex-devel list on the CC just in case.

When I compile a LaTeX document which contains.

$\phi \varphi$

The pdf file presents these symbols as  (screenshot attached)
 ϕ φ


But when I use prettifying \varphi is not displayed and \phi is
displayed as if it were \varphi

On top of that when use set-input-method TeX

And

\phi --> φ

\varphi --> ϕ 

So it seems to me, latex is right input-method is wrong and prettifying
as well.

Any comments


[-- Attachment #2: phi.png --]
[-- Type: image/png, Size: 2929 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: confusion about phi varphi, latex, input-method TeX, prettifying
       [not found] <87eg5oh661.fsf@mat.ucm.es>
@ 2016-08-22 15:11 ` Clément Pit--Claudel
  0 siblings, 0 replies; 2+ messages in thread
From: Clément Pit--Claudel @ 2016-08-22 15:11 UTC (permalink / raw)
  To: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 1246 bytes --]

On 2016-08-16 15:20, Uwe Brauer wrote:
> Hello
> 
> It seems to me mostly a question for GNU emacs, but I put the
> auctex-devel list on the CC just in case.
> 
> When I compile a LaTeX document which contains.
> 
> $\phi \varphi$
> 
> The pdf file presents these symbols as  (screenshot attached)
>  ϕ φ
> 
> 
> But when I use prettifying \varphi is not displayed and \phi is
> displayed as if it were \varphi
> 
> On top of that when use set-input-method TeX
> 
> And
> 
> \phi --> φ
> 
> \varphi --> ϕ 
> 
> So it seems to me, latex is right input-method is wrong and prettifying
> as well.
> 
> Any comments

The input method and prettification both take the "pragmatic" decision of rendering \phi as GREEK SMALL LETTER PHI instead of GREEK PHI SYMBOL, presumably because it has better font support or because of consistency with the rest of the greek alphabet.

Some extra data points:

* The unicode-math package translates GREEK PHI SYMBOL to \phi, and GREEK SMALL LETTER PHI to \varphi, so the input method is inconsistent with unicode-math.

* The company-math package translates \phi to GREEK PHI SYMBOL and \varphi to GREEK SMALL LETTER PHI, consistently with your expectations.

Clément.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-22 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87eg5oh661.fsf@mat.ucm.es>
2016-08-22 15:11 ` confusion about phi varphi, latex, input-method TeX, prettifying Clément Pit--Claudel
2016-08-16 19:20 Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).