Hi there,
I am using Latex to produce a document that is quite math heavy.
As part of this I want to be able to use the calligra font shown here:
http://www.tug.dk/FontCatalogue/calligr ... fonts.html
However looking at the documentation here you can onnly turn it on and off for sections of the document.
http://www.tug.org/pracjourn/2006-1/schmidt/schmidt.pdf
I simply want to be able to use calligra one letter at a time using a syntax similar to mathcal{} is this possible
Fonts & Character Sets ⇒ switching between fonts
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
switching between fonts
I have taken a look at the package file itself and found out that using this font is easier than expected. The package defines two new commands which appear very familiar.
With regard to what you want to do, the second command is exactly what you need. Consider the following example.
In the Font Catalogue you can click on the font name to see a sample together with the according code [1]. But unfortunately the second command is not introduced.
Be aware of the fact that when using this command for a single character you will have to do a kind of italic correction because letters in this font are very italicized.
[1] The LaTeX Font Catalogue - Calligra
Best regards
Thorsten
Code: Select all
\calligra % Enable the font generally
\textcalligra{text} % For certain parts of text
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{calligra}
\usepackage{blindtext}
\begin{document}
\blindtext
\bigskip
\textcalligra{blindtext}
\bigskip
\blindtext
\bigskip
\calligra
\blindtext
\end{document}
Be aware of the fact that when using this command for a single character you will have to do a kind of italic correction because letters in this font are very italicized.
[1] The LaTeX Font Catalogue - Calligra
Best regards
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