Re: Some LyX layout questions

2008-08-28 Thread killermike

killermike wrote:
I'm working on a self published book project in LyX. The book is a 
compilation of my articles that were previously published on the web. 
The book is just about finished, and I've figured out most of the 
stuff that

Thanks for the suggestions guys. I've got most of what I needed.

--
http://www.unmusic.co.uk Michael Reed -- technology, gender, and geek culture 
freelance writer




Re: Some LyX layout questions

2008-08-28 Thread killermike

killermike wrote:
I'm working on a self published book project in LyX. The book is a 
compilation of my articles that were previously published on the web. 
The book is just about finished, and I've figured out most of the 
stuff that

Thanks for the suggestions guys. I've got most of what I needed.

--
http://www.unmusic.co.uk Michael Reed -- technology, gender, and geek culture 
freelance writer




Re: Some LyX layout questions

2008-08-28 Thread killermike

killermike wrote:
I'm working on a self published book project in LyX. The book is a 
compilation of my articles that were previously published on the web. 
The book is just about finished, and I've figured out most of the 
stuff that

Thanks for the suggestions guys. I've got most of what I needed.

--
http://www.unmusic.co.uk Michael Reed -- technology, gender, and geek culture 
freelance writer




Some LyX layout questions

2008-08-23 Thread killermike
I'm working on a self published book project in LyX. The book is a 
compilation of my articles that were previously published on the web. 
The book is just about finished, and I've figured out most of the stuff 
that I needed to customise, but there are a few fine tuning issues that 
I need to sort out. I am using the Komascript book class. I'd be very 
grateful for any suggestions that anyone can offer.


I'll include all of the queries in this single post

Chapter header
I'm having difficulties suppressing the headers at the beginning of the 
book. The first Chapter is a starred chapter (Introduction) and as a 
result, the contents header leaks into it. This means that header for 
pages in my introduction says contents. I have tried using 
\thispagestyle{empty} in various places but it doesn't seem to surpress 
the contents header. Is there a way to assert a starred chapter 
heading as the current chapter in the headings? I have used some ERT to 
add the introduction to the contents. Another possibility would be to 
find a way to suppress the chapter header in the contents. I don't mind 
if headings are switched off until the first numbered chapter.


Text on part pages
Is there a way of putting text on part pages? I've seen some references 
to doing this but I've not been able to find a solution that can be 
applied to LyX. Adding an imported image would be even better.


Margin titles
Is it possible to have margin titles that hang slightly into the outside 
margins of the page?


Chapters at top of page
Is it possible to move the chapter titles to to the top of the page? As 
it stands, the chapter title starts about two inches from the top of the 
page. I suspect that a solution involves the sectsty package but I can't 
work out how to do it.


Thanks in advance for any help.

--
http://www.unmusic.co.uk Michael Reed -- technology, gender, and geek culture 
freelance writer




Re: Some LyX layout questions

2008-08-23 Thread rgheck

killermike wrote:

Chapter header
I'm having difficulties suppressing the headers at the beginning of 
the book. The first Chapter is a starred chapter (Introduction) and as 
a result, the contents header leaks into it. This means that header 
for pages in my introduction says contents. I have tried using 
\thispagestyle{empty} in various places but it doesn't seem to 
surpress the contents header. Is there a way to assert a starred 
chapter heading as the current chapter in the headings? I have used 
some ERT to add the introduction to the contents. Another possibility 
would be to find a way to suppress the chapter header in the contents. 
I don't mind if headings are switched off until the first numbered 
chapter.


Exactly what you will want, I don't know. But try in ERT, on the first 
line of the introduction:

\markboth{Introduction}{Introduction}.
Note that you'll have to put font changes into that, too, if you want 
them to show up in the output.


By the way, you can let LyX do the font stuff for you. (This trick 
should be better known.) Do this:

   [ERT: \markboth{]Now Type In LyX[ERT: }{]More Stuff in LyX[ERT: }]
And you can style Now Type In LyX any way you want, using bold, 
italic, whatever.



Text on part pages
Is there a way of putting text on part pages? I've seen some 
references to doing this but I've not been able to find a solution 
that can be applied to LyX. Adding an imported image would be even 
better.



Look at the titlesec package. You can do almost anything with it.


Margin titles
Is it possible to have margin titles that hang slightly into the 
outside margins of the page?


Yes. You can use fancy headers for this, and you can customize them 
endlessly. See section 12 of fancyhdr.dvi.



Chapters at top of page
Is it possible to move the chapter titles to to the top of the page? 
As it stands, the chapter title starts about two inches from the top 
of the page. I suspect that a solution involves the sectsty package 
but I can't work out how to do it.


Yes, this can be done. Probably titlesec would do it, but I'm not sure. 
You may have to dig into your LaTeX class and redefine whatever is being 
used to create the heading. In book.cls, it is here:


[EMAIL PROTECTED]
 [EMAIL PROTECTED]
 {\parindent \z@ \raggedright \normalfont
   \ifnum [EMAIL PROTECTED] [EMAIL PROTECTED]
 [EMAIL PROTECTED]
   \huge\bfseries [EMAIL PROTECTED] \thechapter
   \par\nobreak
   \vskip 20\p@
 \fi
   \fi
   [EMAIL PROTECTED]
   \Huge \bfseries #1\par\nobreak
   \vskip 40\p@
 }}

If you were using book.cls, you could just copy this into your preamble 
and remove the first \vspace line, or change it. (You would need to put 
this between \makeatletter and \makeatother commands, as well.)



rh



Re: Some LyX layout questions

2008-08-23 Thread Marcelo Acuña
 I'm working on a self published book project in LyX. The
 book is a 
 compilation of my articles that were previously published
 on the web. 
 The book is just about finished, and I've figured out
 most of the stuff 
 that I needed to customise, but there are a few fine tuning
 issues that 
 I need to sort out. I am using the Komascript book class.
 I'd be very 
 grateful for any suggestions that anyone can offer.
 
 I'll include all of the queries in this single post
 
 Chapter header
 I'm having difficulties suppressing the headers at the
 beginning of the 
 book. The first Chapter is a starred chapter (Introduction)
 and as a 
 result, the contents header leaks into it. This
 means that header for 
 pages in my introduction says contents. I have
 tried using 
 \thispagestyle{empty} in various places but it
 doesn't seem to surpress 
 the contents header. Is there a way to assert a
 starred chapter 
 heading as the current chapter in the headings? I have used
 some ERT to 
 add the introduction to the contents. Another possibility
 would be to 
 find a way to suppress the chapter header in the contents.
 I don't mind 
 if headings are switched off until the first numbered
 chapter.

 In preamble put a thing like:
 ChapterPageStyle{empty}
 See doc because I am not sure of exactly sintax.


 
 Text on part pages
 Is there a way of putting text on part pages? I've seen
 some references 
 to doing this but I've not been able to find a solution
 that can be 
 applied to LyX. Adding an imported image would be even
 better.
 
 Margin titles
 Is it possible to have margin titles that hang slightly
 into the outside 
 margins of the page?
 
 Chapters at top of page
 Is it possible to move the chapter titles to to the top of
 the page? As 
 it stands, the chapter title starts about two inches from
 the top of the 
 page. I suspect that a solution involves the sectsty
 package but I can't 
 work out how to do it.
 

 For last to problem you can try with titlesec package. 
 With titlesec you get total control over title parameters and TOC.
 Regards
Marcelo
 


  

¡Buscá desde tu celular!

Yahoo! oneSEARCH ahora está en Claro

http://ar.mobile.yahoo.com/onesearch


Some LyX layout questions

2008-08-23 Thread killermike
I'm working on a self published book project in LyX. The book is a 
compilation of my articles that were previously published on the web. 
The book is just about finished, and I've figured out most of the stuff 
that I needed to customise, but there are a few fine tuning issues that 
I need to sort out. I am using the Komascript book class. I'd be very 
grateful for any suggestions that anyone can offer.


I'll include all of the queries in this single post

Chapter header
I'm having difficulties suppressing the headers at the beginning of the 
book. The first Chapter is a starred chapter (Introduction) and as a 
result, the contents header leaks into it. This means that header for 
pages in my introduction says contents. I have tried using 
\thispagestyle{empty} in various places but it doesn't seem to surpress 
the contents header. Is there a way to assert a starred chapter 
heading as the current chapter in the headings? I have used some ERT to 
add the introduction to the contents. Another possibility would be to 
find a way to suppress the chapter header in the contents. I don't mind 
if headings are switched off until the first numbered chapter.


