Skip to main content

All Questions

Tagged with
1 vote
0 answers
21 views

Using \ifthenelse and \isempty in newcommand used in glossaries's name

I want to use \ifthenelse while defining symbols with \newcommand. This works all fine, until I try to use those symbols (here \densCanv) in my glossary as a name: \documentclass[a4paper,10pt]{article}...
Make42's user avatar
  • 1,812
1 vote
1 answer
51 views

Making straight quotes in TeX appear as straight quotes in document [duplicate]

So I'm writing a book, and I've used straight quotes (") in my latex files throughout the entire project. Now whenever I compile my document in Overleaf, these, to no ones surprise, come out as ...
Henrik Hillestad Løvold's user avatar
0 votes
0 answers
51 views

Inserting symbol before subsection [duplicate]

I would like to change the macros on the \subsection command, where right before each subsection the symbol $\blacktriangleright$ is attached. I have tried \documentclass[twosided, reqno]{amsart} \...
Dee's user avatar
  • 103
1 vote
3 answers
189 views

If you had to write the command `\lhd` in English, what would it say?

In LaTeX I sometimes see the command \lhd. It ends up looking like a Greek letter delta. ⊲ Usually, LaTeX commands are acronyms, initialisms, or abbreviations. What is the fully spelled out English ...
IdleCustard's user avatar
  • 1,250
3 votes
1 answer
99 views

$\mediumsqcap$ without $\mathfrak{I}$ and $\mathfrak{r}$

The nice answers to my question U with $\mathfrak{i}$ and $\mathfrak{r}$? gave me these \newcommand\bigsqcapir{\ooalign{$\bigsqcap$\cr \hfil\raise0.4ex\hbox{$\scriptstyle\mathfrak{i}$}\hfil\cr ...
Frode Alfson Bjørdal's user avatar
13 votes
3 answers
2k views

Math symbol "an arrow pierces the heart"

Can anyone help me create a new math symbol like in the picture below please? I wanna use it as a binary relation symbol: «a heart pierced by an arrow from left to right» for «A is in love with B». ...
Pavel's user avatar
  • 131
3 votes
4 answers
366 views

Using loop in newcommand to build longer equal sign

Following Is there a wider equal sign? and "For loop" in newcommand, I have come up with the naive command: \newcount\tmp \newcommand{\eqlong}[1][2]{% need this to prevent extra vertical ...
D.R's user avatar
  • 771
1 vote
0 answers
41 views

What is the "backslash greater than" command for? [duplicate]

To make my life easier, I have defined the following two commands: \newcommand{\<}{\langle} \renewcommand{\>}{\rangle} However, as you can see, the latter one required a redefinition, rather ...
Tsskyx's user avatar
  • 115
1 vote
1 answer
666 views

"Interchange" \cup with \bigcup

I am using \bigcup far more often than \cup in my code and so I want to change the commands to something like \bigcup --> \cup and \cup --> \smallcup. Similarly, for \bigcap and \cap of course. ...
Jim's user avatar
  • 555
1 vote
2 answers
102 views

How to check the empty space after the letter inside of \newcommand?

I have the trouble that I write the book in Azerbaijani, and I successfully use FontSpec. The only problem is following: When I use\newcommand\ə{\char"04D9} as the command, it removes all space ...
Ulvi Bajarani's user avatar
0 votes
1 answer
196 views

Declare correctly a new symbol

If I have this MWE: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{tikz-cd,tikz} \usetikzlibrary{decorations.pathmorphing} \DeclareRobustCommand{\twoheads}{\mathbin{\begin{tikzcd}[...
Sebastiano's user avatar
  • 56.7k
1 vote
0 answers
80 views

Forcing ligature between any two letters

I frequently find myself confronted with naming new operator in my mathematical research. What I would really want is them to not consist of two different letters that have a space between them. E.g. \...
MyCatsHat's user avatar
  • 111
4 votes
1 answer
70 views

Defining new math symbols and specify how they behave under commands such as \mathrm

I want to define a math symbol \dbar which will display its italic version normally, but display upright when it appears inside \mathrm. My naïve attempt is something like this \documentclass{article} ...
PonderingPan's user avatar
4 votes
2 answers
1k views

Character "l" replaced with double arrow in mathcal?

Very trivial situation: calling in math environment $\mathcal{Cl}$ replaces the letter "l" with a vertical double arrow. Where is this coming from i.e. with what macro/syntax is this ...
Scipham's user avatar
  • 43
2 votes
2 answers
241 views

How to create new symbols like these with codes only?

I need some new symbols and I don't have any idea how to create them. I tried to find out if these symbols were already in a LaTeX package but they weren't. So finally I ask here. Every answer will be ...
Springfield's user avatar

15 30 50 per page
1
2 3 4 5
��
7