# How to write mathematics in cover letter? [closed]

I can't write $\ell_1$ and other mathematics symbol in this cover letter: what packages are needed?

\documentclass[a4paper,parskip=full,]{scrlttr2}
\usepackage[urw-garamond]{mathdesign}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{fontspec}
%\setmainfont{GaramondNo8}
%\setlength{\parindent}{0pt}
\usepackage{xcolor}
\usepackage[english]{babel}
\nonfrenchspacing

%\setkomavar{fromname}{Ole Nordmann}
%\setkomavar{fromphone}{+47 5222 8183}
\makeatletter

\renewcommand*{\raggedsignature}{\raggedright}

\makeatother
\begin{document}

\begin{letter}{H.P. \\ K. N.  Technology
Tehran, I. R. Iran
\\ Tel: : }

%\KOMAoptions{fromphone=true,fromfax=false}
\setkomavar{subject}{COVER LETTER FOR SUBMISSION OF MANUSCRIPT}
%\setkomavar{date}
\opening{Dear Dear Editor,}

\closing{Sincerely}
%\encl{loan application, gift certificate for chocolate}

\begin{itemize}
\item[No.] 1:\\
\hline
%& Column 1& Column 2\\\hline
Ful name& hatam84analysis@gmail.com  \\\hline
Institution  & ...\\\hline
Country & \\\hline
\end{tabular}
\end{itemize}
\begin{itemize}
\item[No.] 2:\\
\hline
%& Column 1& Column 2\\\hline
Ful name& ... \\\hline
Institution  & ...\\\hline
Country & \\\hline
\end{tabular}
\end{itemize}
\begin{itemize}
\item[No.] 3:\\
\hline
%& Column 1& Column 2\\\hline
Ful name& ... \\\hline
Institution  & ...\\\hline
Country & \\\hline
\end{tabular}
\end{itemize}
\begin{itemize}
\item[No.]4:\\
\hline
%& Column 1& Column 2\\\hline
Ful name& ... \\\hline
Institution  & ...\\\hline
Country & \\\hline
\end{tabular}
\end{itemize}
\end{letter}
\end{document}


## closed as off-topic by Guido, user31729, user13907, Thorsten, jub0bsAug 7 '14 at 9:38

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• Welcome to TeX.SX! A large part of the code you posted is irrelevant to the question. As a result, locating where the problem occurs is difficult. Please distill the code to the bare essentials; in other words, please provide a minimal working example (MWE). – jub0bs Aug 7 '14 at 8:39
• Besides the brace error in line 25 your code compiles just fine, even if i add an $\ell$. – Johannes_B Aug 7 '14 at 8:39
• problem occurs between \opening{Dear Dear Editor,} \closing{Sincerely} – user60350 Aug 7 '14 at 8:42
• This question appears to be off-topic because it is about having an extra } – Guido Aug 7 '14 at 8:50

I see no reason why typing math with $math$ or $$math$$ should fail to work - but I do see what looks like an error in your code:

\begin{letter}{H.P. \\ K. N.  Technology
Tehran, I. R. Iran
\\ Tel: : }


has one } too much after \\ Email Add.:, i.e. this block should read:

\begin{letter}{H.P. \\ K. N.  Technology
Tehran, I. R. Iran

• @ Dear greyshade: yes I want know why typing math with $math$ or should fail to work between \opening{Dear Dear Editor,} \closing{Sincerely} – user60350 Aug 7 '14 at 8:59
• @user60350 did you try removing the surplus } as noted in my answer and in the comments on your question? After removing that brace, our example compiles fine for me with &\ell_1\$ inserted between \opening{Dear Dear Editor,} and \closing{Sincerely}. – greyshade Aug 7 '14 at 9:02