On 12/16/05, Nick Kuzmik <[EMAIL PROTECTED]> wrote:
>  Among other things I like to use Lyx to  create study guides for my math 
> courses.  I use  Section/subsection/subsubsection to organize that info in a 
> reasonable  fashion.  I also like to use a TOC as some of these study guides  
> can get a tad large, and the TOC speads up the studying.
>
>   What I've found awkward is that when a create a study guide for say  
> chapters 2.5-4.4, and start using Section and such, Lyx automatically  starts 
> at Section 1
>
>   I've tried using Section* and manually titeling my headings, but they they 
> don't appear in the TOC.
>
>   What I'm asking is does anybody know of some ERT that will allow me to  
> insert a section heading and dispite being the first section on the  page, 
> have that be section 4, and still have it show up in the TOC?
>
>   Am I trying to have my cake and eat it too?
>
>
>
> Nick Kuzmik
> (845) 406-5115
> AIM NKUZMIK
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Hello,

I attach a simple LyX file that does the trick. The general pattern is:

 \setcounter{Some}{Value}

Where Some is the environment you want to change (section, equation ...)


--
  Andres
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Arbitrary Section Numbers
\layout Author

Andres Becerra
\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
setcounter{section}{3}
\end_inset 


\layout Section

Introduction
\layout Section

Content A
\layout Section

Content B
\layout Section

Conclusions
\the_end

Reply via email to