Text on part pages
Is there a way of putting text on part pages? I've seen some references 
to doing this but I've not been able to find a solution that can be 
applied to LyX. Adding an imported image would be even better.


Margin titles
Is it possible to have margin titles that hang slightly into the outside 
margins of the page?


Chapters at top of page
Is it possible to move the chapter titles to to the top of the page? As 
it stands, the chapter title starts about two inches from the top of the 
page. I suspect that a solution involves the sectsty package but I can't 
work out how to do it.


Thanks in advance for any help.

--
http://www.unmusic.co.uk Michael Reed -- technology, gender, and geek culture 
freelance writer




Re: Some LyX layout questions

2008-08-23 Thread rgheck

killermike wrote:

Chapter header
I'm having difficulties suppressing the headers at the beginning of 
the book. The first Chapter is a starred chapter (Introduction) and as 
a result, the contents header leaks into it. This means that header 
for pages in my introduction says contents. I have tried using 
\thispagestyle{empty} in various places but it doesn't seem to 
surpress the contents header. Is there a way to assert a starred 
chapter heading as the current chapter in the headings? I have used 
some ERT to add the introduction to the contents. Another possibility 
would be to find a way to suppress the chapter header in the contents. 
I don't mind if headings are switched off until the first numbered 
chapter.


Exactly what you will want, I don't know. But try in ERT, on the first 
line of the introduction:

\markboth{Introduction}{Introduction}.
Note that you'll have to put font changes into that, too, if you want 
them to show up in the output.


By the way, you can let LyX do the font stuff for you. (This trick 
should be better known.) Do this:

   [ERT: \markboth{]Now Type In LyX[ERT: }{]More Stuff in LyX[ERT: }]
And you can style Now Type In LyX any way you want, using bold, 
italic, whatever.



Text on part pages
Is there a way of putting text on part pages? I've seen some 
references to doing this but I've not been able to find a solution 
that can be applied to LyX. Adding an imported image would be even 
better.



Look at the titlesec package. You can do almost anything with it.


Margin titles
Is it possible to have margin titles that hang slightly into the 
outside margins of the page?


Yes. You can use fancy headers for this, and you can customize them 
endlessly. See section 12 of fancyhdr.dvi.



Chapters at top of page
Is it possible to move the chapter titles to to the top of the page? 
As it stands, the chapter title starts about two inches from the top 
of the page. I suspect that a solution involves the sectsty package 
but I can't work out how to do it.


Yes, this can be done. Probably titlesec would do it, but I'm not sure. 
You may have to dig into your LaTeX class and redefine whatever is being 
used to create the heading. In book.cls, it is here:


[EMAIL PROTECTED]
 [EMAIL PROTECTED]
 {\parindent \z@ \raggedright \normalfont
   \ifnum [EMAIL PROTECTED] [EMAIL PROTECTED]
 [EMAIL PROTECTED]
   \huge\bfseries [EMAIL PROTECTED] \thechapter
   \par\nobreak
   \vskip 20\p@
 \fi
   \fi
   [EMAIL PROTECTED]
   \Huge \bfseries #1\par\nobreak
   \vskip 40\p@
 }}

If you were using book.cls, you could just copy this into your preamble 
and remove the first \vspace line, or change it. (You would need to put 
this between \makeatletter and \makeatother commands, as well.)



rh



Re: Some LyX layout questions

2008-08-23 Thread Marcelo Acuña
 I'm working on a self published book project in LyX. The
 book is a 
 compilation of my articles that were previously published
 on the web. 
 The book is just about finished, and I've figured out
 most of the stuff 
 that I needed to customise, but there are a few fine tuning
 issues that 
 I need to sort out. I am using the Komascript book class.
 I'd be very 
 grateful for any suggestions that anyone can offer.
 
 I'll include all of the queries in this single post
 
 Chapter header
 I'm having difficulties suppressing the headers at the
 beginning of the 
 book. The first Chapter is a starred chapter (Introduction)
 and as a 
 result, the contents header leaks into it. This
 means that header for 
 pages in my introduction says contents. I have
 tried using 
 \thispagestyle{empty} in various places but it
 doesn't seem to surpress 
 the contents header. Is there a way to assert a
 starred chapter 
 heading as the current chapter in the headings? I have used
 some ERT to 
 add the introduction to the contents. Another possibility
 would be to 
 find a way to suppress the chapter header in the contents.
 I don't mind 
 if headings are switched off until the first numbered
 chapter.

 In preamble put a thing like:
 ChapterPageStyle{empty}
 See doc because I am not sure of exactly sintax.


 
 Text on part pages
 Is there a way of putting text on part pages? I've seen
 some references 
 to doing this but I've not been able to find a solution
 that can be 
 applied to LyX. Adding an imported image would be even
 better.
 
 Margin titles
 Is it possible to have margin titles that hang slightly
 into the outside 
 margins of the page?
 
 Chapters at top of page
 Is it possible to move the chapter titles to to the top of
 the page? As 
 it stands, the chapter title starts about two inches from
 the top of the 
 page. I suspect that a solution involves the sectsty
 package but I can't 
 work out how to do it.
 

 For last to problem you can try with titlesec package. 
 With titlesec you get total control over title parameters and TOC.
 Regards
Marcelo
 


  

¡Buscá desde tu celular!

Yahoo! oneSEARCH ahora está en Claro

http://ar.mobile.yahoo.com/onesearch


Some LyX layout questions

2008-08-23 Thread killermike
I'm working on a self published book project in LyX. The book is a 
compilation of my articles that were previously published on the web. 
The book is just about finished, and I've figured out most of the stuff 
that I needed to customise, but there are a few fine tuning issues that 
I need to sort out. I am using the Komascript book class. I'd be very 
grateful for any suggestions that anyone can offer.


I'll include all of the queries in this single post

Chapter header
I'm having difficulties suppressing the headers at the beginning of the 
book. The first Chapter is a starred chapter (Introduction) and as a 
result, the "contents" header leaks into it. This means that header for 
pages in my introduction says "contents". I have tried using 
\thispagestyle{empty} in various places but it doesn't seem to surpress 
the "contents" header. Is there a way to assert a starred chapter 
heading as the current chapter in the headings? I have used some ERT to 
add the introduction to the contents. Another possibility would be to 
find a way to suppress the chapter header in the contents. I don't mind 
if headings are switched off until the first numbered chapter.


Text on part pages
Is there a way of putting text on part pages? I've seen some references 
to doing this but I've not been able to find a solution that can be 
applied to LyX. Adding an imported image would be even better.


Margin titles
Is it possible to have margin titles that hang slightly into the outside 
margins of the page?


Chapters at top of page
Is it possible to move the chapter titles to to the top of the page? As 
it stands, the chapter title starts about two inches from the top of the 
page. I suspect that a solution involves the sectsty package but I can't 
work out how to do it.


Thanks in advance for any help.

--
http://www.unmusic.co.uk Michael Reed -- technology, gender, and geek culture 
freelance writer




Re: Some LyX layout questions

2008-08-23 Thread rgheck

killermike wrote:

Chapter header
I'm having difficulties suppressing the headers at the beginning of 
the book. The first Chapter is a starred chapter (Introduction) and as 
a result, the "contents" header leaks into it. This means that header 
for pages in my introduction says "contents". I have tried using 
\thispagestyle{empty} in various places but it doesn't seem to 
surpress the "contents" header. Is there a way to assert a starred 
chapter heading as the current chapter in the headings? I have used 
some ERT to add the introduction to the contents. Another possibility 
would be to find a way to suppress the chapter header in the contents. 
I don't mind if headings are switched off until the first numbered 
chapter.


Exactly what you will want, I don't know. But try in ERT, on the first 
line of the introduction:

\markboth{Introduction}{Introduction}.
Note that you'll have to put font changes into that, too, if you want 
them to show up in the output.


By the way, you can let LyX do the font stuff for you. (This trick 
should be better known.) Do this:

   [ERT: \markboth{]Now Type In LyX[ERT: }{]More Stuff in LyX[ERT: }]
And you can style "Now Type In LyX" any way you want, using bold, 
italic, whatever.



Text on part pages
Is there a way of putting text on part pages? I've seen some 
references to doing this but I've not been able to find a solution 
that can be applied to LyX. Adding an imported image would be even 
better.



Look at the titlesec package. You can do almost anything with it.


Margin titles
Is it possible to have margin titles that hang slightly into the 
outside margins of the page?


