Linked Questions
102 questions linked to/from The mysteries of \mathpalette
94
votes
4
answers
227k
views
Making a thicker \cdot for dot product (that is thinner than \bullet)
I'm trying to replicate the dot that my professor uses in his notes for the dot product between vectors but I am having a hard time doing so. This is what it looks like:
I have tried a couple of ...
74
votes
4
answers
170k
views
double perpendicular symbol (for independence)
I found from http://jblevins.org/notes/latex that I could use the independence symbol:
\newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}}
\def\independenT#1#2{\mathrel{\rlap{$#...
64
votes
4
answers
4k
views
How do you make your own symbol when Detexify fails?
My first visit to TeX.SX came when I was looking for a symbol for a twisted product:
I knew about Detexify and the Comprehensive LaTeX Symbol List, but I could not find the symbol there. I tried the ...
79
votes
5
answers
34k
views
What does \smash do, and where is it documented?
I see several users in this forum talk about \smash. It is apparently defined in base TeX.
What does \smash do?
For future reference, is there online documentation where I could find this?
46
votes
2
answers
11k
views
What is \mathchoice?
Can someone give me a detailed starters' guide to \mathchoice? I was trying to define commands for underscript and overscript (which I have found out to exist and be called \underset and \overset), ...
30
votes
3
answers
2k
views
How to capture the current math style?
\mathchoice helps to distinguish between math styles:
\mathchoice
{<something in \displaystyle>}
{<something in \textstyle>}
{<something in \scriptstyle>}
{<something in \...
23
votes
2
answers
4k
views
Percent sign in a box
Is it possible to make a symbol which is a % inside a square box? I would like to use it to represent the function f(n,m) = n-(n % m). As in n symbol m.
Or... is there a better idea for this ...
11
votes
3
answers
29k
views
How do I put a circle around a symbol?
I am trying to put \star in a circle so I can use it on my paper. I could not find a proper way to do so. Is there a (simple) way of doing such a custom symbol?
11
votes
3
answers
1k
views
Squares for answer choice options and perfect alignment to mathematical answers
Since 2005, I have generally used this model to create multiple-choice tests for my students. I kindly ask you if there are packages or macros, or particular strategies to have squares with the ...
8
votes
4
answers
2k
views
Custom Math Symbol - Two Sigma Sums
I'd like to be able to set a new math command/macro that is a Sigma shifted slightly (diagonal) on top of another Sigma, but am unsure how to go about it. I'd like it to behave just as a single Sigma ...
6
votes
5
answers
7k
views
Right superscript dot
I would like to achieve the following: a dot right of an expression
with this minimal example
\documentclass{article}
\usepackage{amsmath}
\usepackage{accents}
\newcommand{\dotr}[1]{%
#1\accentset{\...
8
votes
3
answers
4k
views
Dashed down arrow
I am looking for a solution for dashed down arrow. Have already tried packages like lucidabr and MnSymbol, but these turn my whole stuff upside down, producing a lot errors like
"Something is not ...
12
votes
3
answers
2k
views
Why is \nsim thicker than \sim?
Problem
For some reason, \nsim looks like a negated bold version of \sim, while I would expect it to look exactly like \sim with a slash on top of it.
Examples
This seems to happen with mathdesign:
\...
4
votes
4
answers
5k
views
\left and \right with array
The following definition, from How to continue a piece of text so it is aligned with the last line of an inline multiline box?, allows splitting a math set-builder expression across two lines:
\...
4
votes
3
answers
793
views
How can I write this type of convergent notation in LaTeX?
How can I write this notation in LaTeX?