5

I'm trying to horizontally scale the letter Λ (Greek letter Lambda), as I am unhappy with its current width. After reading How to Vertically Stretch a Block of Text?, I tried using the command \scalebox{1.2}[1]{$\Lambda$} which works really well outside of mathmode. But, because of the $'s, it doesn't compile properly whenever I use it in a math environment. Are there any tricks around this?

I would prefer an answer that does not include a required package, but instead provides the command that the package implements to stretch the letter (I try to use as little packages as possible and instead pick and choose the commands I need from particular ones) -- but this isn't a strict requirement.

Bilbottom
  • 219

1 Answers1

4

I wouldn't do it, but it's a standard application of \mathpalette:

\documentclass{article}
\usepackage{graphicx}

\mathchardef\normalLambda=\Lambda

\renewcommand{\Lambda}{{\mathpalette\scaledLambda\relax}}
\newcommand{\scaledLambda}[2]{\scalebox{1.2}[1]{$#1\normalLambda$}}

\begin{document}

$X\normalLambda Y_{\normalLambda}$ (normal)

$X\Lambda Y_{\Lambda}$ (scaled)

\end{document}

enter image description here

egreg
  • 1,121,712