Yes. You can use fancy headers for this, and you can customize them 
endlessly. See section 12 of fancyhdr.dvi.



Chapters at top of page
Is it possible to move the chapter titles to to the top of the page? 
As it stands, the chapter title starts about two inches from the top 
of the page. I suspect that a solution involves the sectsty package 
but I can't work out how to do it.


Yes, this can be done. Probably titlesec would do it, but I'm not sure. 
You may have to dig into your LaTeX class and redefine whatever is being 
used to create the heading. In book.cls, it is here:


[EMAIL PROTECTED]
 [EMAIL PROTECTED]
 {\parindent \z@ \raggedright \normalfont
   \ifnum [EMAIL PROTECTED] >[EMAIL PROTECTED]
 [EMAIL PROTECTED]
   \huge\bfseries [EMAIL PROTECTED] \thechapter
   \par\nobreak
   \vskip 20\p@
 \fi
   \fi
   [EMAIL PROTECTED]
   \Huge \bfseries #1\par\nobreak
   \vskip 40\p@
 }}

If you were using book.cls, you could just copy this into your preamble 
and remove the first \vspace line, or change it. (You would need to put 
this between \makeatletter and \makeatother commands, as well.)



rh



Re: Some LyX layout questions

2008-08-23 Thread Marcelo Acuña
> I'm working on a self published book project in LyX. The
> book is a 
> compilation of my articles that were previously published
> on the web. 
> The book is just about finished, and I've figured out
> most of the stuff 
> that I needed to customise, but there are a few fine tuning
> issues that 
> I need to sort out. I am using the Komascript book class.
> I'd be very 
> grateful for any suggestions that anyone can offer.
> 
> I'll include all of the queries in this single post
> 
> Chapter header
> I'm having difficulties suppressing the headers at the
> beginning of the 
> book. The first Chapter is a starred chapter (Introduction)
> and as a 
> result, the "contents" header leaks into it. This
> means that header for 
> pages in my introduction says "contents". I have
> tried using 
> \thispagestyle{empty} in various places but it
> doesn't seem to surpress 
> the "contents" header. Is there a way to assert a
> starred chapter 
> heading as the current chapter in the headings? I have used
> some ERT to 
> add the introduction to the contents. Another possibility
> would be to 
> find a way to suppress the chapter header in the contents.
> I don't mind 
> if headings are switched off until the first numbered
> chapter.

 In preamble put a thing like:
 ChapterPageStyle{empty}
 See doc because I am not sure of exactly sintax.


> 
> Text on part pages
> Is there a way of putting text on part pages? I've seen
> some references 
> to doing this but I've not been able to find a solution
> that can be 
> applied to LyX. Adding an imported image would be even
> better.
> 
> Margin titles
> Is it possible to have margin titles that hang slightly
> into the outside 
> margins of the page?
> 
> Chapters at top of page
> Is it possible to move the chapter titles to to the top of
> the page? As 
> it stands, the chapter title starts about two inches from
> the top of the 
> page. I suspect that a solution involves the sectsty
> package but I can't 
> work out how to do it.
> 

 For last to problem you can try with titlesec package. 
 With titlesec you get total control over title parameters and TOC.
 Regards
Marcelo
 


  

¡Buscá desde tu celular!

Yahoo! oneSEARCH ahora está en Claro

http://ar.mobile.yahoo.com/onesearch


Layout questions

2008-03-06 Thread TriKri

Hello!

I am writing my physics report using LyX. I write the text in word and then
I import it into LyX. I like LyX since it is so strict and fixes much
problem thanks of that, but it also creates some problem, if you don't know
how to do it correctly of course.

Since I'm writing a report, the top level branches in the document are
chapters. But it shows like Chapter 1, then a new line, the Introduction
(say my first chapter is intro). Instead I want it to be 1 Introduction.
And a section, 1.1 The first section, etc. How do I fix that?

My next question is about the page numbers. At the title page and at the
abstract page there is no page numbers. On the content page on the other
hand there is, and it is 2. 2? Why? Then the first chapter comes and it has
page number 1 as it should. ^^ Why is there a 2 as page number at the
content page where there should really be no page number and how do I
change/fix it? The first page number should be where chapter 1 starts.

My third question is about formatting the text. On the title page, I write
the title, the author (which is my name), then I also want to write the name
of my university, its location and finally the date of today. All this is
going to be on separate rows. I can only find title, author, and date in the
scroll down bar, but not the rest. How do I enter those two? As standard
text? In that case I also haven't found any way to center the text.  I would
also like to be able to format the text more. Running text for example, is
it even possible to center it? Or to make it bigger or with another font?
Can I make custom text styles? How do I choose if the paragraphs are going
to be justified or not, or whether a new paragraph is going to be marked by
indenting the first line or making an empty line before it?

Then I also have a question about the chapter linking in the generated pdf
file. Is it possible to make the chapters in the table of content link to
the places in the document where the chapters are located? This is not as
important though, just a cool feature! B-)
-- 
View this message in context: 
http://www.nabble.com/Layout-questions-tp15873118p15873118.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Layout questions

2008-03-06 Thread Liviu Andronic
On 3/6/08, TriKri [EMAIL PROTECTED] wrote:
  Since I'm writing a report, the top level branches in the document are
  chapters. But it shows like Chapter 1, then a new line, the Introduction
  (say my first chapter is intro). Instead I want it to be 1 Introduction.
  And a section, 1.1 The first section, etc. How do I fix that?

Try to use Chapter* (note the asterisk) from the combobox.



  My next question is about the page numbers. At the title page and at the
  abstract page there is no page numbers. On the content page on the other
  hand there is, and it is 2. 2? Why?

Try \setcounter{page}{-1} in the preamble. Experiment with different
numbers (say, 0) so as to suit your document.

  My third question is about formatting the text. On the title page, I write
  the title, the author (which is my name), then I also want to write the name
  of my university, its location and finally the date of today. All this is
  going to be on separate rows. I can only find title, author, and date in the
  scroll down bar, but not the rest. How do I enter those two?

I am afraid you'll need to pass through ERT, that is TeX code. You
might find this example [1] useful.


  Then I also have a question about the chapter linking in the generated pdf
  file. Is it possible to make the chapters in the table of content link to
  the places in the document where the chapters are located? This is not as
  important though, just a cool feature! B-)

Check the wiki for this. I used it once, but don't remember what did
the trick. This [2] wiki page should be of interest. Also try the
Unsorted FAQs.

Hope this is of help,
Liviu

[1] http://en.wikibooks.org/wiki/LaTeX/Title_Creation
[2] http://wiki.lyx.org/FAQ/PDF


Re: Layout questions

2008-03-06 Thread Ignacio García
TriKri wrote:
 My third question is about formatting the text. On the title page, I write
 the title, the author (which is my name), then I also want to write the name
  of my university, its location and finally the date of today. All this is
 going to be on separate rows. I can only find title, author, and date in the
 scroll down bar, but not the rest. How do I enter those two?

You have some options:
-- Pressing Ctrl-Enter you can write more lines without exits the layout:
   E.g:  Author  then Ctrl-Enter
   University namethen Ctrl-Enter
  Location

-- You can try other layouts, e.g. Editors ; this is available if you choose
   the report  (koma.script) document class.

 As standard text? In that case I also haven't found any way to
center the text.
  I would also like to be able to format the text more. Running text
for example,
  is it even possible to center it? Or to make it bigger or with another font?
 Can I make custom text styles? How do I choose if the paragraphs are going
 to be justified or not, or whether a new paragraph is going to be marked by
 indenting the first line or making an empty line before it?

All that is possible. I suggest you have a look at help docs and/or
explore the toolbar buttons. All is explained there.

Ignacio

PD Perhaps it would be easier writing directly on LyX...


Re: Layout questions

2008-03-06 Thread Steve Litt
On Thursday 06 March 2008 08:42, TriKri wrote:
 Hello!

 I am writing my physics report using LyX. I write the text in word and then
 I import it into LyX. I like LyX since it is so strict and fixes much
 problem thanks of that, but it also creates some problem, if you don't know
 how to do it correctly of course.

 Since I'm writing a report, the top level branches in the document are
 chapters. But it shows like Chapter 1, then a new line, the
 Introduction (say my first chapter is intro). Instead I want it to be 1
 Introduction. 

You might need to do a \renewenvironment{} on the \chapter environment, within 
your layout file. Search your book.cls file (mine's 
in /usr/share/texmf/tex/latex/base/) for chapter, and you'll see definitions 
of \chapter, [EMAIL PROTECTED], and \makechapterhead etc. You need to redefine 
it not 
to print Chapter, which I believe is the command \thechapter, and get rid 
of the vertical space skipped.

