Hi,
I have some problem with calligraphic symbols. When I use \mathcal{I} I got a nice curly I with it. But I am working with times font both in text and equations. So when I change to times by using:
\usepackage{times}
\usepackage{pslatex}
then it uses a different calligraphic font and the I letter is like italic I. So my question is how can I choose this \mathcal{I} to be used from cm fonts and rest times? Can I change the font of one char in equation to cm like:
$x=\??fontCM????{\mathcal{I}}$
so that x will be in times font but \mathcal{I} will take cm fonts.
Math & Science ⇒ Calligraphy in Math Equation
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Calligraphy in Math Equation
These packages are obsolete [1]. Choose an appropriate alternative.bimalastha wrote:[…] So when I change to times by using:
\usepackage{times}
\usepackage{pslatex}
then it uses a different calligraphic font and the I letter is like italic I. […]
You have to choose the right font encoding to get the according character from the used font (see code below). If you still want the calligraphic capital »I« from Computer Modern (CM), it will require a redefinition of the calligraphic math alphabet to make it use the CM font.
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{txfonts}
\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n}
\begin{document}
Normal text in Times style.
\[
\mathcal{I}
\]
\end{document}
[1] View topic: Obsolete packages and document classes — Avoid usage!
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10