Questions tagged [mathcal]

Refers to the calligraphic {math-mode} font accessed via \mathcal.

Filter by
Sorted by
Tagged with
4 votes
4 answers
697 views

How to write this variant of Dirac slashed derivative?

I want to write: Can someone please help me with this?
Bastam Tajik's user avatar
1 vote
1 answer
58 views

How to write mathcal similar letters [duplicate]

In math mode, I want to achieve the following letters, which look similar to mathcal but aren't the same. Using mathcal generates the following: \documentclass{article} \begin{document} \(\...
WindstrideR's user avatar
1 vote
1 answer
66 views

calligraphy \mathcal fonts in beamer presentation

I am facing a problem regarding using \mathcal in my beamer presentation and could not make none of the solutions proposed for similar cases work. Here is the content of my presentation.sty file: % ---...
Basilique's user avatar
1 vote
2 answers
180 views

Trying to get {\mathcal n}, and I get the backslash \

I am trying to get {\mathcal n} within an equation, but instead I get the backslash (\). I would be satisfied with a smaller version (say, 75%) of {\mathcal N}, or some other smallish scriptish ...
Wayne Saslow's user avatar
2 votes
1 answer
614 views

\mathcal not working proper

I'm trying to use \mathcal and it works for the subscripts, but not for the main letter. \begin{table}[h] \centering \caption{Data integration framework} \label{tab:data_integration} \...
enrico223's user avatar
0 votes
0 answers
34 views

Why does mathcal f give a curly brace? [duplicate]

I would like to get a curly f lowercase letter for a mathematic formula. But the following example \documentclass{minimal} \begin{document} $$\mathcal{f}$$ \end{document} Leads to this output I use ...
Ger's user avatar
  • 2,710
2 votes
2 answers
270 views

How do we use lowercase `\mathcal` or `\mathscr` in latex overleaf?

