Text Formatting ⇒ Renewcommand problem for \cdot
Renewcommand problem for \cdot
I'm working on a book and the author wants the \cdot in the equations larger. I just can't seem to figure out how to redefine it. I tried redefining it using \renewcommand{\cdot}{\ensuremath{\bullet}} to see what it would look like. The dot is now too large. The author would like it somewhere in between the two. Any help would be appreciated.
Last edited by nifty on Sun Oct 10, 2010 5:52 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Renewcommand problem for \cdot
Hi,
you could use a definition like the following:
you could use a definition like the following:
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}
\newcommand\bcdot{\ensuremath{%
\mathchoice%
{\mskip\thinmuskip\lower0.2ex\hbox{\scalebox{1.5}{$\cdot$}}\mskip\thinmuskip}}%
{\mskip\thinmuskip\lower0.2ex\hbox{\scalebox{1.5}{$\cdot$}}\mskip\thinmuskip}%
{\lower0.3ex\hbox{\scalebox{1.2}{$\cdot$}}}%
{\lower0.3ex\hbox{\scalebox{1.2}{$\cdot$}}}%
}
\begin{document}
$a\cdot b$
$a\bcdot b$
\[ 2^{a\cdot b} \]
\[ 2^{a{\bcdot} b} \]
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Renewcommand problem for \cdot
Thanks for the help. It didn't seem to change the size of the cdot, though. I changed the \cdot to \bullet and made it smaller and this worked. Thanks for the help.
Re: Renewcommand problem for \cdot
To gmedina,
Hi - I was fishing google for a solution about getting a dot the size between \cdot and \bullet and found your answer very helpful. Thanks a lot
and keep posting....
Hi - I was fishing google for a solution about getting a dot the size between \cdot and \bullet and found your answer very helpful. Thanks a lot
