Document Classes ⇒ Changing abstract section name in the Memoir class
-
- Posts: 14
- Joined: Tue Jun 03, 2008 10:56 pm
Changing abstract section name in the Memoir class
Hello!
I am currently working on my MSc thesis and I use the memoir class, with the abstract environment. The title "abstract" is fine for an article, but for a thesis it would be "summary", so I looked up on the Memoir class manual how to change this. There is indeed a variable \abstractname, but I don't understand how I should modify it to change the abstract title. I used renewcommand and renewcommand*, as \newcommand*{\abstractname}{Abstract} appears in the .cls file, but it didn't work. I then tried putting the command inside the environment, before, in the preamble… and it still doesn't.
Would you know how to properly use this command?
Thanks a lot!
I am currently working on my MSc thesis and I use the memoir class, with the abstract environment. The title "abstract" is fine for an article, but for a thesis it would be "summary", so I looked up on the Memoir class manual how to change this. There is indeed a variable \abstractname, but I don't understand how I should modify it to change the abstract title. I used renewcommand and renewcommand*, as \newcommand*{\abstractname}{Abstract} appears in the .cls file, but it didn't work. I then tried putting the command inside the environment, before, in the preamble… and it still doesn't.
Would you know how to properly use this command?
Thanks a lot!
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
Changing abstract section name in the Memoir class
LaTeX.org admin
-
- Posts: 14
- Joined: Tue Jun 03, 2008 10:56 pm
Re: Changing abstract section name in the Memoir class
Well, it still doesn't for me!
Maybe it's got something to do with the packages I've loaded – some of them might reset the name, although it's unlikely.
Could you put in a copy of your preamble?
Thanks a lot.
Maybe it's got something to do with the packages I've loaded – some of them might reset the name, although it's unlikely.
Could you put in a copy of your preamble?
Thanks a lot.
- Stefan Kottwitz
- Site Admin
- Posts: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
Changing abstract section name in the Memoir class
My compilable minimal working example is:
Perhaps show your preamble, we could look for the cause by examining that.
Stefan
Code: Select all
Code, edit and compile here:
\documentclass[a4paper,10pt]{memoir}\renewcommand*\abstractname{Summary}\begin{document}\begin{abstract}summary test\end{abstract}\end{document}
Stefan
LaTeX.org admin
-
- Posts: 14
- Joined: Tue Jun 03, 2008 10:56 pm
Changing abstract section name in the Memoir class
Here goes. Some parts should be irrelevant, but you never know. By the way, your example works for me, too. So there is definitely some conflict or redefinition.
Code: Select all
Code, edit and compile here:
\usepackage[T1]{fontenc}\usepackage[latin1]{inputenc}%switch to latin9 for UTF8 encoding\usepackage[english]{babel}\usepackage[hmargin = 1.0in, top = 1.25in, bottom = 1.00in, footskip = 2em]{geometry}\usepackage[]{fourier}\usepackage{amsmath, amsfonts, amssymb, amsthm, enumerate, dsfont, stmaryrd, algorithmic, algorithm}\usepackage[round]{natbib}\usepackage[usenames,dvipsnames]{xcolor}\definecolor{MyDarkRed}{rgb}{0.9,0.2,0.2}\usepackage{pgf, pgffor}\usepgflibrary{plothandlers}\usepackage[absolute]{textpos}\usepackage[pdfstartview=FitH]{hyperref}\usepackage{memhfixc}\renewcommand*\abstractname{Summary}%\abstractintoc% *************** Operators *************\DeclareMathOperator{\sgn}{sgn}\DeclareMathOperator{\e}{e}\DeclareMathOperator{\esssup}{ess\:sup}\DeclareMathOperator{\Var}{Var}\DeclareMathOperator{\Cov}{Cov}\DeclareMathOperator{\Corr}{Corr}\DeclareMathOperator{\VaR}{VaR}\DeclareMathOperator{\LVaR}{L--VaR}% *************** Macros ****************\newcommand{\ds}{\displaystyle}\newcommand{\N}{\mathbb{N}}\newcommand{\R}{\mathbb{R}}\newcommand{\C}{\mathbb{C}}\newcommand{\F}{\mathcal{F}}\newcommand{\norm}{\mathcal{N}}\newcommand{\skn}{\sum_{k=1}^N{}}
- Stefan Kottwitz
- Site Admin
- Posts: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
Changing abstract section name in the Memoir class
It's caused by babel, change
into
Stefan
Code: Select all
\renewcommand*\abstractname{Summary}
Code: Select all
\addto\captionsenglish{\renewcommand*\abstractname{Summary}}
LaTeX.org admin
-
- Posts: 14
- Joined: Tue Jun 03, 2008 10:56 pm
Re: Changing abstract section name in the Memoir class
Thanks a lot!
Could you explain to me quickly how you identified the problem and how Babel behaves on this particular point?
Could you explain to me quickly how you identified the problem and how Babel behaves on this particular point?
- Stefan Kottwitz
- Site Admin
- Posts: 10344
- Joined: Mon Mar 10, 2008 9:44 pm
Changing abstract section name in the Memoir class
I simply knew it, it's a frequently asked question, concerning some LaTeX names, I remembered that when I noticed babel was loaded. You will find a good explanation here in the UK TeX FAQ: Changing the words babel uses.
Stefan
Stefan
LaTeX.org admin
Re: Changing abstract section name in the Memoir class
Does it mean that for english users ,there is no need to load babel package