I want to use a special symbol from the Comprehensive LaTeX Symbol List called \diamondtimes
. Unfortunately, when I include the MnSymbol
package that provides this symbol, it also affects how other things look like. Since I need only this single symbol, is there any way to design it from scratch so that I don't have to include any extra packages?
Maybe it can be build by adding something on top of the standard \diamond
symbol? In fact, I want the diamond produced by \diamondtimes
to be the same size as \diamond
, since I plan to use both.
Update: Since it has such a simple shape, I would prefer to make it from scratch (or put something on top of \diamond
). Here is the original code from Sym-Geometric.mf:
beginoperator(med_op_size#, 1); "medium diamond times";
pickup rule_pen;
r := w/2 - side_bearing;
draw square(centre, r / sqrt(2), 45);
draw (centre + sqrt .5 * r * dir 45) -- (centre + sqrt .5 * r * dir 225);
draw (centre + sqrt .5 * r * dir 135) -- (centre + sqrt .5 * r * dir 315);
endchar;
What language is this in and can I just reuse this somehow?
Best Answer
Rotate
\boxplus
by 45 degrees:For a smaller version and an empty diamond (note that
\diamond
already exists, but gives a much smaller symbol):