I tried \usepackage{bickham} in latex overleaf but I get: LaTeX Error: File `bickham.sty' not found. How do we get a lower case \mathcal in latex overleaf? For instance, for: \documentclass[reqno]{...
Arbuja's user avatar
  • 231
2 votes
1 answer
101 views

How to redefine math mode accent macros (\bar, \hat, etc.) to kern only specifically for \mathbb and \mathcal inputs but behave normally otherwise

Inspired by David Carlisle's answer and comment from my previous question, I wanted to see if I could try and redefine the math mode accent macros (\bar, \hat, \dot, etc.) to kern specifically for \...
Amanuensis Frances's user avatar
1 vote
1 answer
358 views

How to use both Computer Modern and Latin Modern's Calligraphic \mathcal at the same time in LuaTeX with unicode-math

Here's my MWE: % !TEX program = lualatex % DOCUMENT CLASS \documentclass[11pt,preview,varwidth,% border={5pt 5pt 5pt 5pt}% left bottom right top ]{standalone} % PACKAGES \usepackage{mathtools, ...
Amanuensis Frances's user avatar
0 votes
0 answers
158 views

Is there any analogue of mathcal which also works with Greek letters?

I have noticed that the font category mathcal does not work with Greek letters as inputs, probably because nobody has created any sort of "calligraphic Greek font family". Is there any sort ...
OGBond's user avatar
  • 75
1 vote
0 answers
36 views

How to express special font characters in equations in Latex?

Would anyone have a suggestion on how to express special font characters, i.e. \mathcal{H}_{0} In a subscript in an equation? The result is an italic representation, but I want the normal 'mathcal' ...
Will_Phys4's user avatar
-1 votes
1 answer
646 views

Phi doesn't display with \mathcal

With the following Codesnippet: \documentclass[10pt,a4paper]{article} \usepackage{geometry} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \usepackage{enumitem} \...
Seven's user avatar
  • 3
2 votes
1 answer
361 views

Hat on \mathcal{J} and \mathcal{K} "off-center" due to \DeclareMathAlphabet

I am using NCM (NewComputerModern) as my main font. Because I do not like the \mathcal{…} provided by unicode-math in the Euler font instead of the Latin Modern oder Computer Modern style. I think ...
Martin Dagleish's user avatar
1 vote
1 answer
64 views

Strange Output When Color Shadowing Using the Pazocal Font

This question is an extension of How to Automatically Produce Separated Words Using the Mathcal or Pazocal Fonts which egreg provides some answers. Consider the following code which uses the pazocal ...
DDS's user avatar
  • 8,796
0 votes
1 answer
146 views

How to Automatically Produce Separated Words Using the Mathcal or Pazocal Fonts

Consider the code: \documentclass[a4paper,12pt]{article} \usepackage{amsmath,amssymb} \usepackage{calrsfs} \DeclareMathAlphabet{\pazocal}{OMS}{zplm}{m}{n} \SetMathAlphabet\pazocal{bold}{OMS}{zplm}{bx}...
DDS's user avatar
  • 8,796
0 votes
2 answers
329 views

Type a regular mathcal letter while using newtxmath with the libertine option

I am required to use a .cls that loads the newtxmath package with the libertine option. Because of this (I think), when I type \mathcal{A} my "A" looks different than it normally does. I ...
the_count_1968's user avatar
1 vote
1 answer
512 views

Not using mathcal, but still getting "Error: \mathcal allowed only in math mode"

I am recieving a TeX error as follows: ! LaTeX Error: \mathcal allowed only in math mode. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... ...
jrs's user avatar
  • 13
1 vote
0 answers
62 views

How can i define a \mathcal{h} character, without switching the font set for all other characters

For a physics text i need a lower case mathcal h (for energy density), as a companion to upper case mathcal H (for energy). I would prefer a solution, that does not require to switch to complete font ...
Falk Rühl's user avatar
2 votes
0 answers
468 views

Incorrect Usage of \mathcal and \mathbb Leads to Interesting Symbols [duplicate]

I noticed that some incorrect usage of the \mathcal and \mathbb command generates interesting symbols. \mathcal{M^1} \mathcal{M^2} \mathcal{M^3} \mathcal{M^4} \mathcal{M^5} and \mathbb{M^1} \mathbb{M^...
Benjamin's user avatar
  • 233
1 vote
1 answer
455 views

different font for mathcal while using mathpazo+eulervm

I have been using mathpazo + eulervm for my LaTeX documents and I'm very happy with the results, with one exception: The characters for \mathcal do not come out the way I want; I prefer the \mathcal ...
underflow's user avatar
  • 549
3 votes
1 answer
589 views

`\mathcal` incompatible with `unicode-math`

An MWE is like this: \documentclass{article} \usepackage{unicode-math} \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} \begin{document} $ \tilde{\mathcal{B}} $ % $ \hat{\mathcal{B}} $ \end{document} ...
Misaya's user avatar
  • 466
1 vote
1 answer
377 views

I can't put accent on `\mathcal` after changing the font of `\mathcal`

When I use unicode-math, I found that there is no default performance of \mathcal in the 6 fonts given in texdoc unimath-symbols. \documentclass{article} \begin{document} $ \mathcal{DBFT} $ \end{...
Syvshc's user avatar
  • 1,328
4 votes
1 answer
454 views

Sorting an Acronym entry with \mathcal{} with Glossaries package

I'm using the glossaries package for my list of acronyms with the following options: \usepackage[acronyms,nopostdot,nogroupskip,nonumberlist,nomain,shortcuts]{glossaries} \makeglossaries \input{...
fjungplan's user avatar
  • 321
3 votes
2 answers
1k views

\color{white} doesn't work in LaTeXiT

I want to produce a white \mathcal{L} in LaTeXiT to then copy and paste into a powerpoint presentation. \color{blue} works, but ```color{white} produces nothing - no error, just no result. The entire ...
Beth Long's user avatar
  • 297
1 vote
1 answer
1k views

Curly brackets and Big O notation