Remember, you do not change the code 
in /usr/share/texmf/tex/latex/base/book.cls, you do it with \renewenvironment 
and \renewcommand commands within your layout file.

Obviously, if you're not using the book document class, do this for whatever 
document class you're using.


 And a section, 1.1 The first section, etc. How do I fix 
 that?

Similar method.


 My next question is about the page numbers. At the title page and at the
 abstract page there is no page numbers. On the content page on the other
 hand there is, and it is 2. 2? Why? Then the first chapter comes and it has
 page number 1 as it should. ^^ Why is there a 2 as page number at the
 content page where there should really be no page number and how do I
 change/fix it? The first page number should be where chapter 1 starts.

See my answer to your next question.

 My third question is about formatting the text. On the title page, I write
 the title, the author (which is my name), then I also want to write the
 name of my university, its location and finally the date of today. All this
 is going to be on separate rows. I can only find title, author, and date in
 the scroll down bar, but not the rest. How do I enter those two? As
 standard text? In that case I also haven't found any way to center the
 text.  I would also like to be able to format the text more. Running text
 for example, is it even possible to center it? Or to make it bigger or with
 another font? Can I make custom text styles? How do I choose if the
 paragraphs are going to be justified or not, or whether a new paragraph is
 going to be marked by indenting the first line or making an empty line
 before it?

It's my fevent belief that the frontmatter of any book should be cobbled 
together with custom environments and ERT, because the frontmatter is not 
meant to be uniform throughout, it is not meant to be uniform across books, 
and it IS meant to be fine tuned to be just how you want it. Trying to 
wrangle a document class to do what you want in the frontmatter is extremely 
difficult.

If you simply build your frontmatter with ERT and custom environments, getting 
it exactly like you want will be easy. Doing this also gives you complete 
control over page numbering within the frontmatter.


 Then I also have a question about the chapter linking in the generated pdf
 file. Is it possible to make the chapters in the table of content link to
 the places in the document where the chapters are located? This is not as
 important though, just a cool feature! B-)

I think that automatically happens if you do this:

lyx -e pdf lyxfilename.lyx

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Layout questions

2008-03-06 Thread Ignacio García
TriKri wrote
 Then I also have a question about the chapter linking
  in the generated pdf file. Is it possible to make the chapters
  in the table of content link to the places in the document
  where the chapters are located? This is not as
  important though, just a cool feature! B-)

Try adding in the LaTeX preamble of your document:

\usepackage[bookmarks]{hyperref}

regards
Ignacio


Re: Layout questions

2008-03-06 Thread David Hewitt



 Then I also have a question about the chapter linking
  in the generated pdf file. Is it possible to make the chapters
  in the table of content link to the places in the document
  where the chapters are located?
 
 Try adding in the LaTeX preamble of your document:
 
 \usepackage[bookmarks]{hyperref}
 

That works, but you get red and green boxes around the things that are
linked... is it possible to turn those off and have the hyperrefs in
stealth mode?


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Layout-questions-tp15873118p15882792.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Layout questions

2008-03-06 Thread Tim Michelsen

That works, but you get red and green boxes around the things that are
linked... is it possible to turn those off and have the hyperrefs in
stealth mode?

I don't know what stealth mode is.

But you may use this in your preamble to get a PDF with black links and 
no borders:


\usepackage{ifpdf}
\ifpdf
% set fonts for nicer pdf view
\IfFileExists{lmodern.sty}
 {\usepackage{lmodern}} % if it exists
 {% if it exists not
  \usepackage[scaled=0.92]{helvet}
  \usepackage{mathptmx}
  \usepackage{courier}
 } % end if it exists not
% link all cross references and URLs
% in pdf output
\usepackage[pdftex,a4paper,%see ../hyperref/manual.pdf  
pdftex.dante01.pdf , mst be last loaded style
 %breaklines={false},%break links across lines? false or true? better 
deactivate
 bookmarks={true},%generate bookmarks in pdf? run $: pdftex 
thefile.tex twice

 bookmarksopen={true},%should bookmarks be expanded? full subtrees?
 bookmarksnumbered={true},%section numbers in bookmarks?
 pdftitle={YOURTITLE},%give in the title
 pdfauthor={YOURNAME},%who's quilty for all this?
 pdfcreator={LyX, LaTeX with hyperref and KOMA-Script},
 pdfkeywords={YOURKEYWORDS},%type in some keywords...
 pdfsubject={YOURSUBJECT},%what is it all 'bout?
 %baseurl{www.myurl.org},%set base url of doc, not important
 %pdfpagelabels  plainpages=false should be set if roman and arabic 
page numbers are mixed: see 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdfpagelabels

 pdfpagelabels,
 plainpages=false,
 pdfpagemode={UseOutlines},%how should the file open in Acro? None, 
UseThumbs, UseOutlines, FullScreen
 pdfstartpage={1},%start on which page? counts pagenno.=if titlepage 
emtpy {1} starts on 2nd page
 pdfstartview=Fit,%startup page view: Fit=Actual Size, FitB=Fit 
Width,FitH=Fit Visiblepresentation

 pdfview=FitH,%sets the default view for each link
 %pdfhightlight=/P,%behavior of link buttons: /I =inverse (def.), /N 
=no fx., /P = highlighting

 colorlinks=true,%important for links without frames...
% set link colors to black for printouts
 linkcolor=black,%internal links
 urlcolor=black, %external links
 filecolor=black, %file links
 citecolor=black,%citation links
% uncomment for a screen optimized PDF with colored links
%  colorlinks=true,%important for links without frames...
%  linkcolor=blue,%internal links
%  urlcolor=red, %external links
%  filecolor=red, %file links
 %%backlinks
 %to the citation page
 pagebackref,%references back to pages: has priority before backref
 %to the citation
 %backref,%references back to sections
 ]{hyperref} %gimme the hyperref
%create thumbnails for PDF
\usepackage{thumbpdf}
\usepackage[figure]{hypcap}
\pdfcompresslevel=9
%%% Change layout of backref
\renewcommand*{\backref}[1]{%
% default interface
% #1: backref list
% We want to use the alternative interface,
% therefore the definition is empty here.
}%
\renewcommand*{\backrefalt}[4]{%
% alternative interface
% #1: number of distinct back references
% #2: backref list with distinct entries
% #3: number of back references including duplicates
% #4: backref list including duplicates
%%in case that pagebackref is used
\mbox{(Zitiert auf %
\ifnum#1=1 %
Seite~%
\else
Seiten~%
\fi
#2)}%
}
%%in case that backref/ref is used
% \renewcommand*{\backref}[1]{}
% \renewcommand*{\backrefalt}[4]{%
% \ifcase #1 %
% No citations.%
% \or
% One citation in section #2.%
% \else
% #1 citations in sections #2.%
% \fi
% }
%%%End: layout of backref
%\usepackage{hypernat}
\else % if dvi or ps is produced
%%% link all cross references and URLs in DVI output
%%no changes in DVI
\pdffalse
% \usepackage[ps2pdf, a4paper,
%   breaklines=true,
%   colorlinks=true,
%   linkcolor=black,
%   citecolor=black,
%   urlcolor=black,
%   filecolor=black]{hyperref}
% \usepackage[pageref] {backref}%backreferencing in DVI/PS, options: ref 
(sections) / pageref (pages)

\fi % end if pdflatex is used

You can savely take off all lines with % at the beginning.
Its taken from my all-in-on preamble...

If you have questions feel free to ask!

Timmie



Re: Layout questions

2008-03-06 Thread Ignacio García
2008/3/6, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Thanks! Is it possible to remove the red frames that appeas around the 
 sections in the table of content? I am new to LyX, maybe I will find it a 
 very usefull program!

  Ignacio García-6 wrote:
  
   TriKri wrote
   Then I also have a question about the chapter linking
in the generated pdf file. Is it possible to make the chapters
in the table of content link to the places in the document
where the chapters are located? This is not as
important though, just a cool feature! B-)
  
   Try adding in the LaTeX preamble of your document:
  
   \usepackage[bookmarks]{hyperref}
  

Try adding in the LaTeX preamble of your document:

\usepackage[bookmarks,pdfborder=false]{hyperref}

Ignacio


Re: Layout questions

2008-03-06 Thread David Hewitt

This did it! Excellent. Thanks.


Ignacio García-6 wrote:
 
 2008/3/6, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Thanks! Is it possible to remove the red frames that appeas around the
 sections in the table of content? I am new to LyX, maybe I will find it a
 very usefull program!

  Ignacio García-6 wrote:
  
   TriKri wrote
   Then I also have a question about the chapter linking
in the generated pdf file. Is it possible to make the chapters
in the table of content link to the places in the document
where the chapters are located? This is not as
important though, just a cool feature! B-)
  
   Try adding in the LaTeX preamble of your document:
  
   \usepackage[bookmarks]{hyperref}
  
 
 Try adding in the LaTeX preamble of your document:
 
 \usepackage[bookmarks,pdfborder=false]{hyperref}
 
 Ignacio
 
 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Layout-questions-tp15873118p15885362.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Layout questions

