Discussion:
Report Class: Renaming "Abstract"
Rich Shepard
2003-12-17 00:28:37 UTC
Permalink
I am writing a report for a client, but I would like to change the label
"Abstract" to read "Executive Summary". I've looked through Herbert's Web
site without seeing anything that looked like an answer, and I've looked on
several other sites that google found for me. I probably missed reading how
to make the word change, so I'd appreciate a pointer on how to do this.

Many thanks,

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
Henrik Edlund
2003-12-17 00:55:16 UTC
Permalink
On Tue, 16 Dec 2003, Rich Shepard wrote:

RS> I am writing a report for a client, but I would like to change the label
RS> "Abstract" to read "Executive Summary". I've looked through Herbert's Web
RS> site without seeing anything that looked like an answer, and I've looked on
RS> several other sites that google found for me. I probably missed reading how
RS> to make the word change, so I'd appreciate a pointer on how to do this.


As ERT first in your document (as it might get overwritten by babel if you
put it in the preamble):

\renewcommand\abstractname{Executive Summary}
Rich Shepard
2003-12-17 01:17:58 UTC
Permalink
Post by Henrik Edlund
As ERT first in your document (as it might get overwritten by babel if you
\renewcommand\abstractname{Executive Summary}
Thank you, Henrik. I wondered if the renewcommand was appropriate. When I
do as you suggest I find no heading on the page with the Executive Summary.
It's blank. I put the command immediately in front of the title and in the
preamble. No difference.

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
Henrik Edlund
2003-12-17 01:31:48 UTC
Permalink
On Tue, 16 Dec 2003, Rich Shepard wrote:

RS> Thank you, Henrik. I wondered if the renewcommand was appropriate.
RS> When I do as you suggest I find no heading on the page with the
RS> Executive Summary. It's blank. I put the command immediately in front
RS> of the title and in the preamble. No difference.

Then I have no really idea without more hands on.
Jean-Pierre.Chretien
2003-12-17 08:07:01 UTC
Permalink
Date: Tue, 16 Dec 2003 17:17:58 -0800 (PST)
Subject: Re: Report Class: Renaming "Abstract"
Post by Henrik Edlund
As ERT first in your document (as it might get overwritten by babel if you
\renewcommand\abstractname{Executive Summary}
Thank you, Henrik. I wondered if the renewcommand was appropriate. When I
do as you suggest I find no heading on the page with the Executive Summary.
It's blank. I put the command immediately in front of the title and in the
preamble. No difference.
You may try in preamble
\AtBeginDocument{\renewcommand\abstractname{Executive Summary}}
You're sure of the location of the command that way, whatever
the location in the preamble.
--
Jean-Pierre
Rich Shepard
2003-12-17 22:33:22 UTC
Permalink
Post by Jean-Pierre.Chretien
You may try in preamble
\AtBeginDocument{\renewcommand\abstractname{Executive Summary}}
You're sure of the location of the command that way, whatever
the location in the preamble.
Jean-Pierre,

I wonder if there's something wrong with my installation here. I did the
above and there's no title on the abstract page. Is there a way to debug
this ... perhaps by examining the .tex output?

Thanks,

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
Rich Shepard
2003-12-17 22:46:00 UTC
Permalink
Post by Jean-Pierre.Chretien
You may try in preamble
\AtBeginDocument{\renewcommand\abstractname{Executive Summary}}
You're sure of the location of the command that way, whatever
the location in the preamble.
Jean-Pierre,

More information: when the document class is report (Koma script), I get a
blank title, perhaps because the babel package is also being used. When the
document class is report, the abstract title is "Abstract" regardless of
whether the rename command is in the preamble, the beginning of the
abstract, or both.

How strange!

Thanks,

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
Ingar Pareliussen
2003-12-17 22:58:53 UTC
Permalink
Post by Rich Shepard
More information: when the document class is report (Koma script), I get
a blank title, perhaps because the babel package is also being used. When
the document class is report, the abstract title is "Abstract" regardless
of whether the rename command is in the preamble, the beginning of the
abstract, or both.
Rich

To have abstract in koma-script you have to give it an option: abstracton in
the extra option input-box in document-style.

Ingar
Rich Shepard
2003-12-17 23:59:36 UTC
Permalink
Post by Ingar Pareliussen
To have abstract in koma-script you have to give it an option: abstracton in
the extra option input-box in document-style.
Ingar,

Thank you. I do not mean to appear really dense, but I put "abstraction"
in the options box and there is no title at all. Do I need any other
characters with this?

I know this should not be so difficult so I appreciate the patience you
all show to me.

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
Ingar Pareliussen
2003-12-18 00:09:18 UTC
Permalink
Post by Rich Shepard
Post by Ingar Pareliussen
To have abstract in koma-script you have to give it an option: abstracton
in the extra option input-box in document-style.
Ingar,
Thank you. I do not mean to appear really dense, but I put "abstraction"
in the options box and there is no title at all. Do I need any other
characters with this?
I know this should not be so difficult so I appreciate the patience you
all show to me.
We all need help sometimes, koma script is very capable and thus difficult to
set up...

I see you write "abstraction" as the English word, but it should be a run
together of abstract on ->abstracton. Could this be the the answer ?

Ingar
--
Ingar Pareliussen tlf:73 55 12 89
Du2-185
Realfagsbygget
Rich Shepard
2003-12-18 00:32:07 UTC
Permalink
Post by Ingar Pareliussen
I see you write "abstraction" as the English word, but it should be a run
together of abstract on ->abstracton. Could this be the the answer ?
Ingar,

Aha! I thought it was a typo.

When I remove the 'i', I see the title, "Abstract", not "Executive
Summary" when the command's in the preamble. I'll try it in a few other
places, too. It's certainly being stubborn!

Many thanks,

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
Henrik Edlund
2003-12-18 00:36:32 UTC
Permalink
On Wed, 17 Dec 2003, Rich Shepard wrote:

RS> Aha! I thought it was a typo.
RS>
RS> When I remove the 'i', I see the title, "Abstract", not "Executive
RS> Summary" when the command's in the preamble. I'll try it in a few other
RS> places, too. It's certainly being stubborn!

It will be overwritteb by babel if you put it in the preamble, try putting
it in ERT absolutely first in the LyX document.
Rich Shepard
2003-12-18 00:57:41 UTC
Permalink
Post by Henrik Edlund
It will be overwritteb by babel if you put it in the preamble, try putting
it in ERT absolutely first in the LyX document.
Henrik,

I _must_ be doing something wrong. Attached is the file -- very small so
far -- in .lyx format. Perhaps this will help determine where I've gone off
the tracks.

Many thanks,

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
Ingar Pareliussen
2003-12-18 01:07:56 UTC
Permalink
Post by Rich Shepard
Post by Henrik Edlund
It will be overwritteb by babel if you put it in the preamble, try
putting it in ERT absolutely first in the LyX document.
Henrik,
I _must_ be doing something wrong. Attached is the file -- very small so
far -- in .lyx format. Perhaps this will help determine where I've gone off
the tracks.
Hi

When I move the renewcommand just before the abstract it works. I do have an
old version of lyx though... (my PhD thesis is due on 30jan, and i don't jump
horses on the finishing line)

Ingar
--
Ingar Pareliussen tlf:73 55 12 89
Du2-185
Realfagsbygget
Rich Shepard
2003-12-18 01:20:52 UTC
Permalink
Post by Ingar Pareliussen
When I move the renewcommand just before the abstract it works. I do have an
old version of lyx though... (my PhD thesis is due on 30jan, and i don't jump
horses on the finishing line)
Ingar,

I'm using 1.3.3. Regardless of whether the TeX box (ERT, but I don't find
it at all evil) is before the title, after the footnote following my name,
or in front of the first word of the abstract, the viewed .dvi output reads,
"Abstract". I'm doing this by pressing ctrl-d. Are you doing anything
different?

Many thanks,

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
Henrik Edlund
2003-12-18 01:25:26 UTC
Permalink
On Wed, 17 Dec 2003, Rich Shepard wrote:

RS> On Thu, 18 Dec 2003, Henrik Edlund wrote:
RS>
RS> > It will be overwritteb by babel if you put it in the preamble, try putting
RS> > it in ERT absolutely first in the LyX document.
RS>
RS> Henrik,
RS>
RS> I _must_ be doing something wrong. Attached is the file -- very small so
RS> far -- in .lyx format. Perhaps this will help determine where I've gone off
RS> the tracks.

You have placed the ERT in a title environment. Hence it will fail. Put it
in its own paragraph (its own "line"). Then change the environment to
"standard". Then it works. By placing it in the title environment, the TeX
code looks like the following and the command fails as it is taken as the
title of the document (which is then overridden directly after by a new
title and hence is never shown).

\begin{document}

\title{\renewcommand\abstractname{Executive Summary}}

\title{ESA-Listed Salmonids in the Mid-Willamette River}

[......]
Rich Shepard
2003-12-18 01:30:34 UTC
Permalink
Put it in its own paragraph (its own "line"). Then change the environment
to "standard". Then it works.
Ta-da! That's the key factor I missed, Henrik. I put it in front of the
abstract text (which is type 'abstract') and not on a line by itself.

A very valuable lesson learned that I am sure will be applicable to many
other situations. I knew someone would see what I did incorrectly when I
provided the file.

Many thanks to all of you,

Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>
Jean-Pierre.Chretien
2003-12-18 07:55:42 UTC
Permalink
Date: Wed, 17 Dec 2003 17:30:34 -0800 (PST)
Subject: Re: Report Class: Renaming "Abstract"
X-message-flag: Sent virus-free from a linux system.
Put it in its own paragraph (its own "line"). Then change the environment
to "standard". Then it works.
Ta-da! That's the key factor I missed, Henrik. I put it in front of the
abstract text (which is type 'abstract') and not on a line by itself.
A very valuable lesson learned that I am sure will be applicable to many
other situations. I knew someone would see what I did incorrectly when I
provided the file.
Sure, stil I tried the \AtBeginDocument solution in the preamble
\AtBeginDocument{\renewcommand\abstractname{Executive Summary}}
and it works ONLY if I export to latex and put the line
after \usepackage{babel}

I'm a bit puzzled because I had confidence in the \AtBeginDocument command
and I find that it can fail.

If it works, it avoids setting renewcommands in sectioning commands
(this never happens in plain latex, but can be easily overlooked
in LyX, as Rich showed us :-)

Any clue about this ?
--
Jean-Pierre
Christian Ridderström
2003-12-18 15:12:57 UTC
Permalink
Post by Jean-Pierre.Chretien
Sure, stil I tried the \AtBeginDocument solution in the preamble
\AtBeginDocument{\renewcommand\abstractname{Executive Summary}}
and it works ONLY if I export to latex and put the line
after \usepackage{babel}
I'm a bit puzzled because I had confidence in the \AtBeginDocument command
and I find that it can fail.
Maybe babel also uses an \AtBeginDocument command?

/Christian
--
Christian Ridderström http://www.md.kth.se/~chr
Loading...