Making a thicker cdot for dot product (that is thinner than bullet) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)The mysteries of mathpaletteHow to make a larger “dot”A comma decimal separator that is bigger than a dotTo write dot product cdot is not working

An adverb for when you're not exaggerating

Can an alien society believe that their star system is the universe?

Is it fair for a professor to grade us on the possession of past papers?

Is there any way for the UK Prime Minister to make a motion directly dependent on Government confidence?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

Is there such thing as an Availability Group failover trigger?

Delete nth line from bottom

Can a new player join a group only when a new campaign starts?

What is the escape velocity of a neutron particle (not neutron star)

また usage in a dictionary

Is it a good idea to use CNN to classify 1D signal?

Is there a kind of relay only consumes power when switching?

How do I make this wiring inside cabinet safer? (Pic)

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

Do square wave exist?

Why are there no cargo aircraft with "flying wing" design?

What's the meaning of "fortified infraction restraint"?

Where are Serre’s lectures at Collège de France to be found?

Declining "dulcis" in context

How does the math work when buying airline miles?

Do I really need to have a message in a novel to appeal to readers?

What do you call the main part of a joke?

Trademark violation for app?

Wu formula for manifolds with boundary



Making a thicker cdot for dot product (that is thinner than bullet)



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)The mysteries of mathpaletteHow to make a larger “dot”A comma decimal separator that is bigger than a dotTo write dot product cdot is not working










42















I'm trying to replicate the dot that my professor uses in his notes for the dot product between vectors but I am having a hard time doing so. This is what it looks like:



enter image description here



I have tried a couple of things. cdot is too thin



 asdf



and bullet is too thick



enter image description here



and using Large with cdot gives an error. Moreover, after digging through the list of symbols I cannot find a nice medium between cdot and bullet.



How can I get a dot closest to the first picture?










share|improve this question
























  • I use bullet for dot products.

    – k-l
    Mar 22 '17 at 0:13















42















I'm trying to replicate the dot that my professor uses in his notes for the dot product between vectors but I am having a hard time doing so. This is what it looks like:



enter image description here



I have tried a couple of things. cdot is too thin



 asdf



and bullet is too thick



enter image description here



and using Large with cdot gives an error. Moreover, after digging through the list of symbols I cannot find a nice medium between cdot and bullet.



How can I get a dot closest to the first picture?










share|improve this question
























  • I use bullet for dot products.

    – k-l
    Mar 22 '17 at 0:13













42












42








42


11






I'm trying to replicate the dot that my professor uses in his notes for the dot product between vectors but I am having a hard time doing so. This is what it looks like:



enter image description here



I have tried a couple of things. cdot is too thin



 asdf



and bullet is too thick



enter image description here



and using Large with cdot gives an error. Moreover, after digging through the list of symbols I cannot find a nice medium between cdot and bullet.



How can I get a dot closest to the first picture?










share|improve this question
















I'm trying to replicate the dot that my professor uses in his notes for the dot product between vectors but I am having a hard time doing so. This is what it looks like:



enter image description here



I have tried a couple of things. cdot is too thin



 asdf



and bullet is too thick



enter image description here



and using Large with cdot gives an error. Moreover, after digging through the list of symbols I cannot find a nice medium between cdot and bullet.



How can I get a dot closest to the first picture?







math-mode symbols






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 9 mins ago









Svend Tveskæg

20.9k1053143




20.9k1053143










asked Mar 25 '15 at 22:09









sardojsardoj

313135




313135












  • I use bullet for dot products.

    – k-l
    Mar 22 '17 at 0:13

















  • I use bullet for dot products.

    – k-l
    Mar 22 '17 at 0:13
















I use bullet for dot products.

– k-l
Mar 22 '17 at 0:13





I use bullet for dot products.

– k-l
Mar 22 '17 at 0:13










4 Answers
4






active

oldest

votes


















39














May be you find a better name like dotp or something like that.



documentclassscrartcl
usepackagegraphicx