2008-03-06 Thread TriKri

Hello!

I am writing my physics report using LyX. I write the text in word and then
I import it into LyX. I like LyX since it is so strict and fixes much
problem thanks of that, but it also creates some problem, if you don't know
how to do it correctly of course.

Since I'm writing a report, the top level branches in the document are
chapters. But it shows like Chapter 1, then a new line, the Introduction
(say my first chapter is intro). Instead I want it to be 1 Introduction.
And a section, 1.1 The first section, etc. How do I fix that?

My next question is about the page numbers. At the title page and at the
abstract page there is no page numbers. On the content page on the other
hand there is, and it is 2. 2? Why? Then the first chapter comes and it has
page number 1 as it should. ^^ Why is there a 2 as page number at the
content page where there should really be no page number and how do I
change/fix it? The first page number should be where chapter 1 starts.

My third question is about formatting the text. On the title page, I write
the title, the author (which is my name), then I also want to write the name
of my university, its location and finally the date of today. All this is
going to be on separate rows. I can only find title, author, and date in the
scroll down bar, but not the rest. How do I enter those two? As standard
text? In that case I also haven't found any way to center the text.  I would
also like to be able to format the text more. Running text for example, is
it even possible to center it? Or to make it bigger or with another font?
Can I make custom text styles? How do I choose if the paragraphs are going
to be justified or not, or whether a new paragraph is going to be marked by
indenting the first line or making an empty line before it?

Then I also have a question about the chapter linking in the generated pdf
file. Is it possible to make the chapters in the table of content link to
the places in the document where the chapters are located? This is not as
important though, just a cool feature! B-)
-- 
View this message in context: 
http://www.nabble.com/Layout-questions-tp15873118p15873118.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Layout questions

2008-03-06 Thread Liviu Andronic
On 3/6/08, TriKri [EMAIL PROTECTED] wrote:
  Since I'm writing a report, the top level branches in the document are
  chapters. But it shows like Chapter 1, then a new line, the Introduction
  (say my first chapter is intro). Instead I want it to be 1 Introduction.
  And a section, 1.1 The first section, etc. How do I fix that?

Try to use Chapter* (note the asterisk) from the combobox.



  My next question is about the page numbers. At the title page and at the
  abstract page there is no page numbers. On the content page on the other
  hand there is, and it is 2. 2? Why?

Try \setcounter{page}{-1} in the preamble. Experiment with different
numbers (say, 0) so as to suit your document.

  My third question is about formatting the text. On the title page, I write
  the title, the author (which is my name), then I also want to write the name
  of my university, its location and finally the date of today. All this is
  going to be on separate rows. I can only find title, author, and date in the
  scroll down bar, but not the rest. How do I enter those two?

I am afraid you'll need to pass through ERT, that is TeX code. You
might find this example [1] useful.


  Then I also have a question about the chapter linking in the generated pdf
  file. Is it possible to make the chapters in the table of content link to
  the places in the document where the chapters are located? This is not as
  important though, just a cool feature! B-)

Check the wiki for this. I used it once, but don't remember what did
the trick. This [2] wiki page should be of interest. Also try the
Unsorted FAQs.

Hope this is of help,
Liviu

[1] http://en.wikibooks.org/wiki/LaTeX/Title_Creation
[2] http://wiki.lyx.org/FAQ/PDF


Re: Layout questions

2008-03-06 Thread Ignacio García
TriKri wrote:
 My third question is about formatting the text. On the title page, I write
 the title, the author (which is my name), then I also want to write the name
  of my university, its location and finally the date of today. All this is
 going to be on separate rows. I can only find title, author, and date in the
 scroll down bar, but not the rest. How do I enter those two?

You have some options:
-- Pressing Ctrl-Enter you can write more lines without exits the layout:
   E.g:  Author  then Ctrl-Enter
   University namethen Ctrl-Enter
  Location

-- You can try other layouts, e.g. Editors ; this is available if you choose
   the report  (koma.script) document class.

 As standard text? In that case I also haven't found any way to
center the text.
  I would also like to be able to format the text more. Running text
for example,
  is it even possible to center it? Or to make it bigger or with another font?
 Can I make custom text styles? How do I choose if the paragraphs are going
 to be justified or not, or whether a new paragraph is going to be marked by
 indenting the first line or making an empty line before it?

All that is possible. I suggest you have a look at help docs and/or
explore the toolbar buttons. All is explained there.

Ignacio

PD Perhaps it would be easier writing directly on LyX...


Re: Layout questions

2008-03-06 Thread Steve Litt
On Thursday 06 March 2008 08:42, TriKri wrote:
 Hello!

 I am writing my physics report using LyX. I write the text in word and then
 I import it into LyX. I like LyX since it is so strict and fixes much
 problem thanks of that, but it also creates some problem, if you don't know
 how to do it correctly of course.

 Since I'm writing a report, the top level branches in the document are
 chapters. But it shows like Chapter 1, then a new line, the
 Introduction (say my first chapter is intro). Instead I want it to be 1
 Introduction. 

You might need to do a \renewenvironment{} on the \chapter environment, within 
your layout file. Search your book.cls file (mine's 
in /usr/share/texmf/tex/latex/base/) for chapter, and you'll see definitions 
of \chapter, [EMAIL PROTECTED], and \makechapterhead etc. You need to redefine 
it not 
to print Chapter, which I believe is the command \thechapter, and get rid 
of the vertical space skipped.

Remember, you do not change the code 
in /usr/share/texmf/tex/latex/base/book.cls, you do it with \renewenvironment 
and \renewcommand commands within your layout file.

Obviously, if you're not using the book document class, do this for whatever 
document class you're using.


 And a section, 1.1 The first section, etc. How do I fix 
 that?

Similar method.


 My next question is about the page numbers. At the title page and at the
 abstract page there is no page numbers. On the content page on the other
 hand there is, and it is 2. 2? Why? Then the first chapter comes and it has
 page number 1 as it should. ^^ Why is there a 2 as page number at the
 content page where there should really be no page number and how do I
 change/fix it? The first page number should be where chapter 1 starts.

See my answer to your next question.

 My third question is about formatting the text. On the title page, I write
 the title, the author (which is my name), then I also want to write the
 name of my university, its location and finally the date of today. All this
 is going to be on separate rows. I can only find title, author, and date in
 the scroll down bar, but not the rest. How do I enter those two? As
 standard text? In that case I also haven't found any way to center the
 text.  I would also like to be able to format the text more. Running text
 for example, is it even possible to center it? Or to make it bigger or with
 another font? Can I make custom text styles? How do I choose if the
 paragraphs are going to be justified or not, or whether a new paragraph is
 going to be marked by indenting the first line or making an empty line
 before it?

It's my fevent belief that the frontmatter of any book should be cobbled 
together with custom environments and ERT, because the frontmatter is not 
meant to be uniform throughout, it is not meant to be uniform across books, 
and it IS meant to be fine tuned to be just how you want it. Trying to 
wrangle a document class to do what you want in the frontmatter is extremely 
difficult.

If you simply build your frontmatter with ERT and custom environments, getting 
it exactly like you want will be easy. Doing this also gives you complete 
control over page numbering within the frontmatter.


 Then I also have a question about the chapter linking in the generated pdf
 file. Is it possible to make the chapters in the table of content link to
 the places in the document where the chapters are located? This is not as
 important though, just a cool feature! B-)

I think that automatically happens if you do this:

lyx -e pdf lyxfilename.lyx

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Layout questions

2008-03-06 Thread Ignacio García
TriKri wrote
 Then I also have a question about the chapter linking
  in the generated pdf file. Is it possible to make the chapters
  in the table of content link to the places in the document
  where the chapters are located? This is not as
  important though, just a cool feature! B-)

