Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Euler and multicharacter math identifiers

0 views
Skip to first unread message

Vladimir Klebanov

unread,
Jul 22, 2008, 7:32:53 AM7/22/08
to
Hi,

I've found a couple of old threads but nothing conclusive on correct
typesetting of multicharacter operators and variables with Euler. With CM
math it is customary to use \mathit{} for both in my domain (logics). This
is not an option with Euler, since Euler (by design) does not have italics.

It was suggested to use \mathrm{} for operators, but what about longer
variables? I cannot imagine to use roman text there. Any suggestions?

Thanks.

Vladimir

--
Vladimir Klebanov http://www.uni-koblenz.de/~vladimir
Fourth Law of Thermodynamics: If the probability of success is not
almost one, it is damn near zero. -- David Ellis

Dan

unread,
Jul 23, 2008, 12:35:08 AM7/23/08
to
On Jul 22, 6:32 am, Vladimir Klebanov <vladi...@uni-koblenz.de> wrote:
> Hi,
>
> I've found a couple of old threads but nothing conclusive on correct
> typesetting of multicharacter operators and variables with Euler. With CM
> math it is customary to use \mathit{} for both in my domain (logics). This
> is not an option with Euler, since Euler (by design) does not have italics.

\mathit uses the text-mode italic font. So it should work even
if Euler is the math font. However, you should post a complete,
but minimal, example and explain what is wrong with what \mathit
produces.

This works fine for me:
\documentclass{article}
\usepackage{palatino}
\usepackage{eulervm}
\begin{document}
Math example: $f \in \mathit{BMO}$ and $x \ne \mathit{abs}(x)$
\end{document}


Dan

Vladimir Klebanov

unread,
Jul 23, 2008, 9:05:53 AM7/23/08
to
Dan <luec...@uark.edu> wrote:
> This works fine for me:
> \documentclass{article}
> \usepackage{palatino}
> \usepackage{eulervm}
> \begin{document}
> Math example: $f \in \mathit{BMO}$ and $x \ne \mathit{abs}(x)$
> \end{document}

Thanks for answering. This does indeed work for operators. But what
about variables?

\documentclass{article}
\usepackage{palatino}
\usepackage{eulervm}
\begin{document}

Math example: for all~$x$,$y$, and~$\mathit{pos}$, such that\ldots
\end{document}

Here x and y are Euler (and thus upright), while pos is palatino italics.
Writing just $pos$ produces p*o*s, of course.

Best,

Dan

unread,
Jul 24, 2008, 3:54:59 PM7/24/08
to
On Jul 23, 8:05 am, Vladimir Klebanov <vladi...@uni-koblenz.de> wrote:

> Dan <lueck...@uark.edu> wrote:
> > This works fine for me:
> > \documentclass{article}
> >   \usepackage{palatino}
> >   \usepackage{eulervm}
> > \begin{document}
> >   Math example: $f \in \mathit{BMO}$ and $x \ne \mathit{abs}(x)$
> > \end{document}
>
> Thanks for answering. This does indeed work for operators. But what
> about variables?
>
> \documentclass{article}
> \usepackage{palatino}
> \usepackage{eulervm}
> \begin{document}
>   Math example: for all~$x$,$y$, and~$\mathit{pos}$, such that\ldots
> \end{document}
>
> Here x and y are Euler (and thus upright), while pos is palatino italics.

As I have already said, that is what \mathit _always_ does and what
it
is supposed to do: provide the text-mode italic font inside math (just
as
\mathrm provides the text-mode roman font inside math).

And then I asked you to explain what is wrong with that? That is the
traditional way to designate multiletter identifiers in math.

> Writing just $pos$ produces p*o*s, of course.

If you want a more slanted version of the Euler font, it doesn't
exist. Just as there is no upright version of the computer modern
math letters font.


Dan

Vladimir Klebanov

unread,
Jul 28, 2008, 6:35:20 AM7/28/08
to
Dan <luec...@uark.edu> wrote:
> As I have already said, that is what \mathit _always_ does and what it is
> supposed to do: provide the text-mode italic font inside math (just as
> \mathrm provides the text-mode roman font inside math).

I accept that. ;)

> And then I asked you to explain what is wrong with that? That is the
> traditional way to designate multiletter identifiers in math.

Yes, CM math. The multi-letter type has to be consistent with single-letter
identifiers. Using \mathit for Euler variables breaks this invariant.

> If you want a more slanted version of the Euler font, it doesn't
> exist. Just as there is no upright version of the computer modern
> math letters font.

No, I do not want this. Again, writing $pos$ adds extra spacing between
letters to make it look like a product. I want a way to typeset several
letters (in upright Euler type) without that additional space.

Aditya Mahajan

unread,
Jul 28, 2008, 11:49:26 AM7/28/08
to
On Mon, 28 Jul 2008, Vladimir Klebanov wrote:

> Dan <luec...@uark.edu> wrote:
>> As I have already said, that is what \mathit _always_ does and what it is
>> supposed to do: provide the text-mode italic font inside math (just as
>> \mathrm provides the text-mode roman font inside math).
>
> I accept that. ;)
>
>> And then I asked you to explain what is wrong with that? That is the
>> traditional way to designate multiletter identifiers in math.
>
> Yes, CM math. The multi-letter type has to be consistent with single-letter
> identifiers. Using \mathit for Euler variables breaks this invariant.
>
>> If you want a more slanted version of the Euler font, it doesn't
>> exist. Just as there is no upright version of the computer modern
>> math letters font.
>
> No, I do not want this. Again, writing $pos$ adds extra spacing between
> letters to make it look like a product. I want a way to typeset several
> letters (in upright Euler type) without that additional space.

Euler fonts are being reworked upon, and the new release will have a euler
text font, so you could use that for writing multicharacter variable
names. I do not know if the alpha/beta release of euler fonts are
available anywhere for testing.

Aditya

0 new messages