makeatletter
newcommand*bigcdotmathpalettebigcdot@.5
newcommand*bigcdot@[2]mathbinvcenterhboxscalebox#2$m@th#1bullet$
makeatother

begindocument
$a bigcdot b$
enddocument


enter image description here






share|improve this answer


















  • 2





    @Manuel (or anyone who understands this), could you clarify a couple of points about your macros? 1. What are the two parameters to mathpalette? (I only "see" one, unless "bigcdot@" and ".5" are separate in which case I don't understand why mathpalette is called. 2. What ends up being the first parameter (#1) to bigcdot@, used right before bullet?

    – dedded
    Feb 3 '16 at 13:22







  • 1





    That's how mathpalette works, the #1 that is passed to bigcdot@ is the current math style (displaystyle, textstyle, scriptstyle, or scriptscriptstyle depending on the case).Basically what mathpalette does is taking two arguments, and passing the currentstyle in first place and the second argument after it, so mathpaletefoowhatever ends up being for instance foodisplaystylewhatever, so you have to define foo accordingly.

    – Manuel
    Feb 3 '16 at 14:06











  • @sardoj See The mysteries of mathpalette

    – egreg
    Nov 28 '16 at 21:11



















20














Here is a simple trick which needs the amsmath package.



[
a boldsymbolcdot b = 0
]


and the result is



enter image description here






share|improve this answer

























  • Interesting solution; but bf has been deprecated for 20+ years. Besides, align* serves no purpose here, where equation* would be the correct environment.

    – egreg
    Nov 28 '16 at 21:09












  • @egreg: Yeah! I am new to LaTex! Sorry for those! :) I changed the answer a little bit. Let me know if it is OK. :)

    – H. R.
    Nov 28 '16 at 21:11












  • This answer has a downside that the other one has not: if used within the scope of a mathversionbold (or boldmath, if you prefer) declaration, the dot cannot become any bolder. I agree, nonetheless, that it is an interesting solution.

    – GuM
    Nov 28 '16 at 21:58


















7














The following example extends Manuel's answer in two ways:



  • The vertical position is fixed to center the symbol vertically around the
    math axis as cdot and bullet do.

  • The width of the symbol is not the scaled down width of the bullet
    (with scaled down side bearings), but a little larger width of cdot.

The scale and width factor can be configured by macros bigcdot@scalefactor and bigcdot@widthfactor.



documentclassscrartcl
usepackagecolor
usepackagegraphicx

makeatletter
newcommand*bigcdot% Check if undefined
DeclareRobustCommand*bigcdot%
mathbinmathpalettebigcdot@%

newcommand*bigcdot@scalefactor.5
newcommand*bigcdot@widthfactor1.15
newcommand*bigcdot@[2]%
% #1: math style
% #2: unused
sbox0$#1vcenter$% math axis
sbox2$#1cdotm@th$%
hbox to bigcdot@widthfactorwd2%
hfil
raiseht0hbox%
scaleboxbigcdot@scalefactor%
lowerht0hbox$#1bulletm@th$%
%
%
hfil
%

makeatother

begindocument
[ a bigcdot b ]
%
% Comparison with cdot and bullet
[ a cdot b bigcdot c bullet d ]
%
% Different math styles
[ a bigcdot b quad
scriptstyle a bigcdot b quad
scriptscriptstyle a bigcdot b
]
%
% Visualization of the math axis
[
sbox0$-cdotbigcdotbullet-$
rlapcopy0%
vcenter%
hbox%
textcolorred%
vrule widthwd0 height .05pt depth .05ptrelax
%
%

]
enddocument



Result







share|improve this answer

























  • I love it! And some more words to exceed the character limit.

    – Simon
    Nov 13 '18 at 19:10



















-1














a texttextbullet b = 0


How about to use a text symbol instead?



At least it is simple!



enter image description here






share|improve this answer























  • You should at least use a binop here.

    – John Dorian
    Apr 1 '18 at 9:13









protected by Community Dec 6 '17 at 16:19



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?














4 Answers
4






active

oldest

votes








4 Answers
4






active

oldest

votes









active

oldest

