2

MWE

\documentclass[border=1mm]{standalone}
\usepackage[T1]{fontenc} 
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
%\usepackage{mathptmx}
\begin{document}

$\lambda = 3.14\ \Omega$
\end{document}

And output

enter image description here

When I added \usepackage{mathptmx}

enter image description here

The following figure is what I try to do. So I want to use only \lambda in mathptm. Is it typographically incorrect? Can you help me?

Note: egreg's solution Not exactly for me.

enter image description here

2
  • 1
    why the strange markup $\lambda$ = 3.14 $\Omega$ with = not in math? rather than the more standard $\lambda= 3.14 \Omega$ Dec 9, 2017 at 13:51
  • @DavidCarlisle When I asked the question, I wrote it like that. I read your warning carefully
    – Özgür
    Dec 10, 2017 at 2:51

1 Answer 1

4

The solution is egreg's solution minus the two letters up (\lambda instead of \uplambda):

\documentclass[border=1mm]{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}

\DeclareSymbolFont{myletters}{OML}{ztmcm}{m}{it}
\DeclareMathSymbol{\lambda}{\mathord}{myletters}{"15}

\begin{document}
  $\lambda$ = 3.14 $\Omega$
\end{document}

Result

4
  • I could not believe the answer was that easy. And the result is exactly what I want.
    – Özgür
    Dec 9, 2017 at 8:32
  • I look at the entire document. It looks like the lambda looks a bit dark. Can you check? More specifically here, $\lambda = \dfrac{c}{f}$
    – Özgür
    Dec 10, 2017 at 15:33
  • @Özgür What do you expect, when the lambda is taken from a different font? Dec 10, 2017 at 15:47
  • You're right. I did not think in that respect. I was so concentrated on the document.
    – Özgür
    Dec 10, 2017 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.