Re: Fwd: Re: Question on creating layouts

2016-04-26 Thread gordon cooper

 You are right! Many thanks Michael.

Gordon.


On 27/04/16 01:33, Michael Berger wrote:

Gordon probably forgot to address the list!?
Michael Berger


 Forwarded Message 
Subject: Re: Question on creating layouts
Date: Tue, 26 Apr 2016 19:27:25 +1200
From: gordon cooper <gordon_coo...@kinect.co.nz>
To: Michael Berger <id...@online.de>



Have successfully done this style of class using Koma Article for a

100+ page technical manual.

Gordon.



On 26/04/16 19:13, Michael Berger wrote:



On 04/26/2016 12:15 AM, Ryan Nicholl wrote:

Hello! I have a problem, I need to create a custom class, but I can't
figure out how to do this using the online documentation. It's rather
confusing to me...

I need several levels of organization:

Title
Chapter
Article
Part
Section
Subsection

All of these need to show up in the table of contents, each is nested
except subsection which does not nest within a section.

A section would look like:

Section -- Foo

in the document, and subsection like:


Section
--. Foo

Could anyone point me towards guide(s) for doing this type of thing?

Thank you,
Ryan P. Nicholl
(678)358-7765
r.p.nich...@gmail.com <mailto:r.p.nich...@gmail.com>


Hi Ryan,
may be this will help:
http://stefaanlippens.net/customLaTeXclassesinLyX

Don't you think one of the KOMA classes offered by LyX can satisfy
your requirements?

Michael Berger












Re: Question on creating layouts

2016-04-26 Thread Richard Heck
On 04/25/2016 06:15 PM, Ryan Nicholl wrote:
> Hello! I have a problem, I need to create a custom class, but I can't
> figure out how to do this using the online documentation. It's rather
> confusing to me...

If you need a completely customized class, then there are two sorts of
things you need to do. The first is at the LaTeX level: You need to
write a class (cls) file, or else at least write a pacakge file (sty)
that provides the additional functionality. I'm afraid there is not much
to say about how to do this other than: You will need to learn a lot of
LaTeX. I personally find the /Guide to LaTeX/ and /LaTeX Companion/
really helpful. Looking at how the basic files that are provided with
LaTeX work is also helpful. In your case, I'd guess that book.cls is
pretty close to what you need. As someone else mentioned, though, the
Koma Script classes are extremely flexible, and it may be that you could
adapt them to your needs. They come with extensive documentation. Look
for the file scrguien.pdf on your computer. Or just look online.

If you can handle the LaTeX part, then you will need a LyX layout file
for the new class. Writing these is less difficult, and you can probably
just adapt the one for book.cls or, if you use Koma Script, for
scrbook.cls. Documentation for this is found in the Customization
manual, chapter 5. People here will be happy to offer help on the LyX
part and, in so far as we can, on the LaTeX part. But not everyone here
is really expert with LaTeX.

Richard

PS It looks as if maybe you are trying to create a collection of
articles. If so, then you might have a look at the combine.cls class.
See these web resources, too:

https://pastcounts.wordpress.com/2010/12/20/how-to-construct-a-collection-of-articles-with-latex/

http://latex-community.org/forum/viewtopic.php?f=4=12030

http://tex.stackexchange.com/questions/110544/book-option-of-the-combine-document-class




Fwd: Re: Question on creating layouts

2016-04-26 Thread Michael Berger

Gordon probably forgot to address the list!?
Michael Berger


 Forwarded Message 
Subject:Re: Question on creating layouts
Date:   Tue, 26 Apr 2016 19:27:25 +1200
From:   gordon cooper <gordon_coo...@kinect.co.nz>
To: Michael Berger <id...@online.de>



Have successfully done this style of class using Koma Article for a

100+ page technical manual.

Gordon.



On 26/04/16 19:13, Michael Berger wrote:



On 04/26/2016 12:15 AM, Ryan Nicholl wrote:

Hello! I have a problem, I need to create a custom class, but I can't
figure out how to do this using the online documentation. It's rather
confusing to me...

I need several levels of organization:

Title
Chapter
Article
Part
Section
Subsection

All of these need to show up in the table of contents, each is nested
except subsection which does not nest within a section.

A section would look like:

Section -- Foo

in the document, and subsection like:


Section
--. Foo

Could anyone point me towards guide(s) for doing this type of thing?

Thank you,
Ryan P. Nicholl
(678)358-7765
r.p.nich...@gmail.com <mailto:r.p.nich...@gmail.com>


Hi Ryan,
may be this will help:
http://stefaanlippens.net/customLaTeXclassesinLyX

Don't you think one of the KOMA classes offered by LyX can satisfy
your requirements?

Michael Berger









Re: Question on creating layouts

2016-04-26 Thread Michael Berger



On 04/26/2016 12:15 AM, Ryan Nicholl wrote:
Hello! I have a problem, I need to create a custom class, but I can't 
figure out how to do this using the online documentation. It's rather 
confusing to me...


I need several levels of organization:

Title
Chapter
Article
Part
Section
Subsection

All of these need to show up in the table of contents, each is nested 
except subsection which does not nest within a section.


A section would look like:

Section -- Foo

in the document, and subsection like:


Section 
--. Foo


Could anyone point me towards guide(s) for doing this type of thing?

Thank you,
Ryan P. Nicholl
(678)358-7765
r.p.nich...@gmail.com 


Hi Ryan,
may be this will help:
http://stefaanlippens.net/customLaTeXclassesinLyX

Don't you think one of the KOMA classes offered by LyX can satisfy your 
requirements?


Michael Berger



Question on creating layouts

2016-04-25 Thread Ryan Nicholl
Hello! I have a problem, I need to create a custom class, but I can't
figure out how to do this using the online documentation. It's rather
confusing to me...

I need several levels of organization:

Title
Chapter
Article
Part
Section
Subsection

All of these need to show up in the table of contents, each is nested
except subsection which does not nest within a section.

A section would look like:

Section -- Foo

in the document, and subsection like:


Section --.
Foo

Could anyone point me towards guide(s) for doing this type of thing?

Thank you,
Ryan P. Nicholl
(678)358-7765
r.p.nich...@gmail.com