votes






active

oldest

votes









39














May be you find a better name like dotp or something like that.



documentclassscrartcl
usepackagegraphicx

makeatletter
newcommand*bigcdotmathpalettebigcdot@.5
newcommand*bigcdot@[2]mathbinvcenterhboxscalebox#2$m@th#1bullet$
makeatother

begindocument
$a bigcdot b$
enddocument


enter image description here






share|improve this answer


















  • 2





    @Manuel (or anyone who understands this), could you clarify a couple of points about your macros? 1. What are the two parameters to mathpalette? (I only "see" one, unless "bigcdot@" and ".5" are separate in which case I don't understand why mathpalette is called. 2. What ends up being the first parameter (#1) to bigcdot@, used right before bullet?

    – dedded
    Feb 3 '16 at 13:22







  • 1





    That's how mathpalette works, the #1 that is passed to bigcdot@ is the current math style (displaystyle, textstyle, scriptstyle, or scriptscriptstyle depending on the case).Basically what mathpalette does is taking two arguments, and passing the currentstyle in first place and the second argument after it, so mathpaletefoowhatever ends up being for instance foodisplaystylewhatever, so you have to define foo accordingly.

    – Manuel
    Feb 3 '16 at 14:06











  • @sardoj See The mysteries of mathpalette

    – egreg
    Nov 28 '16 at 21:11
















39














May be you find a better name like dotp or something like that.



documentclassscrartcl
usepackagegraphicx

makeatletter
newcommand*bigcdotmathpalettebigcdot@.5
newcommand*bigcdot@[2]mathbinvcenterhboxscalebox#2$m@th#1bullet$
makeatother

begindocument
$a bigcdot b$
enddocument


enter image description here






share|improve this answer


















  • 2





    @Manuel (or anyone who understands this), could you clarify a couple of points about your macros? 1. What are the two parameters to mathpalette? (I only "see" one, unless "bigcdot@" and ".5" are separate in which case I don't understand why mathpalette is called. 2. What ends up being the first parameter (#1) to bigcdot@, used right before bullet?

    – dedded
    Feb 3 '16 at 13:22







  • 1





    That's how mathpalette works, the #1 that is passed to bigcdot@ is the current math style (displaystyle, textstyle, scriptstyle, or scriptscriptstyle depending on the case).Basically what mathpalette does is taking two arguments, and passing the currentstyle in first place and the second argument after it, so mathpaletefoowhatever ends up being for instance foodisplaystylewhatever, so you have to define foo accordingly.

    – Manuel
    Feb 3 '16 at 14:06











  • @sardoj See The mysteries of mathpalette

    – egreg
    Nov 28 '16 at 21:11














39












39








39







May be you find a better name like dotp or something like that.



documentclassscrartcl
usepackagegraphicx

makeatletter
newcommand*bigcdotmathpalettebigcdot@.5
newcommand*bigcdot@[2]mathbinvcenterhboxscalebox#2$m@th#1bullet$
makeatother

begindocument
$a bigcdot b$
enddocument


enter image description here






share|improve this answer













May be you find a better name like dotp or something like that.



documentclassscrartcl
usepackagegraphicx

makeatletter
newcommand*bigcdotmathpalettebigcdot@.5
newcommand*bigcdot@[2]mathbinvcenterhboxscalebox#2$m@th#1bullet$
makeatother

begindocument
$a bigcdot b$
enddocument


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 25 '15 at 22:19









ManuelManuel

21.6k846109




21.6k846109







  • 2





    @Manuel (or anyone who understands this), could you clarify a couple of points about your macros? 1. What are the two parameters to mathpalette? (I only "see" one, unless "bigcdot@" and ".5" are separate in which case I don't understand why mathpalette is called. 2. What ends up being the first parameter (#1) to bigcdot@, used right before bullet?

    – dedded
    Feb 3 '16 at 13:22







  • 1





    That's how mathpalette works, the #1 that is passed to bigcdot@ is the current math style (displaystyle, textstyle, scriptstyle, or scriptscriptstyle depending on the case).Basically what mathpalette does is taking two arguments, and passing the currentstyle in first place and the second argument after it, so mathpaletefoowhatever ends up being for instance foodisplaystylewhatever, so you have to define foo accordingly.

    – Manuel
    Feb 3 '16 at 14:06











  • @sardoj See The mysteries of mathpalette

    – egreg
    Nov 28 '16 at 21:11













  • 2





    @Manuel (or anyone who understands this), could you clarify a couple of points about your macros? 1. What are the two parameters to mathpalette? (I only "see" one, unless "bigcdot@" and ".5" are separate in which case I don't understand why mathpalette is called. 2. What ends up being the first parameter (#1) to bigcdot@, used right before bullet?

    – dedded
    Feb 3 '16 at 13:22







  • 1





    That's how mathpalette works, the #1 that is passed to bigcdot@ is the current math style (displaystyle, textstyle, scriptstyle, or scriptscriptstyle depending on the case).Basically what mathpalette does is taking two arguments, and passing the currentstyle in first place and the second argument after it, so mathpaletefoowhatever ends up being for instance foodisplaystylewhatever, so you have to define foo accordingly.

    – Manuel
    Feb 3 '16 at 14:06











  • @sardoj See The mysteries of mathpalette

    – egreg
    Nov 28 '16 at 21:11








2




2





@Manuel (or anyone who understands this), could you clarify a couple of points about your macros? 1. What are the two parameters to mathpalette? (I only "see" one, unless "bigcdot@" and ".5" are separate in which case I don't understand why mathpalette is called. 2. What ends up being the first parameter (#1) to bigcdot@, used right before bullet?

– dedded
Feb 3 '16 at 13:22






@Manuel (or anyone who understands this), could you clarify a couple of points about your macros? 1. What are the two parameters to mathpalette? (I only "see" one, unless "bigcdot@" and ".5" are separate in which case I don't understand why mathpalette is called. 2. What ends up being the first parameter (#1) to bigcdot@, used right before bullet?

– dedded
Feb 3 '16 at 13:22





1




1





That's how mathpalette works, the #1 that is passed to bigcdot@ is the current math style (displaystyle, textstyle, scriptstyle, or scriptscriptstyle depending on the case).Basically what mathpalette does is taking two arguments, and passing the currentstyle in first place and the second argument after it, so mathpaletefoowhatever ends up being for instance foodisplaystylewhatever, so you have to define foo accordingly.

– Manuel
Feb 3 '16 at 14:06





That's how mathpalette works, the #1 that is passed to bigcdot@ is the current math style (displaystyle, textstyle, scriptstyle, or scriptscriptstyle depending on the case).Basically what mathpalette does is taking two arguments, and passing the currentstyle in first place and the second argument after it, so mathpaletefoowhatever ends up being for instance foodisplaystylewhatever, so you have to define foo accordingly.

– Manuel
Feb 3 '16 at 14:06













@sardoj See The mysteries of mathpalette

– egreg
Nov 28 '16 at 21:11






@sardoj See The mysteries of mathpalette

– egreg
Nov 28 '16 at 21:11












20














Here is a simple trick which needs the amsmath package.



[
a boldsymbolcdot b = 0
]


and the result is



enter image description here






share|improve this answer

























  • Interesting solution; but bf has been deprecated for 20+ years. Besides, align* serves no purpose here, where equation* would be the correct environment.

    – egreg
    Nov 28 '16 at 21:09












  • @egreg: Yeah! I am new to LaTex! Sorry for those! :) I changed the answer a little bit. Let me know if it is OK. :)

    – H. R.
    Nov 28 '16 at 21:11












  • This answer has a downside that the other one has not: if used within the scope of a mathversionbold (or boldmath, if you prefer) declaration, the dot cannot become any bolder. I agree, nonetheless, that it is an interesting solution.

    – GuM
    Nov 28 '16 at 21:58















20














Here is a simple trick which needs the amsmath package.



[
a boldsymbolcdot b = 0
]


and the result is



enter image description here






share|improve this answer

























  • Interesting solution; but bf has been deprecated for 20+ years. Besides, align* serves no purpose here, where equation* would be the correct environment.

    – egreg
    Nov 28 '16 at 21:09












  • @egreg: Yeah! I am new to LaTex! Sorry for those! :) I changed the answer a little bit. Let me know if it is OK. :)

    – H. R.
    Nov 28 '16 at 21:11












  • This answer has a downside that the other one has not: if used within the scope of a mathversionbold (or boldmath, if you prefer) declaration, the dot cannot become any bolder. I agree, nonetheless, that it is an interesting solution.

    – GuM
    Nov 28 '16 at 21:58













20












20








20







Here is a simple trick which needs the amsmath package.



[
a boldsymbolcdot b = 0
]


and the result is



enter image description here






share|improve this answer















Here is a simple trick which needs the amsmath package.



[
a boldsymbolcdot b = 0
]


and the result is



enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 28 '16 at 21:12









egreg

735k8919343257




735k8919343257










answered Nov 28 '16 at 21:05









H. R.H. R.

441415




441415












  • Interesting solution; but bf has been deprecated for 20+ years. Besides, align* serves no purpose here, where equation* would be the correct environment.

    – egreg
    Nov 28 '16 at 21:09












  • @egreg: Yeah! I am new to LaTex! Sorry for those! :) I changed the answer a little bit. Let me know if it is OK. :)

    – H. R.
    Nov 28 '16 at 21:11












  • This answer has a downside that the other one has not: if used within the scope of a mathversionbold (or boldmath, if you prefer) declaration, the dot cannot become any bolder. I agree, nonetheless, that it is an interesting solution.

    – GuM
    Nov 28 '16 at 21:58

















  • Interesting solution; but bf has been deprecated for 20+ years. Besides, align* serves no purpose here, where equation* would be the correct environment.

    – egreg
    Nov 28 '16 at 21:09












  • @egreg: Yeah! I am new to LaTex! Sorry for those! :) I changed the answer a little bit. Let me know if it is OK. :)

    – H. R.
    Nov 28 '16 at 21:11












  • This answer has a downside that the other one has not: if used within the scope of a mathversionbold (or boldmath, if you prefer) declaration, the dot cannot become any bolder. I agree, nonetheless, that it is an interesting solution.

    – GuM
    Nov 28 '16 at 21:58
















