Varun Reddy wrote:
i use the "report" Document class.

attached an example file for report. \frontmatter starts the roman counting and \mainmatter the default counting.

put the preamble into your doc.

Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass report
\begin_preamble
\makeatletter
[EMAIL PROTECTED] [EMAIL PROTECTED]
\newcommand\frontmatter{%
    \clearpage
  [EMAIL PROTECTED]
  \pagenumbering{roman}}
\newcommand\mainmatter{%
    \cleardoublepage
  [EMAIL PROTECTED]
  \pagenumbering{arabic}}
\newcommand\backmatter{%
  [EMAIL PROTECTED]
    \cleardoublepage
  \else
    \clearpage
  \fi
  [EMAIL PROTECTED]
\makeatother
\end_preamble
\language ngerman
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1.2cm
\topmargin 1.4cm
\rightmargin 1.7cm
\bottommargin 1.4cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Title

blah blah
\layout Author

Herbert Vo�
\layout Abstract

text text ldsgfj sdfgl sd gfs text text ldsgfj sdfgl sd gfs text text ldsgfj
 sdfgl sd gfs text text ldsgfj sdfgl sd gfs text text ldsgfj sdfgl sd gfs
 text text ldsgfj sdfgl sd gfs text text ldsgfj sdfgl sd gfs text text ldsgfj
 sdfgl sd gfs text text ldsgfj sdfgl sd gfs text text ldsgfj sdfgl sd gfs
 text text ldsgfj sdfgl sd gfs text text ldsgfj sdfgl sd gfs text text ldsgfj
 sdfgl sd gfs text text ldsgfj sdfgl sd gfs text text ldsgfj sdfgl sd gfs
 text text ldsgfj sdfgl sd gfs text text ldsgfj sdfgl sd gfs 
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
frontmatter
\end_inset 


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
mainmatter
\end_inset 


\layout Chapter

blah
\layout Standard

blah
\layout Section

blub
\layout Standard

blub
\the_end

Reply via email to