Skip to main content

Questions tagged [mathcal]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
162 views

A proper math font

The question I would like to have a math font that fulfills all of the following requirements: \mathbb looks as close as possible to LaTeX's default math font \mathcal is only slightly curved \...
Smiley1000's user avatar
1 vote
1 answer
126 views

Mathcal not working properly

I wrote the following code \documentclass{article} \usepackage{graphicx} \usepackage{csvsimple} \usepackage{subcaption} \usepackage[utf8]{inputenc} \usepackage{gensymb} \usepackage{pdfpages} \...
Kubrik's user avatar
  • 13
6 votes
2 answers
193 views

I have an array inside of equation and aligned, not recognizing math mode

I am trying to create a bracket enclosed matrix where the rows and columns are labeled. My attempt is: \begin{equation} \begin{aligned} &\begin{array}{*{7}{p{.8cm}}} \...
akb427's user avatar
  • 73
1 vote
1 answer
46 views

How to resize an array in math environment

This is my code: $$ \mathcal{P}_{\left\{ \resizebox{0.02\textwidth}{!}{$\displaystyle \begin{array}{l} \mathcal{B} \\ \mathcal{F} \end{array}$} \right\}} \Psi\left(\vec{r}_{1}, \vec{r}_{2}, \ldots, \...
manimanifolds's user avatar
4 votes
4 answers
731 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
100 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
197 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
414 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
981 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
36 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,760
2 votes
2 answers
341 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
  • 263
3 votes
1 answer
129 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
614 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
306 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
37 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
810 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
505 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
69 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
  • 10.1k
0 votes
1 answer
177 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
  • 10.1k
0 votes
2 answers
452 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
625 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
71 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
472 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
634 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
  • 653
3 votes
1 answer
656 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
  • 486
2 votes
1 answer
469 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,358
4 votes
1 answer
578 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
2k 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
  • 307
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
267 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
825 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
2 votes
3 answers
484 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,348
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
  • 367
5 votes
2 answers
1k 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
  • 871
1 vote
1 answer
817 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
431 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
  • 325
2 votes
1 answer
115 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
  • 555
0 votes
1 answer
492 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
  • 155
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
81 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
  • 381
2 votes
1 answer
523 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
130 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
476 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
85 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
11 votes
1 answer
43k 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
  • 557
0 votes
1 answer
334 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,323
3 votes
2 answers
3k 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
6k 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