Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to enter a command that references the \mathcal font for single letter in LaTeX. Below is what I am trying and it doesn't seem to work, would appreciate any help.

 \newcommand {\until} {\mathcal {u} }

I believe by doing this, when I type \until it should apply the u in the desired font.

share|improve this question
1  
It does, but the mathcal alphabet is only available in uppercase so you get a square cap symbol. Try it with U instead. –  David Carlisle Dec 12 '12 at 23:48
    
Yeah lowercase letter seems to be the fault, thanks. –  mitchnufc Dec 12 '12 at 23:53
    
You can have lower case calligraphic letters with some fonts, e.g., Zapf chancery: \DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{it} ... $\mathpcz{u}$ –  mafp Dec 13 '12 at 0:00
add comment

1 Answer

up vote 7 down vote accepted

Use capital letter(s) U.

\documentclass{scrartcl}
\newcommand{\until} {\mathcal{U} }

\begin{document}

$\until$
\end{document}

enter image description here

share|improve this answer
    
Yeah this seems to work fine, thanks. –  mitchnufc Dec 12 '12 at 23:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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