Interesting solution; but bf has been deprecated for 20+ years. Besides, align* serves no purpose here, where equation* would be the correct environment.

– egreg
Nov 28 '16 at 21:09






Interesting solution; but bf has been deprecated for 20+ years. Besides, align* serves no purpose here, where equation* would be the correct environment.

– egreg
Nov 28 '16 at 21:09














@egreg: Yeah! I am new to LaTex! Sorry for those! :) I changed the answer a little bit. Let me know if it is OK. :)

– H. R.
Nov 28 '16 at 21:11






@egreg: Yeah! I am new to LaTex! Sorry for those! :) I changed the answer a little bit. Let me know if it is OK. :)

– H. R.
Nov 28 '16 at 21:11














This answer has a downside that the other one has not: if used within the scope of a mathversionbold (or boldmath, if you prefer) declaration, the dot cannot become any bolder. I agree, nonetheless, that it is an interesting solution.

– GuM
Nov 28 '16 at 21:58





This answer has a downside that the other one has not: if used within the scope of a mathversionbold (or boldmath, if you prefer) declaration, the dot cannot become any bolder. I agree, nonetheless, that it is an interesting solution.

– GuM
Nov 28 '16 at 21:58











7














The following example extends Manuel's answer in two ways:



  • The vertical position is fixed to center the symbol vertically around the
    math axis as cdot and bullet do.

  • The width of the symbol is not the scaled down width of the bullet
    (with scaled down side bearings), but a little larger width of cdot.

