New answers tagged symbols
0
votes
Smileys in LaTeX
Caramdir's solution didn't work for me, so i used a shotgun:
With this python script:
#!/usr/bin/env python3
import json
import argparse
parser = argparse.ArgumentParser(
prog='...
6
votes
Accepted
What is the definition of \partial (∂) by using \DeclareMathSymbol
You can find the default definition in fontmath.ltx, part of the base distribution:
\DeclareMathSymbol{\partial}{\mathord}{letters}{"40}
This tells us that the symbol, by default, will be taken ...
0
votes
Specifying bullet type when using itemize
Set options in each environment like \begin{itemize}[label=+] is a direct way.
But \setlist command from enumitem package is more effective if you need to use multiple itemizes.
%\usepackage{enumitem}
...
6
votes
Accepted
Adding a vertical line on an existing symbol to define a new one
The idea here is to superimpose a slightly raised | to the Z.
\documentclass{article}
\usepackage{amsmath}
\makeatletter
\NewDocumentCommand{\Zb}{}{{\mathpalette\Zb@\relax}}
\newcommand{\Zb@}[2]{%
\...
3
votes
Adding a vertical line on an existing symbol to define a new one
One character spacing is a bit arbitrary since it depends on the chosen character, font, font size, etc. Here are two renditions of your proposed symbol:
\documentclass{article}
\usepackage[T1]{...
4
votes
Create a new math symbol
Old question, but the given answer has the defect of forcing MnSymbol which is rarely desired.
\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}
\NewDocumentCommand{\triangleLeft}{}{%...
2
votes
Filled in \diamond without XeLaTeX
A poor man's solution could be not rotate \square but a framed color box and to avoid any difference with \diamond, make the white diamond also with a rotated framed color box.
With the default font, ...
3
votes
Accepted
Filled in \diamond without XeLaTeX
The \diamond symbol, as defined by amssymb is an operation symbol, but apparently you want it as an ordinary symbol.
\documentclass{article}
\usepackage{graphicx}
\usepackage{amssymb}
\newcommand{\...
1
vote
Is there a LaTeX symbol for 'order'?
An additional possibility for "order" on this request that is worth disambiguating here is the symbol for the "precedence" relational operator or lexicographic order in formal ...
5
votes
Filled in \diamond without XeLaTeX
The stix2 package splits the Unicode Stix two math font in to Pdftex compatible fonts and gives them TeX names compatible with unicode-math.
The unicode math names for U+2B25 and U+2B26 are \...
4
votes
Accepted
How can I replace the single quotation mark with another one in the listings package?
You could use the upquote package to get upright quotes in verbatim:
\documentclass[a4paper,12pt]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{listings}
\...
1
vote
How would we write code for a smile with a dot underneathe it?
Here's an approach with stackengine and scalerel packages.
\documentclass{article}
\usepackage{amsmath,stackengine,scalerel}
\newcommand\smiledot{\mathrel{\ThisStyle{\ensurestackMath{\stackunder[0pt]{%...
4
votes
How would we write code for a smile with a dot underneathe it?
Assuming you want a relation symbol that compares to \smile:
\documentclass{article}
\usepackage{amsmath}
\makeatletter
\newcommand{\smiledot}{\mathrel{\smiledot@}}
\DeclareRobustCommand{\smiledot@}{\...
0
votes
Are there concave up and concave down symbols in beamer?
Do you mean \smile and \frown?
\documentclass{beamer}
\begin{document}
\begin{frame}
Convex: $\smile$
Concave: $\frown$
\end{frame}
\end{document}
0
votes
Accepted
Are there concave up and concave down symbols in beamer?
There are various package which provide \cup and \cap symbols in different shapes and sizes. You could pick one which you like. In the following an example with mathabx.
If you need full control over ...
2
votes
Typesetting d'Alembertian symbol
I might be late to the party, but I thought to mention that the newtxmath package provides the \dAlembertian command which produces a nice d'Alembertian:
\documentclass{article}
\usepackage[amsthm, ...
0
votes
Problem when combining \widebar and \mathring
I'd not use that complicated code by Hendrik Vogt.
\documentclass{article}
\usepackage{amsmath}
% see https://tex.stackexchange.com/a/364929/4427
\DeclareFontFamily{U}{mathx}{}
\...
2
votes
How to typeset Dijkstra choice with TeX Gyre Termes and STIX Two Math? Other font suggestions are welcome
This answer focuses on the following part of the question:
Moreover, for both fonts, the symbol isn't exactly right-aligned in the column with the keywords denoting the statement to which the choice ...
2
votes
Nice looking empty set?
You could use the package unicode-math to change a specific math symbol's font without changing other symbols'.
Here is how I used:
\usepackage{unicode-math}
\setmathfont{latinmodern-math.otf}
\...
0
votes
Preventing Ångström symbol being italicised in pythontex
I presume the question is about creating a string for something like a matplotlib label, where there is a latex interpreter so you can use a latex environment by putting text between $$. The suggested ...
-2
votes
How can I get the Russian ruble sign?
This question is eight years old (by this answering date), but I want to point out that there's now \textpeso which can feed the need.
\textpeso forms part of textcomp – LATEX support for the Text ...
10
votes
Accepted
How to typeset Dijkstra choice with TeX Gyre Termes and STIX Two Math? Other font suggestions are welcome
The question is rather too long and unspecific, and not unreasonably got closed as opinion-based, but I asked for it to be re-opened as I think there is a TeX question (or at least a TeX font question)...
Top 50 recent answers are included
Related Tags
symbols × 4447math-mode × 929
fonts × 439
math-operators × 165
amsmath × 155
unicode × 154
characters × 143
relation-symbols × 113
tikz-pgf × 108
packages × 105
macros × 102
xetex × 102
equations × 98
spacing × 97
stacking-symbols × 90
arrows × 89
pdftex × 64
luatex × 64
glossaries × 60
amssymb × 60
accents × 59
greek × 54
typography × 53
errors × 52
unicode-math × 52