Re: [NTG-context] Thicker \cdot ?

2017-11-06 Thread Weber, Matthias
Thanks, this is very helpful. 

Matthias

> On Nov 6, 2017, at 4:12 PM, Schmitz Thomas A.  
> wrote:
> 
> 
> 
>> On 6. Nov 2017, at 21:44, Weber, Matthias  wrote:
>> 
>> It looks like Metapost is a good way of doing this.
>> If anybody knows a better way, please let me know.
> 
> Not “better,” but maybe simpler: you can just scale the cdot; if you want to 
> be fancy, you can make a macro and center it vertically, but the basic 
> process would be:
> 
> \starttext
> 
> \getglyph{file:xits-math.otf}{\char"00B7}
> \space
> \getscaledglyph{1.2}{file:xits-math.otf}{\char"00B7}
> \space
> \getscaledglyph{1.6}{file:xits-math.otf}{\char"00B7}
> \space
> \getscaledglyph{2}{file:xits-math.otf}{\char"00B7}
> 
> \stoptext
> 
> So knock yourself out...
> 
> Thomas
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Thicker \cdot ?

2017-11-06 Thread Schmitz Thomas A.


> On 6. Nov 2017, at 21:44, Weber, Matthias  wrote:
> 
> It looks like Metapost is a good way of doing this.
> If anybody knows a better way, please let me know.

Not “better,” but maybe simpler: you can just scale the cdot; if you want to be 
fancy, you can make a macro and center it vertically, but the basic process 
would be:

\starttext

\getglyph{file:xits-math.otf}{\char"00B7}
\space
\getscaledglyph{1.2}{file:xits-math.otf}{\char"00B7}
\space
\getscaledglyph{1.6}{file:xits-math.otf}{\char"00B7}
\space
\getscaledglyph{2}{file:xits-math.otf}{\char"00B7}

\stoptext

So knock yourself out...

Thomas
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Thicker \cdot ?

2017-11-06 Thread Weber, Matthias
It looks like Metapost is a good way of doing this.
If anybody knows a better way, please let me know.


\def\fatdot{\startMPcode
h := \strutheight-\strutdepth;
k:=h/2;
pickup pencircle scaled k;
setbounds currentpicture to boundingbox unitsquare xyscaled (2*h, h);
  drawdot (h, h/2);
  \stopMPcode}

\starttext

\startformula
a \cdot b \fatdot c \bullet d
\stopformula

\stoptext

> On Nov 6, 2017, at 2:01 PM, Weber, Matthias  wrote:
> 
> Dear List,
> 
> I am looking for a ConTeXt way to create a thicker \cdot (but not as thick as 
> \bullet).
> 
> 
> Minimal non-example
> 
> \starttext
> \startformula
> a \cdot[1mm] b 
> \stopformula
> \stoptext
> 
> does not accomplish anything useful….
> 
> 
> Thanks -
> 
> Matthias
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
> ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Thicker \cdot ?

2017-11-06 Thread Weber, Matthias
Dear List,

I am looking for a ConTeXt way to create a thicker \cdot (but not as thick as 
\bullet).


Minimal non-example

\starttext
\startformula
 a \cdot[1mm] b 
\stopformula
\stoptext

does not accomplish anything useful….


Thanks -

Matthias
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___