The scale and width factor can be configured by macros bigcdot@scalefactor and bigcdot@widthfactor.



documentclassscrartcl
usepackagecolor
usepackagegraphicx

makeatletter
newcommand*bigcdot% Check if undefined
DeclareRobustCommand*bigcdot%
mathbinmathpalettebigcdot@%

newcommand*bigcdot@scalefactor.5
newcommand*bigcdot@widthfactor1.15
newcommand*bigcdot@[2]%
% #1: math style
% #2: unused
sbox0$#1vcenter$% math axis
sbox2$#1cdotm@th$%
hbox to bigcdot@widthfactorwd2%
hfil
raiseht0hbox%
scaleboxbigcdot@scalefactor%
lowerht0hbox$#1bulletm@th$%
%
%
hfil
%

makeatother

begindocument
[ a bigcdot b ]
%
% Comparison with cdot and bullet
[ a cdot b bigcdot c bullet d ]
%
% Different math styles
[ a bigcdot b quad
scriptstyle a bigcdot b quad
scriptscriptstyle a bigcdot b
]
%
% Visualization of the math axis
[
sbox0$-cdotbigcdotbullet-$
rlapcopy0%
vcenter%
hbox%
textcolorred%
vrule widthwd0 height .05pt depth .05ptrelax
%
%

]
enddocument



