# Tag Info

1

I add some proposals.... \documentclass[11pt]{article} \usepackage{newtxtext} \usepackage{newtxmath} \usepackage{MnSymbol} \usepackage{wasysym} \begin{document} $$f \star g$$, \verb|classic star| $$f \mathbin{\filledstar} g$$, \verb|MnSymbol package| $f \mathrel{\thinstar} g$, \verb|MnSymbol package| $f \mathbin{\APLstar} g$, \verb|Table 330: ...

1

You could borrow the \star from Latin Modern. \documentclass[11pt]{article} \usepackage{newtxtext} \usepackage{newtxmath} \DeclareSymbolFont{LMletters}{OML}{lmm}{m}{it} \DeclareMathSymbol{\lmstar}{\mathbin}{LMletters}{63} \begin{document} $$f \star g$$ $$f \lmstar g$$ \end{document}

2

For example using mathrsfs package give to you the symbol O: \documentclass[12pt]{article} \usepackage{mathrsfs} \begin{document} $\mathscr{O}$ \end{document}

1

I confronted a similar problem with a need for a pretty bar over various characters with \mathbf, \mathcal, \mathfrak, etc. By "pretty," I mean that the bar seems very appropriate to the character shape and size, and this means adjusting the length and placement (left and right offsets) until it looks right. Further, the commands used must be ...

3

This is more of a comment, but requires an example. The problem described does not occur with Computer Modern, and the reason is the difference in the metrics in the .tfm file: the "d" in the alphabet used for math does not have an italic correction. This is by design, since "d" is most often used by Knuth for the differential operator; ...

0

I tried several of those options all leading to a small square instead of «». This did the trick for me. \documentclass{article} \usepackage[francais]{babel} % guillemets \og text \fg{} \usepackage{aeguill} % guillemets \begin{document} \og text \fg{} \end{document}

0

The above link to the «Short Math Guide for LaTeX» by the AMS seems to be broken. Correct link is: http://tug.ctan.org/info/short-math-guide/short-math-guide.pdf (As answer as I cannot comment)

2

\XeTeXglyphindex "ass_completa_CONT" \relax should expand to the integer glyphid then \XeTeXglyph ⟨glyph slot⟩ should typeset it, so \XeTeXglyph \XeTeXglyphindex "ass_completa_CONT" \relax Probably works...

7

The beamer class loads, by default, both amsmath and amssymb (unless these are explicitly disabled with the relevant class options). The \square and \Box command are indeed provided by amssymb and loading this package would suffice for using them; however, if a document uses those symbols it is likely about mathematics and so amsmath is recommended as well. ...

2


0

In the recent version 1.18 of newtxmath there are new math accents and macros. The macro \widering, as written into the guide, places a ring centered over an \overgroup, not dissimilar from its use in yhmath. But for my tastes the command \widering given by newtxmath have a better arc: \documentclass[a4paper,12pt]{article} \usepackage{newtxmath,newtxtext} \...

6


2

Fits within the existing size of \square. Let the bowling commence! \documentclass{article} \usepackage{scalerel,amssymb,stackengine} \DeclareRobustCommand\boxdiag{\boxslsh{1}} \DeclareRobustCommand\boxbslash{\boxslsh{-1}} \newcommand\boxslsh[1]{ \mathchoice{ \ensurestackMath{\stackengine{0pt}{\square} {\stretchrel*[80]{\hstretch{#1}{/}}{\square}}{O}{c}{...

2

Definitely not perfect, but it was fun to play with pict2e again. The scaling does not work well in all math styles because \square sticks out of its box by the same amount in all math styles. \documentclass{article} \usepackage{amsmath,amssymb,pict2e} \makeatletter \DeclareRobustCommand{\boxdiagup}{{\m@th\mathpalette\@boxdiagup\relax}} \newcommand*{\@...

4

Just I add only the symbol \Game from the Table 204: 𝒜ℳ𝒮 Letter-like Symbols of the Comprensive list symbols: \documentclass[12pt]{article} \usepackage{amsmath,amssymb} \begin{document} $\Game^a_b$ \end{document}

0

Another idea is to use the fontsawesome5 package with \faRProject.

3

By chance, I noticed that I already have the package graphicx loaded (without clashes), which means I can rotate a symbol. Thus the gruesome \rotatebox[origin=c]{90}{$\mathrlap{\smallsetminus}\square$} (which of course I meanwhile macro-ed with \newcommand) does the trick without any side effects, and looks nearly as perfect as the native box-with-diagonal ...

3

I would combine the \substack{...} macro of the amsmath package and the \smashoperator[r]{...} macro of the mathtools package. The \substack macro permits introducing line breaks in the argument of "large" operators (such as \bigcup). The \smashoperator[r] macro permits joining up the operator to the material to its right. \documentclass{article} \...

1

In the modern toolchain, with unicode-math, you can substitute this glyph from a different font. \documentclass{article} \usepackage{unicode-math} \setmainfont{TeX Gyre Termes} \setmathfont{TeX Gyre Termes Math} \setmathfont{XITS Math}[range=\mitlambda,Scale=MatchLowercase] \pagestyle{empty} \begin{document} $\lambda$ \end{document}

0

This is the solution to insert musical rhythms in a text: \documentclass{tufte-book} \usepackage{musicography} \begin{document} the package musicography allows the insertion of rhythms cells as the following example \musSixteenth\ \musCorchea \musCorchea\ \musQuarter\ . \end{document} The result is as follows:

7

The unicode-math package includes all the math symbols in Unicode, under the same names as stix and stix2. You can import them with \setmathfont[ range={\hexagonblack,\varhexagonblack}, Scale=MatchUppercase ]{STIX Two Math} XITS Math is a fork of the STIX 1 font, and other fonts might or might not have these symbols.

13

Just it is a bit complex but I had used thus how I have written in the image a combination between tikz and \usetikzlibrary{shapes} that get the hexagon symbol: regular polygon sides=6. After I have used \mathord like suggested by user @Thruston in the recent comment. \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{...

7

The symbols in marvosym are meant to be used in text. \documentclass{article} \usepackage{amsmath} \usepackage{marvosym} \begin{document} Wrong: \verb|$a=\HexaSteel$| $\to$ $a=\HexaSteel$ Right: \verb|$a=\text{\HexaSteel}$| $\to$ $a=\text{\HexaSteel}$ \end{document} Of course, if you plan to use this as a math symbol, you can do \newcommand{\hexagon}{\...

15

As for most unicode symbols, there are filled hexagons in the STIX font. They can be imported without importing the whole font. \documentclass{article} \DeclareFontEncoding{LS1}{}{} \DeclareFontSubstitution{LS1}{stix}{m}{n} \DeclareSymbolFont{symbols4}{LS1}{stixbb}{m}{it} \DeclareMathSymbol{\varhexagonblack}{\mathord}{symbols4}{"DD} \DeclareMathSymbol{\...

9

The STIX font also has two versions of the symbol (in different rotations). For pdfLaTeX you can use the stix2 package. Downside is that STIX becomes the font for your entire document. \documentclass{article} \usepackage{stix2} \begin{document} $$a+b=\varhexagonblack$$. $$b+a=\hexagonblack$$. \end{document}

8

You can print this symbol without any package from the font MarVoSym.ttf: \font\marvosym=umvs {\marvosym\char146}

Top 50 recent answers are included