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
\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
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,
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
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.
> 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