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 using bold characters u,v,w,x in math mode. Is there a way to make a new command for that? Now I always have to type \bm{u}.

share|improve this question
1  
What about \newcommand{\bu}{\bm{u}} –  Guido Nov 17 '12 at 17:46

2 Answers 2

You can go

\bmdefine\bu{u}

then use \bu instead of \bm{u} this is a bit quicker than using \bm every time as it only has to work out the corresponding bold font once. (That wouldn't be the case if you used \newcommand\bu{\bm{u}} which would expand to doing \bm every tine.

share|improve this answer
    
Thank you very much David! :-) –  Avery Nov 17 '12 at 20:23

This is what I have :

\def\,#1{\mathbf{#1}}

When I want to type a bold character I just write

\,u
share|improve this answer
8  
probably not a good idea to redefine \, -- that is the existing convention for a thin space, in both plain tex and latex. –  barbara beeton Nov 17 '12 at 18:00

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.