Try adding in the LaTeX preamble of your document:

\usepackage[bookmarks]{hyperref}

regards
Ignacio


Re: Layout questions

2008-03-06 Thread David Hewitt



 Then I also have a question about the chapter linking
  in the generated pdf file. Is it possible to make the chapters
  in the table of content link to the places in the document
  where the chapters are located?
 
 Try adding in the LaTeX preamble of your document:
 
 \usepackage[bookmarks]{hyperref}
 

That works, but you get red and green boxes around the things that are
linked... is it possible to turn those off and have the hyperrefs in
stealth mode?


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Layout-questions-tp15873118p15882792.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Layout questions

2008-03-06 Thread Tim Michelsen

That works, but you get red and green boxes around the things that are
linked... is it possible to turn those off and have the hyperrefs in
stealth mode?

I don't know what stealth mode is.

But you may use this in your preamble to get a PDF with black links and 
no borders:


\usepackage{ifpdf}
\ifpdf
% set fonts for nicer pdf view
\IfFileExists{lmodern.sty}
 {\usepackage{lmodern}} % if it exists
 {% if it exists not
  \usepackage[scaled=0.92]{helvet}
  \usepackage{mathptmx}
  \usepackage{courier}
 } % end if it exists not
% link all cross references and URLs
% in pdf output
\usepackage[pdftex,a4paper,%see ../hyperref/manual.pdf  
pdftex.dante01.pdf , mst be last loaded style
 %breaklines={false},%break links across lines? false or true? better 
deactivate
 bookmarks={true},%generate bookmarks in pdf? run $: pdftex 
thefile.tex twice

 bookmarksopen={true},%should bookmarks be expanded? full subtrees?
 bookmarksnumbered={true},%section numbers in bookmarks?
 pdftitle={YOURTITLE},%give in the title
 pdfauthor={YOURNAME},%who's quilty for all this?
 pdfcreator={LyX, LaTeX with hyperref and KOMA-Script},
 pdfkeywords={YOURKEYWORDS},%type in some keywords...
 pdfsubject={YOURSUBJECT},%what is it all 'bout?
 %baseurl{www.myurl.org},%set base url of doc, not important
 %pdfpagelabels  plainpages=false should be set if roman and arabic 
page numbers are mixed: see 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdfpagelabels

 pdfpagelabels,
 plainpages=false,
 pdfpagemode={UseOutlines},%how should the file open in Acro? None, 
UseThumbs, UseOutlines, FullScreen
 pdfstartpage={1},%start on which page? counts pagenno.=if titlepage 
emtpy {1} starts on 2nd page
 pdfstartview=Fit,%startup page view: Fit=Actual Size, FitB=Fit 
Width,FitH=Fit Visiblepresentation

 pdfview=FitH,%sets the default view for each link
 %pdfhightlight=/P,%behavior of link buttons: /I =inverse (def.), /N 
=no fx., /P = highlighting

 colorlinks=true,%important for links without frames...
% set link colors to black for printouts
 linkcolor=black,%internal links
 urlcolor=black, %external links
 filecolor=black, %file links
 citecolor=black,%citation links
% uncomment for a screen optimized PDF with colored links
%  colorlinks=true,%important for links without frames...
%  linkcolor=blue,%internal links
%  urlcolor=red, %external links
%  filecolor=red, %file links
 %%backlinks
 %to the citation page
 pagebackref,%references back to pages: has priority before backref
 %to the citation
 %backref,%references back to sections
 ]{hyperref} %gimme the hyperref
%create thumbnails for PDF
\usepackage{thumbpdf}
\usepackage[figure]{hypcap}
\pdfcompresslevel=9
%%% Change layout of backref
\renewcommand*{\backref}[1]{%
% default interface
% #1: backref list
% We want to use the alternative interface,
% therefore the definition is empty here.
}%
\renewcommand*{\backrefalt}[4]{%
% alternative interface
% #1: number of distinct back references
% #2: backref list with distinct entries
% #3: number of back references including duplicates
% #4: backref list including duplicates
%%in case that pagebackref is used
\mbox{(Zitiert auf %
\ifnum#1=1 %
Seite~%
\else
Seiten~%
\fi
#2)}%
}
%%in case that backref/ref is used
% \renewcommand*{\backref}[1]{}
% \renewcommand*{\backrefalt}[4]{%
% \ifcase #1 %
% No citations.%
% \or
% One citation in section #2.%
% \else
% #1 citations in sections #2.%
% \fi
% }
%%%End: layout of backref
%\usepackage{hypernat}
\else % if dvi or ps is produced
%%% link all cross references and URLs in DVI output
%%no changes in DVI
\pdffalse
% \usepackage[ps2pdf, a4paper,
%   breaklines=true,
%   colorlinks=true,
%   linkcolor=black,
%   citecolor=black,
%   urlcolor=black,
%   filecolor=black]{hyperref}
% \usepackage[pageref] {backref}%backreferencing in DVI/PS, options: ref 
(sections) / pageref (pages)

\fi % end if pdflatex is used

You can savely take off all lines with % at the beginning.
Its taken from my all-in-on preamble...

If you have questions feel free to ask!

Timmie



Re: Layout questions

2008-03-06 Thread Ignacio García
2008/3/6, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Thanks! Is it possible to remove the red frames that appeas around the 
 sections in the table of content? I am new to LyX, maybe I will find it a 
 very usefull program!

  Ignacio García-6 wrote:
  
   TriKri wrote
   Then I also have a question about the chapter linking
in the generated pdf file. Is it possible to make the chapters
in the table of content link to the places in the document
where the chapters are located? This is not as
important though, just a cool feature! B-)
  
   Try adding in the LaTeX preamble of your document:
  
   \usepackage[bookmarks]{hyperref}
  

Try adding in the LaTeX preamble of your document:

\usepackage[bookmarks,pdfborder=false]{hyperref}

Ignacio


Re: Layout questions

2008-03-06 Thread David Hewitt

This did it! Excellent. Thanks.


Ignacio García-6 wrote:
 
 2008/3/6, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Thanks! Is it possible to remove the red frames that appeas around the
 sections in the table of content? I am new to LyX, maybe I will find it a
 very usefull program!

  Ignacio García-6 wrote:
  
   TriKri wrote
   Then I also have a question about the chapter linking
in the generated pdf file. Is it possible to make the chapters
in the table of content link to the places in the document
where the chapters are located? This is not as
important though, just a cool feature! B-)
  
   Try adding in the LaTeX preamble of your document:
  
   \usepackage[bookmarks]{hyperref}
  
 
 Try adding in the LaTeX preamble of your document:
 
 \usepackage[bookmarks,pdfborder=false]{hyperref}
 
 Ignacio
 
 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Layout-questions-tp15873118p15885362.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Layout questions

2008-03-06 Thread TriKri

Hello!

I am writing my physics report using LyX. I write the text in word and then
I import it into LyX. I like LyX since it is so strict and fixes much
problem thanks of that, but it also creates some problem, if you don't know
how to do it correctly of course.

Since I'm writing a report, the top level branches in the document are
chapters. But it shows like "Chapter 1", then a new line, the "Introduction"
(say my first chapter is intro). Instead I want it to be "1 Introduction".
And a section, "1.1 The first section", etc. How do I fix that?

My next question is about the page numbers. At the title page and at the
abstract page there is no page numbers. On the content page on the other
hand there is, and it is 2. 2? Why? Then the first chapter comes and it has
page number 1 as it should. ^^ Why is there a 2 as page number at the
content page where there should really be no page number and how do I
change/fix it? The first page number should be where chapter 1 starts.

My third question is about formatting the text. On the title page, I write
the title, the author (which is my name), then I also want to write the name
of my university, its location and finally the date of today. All this is
going to be on separate rows. I can only find title, author, and date in the
scroll down bar, but not the rest. How do I enter those two? As standard
text? In that case I also haven't found any way to center the text.  I would
also like to be able to format the text more. Running text for example, is
it even possible to center it? Or to make it bigger or with another font?
Can I make custom text styles? How do I choose if the paragraphs are going
to be justified or not, or whether a new paragraph is going to be marked by
indenting the first line or making an empty line before it?

Then I also have a question about the chapter linking in the generated pdf
file. Is it possible to make the chapters in the table of content link to
the places in the document where the chapters are located? This is not as
important though, just a cool feature! B-)
-- 
View this message in context: 
http://www.nabble.com/Layout-questions-tp15873118p15873118.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Layout questions

