1

Whith \calligra, letters like \ and \u{g} disappear. How can I fix this?

See the demo below. Without calligra, it works. With, it doesn't.

\documentclass[12pt,letterpaper]{report}
 \usepackage[cam,width=4truein,height=6truein,letter,center] {crop}
 \usepackage[T1]{fontenc}
 \usepackage[x11names]{xcolor}
 \usepackage{calligra}
 \usepackage{setspace}
 \usepackage{anysize}
 \usepackage{background}
 \usepackage{graphics}
 \marginsize{2cm}{2cm}{6.6cm}{1cm}


 \thispagestyle{empty}

  \backgroundsetup{scale=0.5,angle=0,opacity=0.6,position={16.5cm,-15.0cm},contents={\includegraphics[scale=0.5]{wedding-rings-2400px}}}

\begin{document}


  \crop
  \begin{center}

  {\calligra \small K{\i}z \u{g}ını} \\
  {\small K{\i}z \u{g}ını}\\

\end{center}

\end{document}
  • 1
    if you do not need wedding-rings-2400px to show the issue please edit the example not to use files and packages that are not needed – David Carlisle Feb 29 at 9:13
  • 1
    The glyph inventory of calligra is not the whole of T1; it indeed lacks ı (dotless i) and (g with breve). The latter can be perhaps remedied to, the former can't. – egreg Feb 29 at 9:17
  • @egreg can't ... unless you hit it with a sledgehammer. – David Carlisle Feb 29 at 11:16
3

The font doesn't have the dotless i or g-breve but you can take the accent from another font and use a dotted i but hide the dot, or as Ulrike points out the font does have a (very stylized) breve accent so you can add \relax to stop LaTeX trying to use the composite letter :

enter image description here

\documentclass[12pt,letterpaper]{report}

\usepackage[T1]{fontenc}
\usepackage{calligra}
\usepackage{color}
\def\ci{i\rlap{\textcolor{white}{\kern2pt\rule{2pt}{7pt}}}}

\begin{document}


  {\calligra  K\ci z \raisebox{-2pt}{\rmfamily\u{}}\kern-6pt g\ci n\ci}

  {\calligra  K\ci z \u{\relax g}\ci n\ci}

  { K{\i}z \u{g}ını}



\end{document}
| improve this answer | |
  • I don't dare to test this at other fontsizes ... ;-) – Ulrike Fischer Feb 29 at 13:17
  • @UlrikeFischer if you do, I'll build you a bigger sledgehammer – David Carlisle Feb 29 at 13:22
  • I would also need a tiny one. – Ulrike Fischer Feb 29 at 13:33
  • @UlrikeFischer troublemakers are not invited to the wedding – David Carlisle Feb 29 at 13:55
  • There is a breve accent in the font, you could use it with \DeclareTextAccent{\mybreve}{T1}{8}. Do I get an invitation now??? – Ulrike Fischer Feb 29 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.