Re: dontprintsection heading

2011-04-10 Thread george legge
Thank you RIchard for your reply. I took your advice and found the memoir
command:
\section{*toc-title*][*head-title*]{*title*} allows me to set all
three titles independently,
So, I just left the last one blank and separately inserted a margin note
with the *title.*
Cheers, George

On Fri, Apr 8, 2011 at 9:34 PM, Richard Heck rgh...@comcast.net wrote:

 On 04/08/2011 03:45 AM, george legge wrote:

 Dear LyX Listers,
 Is there a simple way to prevent a section heading from printing out in
 the text?
 I am using memoir and companion.

 I wish to place my section headings in the margin and also have them
 appear in the TOC and in the appropriate headers.


 (i) Dig into the internals of whatever document class you are using, and
 redefine the command that prints the section heading.


Re: dontprintsection heading

2011-04-10 Thread george legge
Thank you RIchard for your reply. I took your advice and found the memoir
command:
\section{*toc-title*][*head-title*]{*title*} allows me to set all
three titles independently,
So, I just left the last one blank and separately inserted a margin note
with the *title.*
Cheers, George

On Fri, Apr 8, 2011 at 9:34 PM, Richard Heck rgh...@comcast.net wrote:

 On 04/08/2011 03:45 AM, george legge wrote:

 Dear LyX Listers,
 Is there a simple way to prevent a section heading from printing out in
 the text?
 I am using memoir and companion.

 I wish to place my section headings in the margin and also have them
 appear in the TOC and in the appropriate headers.


 (i) Dig into the internals of whatever document class you are using, and
 redefine the command that prints the section heading.


Re: dontprintsection heading

2011-04-10 Thread george legge
Thank you RIchard for your reply. I took your advice and found the memoir
command:
\section{<*toc-title*>][<*head-title>*]{<*title*>} allows me to set all
three titles independently,
So, I just left the last one blank and separately inserted a margin note
with the <*title>.*
Cheers, George

On Fri, Apr 8, 2011 at 9:34 PM, Richard Heck  wrote:

> On 04/08/2011 03:45 AM, george legge wrote:
>
>> Dear LyX Listers,
>> Is there a simple way to prevent a section heading from printing out in
>> the text?
>> I am using memoir and companion.
>>
>> I wish to place my section headings in the margin and also have them
>> appear in the TOC and in the appropriate headers.
>>
>
> (i) Dig into the internals of whatever document class you are using, and
> redefine the command that prints the section heading.


dontprintsection heading

2011-04-08 Thread george legge
Dear LyX Listers,
Is there a simple way to prevent a section heading from printing out in the
text?
I am using memoir and companion.

I wish to place my section headings in the margin and also have them appear
in the TOC and in the appropriate headers.
LyX was not happy when I inserted one as a margin note and called it a
section. I have since read that this is not allowed.

So, I inserted it as normal in the text, called it a section and then
inserted the same words as a margin note.
That is fine: it appears in the TOC, in the appropriate headers, in the
margin and in the text (as a section heading).
Now all I need to do is stop it printing out in the text. I tried ERT but
don't know enough.
I wish it to be recognized as a section heading but just not print out in
the text.

Can anyone help please?

George Legge


Re: dontprintsection heading

2011-04-08 Thread Richard Heck

On 04/08/2011 03:45 AM, george legge wrote:

Dear LyX Listers,
Is there a simple way to prevent a section heading from printing out 
in the text?

I am using memoir and companion.

I wish to place my section headings in the margin and also have them 
appear in the TOC and in the appropriate headers.
LyX was not happy when I inserted one as a margin note and called it a 
section. I have since read that this is not allowed.


So, I inserted it as normal in the text, called it a section and then 
inserted the same words as a margin note.
That is fine: it appears in the TOC, in the appropriate headers, in 
the margin and in the text (as a section heading).
Now all I need to do is stop it printing out in the text. I tried ERT 
but don't know enough.
I wish it to be recognized as a section heading but just not print out 
in the text.


This kind of customization needs to be done by customizing the \section 
command itself---or, rather, the other commands that actually print the 
section heading. If you start a section, then the document class is 
going to print that heading. That's what it does. That's what it's for.


Customizing this can be done in one of three ways:

(i) Dig into the internals of whatever document class you are using, and 
redefine the command that prints the section heading. Or, if it seems to 
make more sense, just redefine \section from scratch.


(ii) Use the titlesec package, which allows all kinds of customization 
of how headings are printed.


(iii) Some document classes (and memoir is one of them, if I remember 
correctly) provide facilities similar to those provided by titlesec. So 
you can use that to do your customization.


Doing any of these things means getting your hands dirty with LaTeX, of 
course. Basically, you are designing your own document class, by 
modifying one.


