LyXChange Page numbering and how to preview Document?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
maxiv
Posts: 11
Joined: Thu Apr 28, 2011 4:43 pm

Change Page numbering and how to preview Document?

Post by maxiv »

Hello everyone,

i'm still pretty new to LyX/LaTeX, i've spent all day working myself through the tutorial and so far i think i've gotton most of it :)

i'm starting to work on my bachelor thesis right now and i already have two questions to begin with:

1) my arrangement will be the following with the various demanded style of page numbering in brackets ()
- cover sheet (no page number)
- table of contents (roman numbering starting with II)
- list of figures & list of tables (roman numbering, page III)
- the actual content of the thesis (arabic numbering starting with page 4)

how do i accomplish the various page numbering styles for the different pages?

2) in order to preview my document i hit the DVI button in the top left corner. i then get the following error message:
LaTeX Error: File `setspace.sty' not found.
Description: \onehalfspacing

*** (cannot \read from terminal in nonstop modes)


What am I doing wrong?


I hope those are not total newbie-questions. If so, please be patient with me :-)


thank you guys!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Change Page numbering and how to preview Document?

Post by meho_r »

maxiv wrote:Hello everyone,

i'm still pretty new to LyX/LaTeX, i've spent all day working myself through the tutorial and so far i think i've gotton most of it :)

i'm starting to work on my bachelor thesis right now and i already have two questions to begin with:

1) my arrangement will be the following with the various demanded style of page numbering in brackets ()
- cover sheet (no page number)
- table of contents (roman numbering starting with II)
- list of figures & list of tables (roman numbering, page III)
- the actual content of the thesis (arabic numbering starting with page 4)

how do i accomplish the various page numbering styles for the different pages?
Hi and welcome.

You can use ERT boxes to insert custom LaTeX commands. So, at the beginning of the document press Ctrl+L and type:

Code: Select all

\pagenumbering{roman}
Now, somewhere on the cover sheet part of the document press Ctrl+L again and type:

Code: Select all

\thispagestyle{empty}
And, just before the beginning of the actual content of your thesis, type:

Code: Select all

\clearpage
\pagenumbering{arabic}
\setcounter{page}{4}
2) in order to preview my document i hit the DVI button in the top left corner. i then get the following error message:
LaTeX Error: File `setspace.sty' not found.
Description: \onehalfspacing

*** (cannot \read from terminal in nonstop modes)

What am I doing wrong?

I hope those are not total newbie-questions. If so, please be patient with me :-)

thank you guys!
It seems that setspace package isn't installed. You'll have to install it first so that you can use one half spacing.
maxiv
Posts: 11
Joined: Thu Apr 28, 2011 4:43 pm

Re: Change Page numbering and how to preview Document?

Post by maxiv »

Thank you very much for your answer, you were very helpful!

I try exporting to DVI on my desktop pc (was using notebook before) and it worked fine...i guess reinstalling miktex and lyx should get the job done.


Now i have another question:

I'm not going to build and figures and tables into the content of the thesis but i'm going to move ALL figures and tables into the appendix of my thesis (as i was told to so by my superviser)

so i simply to beneath the part "6 Appendix" and below i click on insert->Gleitobjekt (I'm using german LyX, don't know the english Term)...then i enter the figure/table title and in the red box hit insert->figure/table

but when i export it to DVI it's nowhere beneath "6 Apendix" but directly underneath the textpassage that I'm writing right now (which is part 2.1)

so instead of underneath part 6 the figure shows up underneath part 2.1

when i then insert another table it doesn't appear beneath the previous figure i added but shows up at the complete end behind ALL the stuff that i've created so far.....i'm really having a hard time describing my problem to you, i hope you can somehow imagine what i'm talking about :D

Edit: I guess the problem is that LyX is putting each graphic on a new/the next page instead of putting them beneath eath other like I'm trying to arrange them in the program.
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Change Page numbering and how to preview Document?

Post by meho_r »

If you're using floats (table and figure), it's natural that LaTeX move them to achieve best results. Either you specify another placement options (e.g. "Here definitely") which are shown when right click on "float:Figure > Settings", under "Advanced Placement Options", or don't use floats but insert tables/figures directly (Insert > Table or Insert > Graphic).
CSMR
Posts: 44
Joined: Fri Oct 10, 2008 10:44 pm

Change Page numbering and how to preview Document?

Post by CSMR »

maxiv wrote:I try exporting to DVI on my desktop pc (was using notebook before)
Why are you exporting to DVI? PDF is probably the format you want.
Post Reply