Questions tagged [mathcal]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

Alternatives of mathscr font

I'd like to know if there are alternatives to default Lucida-like math cal or math script fonts. Specifically, I'd like to know if there is something similar to the MathTime Pro 2 script font, from ...
1
vote
1answer
47 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 ...
0
votes
1answer
55 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}...
0
votes
1answer
30 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 ...
1
vote
1answer
32 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. ... ...
1
vote
0answers
21 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 ...
2
votes
0answers
28 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^...
1
vote
1answer
127 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 ...
3
votes
1answer
209 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} ...
2
votes
1answer
102 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{...
3
votes
1answer
143 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{...
3
votes
1answer
472 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 ...
1
vote
1answer
364 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 ...
0
votes
1answer
161 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....
1
vote
1answer
115 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 ...
4
votes
3answers
352 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.
1
vote
3answers
155 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]{...
0
votes
1answer
334 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} ... ...
5
votes
2answers
390 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: ...
1
vote
1answer
244 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, ...
1
vote
1answer
154 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} \...
2
votes
1answer
48 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} \...
0
votes
1answer
195 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 ...
2
votes
1answer
1k 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{\...
1
vote
1answer
62 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 ...
0
votes
0answers
216 views

Having problem with mathcal

When I use mathcal{L} in texlive the output is not curvy L (Lagrange L) but another L. What should I do? Best
2
votes
1answer
297 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?
0
votes
1answer
45 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 ...
2
votes
1answer
176 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}...
0
votes
1answer
62 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 ...
2
votes
1answer
529 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-...
6
votes
1answer
15k 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 ...
0
votes
1answer
218 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 ...
3
votes
2answers
844 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}{\...
4
votes
3answers
3k 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....
5
votes
1answer
3k 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 ...
4
votes
2answers
686 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 ...
4
votes
2answers
1k 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: \...
2
votes
1answer
744 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!
0
votes
0answers
83 views

Crash follows removal of bold face from \mathcal{} in running fancyhdr header

While my bold calligraphic letter is fine in the chapter title or table of contents, it's out of place when it is the only bold character on a running header. My attempts to remove this have caused a ...
1
vote
1answer
1k views

Unexpected Characters after using \cal [duplicate]

I am getting very strange compilation problems after using the \cal command in a very simple setup: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{amsfonts} \newcommand{\Pp}{\mathbb{...
0
votes
1answer
432 views

Looking for a special mathcal / mathscr font

Achim Blumensath uses some very strange font in his books about logic and model theory (see e.g. here: http://www.fi.muni.cz/~blumens/MSO.pdf) I would really like to use the same for my documents, ...
3
votes
1answer
424 views

\mathcal gives different output where it should not

I have multiple occurences of mathcal in my document and they do not use the same style. Consider this MWE: \documentclass{standalone} \usepackage{mathtools} \usepackage{unicode-math} \setmainfont[...
3
votes
1answer
2k views

Calligraphic symbols are too fancy with mathptmx package

I am using the mathptmx package because I prefer my text to be in Times New Roman. However, \mathcal provides in this package "super calligraphic" symbols looking like the ones obtained by using \...
2
votes
2answers
2k views

Use Latex math fonts outside of Latex?

In Linux, I use a drawing software called Inkscape to draw some math illustrations. I want to be able to use the same Latex math fonts in the drawings, in particular the \mathbb and \mathcal fonts, ...
0
votes
0answers
271 views

rsfso mathcal not printing properly

When I use \mathcal{P} in the rsfso package, the output looks fine on the screen, but when I print, the right-hand side of the "P" does not print. Any advice? \documentclass{article} \usepackage{...
4
votes
1answer
173 views

Usefulness of non-upper case \mathcal symbols?

I'd like to understand the purpose of mathcal for arguments that aren't upper-case letters. For example, \mathcal{2} gives ∈ and \mathcal{p} gives √. I tested it for all numbers and lower-case ...
11
votes
2answers
7k views

A calligraphic font with small (lowercase) letters

Is there a widely available calligraphic font that (1) contains small (lowercase) letters and (2) has a recognizably calligraphic capital letter O? Background. (1) In mathematics (algebraic geometry),...
3
votes
1answer
853 views

Calligraphy letter in \underset{}{}

I have tried using \underset{}{} to get the result on the picture. The result I had with the normal use ofI thought it is because of the equation block and \mathcal{Q}, but it turned out to be the \...
0
votes
1answer
169 views

Don't know how to type loopy X character in latex

I have a textbook which uses the following character to represent a matrix: I would like to use the same character in my assignment, but I can't figure out how to type it. I tried \chi and \mathcal{X}...