Fonts & Character Sets ⇒ switching between fonts
switching between fonts
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
switching between fonts
Code: Select all
\calligra % Enable the font generally
\textcalligra{text} % For certain parts of textCode: 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
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10