Re: komascript dictum

2003-10-07 Thread Juergen Spitzmueller
Joby Joseph wrote:
 So I created the a small document and created a dictum in it. That also
 compiled but angain the whole document becomes a dictum, meaning right
 aligned. I am attaching that lyx document.

Shrug. This looks like a KOMA bug to me. If you nest the dictum environment 
into a chapterpreamble, it works. You have to use some ERT like in the 
attached file and place the whole thing *above* the chapter heading.

BTW: You can toggle dictum fonts with
\setkomafont{dictumtext}{\normalfont\normalcolor\small}
in the preamble.

Regards,
Jürgen
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\language english
\inputencoding auto
\fontscheme newcent
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Title

Testing preamble
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
setchapterpreamble[u]{%
\end_inset 


\layout Dictum


\begin_inset OptArg
collapsed true

\layout Standard

the author
\end_inset 

Here is the dictom
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Chapter

test chapter 1
\layout Standard

My first paragraph.
 As a model for a problem, the one with minimal and, yet possibly the most
 restrictive specifications should be chosen.
\layout Chapter

test chapter 2
\layout Standard

My second paragraph.
 As a model for a problem, the one with minimal and, yet possibly the most
 restrictive specifications should be chosen.
\the_end


Re: komascript dictum

2003-10-07 Thread Herbert Vo
Juergen Spitzmueller schrieb:

Shrug. This looks like a KOMA bug to me. If you nest the dictum environment 
into a chapterpreamble, it works. You have to use some ERT like in the 
attached file and place the whole thing *above* the chapter heading.

BTW: You can toggle dictum fonts with
\setkomafont{dictumtext}{\normalfont\normalcolor\small}
in the preamble.
write into the preamble

\let\dictumOld\dictum
\renewcommand\dictum[1]{{\dictumOld{#1}}}
Herbert




Re: komascript dictum

2003-10-07 Thread Juergen Spitzmueller
Herbert Voß wrote:
 write into the preamble

 \let\dictumOld\dictum
 \renewcommand\dictum[1]{{\dictumOld{#1}}}

This does not work with the optional argument. Any idea?
Jürgen.



Re: komascript dictum

2003-10-07 Thread Herbert Vo
Juergen Spitzmueller schrieb:
Herbert Voß wrote:

write into the preamble

\let\dictumOld\dictum
\renewcommand\dictum[1]{{\dictumOld{#1}}}


This does not work with the optional argument. Any idea?
the easieast way:

\makeatletter
\renewcommand{\dictum}[2][]{{\par%
  \raggeddictum\parbox{\dictumwidth}{%
[EMAIL PROTECTED] #2\strut\par}%
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
  {\raggeddictumtext\vskip-1ex\hrulefill\par}%
  [EMAIL PROTECTED]
  \strut\par%
  \fi%
  }%
}\par%
}}
\makeatother
Herbert




Re: komascript dictum

2003-10-07 Thread Joby Joseph
Thanks a lot to all...it is working fine with this...
joby

On Tuesday 07 October 2003 12:54, Herbert Voß wrote:
 Juergen Spitzmueller schrieb:
  Herbert Voß wrote:
 write into the preamble
 
 \let\dictumOld\dictum
 \renewcommand\dictum[1]{{\dictumOld{#1}}}
 
  This does not work with the optional argument. Any idea?

 the easieast way:

 \makeatletter
 \renewcommand{\dictum}[2][]{{\par%
\raggeddictum\parbox{\dictumwidth}{%
  [EMAIL PROTECTED] #2\strut\par}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]
{\raggeddictumtext\vskip-1ex\hrulefill\par}%
[EMAIL PROTECTED]
\strut\par%
\fi%
}%
  }\par%
 }}
 \makeatother


 Herbert

-- 
Joby Joseph
SSP Lab, Acoustic Bldg.  Phone : +91 80 293 2280   
Department of ECEEmail : [EMAIL PROTECTED]
Indian Institute of Science  [EMAIL PROTECTED]
Bangalore 560 012URL   : http://www.dsp.ece.iisc.ernet.in/~joby/
India





Re: komascript dictum

2003-10-07 Thread Juergen Spitzmueller
Joby Joseph wrote:
 So I created the a small document and created a dictum in it. That also
 compiled but angain the whole document becomes a dictum, meaning right
 aligned. I am attaching that lyx document.

Shrug. This looks like a KOMA bug to me. If you nest the dictum environment 
into a chapterpreamble, it works. You have to use some ERT like in the 
attached file and place the whole thing *above* the chapter heading.

BTW: You can toggle dictum fonts with
\setkomafont{dictumtext}{\normalfont\normalcolor\small}
in the preamble.

Regards,
Jürgen
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\language english
\inputencoding auto
\fontscheme newcent
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Title

Testing preamble
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
setchapterpreamble[u]{%
\end_inset 


\layout Dictum


\begin_inset OptArg
collapsed true

\layout Standard

the author
\end_inset 

Here is the dictom
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Chapter

test chapter 1
\layout Standard

My first paragraph.
 As a model for a problem, the one with minimal and, yet possibly the most
 restrictive specifications should be chosen.
\layout Chapter

test chapter 2
\layout Standard

My second paragraph.
 As a model for a problem, the one with minimal and, yet possibly the most
 restrictive specifications should be chosen.
\the_end


Re: komascript dictum

2003-10-07 Thread Herbert Vo
Juergen Spitzmueller schrieb:

Shrug. This looks like a KOMA bug to me. If you nest the dictum environment 
into a chapterpreamble, it works. You have to use some ERT like in the 
attached file and place the whole thing *above* the chapter heading.

BTW: You can toggle dictum fonts with
\setkomafont{dictumtext}{\normalfont\normalcolor\small}
in the preamble.
write into the preamble

\let\dictumOld\dictum
\renewcommand\dictum[1]{{\dictumOld{#1}}}
Herbert




Re: komascript dictum

2003-10-07 Thread Juergen Spitzmueller
Herbert Voß wrote:
 write into the preamble

 \let\dictumOld\dictum
 \renewcommand\dictum[1]{{\dictumOld{#1}}}

This does not work with the optional argument. Any idea?
Jürgen.



Re: komascript dictum

2003-10-07 Thread Herbert Vo
Juergen Spitzmueller schrieb:
Herbert Voß wrote:

write into the preamble

\let\dictumOld\dictum
\renewcommand\dictum[1]{{\dictumOld{#1}}}


This does not work with the optional argument. Any idea?
the easieast way:

\makeatletter
\renewcommand{\dictum}[2][]{{\par%
  \raggeddictum\parbox{\dictumwidth}{%
[EMAIL PROTECTED] #2\strut\par}%
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
  {\raggeddictumtext\vskip-1ex\hrulefill\par}%
  [EMAIL PROTECTED]
  \strut\par%
  \fi%
  }%
}\par%
}}
\makeatother
Herbert




Re: komascript dictum

2003-10-07 Thread Joby Joseph
Thanks a lot to all...it is working fine with this...
joby

On Tuesday 07 October 2003 12:54, Herbert Voß wrote:
 Juergen Spitzmueller schrieb:
  Herbert Voß wrote:
 write into the preamble
 
 \let\dictumOld\dictum
 \renewcommand\dictum[1]{{\dictumOld{#1}}}
 
  This does not work with the optional argument. Any idea?

 the easieast way:

 \makeatletter
 \renewcommand{\dictum}[2][]{{\par%
\raggeddictum\parbox{\dictumwidth}{%
  [EMAIL PROTECTED] #2\strut\par}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]
{\raggeddictumtext\vskip-1ex\hrulefill\par}%
[EMAIL PROTECTED]
\strut\par%
\fi%
}%
  }\par%
 }}
 \makeatother


 Herbert

-- 
Joby Joseph
SSP Lab, Acoustic Bldg.  Phone : +91 80 293 2280   
Department of ECEEmail : [EMAIL PROTECTED]
Indian Institute of Science  [EMAIL PROTECTED]
Bangalore 560 012URL   : http://www.dsp.ece.iisc.ernet.in/~joby/
India





Re: komascript dictum

2003-10-07 Thread Juergen Spitzmueller
Joby Joseph wrote:
> So I created the a small document and created a dictum in it. That also
> compiled but angain the whole document becomes a dictum, meaning right
> aligned. I am attaching that lyx document.

Shrug. This looks like a KOMA bug to me. If you nest the dictum environment 
into a chapterpreamble, it works. You have to use some ERT like in the 
attached file and place the whole thing *above* the chapter heading.

BTW: You can toggle dictum fonts with
\setkomafont{dictumtext}{\normalfont\normalcolor\small}
in the preamble.

Regards,
Jürgen
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\language english
\inputencoding auto
\fontscheme newcent
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 4
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Title

Testing preamble
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
setchapterpreamble[u]{%
\end_inset 


\layout Dictum


\begin_inset OptArg
collapsed true

\layout Standard

the author
\end_inset 

Here is the dictom
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard
}
\end_inset 


\layout Chapter

test chapter 1
\layout Standard

My first paragraph.
 As a model for a problem, the one with minimal and, yet possibly the most
 restrictive specifications should be chosen.
\layout Chapter

test chapter 2
\layout Standard

My second paragraph.
 As a model for a problem, the one with minimal and, yet possibly the most
 restrictive specifications should be chosen.
\the_end


Re: komascript dictum

2003-10-07 Thread Herbert Voß
Juergen Spitzmueller schrieb:

Shrug. This looks like a KOMA bug to me. If you nest the dictum environment 
into a chapterpreamble, it works. You have to use some ERT like in the 
attached file and place the whole thing *above* the chapter heading.

BTW: You can toggle dictum fonts with
\setkomafont{dictumtext}{\normalfont\normalcolor\small}
in the preamble.
write into the preamble

\let\dictumOld\dictum
\renewcommand\dictum[1]{{\dictumOld{#1}}}
Herbert




Re: komascript dictum

2003-10-07 Thread Juergen Spitzmueller
Herbert Voß wrote:
> write into the preamble
>
> \let\dictumOld\dictum
> \renewcommand\dictum[1]{{\dictumOld{#1}}}

This does not work with the optional argument. Any idea?
Jürgen.



Re: komascript dictum

2003-10-07 Thread Herbert Voß
Juergen Spitzmueller schrieb:
Herbert Voß wrote:

write into the preamble

\let\dictumOld\dictum
\renewcommand\dictum[1]{{\dictumOld{#1}}}


This does not work with the optional argument. Any idea?
the easieast way:

\makeatletter
\renewcommand{\dictum}[2][]{{\par%
  \raggeddictum\parbox{\dictumwidth}{%
[EMAIL PROTECTED] #2\strut\par}%
  [EMAIL PROTECTED]@[EMAIL PROTECTED]
  {\raggeddictumtext\vskip-1ex\hrulefill\par}%
  [EMAIL PROTECTED]
  \strut\par%
  \fi%
  }%
}\par%
}}
\makeatother
Herbert




Re: komascript dictum

2003-10-07 Thread Joby Joseph
Thanks a lot to all...it is working fine with this...
joby

On Tuesday 07 October 2003 12:54, Herbert Voß wrote:
> Juergen Spitzmueller schrieb:
> > Herbert Voß wrote:
> >>write into the preamble
> >>
> >>\let\dictumOld\dictum
> >>\renewcommand\dictum[1]{{\dictumOld{#1}}}
> >
> > This does not work with the optional argument. Any idea?
>
> the easieast way:
>
> \makeatletter
> \renewcommand{\dictum}[2][]{{\par%
>\raggeddictum\parbox{\dictumwidth}{%
>  [EMAIL PROTECTED] #2\strut\par}%
>[EMAIL PROTECTED]@[EMAIL PROTECTED]
>{\raggeddictumtext\vskip-1ex\hrulefill\par}%
>[EMAIL PROTECTED]
>\strut\par%
>\fi%
>}%
>  }\par%
> }}
> \makeatother
>
>
> Herbert

-- 
Joby Joseph
SSP Lab, Acoustic Bldg.  Phone : +91 80 293 2280   
Department of ECEEmail : [EMAIL PROTECTED]
Indian Institute of Science  [EMAIL PROTECTED]
Bangalore 560 012URL   : http://www.dsp.ece.iisc.ernet.in/~joby/
India





komascript dictum

2003-10-05 Thread Joby Joseph

dictum giving error.
I am using lyx 1.3.3, komascript book class.
I do the following.
After a chapter heading I type some words and choose the
environment to be dictum. The words shift by itself to the
right.
When I compile I get the following error towards the end(!!) of the
document.

LaTeX Error: There's no line here to end.
 \\
   
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
---

What is it that me or lyx is doing that is wrong?

joby


-- 
Joby Joseph
SSP Lab, Acoustic Bldg.  Phone : +91 80 293 2280   
Department of ECEEmail : [EMAIL PROTECTED]
Indian Institute of Science  [EMAIL PROTECTED]
Bangalore 560 012URL   : http://www.dsp.ece.iisc.ernet.in/~joby/
India





Re: komascript dictum

2003-10-05 Thread Angus Leeming
Joby Joseph wrote:

 
 dictum giving error.
 I am using lyx 1.3.3, komascript book class.
 I do the following.
 After a chapter heading I type some words and choose the
 environment to be dictum. The words shift by itself to the
 right.
 When I compile I get the following error towards the end(!!) of the
 document.
 
 LaTeX Error: There's no line here to end.
  \\

 Your command was ignored.
 Type  I command return  to replace it with another command,
 or  return  to continue without it.
 ---
 
 What is it that me or lyx is doing that is wrong?

Why don't you post a small example document that reproduces the error?

-- 
Angus



komascript dictum

2003-10-05 Thread Joby Joseph

dictum giving error.
I am using lyx 1.3.3, komascript book class.
I do the following.
After a chapter heading I type some words and choose the
environment to be dictum. The words shift by itself to the
right.
When I compile I get the following error towards the end(!!) of the
document.

LaTeX Error: There's no line here to end.
 \\
   
Your command was ignored.
Type  I command return  to replace it with another command,
or  return  to continue without it.
---

What is it that me or lyx is doing that is wrong?

joby


-- 
Joby Joseph
SSP Lab, Acoustic Bldg.  Phone : +91 80 293 2280   
Department of ECEEmail : [EMAIL PROTECTED]
Indian Institute of Science  [EMAIL PROTECTED]
Bangalore 560 012URL   : http://www.dsp.ece.iisc.ernet.in/~joby/
India





Re: komascript dictum

2003-10-05 Thread Angus Leeming
Joby Joseph wrote:

 
 dictum giving error.
 I am using lyx 1.3.3, komascript book class.
 I do the following.
 After a chapter heading I type some words and choose the
 environment to be dictum. The words shift by itself to the
 right.
 When I compile I get the following error towards the end(!!) of the
 document.
 
 LaTeX Error: There's no line here to end.
  \\

 Your command was ignored.
 Type  I command return  to replace it with another command,
 or  return  to continue without it.
 ---
 
 What is it that me or lyx is doing that is wrong?

Why don't you post a small example document that reproduces the error?

-- 
Angus



komascript dictum

2003-10-05 Thread Joby Joseph

dictum giving error.
I am using lyx 1.3.3, komascript book class.
I do the following.
After a chapter heading I type some words and choose the
environment to be dictum. The words shift by itself to the
right.
When I compile I get the following error towards the end(!!) of the
document.

LaTeX Error: There's no line here to end.
 \\
   
Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.
---

What is it that me or lyx is doing that is wrong?

joby


-- 
Joby Joseph
SSP Lab, Acoustic Bldg.  Phone : +91 80 293 2280   
Department of ECEEmail : [EMAIL PROTECTED]
Indian Institute of Science  [EMAIL PROTECTED]
Bangalore 560 012URL   : http://www.dsp.ece.iisc.ernet.in/~joby/
India





Re: komascript dictum

2003-10-05 Thread Angus Leeming
Joby Joseph wrote:

> 
> dictum giving error.
> I am using lyx 1.3.3, komascript book class.
> I do the following.
> After a chapter heading I type some words and choose the
> environment to be dictum. The words shift by itself to the
> right.
> When I compile I get the following error towards the end(!!) of the
> document.
> 
> LaTeX Error: There's no line here to end.
>  \\
>
> Your command was ignored.
> Type  Ito replace it with another command,
> orto continue without it.
> ---
> 
> What is it that me or lyx is doing that is wrong?

Why don't you post a small example document that reproduces the error?

-- 
Angus