Re: installing a new paragraph style .. how to put them at the bottom of the style-bar?

2001-10-27 Thread Dekel Tsur

On Fri, Oct 26, 2001 at 04:36:06PM +0200, Giorgio Corani wrote:
 I've just installed a new style which allows to manage one column
 abstracts in a two-columns papers.
 Doing that, I've got available the OneColAbstract paragraph style..
 which is now at the top of my style-bar, instead of the Standard
 entry.
 It is quite annoying.
 Can i fix that?

The order in the layouts list is determined by the order they appear in the
.layout file.
So you need your style file to be something like the following:
(assuming it is based on the article class)

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (OneColAbstract)}

Input article

Style OneColAbstract
...

However, if I recall correctly, using the onecolabstract environment from
abstract.sty will not give you a one column abstract.
You need to do the following (without using abstract.sty):

1. Put the following lines in the preamble:

 \let\oldmaketitle=\maketitle
 \renewcommand{\maketitle}{}
  
2. Before the abstract, put the following line (in latex mode):
  
 \twocolumn[\oldmaketitle\begin{@twocolumnfalse}
   
3. After the abstract, put the following line (in latex mode):
   
 \end{@twocolumnfalse}]



Re: installing a new paragraph style .. how to put them at the bottom of the style-bar?

2001-10-27 Thread Dekel Tsur

On Fri, Oct 26, 2001 at 04:36:06PM +0200, Giorgio Corani wrote:
 I've just installed a new style which allows to manage one column
 abstracts in a two-columns papers.
 Doing that, I've got available the OneColAbstract paragraph style..
 which is now at the top of my style-bar, instead of the Standard
 entry.
 It is quite annoying.
 Can i fix that?

The order in the layouts list is determined by the order they appear in the
.layout file.
So you need your style file to be something like the following:
(assuming it is based on the article class)

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (OneColAbstract)}

Input article

Style OneColAbstract
...

However, if I recall correctly, using the onecolabstract environment from
abstract.sty will not give you a one column abstract.
You need to do the following (without using abstract.sty):

1. Put the following lines in the preamble:

 \let\oldmaketitle=\maketitle
 \renewcommand{\maketitle}{}
  
2. Before the abstract, put the following line (in latex mode):
  
 \twocolumn[\oldmaketitle\begin{@twocolumnfalse}
   
3. After the abstract, put the following line (in latex mode):
   
 \end{@twocolumnfalse}]



Re: installing a new paragraph style .. how to put them at the bottom of the style-bar?

2001-10-27 Thread Dekel Tsur

On Fri, Oct 26, 2001 at 04:36:06PM +0200, Giorgio Corani wrote:
> I've just installed a new style which allows to manage one column
> abstracts in a two-columns papers.
> Doing that, I've got available the OneColAbstract paragraph style..
> which is now at the top of my style-bar, instead of the "Standard"
> entry.
> It is quite annoying.
> Can i fix that?

The order in the layouts list is determined by the order they appear in the
.layout file.
So you need your style file to be something like the following:
(assuming it is based on the article class)

#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass{article (OneColAbstract)}

Input article

Style OneColAbstract
...

However, if I recall correctly, using the onecolabstract environment from
abstract.sty will not give you a one column abstract.
You need to do the following (without using abstract.sty):

1. Put the following lines in the preamble:

 \let\oldmaketitle=\maketitle
 \renewcommand{\maketitle}{}
  
2. Before the abstract, put the following line (in latex mode):
  
 \twocolumn[\oldmaketitle\begin{@twocolumnfalse}
   
3. After the abstract, put the following line (in latex mode):
   
 \end{@twocolumnfalse}]