I have a problem with the labels of figures and tables in overleaf. For some reason I get them in german and I have no idea why. For figures I get Abbildung or Tabelle for tables.



\includegraphics[width=10cm, height=5cm]{theta4.png}

\end document

This is the head.tex



\usepackage{blindtext} % Package to generate dummy text
\usepackage{charter} % Use the Charter font
\usepackage[utf8]{inputenc} % Use UTF-8 encoding
\usepackage{microtype} % Slightly tweak font spacing for aesthetics
\usepackage[english, ngerman]{babel} % Language hyphenation and typographical rules
\usepackage{amsthm, amsmath, amssymb} % Mathematical typesetting
\usepackage{float} % Improved interface for floating objects
\usepackage[final, colorlinks = true, 
            linkcolor = black, 
            citecolor = black]{hyperref} % For hyperlinks in the PDF
\usepackage{graphicx, multicol} % Enhanced support for graphics
\usepackage{xcolor} % Driver-independent color extensions
\usepackage{marvosym, wasysym} % More symbols
\usepackage{rotating} % Rotation tools
\usepackage{censor} % Facilities for controlling restricted text
\usepackage{listings, style/lstlisting} % Environment for non-formatted code, !uses style file!
\usepackage{pseudocode} % Environment for specifying algorithms in a natural way
\usepackage{style/avm} % Environment for f-structures, !uses style file!
\usepackage{booktabs} % Enhances quality of tables
\usepackage{tikz-qtree} % Easy tree drawing tool
\tikzset{every tree node/.style={align=center,anchor=north},
         level distance=2cm} % Configuration for q-trees
\usepackage{style/btree} % Configuration for b-trees and b+-trees, !uses style file!
            sorting=nyt]{biblatex} % Complete reimplementation of bibliographic facilities
\usepackage{csquotes} % Context sensitive quotation facilities
\usepackage[yyyymmdd]{datetime} % Uses YEAR-MONTH-DAY format for dates
\renewcommand{\dateseparator}{-} % Sets dateseparator to '-'
\usepackage{fancyhdr} % Headers and footers
\pagestyle{fancy} % All pages have headers and footers
\fancyhead{}\renewcommand{\headrulewidth}{0pt} % Blank out the default header
\fancyfoot[L]{} % Custom footer text
\fancyfoot[C]{} % Custom footer text
\fancyfoot[R]{\thepage} % Custom footer text
\newcommand{\note}[1]{\marginpar{\scriptsize \textcolor{red}{#1}}} % Enables comments in red on margin

  • 1
    look into the file "head.tex". – Ulrike Fischer May 6 at 14:44
  • Ok now I see it. Thank you – Maybeline Lee May 6 at 14:55
  • @Mico I added a community wiki answer spelling out the solution explicitly. This should resolve your concern? – Davislor May 6 at 15:06
  • @Davislor - Thanks. I've withdrawn my 'close' vote. – Mico May 6 at 16:01
  • yiu would find latex a lot less confusing if you cleaned out your preamble, just looking at graphicx for example your main document lists it twice and your head.tex lists it a third time. You should start from an empty preamble and only add packages that you actually need. – David Carlisle May 6 at 17:26

As Ulrike Fischer noticed, you were including a file named head.tex, which included the line,


This sets your default language to German.

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.