I'm writing my first "real" paper in Latex, and one of my major pieces of notation involves item-wise multiplying the Nx1 vector \widehat{w} to the Nx1 vector \widehat{S}, and I've been using cdot to denote the non-matrix multiplication, so basically I am writing
(\widehat{w}\cdot\widehat{S})^{\intercal}\widetilde{H}(\widehat{w}\cdot\widehat{S})
a million times in my paper.
I am using cdot to avoid a lot of confusion that would result from just using \widehat{S}_w, or \widehat{w}\widehat{S} due to similar notation already in use in the paper. Basically I am complaining that the cdot adds a ton of space between the w and the S whereas really they are a single unit--a weighted S.
QUESTION: Is there any trick to shrink cdot or is there another bivariate function I could use to get the w and S to stick closer together? Can you help me make my paper prettier?
Thanks for any help.
Code:
\documentclass{article}
\usepackage{amssymb}
\begin{document}
\[(\widehat{w}\cdot\widehat{S})^{\intercal}\widetilde{H}(\widehat{w}\cdot\widehat{S})\]
\end{document}


align(requiresamsmath) is much better thaneqnarrayand\[...]is preferred over$$...$$` in LaTeX. I suggested the latter (which you haven't followed, by the way), while the former is also just a good observation in general. – Werner May 20 '12 at 01:16I am avoiding using \renewcommand, etc. in my paper draft because it is not clear yet which journal it is going to. The 2-3 options have different rules, and I am trying to avoid trouble down the road. Honestly I think it made me better at typing in Tex, although yes it has been painful at times.
Thanks for this explanation. It is much clearer than what I found when trying to answer my question with Google.
\newcommandto create a new command that you're using "a million times", I'm sure any journal will accept it. If you don't use a new command, then you run a greater risk of not being consistent, which may be worse when writing a paper. – Werner May 20 '12 at 01:29\newcommands, of which only 50 are relevant to the present paper. – Hendrik Vogt Jun 04 '12 at 11:33\MatrixMultiplyor something similar. Most editors will complete a macro for you, so it does not require any more typing. – Aditya Jun 04 '12 at 16:42