Result







share|improve this answer

























  • I love it! And some more words to exceed the character limit.

    – Simon
    Nov 13 '18 at 19:10
















7














The following example extends Manuel's answer in two ways:



  • The vertical position is fixed to center the symbol vertically around the
    math axis as cdot and bullet do.

  • The width of the symbol is not the scaled down width of the bullet
    (with scaled down side bearings), but a little larger width of cdot.

The scale and width factor can be configured by macros bigcdot@scalefactor and bigcdot@widthfactor.



documentclassscrartcl
usepackagecolor
usepackagegraphicx

makeatletter
newcommand*bigcdot% Check if undefined
DeclareRobustCommand*bigcdot%
mathbinmathpalettebigcdot@%

newcommand*bigcdot@scalefactor.5
newcommand*bigcdot@widthfactor1.15
newcommand*bigcdot@[2]%
% #1: math style
% #2: unused
sbox0$#1vcenter$% math axis
sbox2$#1cdotm@th$%
hbox to bigcdot@widthfactorwd2%
hfil
raiseht0hbox%
scaleboxbigcdot@scalefactor%
lowerht0hbox$#1bulletm@th$%
%
%
hfil
%

makeatother

begindocument
[ a bigcdot b ]
%
% Comparison with cdot and bullet
[ a cdot b bigcdot c bullet d ]
%
% Different math styles
[ a bigcdot b quad
scriptstyle a bigcdot b quad
scriptscriptstyle a bigcdot b
]
%
% Visualization of the math axis
[
sbox0$-cdotbigcdotbullet-$
rlapcopy0%
vcenter%
hbox%
textcolorred%
vrule widthwd0 height .05pt depth .05ptrelax
%
%

]
enddocument



Result







share|improve this answer

























  • I love it! And some more words to exceed the character limit.

    – Simon
    Nov 13 '18 at 19:10














7












7








7







The following example extends Manuel's answer in two ways:



  • The vertical position is fixed to center the symbol vertically around the
    math axis as cdot and bullet do.

  • The width of the symbol is not the scaled down width of the bullet
    (with scaled down side bearings), but a little larger width of cdot.

The scale and width factor can be configured by macros bigcdot@scalefactor and bigcdot@widthfactor.



documentclassscrartcl
usepackagecolor
usepackagegraphicx

makeatletter
newcommand*bigcdot% Check if undefined
DeclareRobustCommand*bigcdot%
mathbinmathpalettebigcdot@%

newcommand*bigcdot@scalefactor.5
newcommand*bigcdot@widthfactor1.15
newcommand*bigcdot@[2]%
% #1: math style
% #2: unused
sbox0$#1vcenter$% math axis
sbox2$#1cdotm@th$%
hbox to bigcdot@widthfactorwd2%
hfil
raiseht0hbox%
scaleboxbigcdot@scalefactor%
lowerht0hbox$#1bulletm@th$%
%
%
hfil
%

makeatother

