# What Generates the Error?

I have been trying to figure out why the following preamble generates the error

"\Alpha undefined \renewcommand{\Alpha}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oAlpha$}}}"


for hours, but I don't seem to be able to spot it at all, generating me a lot of frustration (the error occurs with several other letters; but not with all of them). Can anyone spot the cause of the error in the following MWE?

\documentclass{report}

\usepackage[sloped]{fourier} % To customise font.

% GREEK ITALIC CAPITAL LETTERS

\let\Alpha\otherAlpha
\let\Beta\otherBeta
\let\Gamma\otherGamma
\let\Delta\otherDelta
\let\Epsilon\otherEpsilon
\let\Theta\otherTheta
\let\Eta\otherEta
\let\Theta\otherTheta
\let\Iota\otherIota
\let\Kappa\otherKappa
\let\Lambda\otherLambda
\let\Mu\otherMu
\let\Nu\otherNu
\let\Chi\otherChi
\let\Omicron\otherOmicron
\let\Pi\otherPi
\let\Rho\otherRho
\let\Sigma\otherSigma
\let\Tau\otherTau
\let\Upsilon\otherUpsilon
\let\Phi\otherPhi
\let\Chi\otherChi
\let\Psi\otherPsi
\let\Omega\otherOmega

\newcommand*{\Scale}[2][4]{\scalebox{#1}{\ensuremath{#2}}}

\let\oAlpha\Alpha
\renewcommand{\Alpha}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oAlpha$}}}
\let\oBeta\Beta
\renewcommand{\Beta}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oBeta$}}}
\let\oGamma\Gamma
\renewcommand{\Gamma}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oGamma$}}}
\let\oDelta\Delta
\renewcommand{\Delta}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oDelta$}}}
\let\oEpsilon\Epsilon
\renewcommand{\Epsilon}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oEpsilon$}}}
\let\oTheta\Theta
\renewcommand{\Theta}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oTheta$}}}
\let\oIota\Iota
\renewcommand{\Iota}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oIota$}}}
\let\oKappa\Kappa
\renewcommand{\Kappa}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oKappa$}}}
\let\oLambda\Lambda
\renewcommand{\Lambda}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oLambda$}}}
\let\oMu\Mu
\renewcommand{\Mu}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oMu$}}}
\let\oNu\Nu
\renewcommand{\Nu}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oNu$}}}
\let\oChi\Chi
\renewcommand{\Chi}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oChi$}}}
\let\oOmicron\Omicron
\renewcommand{\Omicron}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oOmicron$}}}
\let\oPi\Pi
\renewcommand{\Pi}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oPi$}}}
\let\oRho\Rho
\renewcommand{\Rho}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oRho$}}}
\let\oSigma\Sigma
\renewcommand{\Sigma}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oSigma$}}}
\let\oUpsilon\Upsilon
\renewcommand{\Upsilon}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oUpsilon$}}}
\let\oPhi\Phi
\renewcommand{\Phi}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oPhi$}}}
\let\oPsi\Psi
\renewcommand{\Psi}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oPsi$}}}
\let\oOmega\Omega
\renewcommand{\Omega}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oOmega$}}}

\begin{document}
WHATEVER.
\end{document}


Thank you all in advance for your time and sorry for the rather 'useless' question.

• You are doing \let\Alpha\otherAlpha. Is \otherAlpha defined? Mar 30, 2017 at 15:20
• You got the downvote before your last edit. And I didn't downvote, but really minimal would have only one letter, not the whole alphabet (assuming the problem applies to all). That said, it doesn't look like fourier defines \otherAlpha, though it does define \otheralpha. Mar 30, 2017 at 15:37
• Oh, and you need the graphicx package for \scalebox. Mar 30, 2017 at 15:38
• There is no mention of \otherAlpha in the documentation, only \otheralpha, and it doesn't show in the list of letters either. Mar 30, 2017 at 15:42

The uppercase-greek-letter commands \Alpha, \Beta, \Epsilon, \Zeta, \Eta, \Iota, \Kappa, \Mu, \Nu, \Omicron, \Rho, \Tau, and \Chi are all undefined. Why?! It's because it's much easier (on most keyboards!) to enter these letters as A, B, E, Z, ..., T, and X, respectively.

Because \Alpha isn't defined,

\renewcommand{\Alpha}{...}


is doomed to crash. In those cases, use \newcommand{\Alpha}{...}, etc. Do make sure that these definitions are happening in terms of macros that are already defined. For instance, because you have \let\oAlpha\Alpha and \Alpha isn't (yet) defined, \oAlpha isn't defined properly via this \let instruction. Hence,

\newcommand{\Alpha}{\raisebox{-1.5pt}{\scalebox{1.3}{$\oAlpha$}}}


is also bound to crash. What you really need is

\newcommand{\Alpha}{\raisebox{-1.5pt}{\scalebox{1.3}{$A$}}}


and so one for \Beta, \Epsilon, etc.
