1

I'd like to use calligra font for a cite, but two letters are missing from the package: ő and ű. The code:

\documentclass[xetex]{beamer}
\usepackage{calligra}
\usepackage[magyar]{babel}

\usetheme{metropolis}

\title{Oszthatóság, az oszthatóság tulajdonságai}
\subtitle{Algebra és számelmélet}
\author{Benkó Tamás}

\begin{document}

\begin{frame}
  \begin{center}
    \vfill
    \Huge\calligra Isten a számokban rejtőzik, a szám a szépség másik 
neve.
  \end{center}
  \hfill Dimitri Verhulst
\end{frame}
\end{document}

I use XeLaTeX, as it seen in the document class options, but I don't think it is part of the problem. Is there a way to have those two letters in the font?

1 Answers1

2

If you haven't the .ttf or .otf file of your font in your computer, download it from the Internet.

When you already have your font, use it in LaTeX by the fontspec package and the \setmainfont command:

\usepackage{fontspec}
\setmainfont{calligra.ttf}
% if your file is named calligra.ttf

Doing in this way you can use any font you want in your LaTeX document, not just Calligra.

Read more: Installing TTF fonts in LaTeX.

Hope this will help!

Edit If you just want to use the font locally, try this code:

\documentclass{article}
\usepackage{fontspec}
\newfontfamily\hello{calligra.ttf} 
    % Define new font family to use it locally in a part of the document
\begin{document}
This is a \hello{meaningless} sentence to check.
\end{document}