New answers tagged

4 votes
Accepted

Changing the \sum symbol in fraction

As I don't know what \color{dca} is, I replaced it with IndianRed (from svgnames). Here is a simple solution: \documentclass{article} \usepackage[svgnames]{xcolor} \usepackage{amsmath} ...
user avatar
  • 261k
3 votes

I want to automatically ... mathrm

I'm not sure why you'd want that. Anyway, here's the code. \documentclass{article} \usepackage{amsmath} \NewCommandCopy{\latexhat}{\hat} \ExplSyntaxOn \RenewDocumentCommand{\hat}{m} { \latexhat ...
user avatar
  • 994k
2 votes

I want to automatically ... mathrm

If you really, truly, want to redefine the \hat command so that all variables with a hat, and only those, are upright, you want to save the original \hat command before you redefine it. \documentclass{...
user avatar
  • 38.2k
3 votes
Accepted

How do I negate \curlywedge

I guess you're using \curlywedge as a relation symbol, since you want to negate it. Note that \curlywedge is, as defined by amssymb, a binary operation symbol, so its spacing rules are quite different ...
user avatar
  • 994k
1 vote

Place the start and end index above and below the symbol ||

I don't quite understand the syntax, but I was able to solve using this feature directly in the text: \def\Parallel{\mathop{\parallel}} $$ E = \Parallel_{i=1}^8 E_i $$
user avatar
2 votes
Accepted

How to Change the Appearance of a Swabfamily Capital A

You want to define a virtual font. But don't do it: you get something really weird. Copy yswab.tfm to a working directory and rename it to temp.tfm Run tftopl temp.tfm > ayswab.vpl Open ayswab.vpl ...
user avatar
  • 994k
1 vote

Math Symbols Palette?

Check out: https://www.caam.rice.edu/~heinken/latex/symbols.pdf This is a pdf document listing all mathematical symbols with Latex coding. Nice document to have for reference.
user avatar
7 votes
Accepted

A weird symbol related to Sobolev spaces on manifolds

The symbol you are looking for is MATHEMATICAL FRAKTUR CAPITAL E (U+1D508): 𝔈 (followed by p over k, but that's not the issue, I understand.) Quick MWE, showing two ways: \documentclass{article} \...
user avatar
  • 5,596
0 votes

Wrong output of subscripts while using Hendrik Vogt's "\widebar"

You get the same output as \mathcal{I_x} just with overline above it. You can use \widerbar{{\mathcal{I}}_{x}} to fix it. I reproduce the behavior in the example code below to show that, apart from ...
user avatar
  • 994k
1 vote
Accepted

Euro symbol for math mode

The first solution is from link 1. \documentclass{article} \usepackage{eurosym} \usepackage{amsmath} \begin{document} \euro{} in text mode $\text{\euro}$ in math mode \itshape $\text{\euro}$ in ...
user avatar
  • 3,031
0 votes

Euro symbol for math mode

Probably a hammer vs this answer but currency is a cool package. \documentclass{article} \usepackage{currency} %Easy to define your set up with keys \DefineCurrency{EUR}{ name={euro}, plural=...
user avatar
  • 2,495
2 votes
Accepted

tikzlibrary: circuits.ee.IEC: ohm symbol

tikz option resistor={ohm=4} will add a node with text $\mathrm{4\Omega}$. Hence the example can be further simplified to the one below, without tikz. \documentclass{article} \usepackage[default]{...
user avatar
  • 22.1k
1 vote

How to insert upright delta symbol in LaTeX?

Simple: Want it? Write it. Compile with xelatex or lualatex and use a suitable font: \documentclass{article} \usepackage{fontspec} \setmainfont{Linux Libertine O} \def\su#1{\textsuperscript{#1}} \...
user avatar
2 votes

How to insert upright delta symbol in LaTeX?

The unicode-math package provides both \updelta,\mupdelta, and \symup{\delta}. It requires LuaLaTeX or XeLaTeX. I recommend that you use this if you can and legacy 8-bit math fonts if you have to. If ...
user avatar
  • 38.2k
0 votes

How to write \% separated in latex?

You can temporarily change the catcode of "%" \begingroup \catcode`\%=12 https://wxguys.ssec.wisc.edu/2016/07/11/high-winds/:~:text=Since%20wind%20is%20air%20in,also%20cause%20it%20to%...
user avatar
  • 875
13 votes
Accepted

How to insert upright delta symbol in LaTeX?

(I rewrote the answer to avoid creating any kind of impression that I might somehow be claiming that one LaTeX chemistry package might be "better" than another. For a broad examination of ...
user avatar
  • 439k
2 votes

How to insert upright delta symbol in LaTeX?

Use package upgreek, and then use \updelta. \documentclass{article} \usepackage{upgreek} \begin{document} $\updelta^{18} \mathrm{O}$ \end{document} This should give you the following:
user avatar
  • 377
1 vote

After loading unicode-math, how do I remap one symbol (character) to another?

Just to point out the "internal unicode-math API" option, which the OP appears to prefer: \documentclass{article} \usepackage[math-style=ISO, partial=upright]{unicode-math} \setmainfont{STIX-...
user avatar
  • 2,325
2 votes
Accepted

After loading unicode-math, how do I remap one symbol (character) to another?

Assigning a \mathcode of "8000 makes a character “math active”. When used in math mode, such a 〈character〉 is replaced by an active character token having the original character code (TeXbook p. ...
user avatar
  • 22.9k
0 votes

Symbol for open and closed sets

I am not sure if i misunderstood you, but are you by chance just looking for curly brackets ({})? If so you can just use the code following code snippet \documentclass[10pt]{article} \begin{document} ...
user avatar
  • 136
5 votes
Accepted

Vertical dotted line in an equation

Take the definition of \vdots from fontmath.ltx and adapt it: % from fontmath.ltx \DeclareRobustCommand\vdots{% \vbox{% \baselineskip4\p@ \lineskiplimit\z@ \kern6\p@ \hbox{.}\hbox{.}\...
user avatar
  • 994k
4 votes

Vertical dotted line in an equation

You can define \tallvdots by: \def\tallvdots{% \mathrel{\vcenter{\offinterlineskip \kern-1.4ex\hbox{$\vdots$}\kern-.7ex\hbox{$\vdots$}% }}% } No array, no rotatebox. Only two \vdots one ...
user avatar
  • 53.6k
3 votes

Vertical dotted line in an equation

Something like this? Note that in addition to creating and using a macro called \tallvdots, I've also replaced all instances of | with \mid. \documentclass{article} \usepackage{amsmath} % for '...
user avatar
  • 439k
0 votes

What are TeX codes for Hebrew letters to be used as math-mode symbols?

I found it most convenient to use the cjhebrew package, see: https://ctan.org/pkg/cjhebrew It's in standard packages so trivial to include and very easy to use, supports also more advanced things such ...
user avatar
  • 1
0 votes

Bar over/under integral symbol

For typing the upper and lower Darboux integrals, you could use \[\overline{\int_{a}^{b}}f dx = \underline{\int_{a}^{b}} f dx\]
user avatar
  • 1
1 vote
Accepted

Changing the \ast of kpfonts

\documentclass{article} \usepackage{kpfonts-otf} \setmathfont{Latin Modern Math}[range=\ast] \setmathfont{KpMath-Regular.otf}[range={}] \begin{document} $G \ast H$ \end{document}
user avatar
  • 994k

Top 50 recent answers are included