Richard

I do not use memoir myself, but I know that it has


dontprintsection heading

2011-04-08 Thread george legge
Dear LyX Listers,
Is there a simple way to prevent a section heading from printing out in the
text?
I am using memoir and companion.

I wish to place my section headings in the margin and also have them appear
in the TOC and in the appropriate headers.
LyX was not happy when I inserted one as a margin note and called it a
section. I have since read that this is not allowed.

So, I inserted it as normal in the text, called it a section and then
inserted the same words as a margin note.
That is fine: it appears in the TOC, in the appropriate headers, in the
margin and in the text (as a section heading).
Now all I need to do is stop it printing out in the text. I tried ERT but
don't know enough.
I wish it to be recognized as a section heading but just not print out in
the text.

Can anyone help please?

George Legge


Re: dontprintsection heading

2011-04-08 Thread Richard Heck

On 04/08/2011 03:45 AM, george legge wrote:

Dear LyX Listers,
Is there a simple way to prevent a section heading from printing out 
in the text?

I am using memoir and companion.

I wish to place my section headings in the margin and also have them 
appear in the TOC and in the appropriate headers.
LyX was not happy when I inserted one as a margin note and called it a 
section. I have since read that this is not allowed.


So, I inserted it as normal in the text, called it a section and then 
inserted the same words as a margin note.
That is fine: it appears in the TOC, in the appropriate headers, in 
the margin and in the text (as a section heading).
Now all I need to do is stop it printing out in the text. I tried ERT 
but don't know enough.
I wish it to be recognized as a section heading but just not print out 
in the text.


This kind of customization needs to be done by customizing the \section 
command itself---or, rather, the other commands that actually print the 
section heading. If you start a section, then the document class is 
going to print that heading. That's what it does. That's what it's for.


Customizing this can be done in one of three ways:

(i) Dig into the internals of whatever document class you are using, and 
redefine the command that prints the section heading. Or, if it seems to 
make more sense, just redefine \section from scratch.


(ii) Use the titlesec package, which allows all kinds of customization 
of how headings are printed.


(iii) Some document classes (and memoir is one of them, if I remember 
correctly) provide facilities similar to those provided by titlesec. So 
you can use that to do your customization.


Doing any of these things means getting your hands dirty with LaTeX, of 
course. Basically, you are designing your own document class, by 
modifying one.


Richard

I do not use memoir myself, but I know that it has


dontprintsection heading

2011-04-08 Thread george legge
Dear LyX Listers,
Is there a simple way to prevent a section heading from printing out in the
text?
I am using memoir and companion.

I wish to place my section headings in the margin and also have them appear
in the TOC and in the appropriate headers.
LyX was not happy when I inserted one as a margin note and called it a
section. I have since read that this is not allowed.

So, I inserted it as normal in the text, called it a section and then
inserted the same words as a margin note.
That is fine: it appears in the TOC, in the appropriate headers, in the
margin and in the text (as a section heading).
Now all I need to do is stop it printing out in the text. I tried ERT but
don't know enough.
I wish it to be recognized as a section heading but just not print out in
the text.

Can anyone help please?

George Legge


Re: dontprintsection heading

2011-04-08 Thread Richard Heck

On 04/08/2011 03:45 AM, george legge wrote:

Dear LyX Listers,
Is there a simple way to prevent a section heading from printing out 
in the text?

I am using memoir and companion.

I wish to place my section headings in the margin and also have them 
appear in the TOC and in the appropriate headers.
LyX was not happy when I inserted one as a margin note and called it a 
section. I have since read that this is not allowed.


So, I inserted it as normal in the text, called it a section and then 
inserted the same words as a margin note.
That is fine: it appears in the TOC, in the appropriate headers, in 
the margin and in the text (as a section heading).
Now all I need to do is stop it printing out in the text. I tried ERT 
but don't know enough.
I wish it to be recognized as a section heading but just not print out 
in the text.


This kind of customization needs to be done by customizing the \section 
command itself---or, rather, the other commands that actually print the 
section heading. If you start a section, then the document class is 
going to print that heading. That's what it does. That's what it's for.


Customizing this can be done in one of three ways:

(i) Dig into the internals of whatever document class you are using, and 
redefine the command that prints the section heading. Or, if it seems to 
make more sense, just redefine \section from scratch.


(ii) Use the titlesec package, which allows all kinds of customization 
of how headings are printed.


(iii) Some document classes (and memoir is one of them, if I remember 
correctly) provide facilities similar to those provided by titlesec. So 
you can use that to do your customization.


Doing any of these things means getting your hands dirty with LaTeX, of 
course. Basically, you are designing your own document class, by 
modifying one.


Richard

I do not use memoir myself, but I know that it has