# Change default text of numbered \part [duplicate]

I have a large document with lector notes. And each lector I'm separating by \part. I would like to change the default numbering text from "part" to "Lecture".

Example:

\documentclass[a4paper,oneside,article]{memoir}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[danish]{babel}
\usepackage{lmodern}
\usepackage{fullpage}
\usepackage[numbers]{natbib}
\usepackage{mathtools}
\usepackage{graphicx}
\graphicspath{{Figures/}}

\begin{document}
\frontmatter
\input{titlingpage.tex}
\tableofcontents

\mainmatter
\part{Teknologiske forudsigelser}

\bibliographystyle{plainnat}
\bibliography{IFVT}
\end{document}


The language is Danish.

And as I said, I'm would like to change "Del" with "Grupperegning".

-
\addto\captionsdanish{\renewcommand*{\partname}{Grupperegning}}. See tex.stackexchange.com/questions/82993/… –  lockstep Feb 12 at 10:27
add comment

## marked as duplicate by lockstep, egreg, Stefan Kottwitz♦Feb 12 at 10:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

## 1 Answer

Insert \renewcommand\partname{Grupperegning} immediately after \begin{document}.

-
As the OP uses babel, this will fail as soon as one switches to another language and then back to Danish. –  lockstep Feb 12 at 10:30
add comment