unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: confusion about phi varphi, latex, input-method TeX, prettifying
Date: Mon, 22 Aug 2016 11:11:47 -0400	[thread overview]
Message-ID: <5df74598-134a-403b-4496-609ad0b6ae8f@gmail.com> (raw)
In-Reply-To: <87eg5oh661.fsf@mat.ucm.es>


[-- 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 --]

       reply	other threads:[~2016-08-22 15:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87eg5oh661.fsf@mat.ucm.es>
2016-08-22 15:11 ` Clément Pit--Claudel [this message]
2016-08-16 19:20 confusion about phi varphi, latex, input-method TeX, prettifying Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5df74598-134a-403b-4496-609ad0b6ae8f@gmail.com \
    --to=clement.pit@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).