I have to use \cdot as a wildcard indicator in an expression like: K(\cdot,y).
My concern is: is the spacing around the \cdot correct? should I force something in either one side or the other of it?
|
I have to use My concern is: is the spacing around the |
||||
| show 1 more comment |
|
For what it's worth, this is converted from comments. I'm no expert on mathematical typography, so these are if anything suggestions. My first idea was
which produces the same spacing as
because neither If you rather want to reproduce the spacing from
does look more like something like
You can, of course, specify any space around the
I recommend to define a macro for this kind of wildcard/placeholder so that, if you ever change your opinion about the correct spacing you can just change the macro's definition (aka “The LaTeX way”).
Code
Output
|
||||
{\cdot}. But in the example you have given, the spacing is already correct because neither(nor,is seen as an ordinary character as would5andxin5 \cdot x. (There's no harm to use{\cdot}anyway, maybe as a macro:\newcommand*\wildcard{{\cdot}}.) – Qrrbrbirlbel Oct 18 '12 at 13:21`to mark your inline code as I did in my edit. – Corentin Oct 18 '12 at 13:21{}\cdot{}produces seem appropriate, too. I guess, it depends on typographical consensus and an author's individual choice. Either way: Use a macro for this, so you can later change its definition without having to correct your whole document manually. – Qrrbrbirlbel Oct 18 '12 at 14:20