{symbols} is about specific non-alphabetic symbols or math symbols, e.g., about looking-up, constructing, or using symbols. For questions about {fonts} or alphabetic {characters} use the respective tag instead.

learn more… | top users | synonyms (3)

8
votes
2answers
6k views

\chardef and underscore

Could you explain to me why a\_b {\ttfamily a\_b} \\ \chardef\_=`\_ a\_b {\ttfamily a\_b} produces ? I would like to have the short underscore in the normal text and the long one in ...
100
votes
8answers
16k views

Prettiest way to typeset “C++” (cplusplus)?

Writing "C++" in plain text results in an ugly setting, as the '+' signs are too big and too spaced: I've seen around the web several marcos for typesetting the "C++" symbol, ranging from mild ...
67
votes
4answers
122k views

“inputenc Error: Unicode char \u8” error while trying to write a degree symbol (invisible character)

No matter how I try to do it I always get the following error : ! Package inputenc Error: Unicode char \u8:­ not set up for use with LaTeX. I have tried using ­­­$^{\circ}$, \deg, \textdegree, ...
125
votes
9answers
46k views

How to typeset $:=$ correctly?

I like to use $:=$ for "is defined to be equal to", but this is never typeset with the symmetry one would like, as the colon is always too low relatively to the equals sign. Is there any way of ...
12
votes
3answers
4k views

How to typeset Haskell ++ operator and friends?

Usually, the list concatenation operator in Haskell is printed as overlapping double plus signs in books. (In ASCII it is just ++) How can I typeset this sign in Haskell (in and perhaps outside of ...
3
votes
3answers
4k views

How can I put musical clefs in the middle of text?

I'm setting a document that includes some music; I'm using lilypond-book for the musical examples. However, there are some points where the author has inserted a musical symbol in the text; I'm using ...
7
votes
2answers
2k views

A big thick question mark

I'm using \ding{52} and \ding{56} from the pifont package to get nice satisfying thick ticks and crosses. I'd like a question mark ? that fits with these. \textbf{?} is too small, and not thick ...
8
votes
4answers
2k views

\ell in MinionPro

Is it possible to use the \ell character from the default font when using MinionPro? If so, how? The documentation actually mentions \ell on page 20; the letter is supposed to be taken from MinionPro, ...
38
votes
6answers
40k views

Mathematical symbol for disjoint set union

In our lecture script, we use the notion of disjoint set union. It uses a special symbol to differentiate the disjoint from the usual set union, where we add an extra dot inside of the \cup symbol. Is ...
25
votes
6answers
48k views

Logic operators in LaTeX? (XOR?)

When I google this, it seems that \XOR is how you would get an XOR symbol in LaTeX, however that is giving me the 'undefined control sequence' error. How does one get the xor symbol?
6
votes
2answers
6k views

overleftrightarrow

I'm not completely happy with the construction \overset\leftrightarrow{#1}. There is slightly too much spacing and the arrow heads are too big - making the line spacing a bit too much. Does anyone ...
3
votes
4answers
6k views

small integral delimiter

while reading a book on maths lately, I have seen a small integral delimiter such that, in what follows: \begin{equation} \sum_i^j A_{ij}\int\limits_{-\infty}^{+\infty} \cos x dx \end{equation} ...
16
votes
3answers
3k views

How can I create a full-size circumflex in typewriter font?

I have some C source code and would like to show the circumflex or caret (^) in the way it is typically shown in source code -- as a full-size character. The source code will be appearing in ...
6
votes
2answers
4k views

Bold square brackets

How do I typeset a bold square bracket? I need to typeset it about 3 times thicker than it is (to denote a specific mathematical operator). {\bf[} does not do this. Things like [\![ do not seem to ...
39
votes
4answers
34k views

Smileys in LaTeX

I would like to include smileys in my LaTeX document. Is there any package with lots of different smileys? In mnsymbol and wasysym, I found some general symbols: \documentclass{article} ...
13
votes
2answers
2k views

How do I lower the \widetilde accent, i.e., move it closer to the variable?

I sometimes find that the \widetilde accents sits too high above the math letter it is applied to. An example: To me it looks as if the first tilde is sitting just in between the two lines; it is ...
6
votes
3answers
8k views

Is there a standard symbol for conditional independence?

I have found this symbol defined as: \def\ci{\perp\!\!\!\perp} on the wikipedia page for Conditional Independence. There's this from the Comprehensive LaTex Symbol List page 106: Donald ...
4
votes
2answers
603 views

How can I type the “EE” character?

I'm looking to type the "EE" character, the one that means "* 10^{x}" -- I'm trying to represent what might be typed on a Ti-84 calculator....
33
votes
4answers
30k views

Bold math: Automatic choice between \mathbf and \boldsymbol for Latin and Greek symbols?

This is a follow-up to this question. Suppose you want to denote vectors by upright bold letters; then \mathbf{u} works fine, except that if it's a Greek letter you have to use \boldsymbol{\omega} ...
6
votes
2answers
3k views

Symbol for contraction / interior product?

How to make the symbols for interior product (a.k.a. contraction)? The best I've been able to come up with is \mathrel{\llcorner} (or \lrcorner). Any other suggestions?
11
votes
5answers
1k views

Is there a readymade symbol for a 90 degrees rotated \Bowtie?

Where do I find a symbol that looks like a slightly smaller version of a 90 degrees rotated \Bowtie from the wasysym package? Something like . I couldn't find anything in the usual tables. The ...
19
votes
4answers
5k views

Blackboard bold variants for Greek letters

It is common (or it used to be) to use a blackboard-bold variant of \mu to denote roots of unity in some mathematical papers. However, despite searching (several times, periodically over several ...
6
votes
2answers
1k views

Create my own mapping for XeTeX fonts

I'm trying to create mapping files, to make use of Cambria Math italic calligraphic and double stroke letters in Plain XeTeX. However, I'm unable to do so. This is what I tried to create for the ...
14
votes
1answer
7k views

How to typeset block matrices?

I need to typeset a block matrix that is made of a 2X2 structure of blocks such that the (1,1) block and the (2,2) blocks are zero and the (1,2) and the (2,1) blocks are non-zero (and happen to have a ...
0
votes
1answer
3k views

Enhanced \oint to emphasize circulation

I'm looking for a symbol that merges \iint and \oint together (a dedicated package, if it could exist, would provide something like \oiint and \oiiint). The purpose of \oint is to show that the ...
22
votes
11answers
2k views

What useful web services are out there?

Looking at this question, I wonder what good and useful web services are out there. For example the LaTeX symbol classifier looks interesting. You can draw a symbol with your mouse and get back the ...
17
votes
3answers
3k views

How to indicate elision in a quotation?

How should one typeset an elided passage in a quote? An example: \begin{quotation} some text [...] then some more \end{quotation} Elision in a quote is usually indicated by an ellipsis ...
2
votes
1answer
695 views

Custom radical sign with plain XeTeX

I would like to use Cambria Math font in mathematical equation, and I have a simple problem here. plain TeX uses many symbols for the root sign, so it can use the proper one depending on context, ...
24
votes
2answers
19k views

How do I use a circle as a math accent (larger than \mathring)?

To denote the interior of a set, I'd like to have a command \interior. Now, as one can learn from this post, one possibility is to use \mathring. This is a neat command, but it produces a circle that ...
8
votes
3answers
17k views

Big \sum instead of small \sum in array environment

\begin{align*} \begin{array}{c} \min \: A = \min \: \sum_{i\in B} C_i \\ \ \min \: D = \min \: \sum_{i\in B} \pi_i \cdot F_i \end{array} \end{align*} How can I get i \in B below the \sum symbol ...
42
votes
2answers
42k views

\bm package versus \boldsymbol

I'm typing a bold vector small x with a tilde sign above it. Now when I want to write its derivative, I'm putting a dot on top of everything. This is giving me problems and I found one solution: ...
16
votes
2answers
11k views

How to get a vertical bar which is longer than \mid ?

sometimes when writing mathematical expression with partial derivatives, one needs to write a vertical bar afterwards and write the value at the which the partial derivatives are being computed as ...
2
votes
1answer
863 views

Changing the kpfonts \sum symbol

I like the kpfonts package. It's a nice font and some of the extra symbols it defines are sometimes useful. But I do not like the \sum symbol either in displaystyle or inline. It's too thin and too ...
17
votes
3answers
3k views

How do I change the font of a letter?

This is a partial re-asking of my question Can I change the font and colour of a letter permanently?. The answers there focussed on the colour aspect of what I wanted. I also want to be able to ...
5
votes
1answer
859 views

How do I convert a character to a numeric value?

Now that I've gotten Will Robertson's excellent unicode-math package working to change the colour and style of letters in my mathematics (trust me, there is a reason) thanks to his answer to my ...
27
votes
4answers
14k views

Guillemets in LaTeX («»)

I need the characters «» in my LaTeX document. I'm writing in English though, and I don't want to use Babel. I have the following hack but I'd like a better way: \newcommand{\q}[1]{{% \font\larm = ...
11
votes
5answers
4k views

How do I stack more than two arrows in math mode?

The command \rightrightarrows (from amssymb) draws two arrows, one on top of another. How do I get three arrows arranged in a similar fashion? An example of this (and other fancy arrow stackings) ...
28
votes
3answers
11k views

Why isn't \prime automatically set to be a superscript?

In math mode, writing \prime gives too big a "prime" symbol, and it isn't a superscript, like it always is in textbooks. Why is this? This isn't a question about how to get \prime to be a ...
9
votes
4answers
572 views

Change the shape of a fraction

Is it possible to change the bar in a fraction to a different symbol? ie. \frac{x}{y} But instead of a straight line, I'd like to choose the delimiter to say \overbrace. I know I can get rid of the ...
7
votes
4answers
738 views

New Large Math Symbol

I want to use symbols from the phaistos package as "numbers" This means that I want to type something like: \documentclass{amsart} \usepackage{phaistos} \newcommand{\lo}{\text{\PHbee}} ...
5
votes
1answer
2k views

How to make a command for a composed symbol to work with all font sizes?

In my paper I need a letter $\mathbb{R}$ with a small circle above it. Currently I'm using the following command: \newcommand{\obbR}{{\mbox{\kern1.4pt \raisebox{7pt} {\scriptsize$\circ$} ...
2
votes
1answer
241 views

Equals sign in the pdftitle using hyperref

I have a paper with an equation in the title, and I would like to include the equals sign in the pdf metadata by using the hyperref key "pdftitle", by including it as in the following: ...
14
votes
1answer
7k views

How can I have a bigger integral (\int) delimiter?

I'm writing some integrals and I don't like the way the \int symbol is displayed when it is followed by a big delimiter. Here's the code: \[ \int_S\biggl(\nabla\times\bar B - \mu_0\bar J - ...
144
votes
4answers
247k views

Why do the less than symbol (<) and the greater than symbol (>) appear wrong as upside down exclamation (¡) or question mark (¿)?

When typing < or > in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode.
15
votes
8answers
583 views

The trestle problem: how to avoid >=< in the output

TeX puts no space between \mathrel characters, so one can type := to make a definition. But careless authors often type stuff like < a, b > = < c, d > to indicate that two scalar ...
13
votes
4answers
2k views

Substituting character $l$ with $\ell$ throughout math mode

How do I overwrite the default $l$ character so that it is substituted by $\ell$ throughout math mode? (More generally, is there an easy way to make such symbol substitutions?)
15
votes
3answers
4k views

Strategies for nice vectors

I'm investigating about possible strategies to get nice vectors, discarding bold fonts. To make it simple, I'm not very happy with traditional ways of writing vectors with arrows. Please compare ...
23
votes
2answers
31k views

Cursive, lowercase ell

What is the easiest way to make a cursive, lowercase ell in LaTeX math mode?
14
votes
4answers
12k views

How to make a larger “\dot”

I'm writing up some notes that will be displayed on an overhead projector. The standard time-derivative \dot{x} produces a dot that is hard to see. Does anyone know of a package or have a macro that ...
46
votes
4answers
36k views

How to insert pipe symbol in (La)TeX?

How to insert pipe symbol | in TeX (LaTeX)? I have tried this sample with pdflatex tmp.tex \documentclass{extarticle} \begin{document} \textpipe \end{document} And it give undefined control ...