2008-03-06 Thread Liviu Andronic
On 3/6/08, TriKri <[EMAIL PROTECTED]> wrote:
>  Since I'm writing a report, the top level branches in the document are
>  chapters. But it shows like "Chapter 1", then a new line, the "Introduction"
>  (say my first chapter is intro). Instead I want it to be "1 Introduction".
>  And a section, "1.1 The first section", etc. How do I fix that?

Try to use "Chapter*" (note the asterisk) from the combobox.


>
>  My next question is about the page numbers. At the title page and at the
>  abstract page there is no page numbers. On the content page on the other
>  hand there is, and it is 2. 2? Why?

Try \setcounter{page}{-1} in the preamble. Experiment with different
numbers (say, "0") so as to suit your document.

>  My third question is about formatting the text. On the title page, I write
>  the title, the author (which is my name), then I also want to write the name
>  of my university, its location and finally the date of today. All this is
>  going to be on separate rows. I can only find title, author, and date in the
>  scroll down bar, but not the rest. How do I enter those two?

I am afraid you'll need to pass through ERT, that is TeX code. You
might find this example [1] useful.


>  Then I also have a question about the chapter linking in the generated pdf
>  file. Is it possible to make the chapters in the table of content link to
>  the places in the document where the chapters are located? This is not as
>  important though, just a cool feature! B-)

Check the wiki for this. I used it once, but don't remember what did
the trick. This [2] wiki page should be of interest. Also try the
Unsorted FAQs.

Hope this is of help,
Liviu

[1] http://en.wikibooks.org/wiki/LaTeX/Title_Creation
[2] http://wiki.lyx.org/FAQ/PDF


Re: Layout questions

2008-03-06 Thread Ignacio García
TriKri wrote:
>> My third question is about formatting the text. On the title page, I write
>> the title, the author (which is my name), then I also want to write the name
>>  of my university, its location and finally the date of today. All this is
>> going to be on separate rows. I can only find title, author, and date in the
>> scroll down bar, but not the rest. How do I enter those two?

You have some options:
-- Pressing Ctrl-Enter you can write more lines without exits the layout:
   E.g:  Author  then Ctrl-Enter
   University namethen Ctrl-Enter
  Location

-- You can try other layouts, e.g. "Editors" ; this is available if you choose
   the "report  (koma.script)" document class.

>> As standard text? In that case I also haven't found any way to
center the text.
>>  I would also like to be able to format the text more. Running text
for example,
>>  is it even possible to center it? Or to make it bigger or with another font?
>> Can I make custom text styles? How do I choose if the paragraphs are going
>> to be justified or not, or whether a new paragraph is going to be marked by
>> indenting the first line or making an empty line before it?

All that is possible. I suggest you have a look at help docs and/or
explore the toolbar buttons. All is explained there.

Ignacio

PD Perhaps it would be easier writing directly on LyX...


Re: Layout questions

2008-03-06 Thread Steve Litt
On Thursday 06 March 2008 08:42, TriKri wrote:
> Hello!
>
> I am writing my physics report using LyX. I write the text in word and then
> I import it into LyX. I like LyX since it is so strict and fixes much
> problem thanks of that, but it also creates some problem, if you don't know
> how to do it correctly of course.
>
> Since I'm writing a report, the top level branches in the document are
> chapters. But it shows like "Chapter 1", then a new line, the
> "Introduction" (say my first chapter is intro). Instead I want it to be "1
> Introduction". 

You might need to do a \renewenvironment{} on the \chapter environment, within 
your layout file. Search your book.cls file (mine's 
in /usr/share/texmf/tex/latex/base/) for chapter, and you'll see definitions 
of \chapter, [EMAIL PROTECTED], and \makechapterhead etc. You need to redefine 
it not 
to print "Chapter", which I believe is the command \thechapter, and get rid 
of the vertical space skipped.

Remember, you do not change the code 
in /usr/share/texmf/tex/latex/base/book.cls, you do it with \renewenvironment 
and \renewcommand commands within your layout file.

Obviously, if you're not using the book document class, do this for whatever 
document class you're using.


> And a section, "1.1 The first section", etc. How do I fix 
> that?

Similar method.

>
> My next question is about the page numbers. At the title page and at the
> abstract page there is no page numbers. On the content page on the other
> hand there is, and it is 2. 2? Why? Then the first chapter comes and it has
> page number 1 as it should. ^^ Why is there a 2 as page number at the
> content page where there should really be no page number and how do I
> change/fix it? The first page number should be where chapter 1 starts.

See my answer to your next question.
>
> My third question is about formatting the text. On the title page, I write
> the title, the author (which is my name), then I also want to write the
> name of my university, its location and finally the date of today. All this
> is going to be on separate rows. I can only find title, author, and date in
> the scroll down bar, but not the rest. How do I enter those two? As
> standard text? In that case I also haven't found any way to center the
> text.  I would also like to be able to format the text more. Running text
> for example, is it even possible to center it? Or to make it bigger or with
> another font? Can I make custom text styles? How do I choose if the
> paragraphs are going to be justified or not, or whether a new paragraph is
> going to be marked by indenting the first line or making an empty line
> before it?

It's my fevent belief that the frontmatter of any book should be cobbled 
together with custom environments and ERT, because the frontmatter is not 
meant to be uniform throughout, it is not meant to be uniform across books, 
and it IS meant to be fine tuned to be just how you want it. Trying to 
wrangle a document class to do what you want in the frontmatter is extremely 
difficult.

If you simply build your frontmatter with ERT and custom environments, getting 
it exactly like you want will be easy. Doing this also gives you complete 
control over page numbering within the frontmatter.

>
> Then I also have a question about the chapter linking in the generated pdf
> file. Is it possible to make the chapters in the table of content link to
> the places in the document where the chapters are located? This is not as
> important though, just a cool feature! B-)

I think that automatically happens if you do this:

lyx -e pdf lyxfilename.lyx

SteveT

Steve Litt
Books written in LyX:
Troubleshooting Techniques of the Successful Technologist
Twenty Eight Tales of Troubleshooting
Troubleshooting: Just the Facts


Re: Layout questions

2008-03-06 Thread Ignacio García
TriKri wrote
>> Then I also have a question about the chapter linking
>>  in the generated pdf file. Is it possible to make the chapters
>>  in the table of content link to the places in the document
>>  where the chapters are located? This is not as
>>  important though, just a cool feature! B-)

Try adding in the LaTeX preamble of your document:

\usepackage[bookmarks]{hyperref}

regards
Ignacio


Re: Layout questions

2008-03-06 Thread David Hewitt



>>> Then I also have a question about the chapter linking
>>>  in the generated pdf file. Is it possible to make the chapters
>>>  in the table of content link to the places in the document
>>>  where the chapters are located?
> 
> Try adding in the LaTeX preamble of your document:
> 
> \usepackage[bookmarks]{hyperref}
> 

That works, but you get red and green boxes around the things that are
linked... is it possible to turn those off and have the hyperrefs in
"stealth" mode?


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Layout-questions-tp15873118p15882792.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: Layout questions

2008-03-06 Thread Tim Michelsen

That works, but you get red and green boxes around the things that are
linked... is it possible to turn those off and have the hyperrefs in
"stealth" mode?

I don't know what stealth mode is.

But you may use this in your preamble to get a PDF with black links and 
no borders:


\usepackage{ifpdf}
\ifpdf
% set fonts for nicer pdf view
\IfFileExists{lmodern.sty}
 {\usepackage{lmodern}} % if it exists
 {% if it exists not
  \usepackage[scaled=0.92]{helvet}
  \usepackage{mathptmx}
  \usepackage{courier}
 } % end if it exists not