I'm having some trouble inserting a Big O notation into a right-side curly bracket consisting of two lines. I'm using mathcal for the Big O notation but once I put it in the curly bracket it doesn't ...
mariposa89's user avatar
1 vote
1 answer
2k views

```\mathcal``` and ```mathscr``` look the same in my template

In my current template compiled by pdflatex, I am seeing \mathcal forced to \mathscr. For example, $\mathcal{T},\mathscr{T}$ leads to the output. Can anyone propose potential causes of this problem? P....
Ziqi Fan's user avatar
  • 115
1 vote
1 answer
239 views

Change font for a specific command

I would like to change the font associated specifically with \mathcal to cambria rather than the default font without changing the rest of the document. How may I do that? I don't mind setting up a ...
user avatar
5 votes
3 answers
717 views

Mirror mathcal letter

Is there a way to mirror a symbol like \mathcal{P}, but keep it cursive in the right way? Using \reflectbox{\mathcal{P}} gives a mirrored version of \mathcal{P} that slopes in the wrong direction.
Math Student 020's user avatar
1 vote
3 answers
413 views

Ugly spacings with \mathcal font

I hate the horizontal spacings with letters from the \mathcal font. Is there a way to fix them? Here's a MWE showing the ugliness: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{...
Cham's user avatar
  • 2,200
1 vote
1 answer
2k views

Change the default font of the equation environment and math mode globally

Is it possible to change the default font in the equation environment and also in math mode globally to mathcal or mathscr? By this I mean that if I typeset $...$, or $$...$$ or \begin{equation} ... ...
NM_'s user avatar
  • 357
5 votes
2 answers
928 views

LuaLaTeX: Remapping \mathcal letters for Asana Math

I wanted to use \matcal{H} with my math font Asana Math in LuaLaTeX (with the help of unicode-math). Unfortunately, the assigned calligraphic characters for Asana Math are not the ones I want to use: ...
TiMauzi's user avatar
  • 831
1 vote
1 answer
672 views

Technical problem between fourier/fouriernc and mathalpha packages

I am trying to use the fourier/fouriernc math packages in LaTeX all while defining the \mathbb, \mathcal, \mathscr and \mathfrak commands at will. I have tried doing this with the mathalpha package, ...
user avatar
1 vote
1 answer
375 views

How to add mathcal to section titles?

I am currently using the following code to print the section and subsection in the header. \pagestyle{fancy} \fancyhf{} \renewcommand{\headrulewidth}{0.5pt} \renewcommand{\footrulewidth}{0.5pt} \...
Manj's user avatar
  • 315
2 votes
1 answer
101 views

Space too log between cal letter and index

The code ${\cal T\!}_{\!j}$ produces the output : and as you can see, the space between the two characters is too large. How can I reduce this space ? \documentclass{article} \usepackage{fourier} \...
Smilia's user avatar
  • 545
0 votes
1 answer
435 views

Mathtime and (unwanted) bold version of \mathcal