begindocument
[ a bigcdot b ]
%
% Comparison with cdot and bullet
[ a cdot b bigcdot c bullet d ]
%
% Different math styles
[ a bigcdot b quad
scriptstyle a bigcdot b quad
scriptscriptstyle a bigcdot b
]
%
% Visualization of the math axis
[
sbox0$-cdotbigcdotbullet-$
rlapcopy0%
vcenter%
hbox%
textcolorred%
vrule widthwd0 height .05pt depth .05ptrelax
%
%

]
enddocument



Result







share|improve this answer















The following example extends Manuel's answer in two ways:



  • The vertical position is fixed to center the symbol vertically around the
    math axis as cdot and bullet do.

  • The width of the symbol is not the scaled down width of the bullet
    (with scaled down side bearings), but a little larger width of cdot.

The scale and width factor can be configured by macros bigcdot@scalefactor and bigcdot@widthfactor.



documentclassscrartcl
usepackagecolor
usepackagegraphicx

makeatletter
newcommand*bigcdot% Check if undefined
DeclareRobustCommand*bigcdot%
mathbinmathpalettebigcdot@%

newcommand*bigcdot@scalefactor.5
newcommand*bigcdot@widthfactor1.15
newcommand*bigcdot@[2]%
% #1: math style
% #2: unused
sbox0$#1vcenter$% math axis
sbox2$#1cdotm@th$%
hbox to bigcdot@widthfactorwd2%
hfil
raiseht0hbox%
scaleboxbigcdot@scalefactor%
lowerht0hbox$#1bulletm@th$%
%
%
hfil
%

makeatother

begindocument
[ a bigcdot b ]
%
% Comparison with cdot and bullet
[ a cdot b bigcdot c bullet d ]
%
% Different math styles
[ a bigcdot b quad
scriptstyle a bigcdot b quad
scriptscriptstyle a bigcdot b
]
%
% Visualization of the math axis
[
sbox0$-cdotbigcdotbullet-$
rlapcopy0%
vcenter%
hbox%
textcolorred%
vrule widthwd0 height .05pt depth .05ptrelax
%
%

]
enddocument



Result








share|improve this answer














share|improve this answer



share|improve this answer








edited May 9 '18 at 16:59

























answered Mar 31 '18 at 23:23









Heiko OberdiekHeiko Oberdiek

232k19563913




232k19563913












  • I love it! And some more words to exceed the character limit.

    – Simon
    Nov 13 '18 at 19:10


















  • I love it! And some more words to exceed the character limit.

    – Simon
    Nov 13 '18 at 19:10

















I love it! And some more words to exceed the character limit.

– Simon
Nov 13 '18 at 19:10






I love it! And some more words to exceed the character limit.

– Simon
Nov 13 '18 at 19:10












-1














a texttextbullet b = 0


How about to use a text symbol instead?



At least it is simple!



enter image description here






share|improve this answer























  • You should at least use a binop here.

    – John Dorian
    Apr 1 '18 at 9:13















-1














a texttextbullet b = 0


How about to use a text symbol instead?



At least it is simple!



enter image description here






share|improve this answer























  • You should at least use a binop here.

    – John Dorian
    Apr 1 '18 at 9:13













-1












-1








-1







a texttextbullet b = 0


How about to use a text symbol instead?



At least it is simple!



enter image description here






share|improve this answer













a texttextbullet b = 0


How about to use a text symbol instead?



At least it is simple!



enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 20 '18 at 9:38









GyuHyeon ChoiGyuHyeon Choi

1216




1216












  • You should at least use a binop here.

    – John Dorian
    Apr 1 '18 at 9:13

















  • You should at least use a binop here.

    – John Dorian
    Apr 1 '18 at 9:13
















You should at least use a binop here.

– John Dorian
Apr 1 '18 at 9:13





You should at least use a binop here.

– John Dorian
Apr 1 '18 at 9:13





protected by Community Dec 6 '17 at 16:19



Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



Would you like to answer one of these unanswered questions instead?



Popular posts from this blog

Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm