I want to change the font of the captions to helvetica. I have found that \DeclareCaptionFormat can do this. Though, I have a little problem. The language I write the text is Greek and I get an error.
Code: Select all
\documentclass{report}
\usepackage{caption}
\usepackage{lipsum}%just to generate some text
\usepackage[english,greek]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\DeclareCaptionFormat{myformat}{\fontfamily{phv}\selectfont#1#2#3\par}
\captionsetup{format=myformat,font=small,labelfont=bf}
\begin{document}
\selectlanguage{english}
\lipsum[1]
\begin{figure}[!ht]
\caption{{\selectlanguage{greek} Αυτό είναι μί απικεφαλίδα}}
\end{figure}
\lipsum[1]
\end{document}
Code: Select all
./test.tex:17:Font LGR/phv/m/n/9=grar9 at 9.0pt not loadable: Metric (TFM) file not found. ...� είναι μί απικεφαλίδα}}