I have mathtime (not the new fancy MTPro2, but rather, the version from the early 1990's). I learned this summer how to use \DeclareMathVersion so that I could have some chapters in my document that ...
mdw's user avatar
  • 145
2 votes
1 answer
3k views

\mathcal doesn't have the usual output

I used these commands in order to have along with the \mathcal{L} a calligraphic L as well \documentclass[11pt,a4paper]{report} \usepackage{amsmath,amssymb} \usepackage{calrsfs} \DeclareMathAlphabet{\...
gaze's user avatar
  • 23
1 vote
1 answer
78 views

Unable to track down a math font

I'm trying to find the mathematical font of the \mathcal T in the following excerpt: It is taken from https://ncatlab.org/nlab/show/Freyd+cover, and trying to compile locally the tex source I don't ...
Pece's user avatar
  • 371
2 votes
1 answer
493 views

How to create a specific math-alphabetic letter? [duplicate]

I'm preparing an essay which should contain the following letter: I'm a newbie in the world of TEX, and I don't know how to get it. Can somebody help me?
Tuan A. Nguyen's user avatar
1 vote
1 answer
103 views

Replace mathcal plus margin-note results in \reserved@a does not match definition

This is related to problem with \mathcal in MIT Thesis package; I posted the below MWE there, but the edit was rejected due to deviating from the original authors post. IDK if its the right thing to ...
asante's user avatar
  • 367
2 votes
1 answer
403 views

Package dutchcal and \let command are not playing together as I expected

Given the MWE \documentclass{article} \let\tempcal \mathcal \usepackage{dutchcal} \let\dutchcal\mathcal \let\mathcal\tempcal \begin{document} \(\dutchcal H~~~\mathcal H~~~\tempcal H\) \end{document}...
John McVey's user avatar
0 votes
1 answer
80 views

WinEdt/miktex printing wrong alphabet

Suddenly today when I type \mathcal{k}, for example, in WinEdt and compile to MikTex, I get output: ∥. I get similar strange characters for \mathcal{},\mathbb{},\mathds{} with any English character ...
Stuart Margolis's user avatar
2 votes
1 answer
1k views

How can I get a less-curly \mathcal{T} with xelatex?

I'm compiling the following document with pandoc: $\mathcal{T}$ using this command line: pandoc -s --from markdown --to latex -o foo.pdf <(echo 'foo: $\mathcal{T}$') If I use xelatex (--pdf-...
ash's user avatar
  • 123
10 votes
1 answer
37k views

Big O symbol (order of) and siunitx

I want to write that a quantity is of the order of say, 10 m/s. I have currently used the syntax below, but is there a way to write it completely into siunitx, or is the one considered below a ...
slew123's user avatar
  • 547
0 votes
1 answer
307 views

Prime spacing with mathcal font

Compare the following: Here is the code and an image: \begin{align} V'(t) &= 0 \\ \mathcal{V}'(t) &= 0 \end{align} The first has a regular 'V'. The second uses mathcal. On my ...
daviewales's user avatar
  • 1,293
3 votes
2 answers
2k views

Error \mathcal allowed only in math mode. ...\raggedright \textbf{\mathcal{$S_{(TX)}$}}}

I have this error \mathcal allowed only in math mode ...\raggedright \textbf{\mathcal{$S_{(TX)}$}}} When I run my sub file, where the main file is the dissertation file. \parbox{0.4\textwidth}{\...
M Aljohani's user avatar
4 votes
3 answers
5k views

two different \mathcal{H}

I encountered the following version of \mathcal{H} and like it a lot: This is slightly different from the usual one from Computer Modern font: I have done some search and tried different fonts, e.g....
weirdo's user avatar
  • 269
5 votes
1 answer
5k views

LaTeX \mathcal{w} has strange printout

The follwing LaTex lines don't print out what I hope to see: calculate $\rho_i^{t} = \| \mathcal{w}_{i}^{t} - \mathcal{w}_{i}^{t-1} \|_2$ what I get instead of the two w is that: Can anyone help me ...
Felix Laumann's user avatar
4 votes
2 answers
1k views

Mathcal in fouriernc package

I like to use fouriernc package. But unfortunately the mathcal font in this package doesn't look nice to me and I would like to ask if it is possible to use this package while changing the mathcal ...
MO B's user avatar
  • 249
4 votes
2 answers
2k views

How to insert mathcal symbol in lstlisting environment in beamer?

I want to type the above algorithm in beamer block, but I stuck inserting mathcal symbols. I tried $\mathcal{Q}$ and \mathcal{Q}, but both are failed to return expected symbol. My MWE: \...
alhelal's user avatar
  • 2,441
2 votes
1 answer
980 views

Composition of \mathbb and \mathcal

Is there any method to compose \mathbb and \mathcal, that is, to obtain a blackboard version of the caligraphic style? Something like: but maybe not so ugly!
Littlefield's user avatar