# How to change the order of words in a caption?

I'd like to change the order of word in the captions of figures and tables. Instead of Figure 1 , I'd like to use 1. ábra. How can I do this?

-
It's easiest to use the caption package which has lots of options to change the word order, fonts, size, .... –  David Carlisle Dec 15 '13 at 22:14
Welcome to the site! –  cmhughes Dec 15 '13 at 22:17

With babel, LaTeX does it automatically:

\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[magyar]{babel}

\usepackage{graphicx}

\begin{document}

\begin{figure}
\centering
\includegraphics[width=5cm]{example-image-16x9}
\caption{A caption} % Sorry, I don't know enough Hungarian
\end{figure}

\end{document}


-
Thank you very much, you helped a lot. –  darazsbence Dec 15 '13 at 23:10
To the OP: feel free to select this answer if you like it. –  Sammy Black Dec 16 '13 at 8:03