% link all cross references and URLs
% in pdf output
\usepackage[pdftex,a4paper,%see ../hyperref/manual.pdf & 
pdftex.dante01.pdf , mst be last loaded style
 %breaklines={false},%break links across lines? false or true? better 
deactivate
 bookmarks={true},%generate bookmarks in pdf? run "$: pdftex 
thefile.tex" twice

 bookmarksopen={true},%should bookmarks be expanded? full subtrees?
 bookmarksnumbered={true},%section numbers in bookmarks?
 pdftitle={YOURTITLE},%give in the title
 pdfauthor={YOURNAME},%who's quilty for all this?
 pdfcreator={LyX, LaTeX with hyperref and KOMA-Script},
 pdfkeywords={YOURKEYWORDS},%type in some keywords...
 pdfsubject={YOURSUBJECT},%what is it all 'bout?
 %baseurl{www.myurl.org},%set base url of doc, not important
 %pdfpagelabels & plainpages=false should be set if roman and arabic 
page numbers are mixed: see 
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=pdfpagelabels

 pdfpagelabels,
 plainpages=false,
 pdfpagemode={UseOutlines},%how should the file open in Acro? None, 
UseThumbs, UseOutlines, FullScreen
 pdfstartpage={1},%start on which page? counts pagenno.=if titlepage 
emtpy {1} starts on 2nd page
 pdfstartview=Fit,%startup page view: Fit=Actual Size, FitB=Fit 
Width,FitH=Fit Visible>presentation

 pdfview=FitH,%sets the default view for each link
 %pdfhightlight=/P,%behavior of link buttons: /I =inverse (def.), /N 
=no fx., /P = highlighting

 colorlinks=true,%important for links without frames...
% set link colors to black for printouts
 linkcolor=black,%internal links
 urlcolor=black, %external links
 filecolor=black, %file links
 citecolor=black,%citation links
% uncomment for a screen optimized PDF with colored links
%  colorlinks=true,%important for links without frames...
%  linkcolor=blue,%internal links
%  urlcolor=red, %external links
%  filecolor=red, %file links
 %%backlinks
 %to the citation page
 pagebackref,%references back to pages: has priority before backref
 %to the citation
 %backref,%references back to sections
 ]{hyperref} %gimme the hyperref
%create thumbnails for PDF
\usepackage{thumbpdf}
\usepackage[figure]{hypcap}
\pdfcompresslevel=9
%%% Change layout of backref
\renewcommand*{\backref}[1]{%
% default interface
% #1: backref list
% We want to use the alternative interface,
% therefore the definition is empty here.
}%
\renewcommand*{\backrefalt}[4]{%
% alternative interface
% #1: number of distinct back references
% #2: backref list with distinct entries
% #3: number of back references including duplicates
% #4: backref list including duplicates
%%in case that pagebackref is used
\mbox{(Zitiert auf %
\ifnum#1=1 %
Seite~%
\else
Seiten~%
\fi
#2)}%
}
%%in case that backref/ref is used
% \renewcommand*{\backref}[1]{}
% \renewcommand*{\backrefalt}[4]{%
% \ifcase #1 %
% No citations.%
% \or
% One citation in section #2.%
% \else
% #1 citations in sections #2.%
% \fi
% }
%%%End: layout of backref
%\usepackage{hypernat}
\else % if dvi or ps is produced
%%% link all cross references and URLs in DVI output
%%no changes in DVI
\pdffalse
% \usepackage[ps2pdf, a4paper,
%   breaklines=true,
%   colorlinks=true,
%   linkcolor=black,
%   citecolor=black,
%   urlcolor=black,
%   filecolor=black]{hyperref}
% \usepackage[pageref] {backref}%backreferencing in DVI/PS, options: ref 
(sections) / pageref (pages)

\fi % end if pdflatex is used

You can savely take off all lines with % at the beginning.
Its taken from my all-in-on preamble...

If you have questions feel free to ask!

Timmie



Re: Layout questions

2008-03-06 Thread Ignacio García
2008/3/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Thanks! Is it possible to remove the red frames that appeas around the 
> sections in the table of content? I am new to LyX, maybe I will find it a 
> very usefull program!
>
>  Ignacio García-6 wrote:
>  >
>  > TriKri wrote
>  >>> Then I also have a question about the chapter linking
>  >>>  in the generated pdf file. Is it possible to make the chapters
>  >>>  in the table of content link to the places in the document
>  >>>  where the chapters are located? This is not as
>  >>>  important though, just a cool feature! B-)
>  >
>  > Try adding in the LaTeX preamble of your document:
>  >
>  > \usepackage[bookmarks]{hyperref}
>  >

Try adding in the LaTeX preamble of your document:

\usepackage[bookmarks,pdfborder=false]{hyperref}

Ignacio


Re: Layout questions

2008-03-06 Thread David Hewitt

This did it! Excellent. Thanks.


Ignacio García-6 wrote:
> 
> 2008/3/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> Thanks! Is it possible to remove the red frames that appeas around the
>> sections in the table of content? I am new to LyX, maybe I will find it a
>> very usefull program!
>>
>>  Ignacio García-6 wrote:
>>  >
>>  > TriKri wrote
>>  >>> Then I also have a question about the chapter linking
>>  >>>  in the generated pdf file. Is it possible to make the chapters
>>  >>>  in the table of content link to the places in the document
>>  >>>  where the chapters are located? This is not as
>>  >>>  important though, just a cool feature! B-)
>>  >
>>  > Try adding in the LaTeX preamble of your document:
>>  >
>>  > \usepackage[bookmarks]{hyperref}
>>  >
> 
> Try adding in the LaTeX preamble of your document:
> 
> \usepackage[bookmarks,pdfborder=false]{hyperref}
> 
> Ignacio
> 
> 


-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Layout-questions-tp15873118p15885362.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Basic layout questions

2006-05-26 Thread Jerome Tuncer

Hello list,

Here I am, back with my layout beginner questions.

Is there a way I can have my appendixes to actually show that they are 
appendixes besides being numbererd by letters instead of actual 
numbers? Such as by displaying Appendixes before they start, that is 
at the end in my document and in the TOC.


Thanks,


Jé


Re: Basic layout questions

2006-05-26 Thread Richard Heck

Packages like titlesec and tocloft should handle this.

Jerome Tuncer wrote:
 Hello list,

 Here I am, back with my layout beginner questions.

 Is there a way I can have my appendixes to actually show that they are
 appendixes besides being numbererd by letters instead of actual
 numbers? Such as by displaying Appendixes before they start, that is
 at the end in my document and in the TOC.

 Thanks,


 Jé



Basic layout questions

2006-05-26 Thread Jerome Tuncer

Hello list,

Here I am, back with my layout beginner questions.

Is there a way I can have my appendixes to actually show that they are 
appendixes besides being numbererd by letters instead of actual 
numbers? Such as by displaying Appendixes before they start, that is 
at the end in my document and in the TOC.


Thanks,


Jé


Re: Basic layout questions

2006-05-26 Thread Richard Heck

Packages like titlesec and tocloft should handle this.

Jerome Tuncer wrote:
 Hello list,

 Here I am, back with my layout beginner questions.

 Is there a way I can have my appendixes to actually show that they are
 appendixes besides being numbererd by letters instead of actual
 numbers? Such as by displaying Appendixes before they start, that is
 at the end in my document and in the TOC.

 Thanks,


 Jé



Basic layout questions

2006-05-26 Thread Jerome Tuncer

Hello list,

Here I am, back with my layout beginner questions.

Is there a way I can have my appendixes to actually show that they are 
appendixes besides being "numbererd" by letters instead of actual 
numbers? Such as by displaying "Appendixes" before they start, that is 
at the end in my document and in the TOC.


Thanks,


Jé


Re: Basic layout questions

2006-05-26 Thread Richard Heck

Packages like titlesec and tocloft should handle this.

Jerome Tuncer wrote:
> Hello list,
>
> Here I am, back with my layout beginner questions.
>
> Is there a way I can have my appendixes to actually show that they are
> appendixes besides being "numbererd" by letters instead of actual
> numbers? Such as by displaying "Appendixes" before they start, that is
> at the end in my document and in the TOC.
>
> Thanks,
>
>
> Jé



Layout questions

2000-03-28 Thread M.C. Kruithof

I have some questions on how to create a layout:
what I want is a Title page with a Title, author, no date and some other
data, I also want to be able to use chapters but without a label saying
for example chapter 1.
I hope someone knows how to do this.

--
Maarten C. Kruithof
Faculty of Aplied Physics
Delft University of Technology
The Netherlands
--





Layout questions

2000-03-28 Thread M.C. Kruithof

I have some questions on how to create a layout:
what I want is a Title page with a Title, author, no date and some other
data, I also want to be able to use chapters but without a label saying
for example chapter 1.
I hope someone knows how to do this.

--
Maarten C. Kruithof
Faculty of Aplied Physics
Delft University of Technology
The Netherlands
--





Layout questions

2000-03-28 Thread M.C. Kruithof

I have some questions on how to create a layout:
what I want is a Title page with a Title, author, no date and some other
data, I also want to be able to use chapters but without a label saying
for example chapter 1.
I hope someone knows how to do this.

--
Maarten C. Kruithof
Faculty of Aplied Physics
Delft University of Technology
The Netherlands
--