Align headings and their outline numbers

2021-07-23 Thread Andreas Plihal

Hi,

 

as you know, I'm writing a KOMA book. 

 

How can I get all heading text to be left-justified and their associated section numbers right-justified? 

 

For a better understanding, I have enclosed a graphic that illustrates what I mean.

 

Greetings

Andreas
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Align headings and their outline numbers

2021-07-20 Thread Andreas Plihal
Hi,

 

as you know, I'm writing a KOMA book. 

 

How can I get all heading text to be left-justified and their associated section numbers right-justified? 

 

For a better understanding, I have enclosed a graphic that illustrates what I mean.

 

Greetings

Andreas

 -- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Changing colours of headings…

2021-02-13 Thread jezZiFeR
DEar Daniel,

thanks a lot, this works very well. I have also added the classoptions 
dvipsnames to have more possibilities. You saved my day… :)

All best
Jess


Am 13. Feb. 2021, 15:26 +0100 schrieb Daniel :
> On 2021-02-13 10:04, jezZiFeR wrote:
> > Hello,
> >
> > could someone please help me - even though it may seem ridiculous - to
> > change the colour of the headings in »Koma Script Report«? I don't want
> > to use the text styles, as I want to use a different colour for all the
> > headings across the board, so the text styles don't help.
> >
> > Also the documentation and at
> > https://komascript.de <https://komascript.de>
> > do not help me either.
> >
> > Could someone please give me a hint?
> >
> > Thanks in advance, all best
> > Jess
> >
>
> How about something like
>
> \usepackage{xcolor}
> \addtokomafont{disposition}{\color{red}}
>
> in your latex preamble?
>
> Best,
> Daniel
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Changing colours of headings…

2021-02-13 Thread Daniel

On 2021-02-13 10:04, jezZiFeR wrote:

Hello,

could someone please help me - even though it may seem ridiculous - to 
change the colour of the headings in »Koma Script Report«? I don't want 
to use the text styles, as I want to use a different colour for all the 
headings across the board, so the text styles don't help.


Also the documentation and at
https://komascript.de <https://komascript.de>
do not help me either.

Could someone please give me a hint?

Thanks in advance, all best
Jess



How about something like

\usepackage{xcolor}
\addtokomafont{disposition}{\color{red}}

in your latex preamble?

Best,
Daniel

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Changing colours of headings…

2021-02-13 Thread jezZiFeR
Hello,

could someone please help me - even though it may seem ridiculous - to change 
the colour of the headings in »Koma Script Report«? I don't want to use the 
text styles, as I want to use a different colour for all the headings across 
the board, so the text styles don't help.

Also the documentation and at
https://komascript.de
do not help me either.

Could someone please give me a hint?

Thanks in advance, all best
Jess
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding label to all headings automatically

2019-09-24 Thread Dr Eberhard Lisse
LyX also proposes a name if you manually add a label, so there must be
programming logic for the naming.  

If one could find that, and then use it for a script as below (probably
Python :-)-O) it might be really simple to implement :-)-O

Actually LyX notices if a document changes (for example when using RCS)
and then offers a reload :-)-O

el

On 19/09/2019 14:39, Steve Litt wrote:
[...]
> The first thing that I think of when confronted with this question is
> to make an AWK or Python program to go through the LyX file and add an
> intelligently named label to each heading that doesn't yet have a
> label.  Such a program would probably take 1 to 4 seconds to run,
> depending on the size of the LyX file.
> 
> Obviously, you'd need to close the document in LyX before running the
> external program on it.
> 
> SteveT
[...]



Re: Adding label to all headings automatically

2019-09-19 Thread Steve Litt
On Thu, 19 Sep 2019 10:18:55 +0100
Paul Evans  wrote:

> Hi 
> 
> I would be grateful for advice on how to enter labels automatically
> in all headings (Chapter, Section etc).
> 
> I wanted to achieve this as I am starting up a new document with
> multiple sections etc with the expectation that there will be
> multiple cross references.
> 
> I use the keyboard to start a new section or subsection. The obvious
> (!) solution seemed to be to change the relevant key shortcuts. I
> tried out the change in the mini buffer. Instead of 
> 
>  layout Section (as used for Crtl-P-2)
> 
> I tried 
> 
> command-sequence layout Section ; label-insert ; 
> 
> This opened the dialogue and pressing return completed the process,
> accepting the default label. However as I am happy with the defaults
> I tried to find a further command to add to the sequence to close and
> apply the dialog. I have found lots of options being used in similar
> cases but none does the job in this sequence. The various commands
> about paragraphs etc do not impact on the dialog and variations using
> inset-insert label seem to require explicit stating of the label
> required. 
> 
> This is my first serious venture into the world of LFUN and I assume
> I am missing something straightforward. Ultimately I can live with
> the solution I have got so far but it is frustrating not to find the
> necessary steps for a fully automatic solution.
> 
> So I have three questions:
> 
> Is there a simple command to close and apply the dialog that opens
> with the sequence I have? If not, is there a different command
> sequence that will do the job? Or, am I missing some other route or
> setting that would achieve the same ends? I am using Lyx2.3.0 with
> memoir class  for this document and running on OSX Mojave.
> 
> Many thanks
> 
> Paul Evans

The first thing that I think of when confronted with this question is
to make an AWK or Python program to go through the LyX file and add an
intelligently named label to each heading that doesn't yet have a
label. Such a program would probably take 1 to 4 seconds to run,
depending on the size of the LyX file.

Obviously, you'd need to close the document in LyX before running the
external program on it.

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/key
Twitter: http://www.twitter.com/stevelitt



Adding label to all headings automatically

2019-09-19 Thread Paul Evans
Hi 

I would be grateful for advice on how to enter labels automatically in all 
headings (Chapter, Section etc).

I wanted to achieve this as I am starting up a new document with multiple 
sections etc with the expectation that there will be multiple cross references.

I use the keyboard to start a new section or subsection. The obvious (!) 
solution seemed to be to change the relevant key shortcuts. I tried out the 
change in the mini buffer. Instead of 

 layout Section (as used for Crtl-P-2)

I tried 

command-sequence layout Section ; label-insert ; 

This opened the dialogue and pressing return completed the process, accepting 
the default label. However as I am happy with the defaults I tried to find a 
further command to add to the sequence to close and apply the dialog. I have 
found lots of options being used in similar cases but none does the job in this 
sequence. The various commands about paragraphs etc do not impact on the dialog 
and variations using inset-insert label seem to require explicit stating of the 
label required. 

This is my first serious venture into the world of LFUN and I assume I am 
missing something straightforward. Ultimately I can live with the solution I 
have got so far but it is frustrating not to find the necessary steps for a 
fully automatic solution.

So I have three questions:

Is there a simple command to close and apply the dialog that opens with the 
sequence I have?
If not, is there a different command sequence that will do the job?
Or, am I missing some other route or setting that would achieve the same ends?
I am using Lyx2.3.0 with memoir class  for this document and running on OSX 
Mojave.

Many thanks

Paul Evans

Re: how to get rid of dots in nomenclature subgroup headings

2016-07-10 Thread Karl Linek
Hello,

I'm using sections in my nomenclature. It worked well, but suddenly it
didn't work anymore. Studing the wiki ditn't help. Then I read this
letter. The command '\usepackage{ifthen}' in the preamble fixed all My
problems. Therefore one should add this command in the wiki 'Creating
Nomenclature with Sections'.

Nevertheless thank you for your steady work.



Am Mittwoch, den 07.10.2015, 13:56 +0200 schrieb Michael Berger:
> Dear Friends of LyX,
> in the nomenclature of my document (KOMAScript article) I use in the
> preamble
> 
>  \usepackage{ifthen}
> \renewcommand{\nomgroup}[1]{%
> \ifthenelse{\equal{#1}{C}}{\item[\textbf{Symbols}]}{%
> \ifthenelse{\equal{#1}{D}}{\item[\textbf{Numbers}]}{%
> \ifthenelse{\equal{#1}{B}}{\item[\textbf{Abbreviations}]}{%
> \ifthenelse{\equal{#1}{A}}{\item[\textbf{Definitions}]}{}
> }% B matches Abbreviations
> }% A matches Definitions
> }% C matches Symbols
> }% D matches Numbers
> 
> and in the LyX document
> \renewcommand{\nomlabel}[1]{#1\dotfill}
> \renewcommand{\nomname}{Nomenclature of Linguistic Terms}
> 
> I not only get dots in each entry as desired but also undesired dots
> after the subgroup headings as per screen shot.
> How to remove the dots after the subgroup headings?
> 
> Thanks and regards
> 
> 
> Michael Berger, Dipl. Ing.
> Im Borngrund 7a
> D-35606 Solms
> id...@online.de
> Fon: +49 6442 706509
> Fax: 032121247536
-- 





how to get rid of dots in nomenclature subgroup headings

2015-10-07 Thread Michael Berger

Dear Friends of LyX,
in the nomenclature of my document (KOMAScriptarticle) I use in the preamble

\usepackage{ifthen}

\renewcommand{\nomgroup}[1]{%

\ifthenelse{\equal{#1}{C}}{\item[\textbf{Symbols}]}{%

\ifthenelse{\equal{#1}{D}}{\item[\textbf{Numbers}]}{%

\ifthenelse{\equal{#1}{B}}{\item[\textbf{Abbreviations}]}{%

\ifthenelse{\equal{#1}{A}}{\item[\textbf{Definitions}]}{}

}% B matches Abbreviations

}% A matches Definitions

}% C matches Symbols

}% D matches Numbers

and in the LyX document \renewcommand{\nomlabel}[1]{#1\dotfill}

\renewcommand{\nomname}{Nomenclature of Linguistic Terms}

I not only get dots in each entry as desired but also undesired dots 
after the subgroup headings as per screen shot.

How to remove the dots after the subgroup headings?

Thanks and regards


Michael Berger, Dipl. Ing.
Im Borngrund 7a
D-35606 Solms
id...@online.de
Fon: +49 6442 706509
Fax: 032121247536
Linux member


Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Lyx-Gurus,

I am using KOMAscript book and I inserted a footer and header with fancyhdr
(I know one could also use scrpage).
After some playing around, I finally managed to have the footer and headers
as intended, except for two problems.

1. The font of the headers of indices like Contents, List of Figures
etc. is different from the rest of the document also I defined it the same
way. Here is my definition of header and footer:

\pagestyle{fancy}
% Kopfzeile
\fancyhead[LE]{\leftmark}
\fancyhead[RO]{\rightmark}
\fancyhead[C,RE,LO]{}
%Fußzeile
\fancyfoot[RO,LE]{\thepage}
\fancyfoot[RE,LO,CE,CO]{}


I placed it in front of all the indices.

2. I used

\usepackage{multicol}

\@ifundefined{chapter}

{\def\wilh@nomsection{section}}

{\def\wilh@nomsection{chapter}}

\def\thenomenclature{%

\begin{multicols}{2}[%

\csname\wilh@nomsection\endcsname*{\nomname}

\if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

\nompreamble]

\list{}{%

\labelwidth\nom@tempdim

\leftmargin\labelwidth

\advance\leftmargin\labelsep

\itemsep\nomitemsep

\let\makelabel\nomlabel}%

}

\def\endthenomenclature{%

\endlist

\end{multicols}

\nompostamble}


to get a two column nomenclature with the columns beginning below the
chapter title. Unfortunately Nomenclature is now not been recognized as
chapter title by the fancyhdr anymore.


Does anyone know what to do?


Thanks a lot!


Re: Headings with package fancyhdr

2015-05-04 Thread Jürgen Spitzmüller
2015-05-04 9:22 GMT+02:00 Aline Gautrein:

 2. I used

 \usepackage{multicol}

 \@ifundefined{chapter}

 {\def\wilh@nomsection{section}}

 {\def\wilh@nomsection{chapter}}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \csname\wilh@nomsection\endcsname*{\nomname}

 \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}


 to get a two column nomenclature with the columns beginning below the
 chapter title. Unfortunately Nomenclature is now not been recognized as
 chapter title by the fancyhdr anymore.


 Does anyone know what to do?



Try this instead:

\usepackage{multicol}

\def\thenomenclature{%

\begin{multicols}{2}[%

\addchap{\nomname}

\nompreamble]

\list{}{%

\labelwidth\nom@tempdim

\leftmargin\labelwidth

\advance\leftmargin\labelsep

\itemsep\nomitemsep

\let\makelabel\nomlabel}%

}

\def\endthenomenclature{%

\endlist

\end{multicols}

\nompostamble}



Jürgen




 Thanks a lot!




Re: Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Jürgen!

Thanks a lot! I switched to scrpage and used this comand in front of the
nomenclature entry:

\markboth{\MakeMarkcase{Nomenclature}}
{\MakeMarkcase{Nomenclature}}

Works fine :-)

2015-05-04 9:34 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org:

 2015-05-04 9:22 GMT+02:00 Aline Gautrein:

 2. I used

 \usepackage{multicol}

 \@ifundefined{chapter}

 {\def\wilh@nomsection{section}}

 {\def\wilh@nomsection{chapter}}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \csname\wilh@nomsection\endcsname*{\nomname}

 \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}


 to get a two column nomenclature with the columns beginning below the
 chapter title. Unfortunately Nomenclature is now not been recognized as
 chapter title by the fancyhdr anymore.


 Does anyone know what to do?



 Try this instead:

 \usepackage{multicol}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \addchap{\nomname}

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}



 Jürgen




 Thanks a lot!





Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Lyx-Gurus,

I am using KOMAscript book and I inserted a footer and header with fancyhdr
(I know one could also use scrpage).
After some playing around, I finally managed to have the footer and headers
as intended, except for two problems.

1. The font of the headers of indices like Contents, List of Figures
etc. is different from the rest of the document also I defined it the same
way. Here is my definition of header and footer:

\pagestyle{fancy}
% Kopfzeile
\fancyhead[LE]{\leftmark}
\fancyhead[RO]{\rightmark}
\fancyhead[C,RE,LO]{}
%Fußzeile
\fancyfoot[RO,LE]{\thepage}
\fancyfoot[RE,LO,CE,CO]{}


I placed it in front of all the indices.

2. I used

\usepackage{multicol}

\@ifundefined{chapter}

{\def\wilh@nomsection{section}}

{\def\wilh@nomsection{chapter}}

\def\thenomenclature{%

\begin{multicols}{2}[%

\csname\wilh@nomsection\endcsname*{\nomname}

\if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

\nompreamble]

\list{}{%

\labelwidth\nom@tempdim

\leftmargin\labelwidth

\advance\leftmargin\labelsep

\itemsep\nomitemsep

\let\makelabel\nomlabel}%

}

\def\endthenomenclature{%

\endlist

\end{multicols}

\nompostamble}


to get a two column nomenclature with the columns beginning below the
chapter title. Unfortunately Nomenclature is now not been recognized as
chapter title by the fancyhdr anymore.


Does anyone know what to do?


Thanks a lot!


Re: Headings with package fancyhdr

2015-05-04 Thread Jürgen Spitzmüller
2015-05-04 9:22 GMT+02:00 Aline Gautrein:

 2. I used

 \usepackage{multicol}

 \@ifundefined{chapter}

 {\def\wilh@nomsection{section}}

 {\def\wilh@nomsection{chapter}}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \csname\wilh@nomsection\endcsname*{\nomname}

 \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}


 to get a two column nomenclature with the columns beginning below the
 chapter title. Unfortunately Nomenclature is now not been recognized as
 chapter title by the fancyhdr anymore.


 Does anyone know what to do?



Try this instead:

\usepackage{multicol}

\def\thenomenclature{%

\begin{multicols}{2}[%

\addchap{\nomname}

\nompreamble]

\list{}{%

\labelwidth\nom@tempdim

\leftmargin\labelwidth

\advance\leftmargin\labelsep

\itemsep\nomitemsep

\let\makelabel\nomlabel}%

}

\def\endthenomenclature{%

\endlist

\end{multicols}

\nompostamble}



Jürgen




 Thanks a lot!




Re: Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Jürgen!

Thanks a lot! I switched to scrpage and used this comand in front of the
nomenclature entry:

\markboth{\MakeMarkcase{Nomenclature}}
{\MakeMarkcase{Nomenclature}}

Works fine :-)

2015-05-04 9:34 GMT+02:00 Jürgen Spitzmüller sp...@lyx.org:

 2015-05-04 9:22 GMT+02:00 Aline Gautrein:

 2. I used

 \usepackage{multicol}

 \@ifundefined{chapter}

 {\def\wilh@nomsection{section}}

 {\def\wilh@nomsection{chapter}}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \csname\wilh@nomsection\endcsname*{\nomname}

 \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}


 to get a two column nomenclature with the columns beginning below the
 chapter title. Unfortunately Nomenclature is now not been recognized as
 chapter title by the fancyhdr anymore.


 Does anyone know what to do?



 Try this instead:

 \usepackage{multicol}

 \def\thenomenclature{%

 \begin{multicols}{2}[%

 \addchap{\nomname}

 \nompreamble]

 \list{}{%

 \labelwidth\nom@tempdim

 \leftmargin\labelwidth

 \advance\leftmargin\labelsep

 \itemsep\nomitemsep

 \let\makelabel\nomlabel}%

 }

 \def\endthenomenclature{%

 \endlist

 \end{multicols}

 \nompostamble}



 Jürgen




 Thanks a lot!





Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Lyx-Gurus,

I am using KOMAscript book and I inserted a footer and header with fancyhdr
(I know one could also use scrpage).
After some playing around, I finally managed to have the footer and headers
as intended, except for two problems.

1. The font of the headers of indices like "Contents", "List of Figures"
etc. is different from the rest of the document also I defined it the same
way. Here is my definition of header and footer:

\pagestyle{fancy}
% Kopfzeile
\fancyhead[LE]{\leftmark}
\fancyhead[RO]{\rightmark}
\fancyhead[C,RE,LO]{}
%Fußzeile
\fancyfoot[RO,LE]{\thepage}
\fancyfoot[RE,LO,CE,CO]{}


I placed it in front of all the indices.

2. I used

\usepackage{multicol}

\@ifundefined{chapter}

{\def\wilh@nomsection{section}}

{\def\wilh@nomsection{chapter}}

\def\thenomenclature{%

\begin{multicols}{2}[%

\csname\wilh@nomsection\endcsname*{\nomname}

\if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi

\nompreamble]

\list{}{%

\labelwidth\nom@tempdim

\leftmargin\labelwidth

\advance\leftmargin\labelsep

\itemsep\nomitemsep

\let\makelabel\nomlabel}%

}

\def\endthenomenclature{%

\endlist

\end{multicols}

\nompostamble}


to get a two column nomenclature with the columns beginning below the
chapter title. Unfortunately "Nomenclature" is now not been recognized as
chapter title by the fancyhdr anymore.


Does anyone know what to do?


Thanks a lot!


Re: Headings with package fancyhdr

2015-05-04 Thread Jürgen Spitzmüller
2015-05-04 9:22 GMT+02:00 Aline Gautrein:

> 2. I used
>
> \usepackage{multicol}
>
> \@ifundefined{chapter}
>
> {\def\wilh@nomsection{section}}
>
> {\def\wilh@nomsection{chapter}}
>
> \def\thenomenclature{%
>
> \begin{multicols}{2}[%
>
> \csname\wilh@nomsection\endcsname*{\nomname}
>
> \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi
>
> \nompreamble]
>
> \list{}{%
>
> \labelwidth\nom@tempdim
>
> \leftmargin\labelwidth
>
> \advance\leftmargin\labelsep
>
> \itemsep\nomitemsep
>
> \let\makelabel\nomlabel}%
>
> }
>
> \def\endthenomenclature{%
>
> \endlist
>
> \end{multicols}
>
> \nompostamble}
>
>
> to get a two column nomenclature with the columns beginning below the
> chapter title. Unfortunately "Nomenclature" is now not been recognized as
> chapter title by the fancyhdr anymore.
>
>
> Does anyone know what to do?
>


Try this instead:

\usepackage{multicol}

\def\thenomenclature{%

\begin{multicols}{2}[%

\addchap{\nomname}

\nompreamble]

\list{}{%

\labelwidth\nom@tempdim

\leftmargin\labelwidth

\advance\leftmargin\labelsep

\itemsep\nomitemsep

\let\makelabel\nomlabel}%

}

\def\endthenomenclature{%

\endlist

\end{multicols}

\nompostamble}



Jürgen



>
> Thanks a lot!
>
>


Re: Headings with package fancyhdr

2015-05-04 Thread Aline Gautrein
Hey Jürgen!

Thanks a lot! I switched to scrpage and used this comand in front of the
nomenclature entry:

\markboth{\MakeMarkcase{Nomenclature}}
{\MakeMarkcase{Nomenclature}}

Works fine :-)

2015-05-04 9:34 GMT+02:00 Jürgen Spitzmüller :

> 2015-05-04 9:22 GMT+02:00 Aline Gautrein:
>
>> 2. I used
>>
>> \usepackage{multicol}
>>
>> \@ifundefined{chapter}
>>
>> {\def\wilh@nomsection{section}}
>>
>> {\def\wilh@nomsection{chapter}}
>>
>> \def\thenomenclature{%
>>
>> \begin{multicols}{2}[%
>>
>> \csname\wilh@nomsection\endcsname*{\nomname}
>>
>> \if@intoc\addcontentsline{toc}{\wilh@nomsection}{\nomname}\fi
>>
>> \nompreamble]
>>
>> \list{}{%
>>
>> \labelwidth\nom@tempdim
>>
>> \leftmargin\labelwidth
>>
>> \advance\leftmargin\labelsep
>>
>> \itemsep\nomitemsep
>>
>> \let\makelabel\nomlabel}%
>>
>> }
>>
>> \def\endthenomenclature{%
>>
>> \endlist
>>
>> \end{multicols}
>>
>> \nompostamble}
>>
>>
>> to get a two column nomenclature with the columns beginning below the
>> chapter title. Unfortunately "Nomenclature" is now not been recognized as
>> chapter title by the fancyhdr anymore.
>>
>>
>> Does anyone know what to do?
>>
>
>
> Try this instead:
>
> \usepackage{multicol}
>
> \def\thenomenclature{%
>
> \begin{multicols}{2}[%
>
> \addchap{\nomname}
>
> \nompreamble]
>
> \list{}{%
>
> \labelwidth\nom@tempdim
>
> \leftmargin\labelwidth
>
> \advance\leftmargin\labelsep
>
> \itemsep\nomitemsep
>
> \let\makelabel\nomlabel}%
>
> }
>
> \def\endthenomenclature{%
>
> \endlist
>
> \end{multicols}
>
> \nompostamble}
>
>
>
> Jürgen
>
>
>
>>
>> Thanks a lot!
>>
>>
>


Headings of Indices

2015-05-03 Thread Aline Gautrein
Hey guys!

I use KOMA script and fancyhdr to define headers and footers of my document.

In my preamble I definded:

\usepackage{fancyhdr}

\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}

\renewcommand{\sectionmark}[1]{\markright{\thesection.#1}}

\rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}



To start the headers I wrote:


\pagestyle{fancy}
\lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}
%Fußzeile
\fancyfoot[RO,LE]{\thepage}
\fancyfoot[RE,LO,CE,CO]{}

However, the font of the indices is different from the main chapters.
In addition, the command cleardoublepage which in KOMA normaly suppresses
headers and footers on vacant pages is overwritten. How can I delete the
headers and footers on the vacant pages again?

I want the headers to look alike for the whole document.

Thanks guys!


Headings of Indices

2015-05-03 Thread Aline Gautrein
Hey guys!

I use KOMA script and fancyhdr to define headers and footers of my document.

In my preamble I definded:

\usepackage{fancyhdr}

\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}

\renewcommand{\sectionmark}[1]{\markright{\thesection.#1}}

\rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}



To start the headers I wrote:


\pagestyle{fancy}
\lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}
%Fußzeile
\fancyfoot[RO,LE]{\thepage}
\fancyfoot[RE,LO,CE,CO]{}

However, the font of the indices is different from the main chapters.
In addition, the command cleardoublepage which in KOMA normaly suppresses
headers and footers on vacant pages is overwritten. How can I delete the
headers and footers on the vacant pages again?

I want the headers to look alike for the whole document.

Thanks guys!


Headings of Indices

2015-05-03 Thread Aline Gautrein
Hey guys!

I use KOMA script and fancyhdr to define headers and footers of my document.

In my preamble I definded:

\usepackage{fancyhdr}

\renewcommand{\chaptermark}[1]{\markboth{#1}{#1}}

\renewcommand{\sectionmark}[1]{\markright{\thesection.#1}}

\rhead[\fancyplain{}{\leftmark}]{\fancyplain{}{}}



To start the headers I wrote:


\pagestyle{fancy}
\lhead[\fancyplain{}{}]{\fancyplain{}{\rightmark}}
%Fußzeile
\fancyfoot[RO,LE]{\thepage}
\fancyfoot[RE,LO,CE,CO]{}

However, the font of the indices is different from the main chapters.
In addition, the command "cleardoublepage" which in KOMA normaly suppresses
headers and footers on vacant pages is overwritten. How can I delete the
headers and footers on the vacant pages again?

I want the headers to look alike for the whole document.

Thanks guys!


Re: Headings

2015-04-24 Thread Richard Heck

On 04/21/2015 12:24 PM, Aline Gautrein wrote:

Hey Lyx-experts!

I have a new problem with my document ;-)
I want to insert a nice header for the document. I already foudn how 
to insert the header wit the package {scrpage2}. However, my document 
begins with a lot of lists... (table of contents, list of figures, 
list of tables etc.} I want the header to begin at the first (second) 
page of the first chapter. I managed to start the page numbering at 
this page with \mainmatter. I also tried \thispagestyle{empty} but 
that did'nt work.


Any suggestions?


I don't use that class, but if you look at the manual for scrpage2
http://tug.ctan.org/macros/latex/contrib/koma-script/doc/scrpage2.pdf
there is some help on p. E6. Roughly, I think you want to do:
\clearscrheadfoot
\ohead{...}
etc
at the beginning of the main matter. The new headings will take effect 
at the point you declare them. If you have put them in the preamble, 
that is why they are affecting earlier pages.


Richard



Re: Headings

2015-04-24 Thread Richard Heck

On 04/21/2015 12:24 PM, Aline Gautrein wrote:

Hey Lyx-experts!

I have a new problem with my document ;-)
I want to insert a nice header for the document. I already foudn how 
to insert the header wit the package {scrpage2}. However, my document 
begins with a lot of lists... (table of contents, list of figures, 
list of tables etc.} I want the header to begin at the first (second) 
page of the first chapter. I managed to start the page numbering at 
this page with \mainmatter. I also tried \thispagestyle{empty} but 
that did'nt work.


Any suggestions?


I don't use that class, but if you look at the manual for scrpage2
http://tug.ctan.org/macros/latex/contrib/koma-script/doc/scrpage2.pdf
there is some help on p. E6. Roughly, I think you want to do:
\clearscrheadfoot
\ohead{...}
etc
at the beginning of the main matter. The new headings will take effect 
at the point you declare them. If you have put them in the preamble, 
that is why they are affecting earlier pages.


Richard



Re: Headings

2015-04-24 Thread Richard Heck

On 04/21/2015 12:24 PM, Aline Gautrein wrote:

Hey Lyx-experts!

I have a new problem with my document ;-)
I want to insert a nice header for the document. I already foudn how 
to insert the header wit the package {scrpage2}. However, my document 
begins with a lot of lists... (table of contents, list of figures, 
list of tables etc.} I want the header to begin at the first (second) 
page of the first chapter. I managed to start the page numbering at 
this page with \mainmatter. I also tried \thispagestyle{empty} but 
that did'nt work.


Any suggestions?


I don't use that class, but if you look at the manual for scrpage2
http://tug.ctan.org/macros/latex/contrib/koma-script/doc/scrpage2.pdf
there is some help on p. E6. Roughly, I think you want to do:
\clearscrheadfoot
\ohead{...}
etc
at the beginning of the main matter. The new headings will take effect 
at the point you declare them. If you have put them in the preamble, 
that is why they are affecting earlier pages.


Richard



Headings

2015-04-21 Thread Aline Gautrein
Hey Lyx-experts!

I have a new problem with my document ;-)
I want to insert a nice header for the document. I already foudn how to
insert the header wit the package {scrpage2}. However, my document begins
with a lot of lists... (table of contents, list of figures, list of tables
etc.} I want the header to begin at the first (second) page of the first
chapter. I managed to start the page numbering at this page with
\mainmatter. I also tried  \thispagestyle{empty} but that did'nt work.

Any suggestions?

Thanks guys!
Aline


Headings

2015-04-21 Thread Aline Gautrein
Hey Lyx-experts!

I have a new problem with my document ;-)
I want to insert a nice header for the document. I already foudn how to
insert the header wit the package {scrpage2}. However, my document begins
with a lot of lists... (table of contents, list of figures, list of tables
etc.} I want the header to begin at the first (second) page of the first
chapter. I managed to start the page numbering at this page with
\mainmatter. I also tried  \thispagestyle{empty} but that did'nt work.

Any suggestions?

Thanks guys!
Aline


Headings

2015-04-21 Thread Aline Gautrein
Hey Lyx-experts!

I have a new problem with my document ;-)
I want to insert a nice header for the document. I already foudn how to
insert the header wit the package {scrpage2}. However, my document begins
with a lot of lists... (table of contents, list of figures, list of tables
etc.} I want the header to begin at the first (second) page of the first
chapter. I managed to start the page numbering at this page with
\mainmatter. I also tried  \thispagestyle{empty} but that did'nt work.

Any suggestions?

Thanks guys!
Aline


Text direction for chapter headings in top margin for RTL book

2014-08-04 Thread David Gendall

I am writing a book in Hebrew using Lyx 2.0.3 on Debian Wheezy.
Hebrew is written from right-to-left.

Unlike article and letter, which have Hebrew modifications defined for
them, none of the various 'book' layouts do. I need the chapter headings
provided by the book layout. A number of problems occur, examples of
which are shown in the attached documents:

1. The chapter headings in the top page margin are displayed reversed
(LTR), although when displayed at the beginning of the chapter and in
the table of contents they are correct

2. English text included in the chapter names is displayed using Hebrew
characters

Problem (2) does not concern me personally since my project is 100%
Hebrew, although for other authors it is liable to be a headache.

Problem (1) is demonstrated best on page 8 in the pdf in the upper
margin. Instead of the Hebrew text as at the beginning of the chapter:

שם פרק ראשון

it displays it reversed:

ןושאר קרפ םש

followed by the gibberish it makes out of the English.

Any suggestions for a workaround? I tried to figure out how to create a
Hebrew book layout myself based on the conversions for letter and
article but it was far from obvious.

All assistance gratefully received,

David





badbidiexample.pdf
Description: Adobe PDF document
#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass book
\use_default_options false
\begin_modules
theorems-ams
eqs-within-sections
figs-within-sections
\end_modules
\maintain_unincluded_children false
\language hebrew
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry false
\use_amsmath 1
\use_esint 0
\use_mhchem 0
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 0
\index ��™� �“�§��
\shortcut idx
\color #008000
\end_index
\secnumdepth -1
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
�©� �”���¤�¨ Name of book
\end_layout

\begin_layout Author
�”�ž�—�‘�¨ The Author
\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Part
�©� �—�œ�§ �¨��©�•�Ÿ
\family roman
\series bold
\shape up
\size huge
\emph off
\bar no
\strikeout off
\uuline off
\uwave off
\noun off
\color none
 
\family default
\series default
\shape default
\size default
\emph default
\bar default
\strikeout default
\uuline default
\uwave default
\noun default
\color inherit
\lang english
Name of first part
\end_layout

\begin_layout Chapter
�©� �¤�¨�§ �¨��©�•�Ÿ 
\lang english
Name of chapter 
\numeric on
1
\end_layout

\begin_layout Standard
�×�•�›�Ÿ �©�œ �”�¤�¨�§.
\end_layout

\begin_layout Standard

\lang english
Content of the chapter.
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

Re: Text direction for chapter headings in top margin for RTL book

2014-08-04 Thread Itai Shaked
Hello David,

First, I would recommend you upgrade to the latest version of Lyx. There
have been various bugs related to RTL that have been fixed since 2.0.3.
Upgrading to 2.0.8 (or even 2.1 if possible) could solve at least some of
your problems.

Additionally, make sure all English text is marked as English in Lyx (your
headers are not, although the body text is). If you have the option
selected to mark foreign languages, English text should be underlined in
blue. I suspect once you do this you will encounter problems with pdf
properties (maybe this was the reason the text was not marked as English in
the first place?) - as far as I know there is no simple way of making pdf
properties work with PDFLatex and Hebrew, so you should probably either
check off that option in the document settings, or use XeTeX, or else try
following this -
http://www.digmi.org/2012/07/16/latex-using-hyperref-with-rtl-languages-such-as-hebrew/


HTH


On Thu, Jul 31, 2014 at 8:07 PM, David Gendall 
dgendal...@jerusalem.plus.com wrote:


 I am writing a book in Hebrew using Lyx 2.0.3 on Debian Wheezy.
 Hebrew is written from right-to-left.

 Unlike article and letter, which have Hebrew modifications defined for
 them, none of the various 'book' layouts do. I need the chapter headings
 provided by the book layout. A number of problems occur, examples of
 which are shown in the attached documents:

 1. The chapter headings in the top page margin are displayed reversed
 (LTR), although when displayed at the beginning of the chapter and in
 the table of contents they are correct

 2. English text included in the chapter names is displayed using Hebrew
 characters

 Problem (2) does not concern me personally since my project is 100%
 Hebrew, although for other authors it is liable to be a headache.

 Problem (1) is demonstrated best on page 8 in the pdf in the upper
 margin. Instead of the Hebrew text as at the beginning of the chapter:

 שם פרק ראשון

 it displays it reversed:

 ןושאר קרפ םש

 followed by the gibberish it makes out of the English.

 Any suggestions for a workaround? I tried to figure out how to create a
 Hebrew book layout myself based on the conversions for letter and
 article but it was far from obvious.

 All assistance gratefully received,

 David






Text direction for chapter headings in top margin for RTL book

2014-08-04 Thread David Gendall

I am writing a book in Hebrew using Lyx 2.0.3 on Debian Wheezy.
Hebrew is written from right-to-left.

Unlike article and letter, which have Hebrew modifications defined for
them, none of the various 'book' layouts do. I need the chapter headings
provided by the book layout. A number of problems occur, examples of
which are shown in the attached documents:

1. The chapter headings in the top page margin are displayed reversed
(LTR), although when displayed at the beginning of the chapter and in
the table of contents they are correct

2. English text included in the chapter names is displayed using Hebrew
characters

Problem (2) does not concern me personally since my project is 100%
Hebrew, although for other authors it is liable to be a headache.

Problem (1) is demonstrated best on page 8 in the pdf in the upper
margin. Instead of the Hebrew text as at the beginning of the chapter:

שם פרק ראשון

it displays it reversed:

ןושאר קרפ םש

followed by the gibberish it makes out of the English.

Any suggestions for a workaround? I tried to figure out how to create a
Hebrew book layout myself based on the conversions for letter and
article but it was far from obvious.

All assistance gratefully received,

David





badbidiexample.pdf
Description: Adobe PDF document
#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass book
\use_default_options false
\begin_modules
theorems-ams
eqs-within-sections
figs-within-sections
\end_modules
\maintain_unincluded_children false
\language hebrew
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry false
\use_amsmath 1
\use_esint 0
\use_mhchem 0
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 0
\index ��™� �“�§��
\shortcut idx
\color #008000
\end_index
\secnumdepth -1
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
�©� �”���¤�¨ Name of book
\end_layout

\begin_layout Author
�”�ž�—�‘�¨ The Author
\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Part
�©� �—�œ�§ �¨��©�•�Ÿ
\family roman
\series bold
\shape up
\size huge
\emph off
\bar no
\strikeout off
\uuline off
\uwave off
\noun off
\color none
 
\family default
\series default
\shape default
\size default
\emph default
\bar default
\strikeout default
\uuline default
\uwave default
\noun default
\color inherit
\lang english
Name of first part
\end_layout

\begin_layout Chapter
�©� �¤�¨�§ �¨��©�•�Ÿ 
\lang english
Name of chapter 
\numeric on
1
\end_layout

\begin_layout Standard
�×�•�›�Ÿ �©�œ �”�¤�¨�§.
\end_layout

\begin_layout Standard

\lang english
Content of the chapter.
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

Re: Text direction for chapter headings in top margin for RTL book

2014-08-04 Thread Itai Shaked
Hello David,

First, I would recommend you upgrade to the latest version of Lyx. There
have been various bugs related to RTL that have been fixed since 2.0.3.
Upgrading to 2.0.8 (or even 2.1 if possible) could solve at least some of
your problems.

Additionally, make sure all English text is marked as English in Lyx (your
headers are not, although the body text is). If you have the option
selected to mark foreign languages, English text should be underlined in
blue. I suspect once you do this you will encounter problems with pdf
properties (maybe this was the reason the text was not marked as English in
the first place?) - as far as I know there is no simple way of making pdf
properties work with PDFLatex and Hebrew, so you should probably either
check off that option in the document settings, or use XeTeX, or else try
following this -
http://www.digmi.org/2012/07/16/latex-using-hyperref-with-rtl-languages-such-as-hebrew/


HTH


On Thu, Jul 31, 2014 at 8:07 PM, David Gendall 
dgendal...@jerusalem.plus.com wrote:


 I am writing a book in Hebrew using Lyx 2.0.3 on Debian Wheezy.
 Hebrew is written from right-to-left.

 Unlike article and letter, which have Hebrew modifications defined for
 them, none of the various 'book' layouts do. I need the chapter headings
 provided by the book layout. A number of problems occur, examples of
 which are shown in the attached documents:

 1. The chapter headings in the top page margin are displayed reversed
 (LTR), although when displayed at the beginning of the chapter and in
 the table of contents they are correct

 2. English text included in the chapter names is displayed using Hebrew
 characters

 Problem (2) does not concern me personally since my project is 100%
 Hebrew, although for other authors it is liable to be a headache.

 Problem (1) is demonstrated best on page 8 in the pdf in the upper
 margin. Instead of the Hebrew text as at the beginning of the chapter:

 שם פרק ראשון

 it displays it reversed:

 ןושאר קרפ םש

 followed by the gibberish it makes out of the English.

 Any suggestions for a workaround? I tried to figure out how to create a
 Hebrew book layout myself based on the conversions for letter and
 article but it was far from obvious.

 All assistance gratefully received,

 David






Text direction for chapter headings in top margin for RTL book

2014-08-04 Thread David Gendall

I am writing a book in Hebrew using Lyx 2.0.3 on Debian Wheezy.
Hebrew is written from right-to-left.

Unlike article and letter, which have Hebrew modifications defined for
them, none of the various 'book' layouts do. I need the chapter headings
provided by the book layout. A number of problems occur, examples of
which are shown in the attached documents:

1. The chapter headings in the top page margin are displayed reversed
(LTR), although when displayed at the beginning of the chapter and in
the table of contents they are correct

2. English text included in the chapter names is displayed using Hebrew
characters

Problem (2) does not concern me personally since my project is 100%
Hebrew, although for other authors it is liable to be a headache.

Problem (1) is demonstrated best on page 8 in the pdf in the upper
margin. Instead of the Hebrew text as at the beginning of the chapter:

שם פרק ראשון

it displays it reversed:

ןושאר קרפ םש

followed by the gibberish it makes out of the English.

Any suggestions for a workaround? I tried to figure out how to create a
Hebrew book layout myself based on the conversions for letter and
article but it was far from obvious.

All assistance gratefully received,

David





badbidiexample.pdf
Description: Adobe PDF document
#LyX 2.0 created this file. For more info see http://www.lyx.org/
\lyxformat 413
\begin_document
\begin_header
\textclass book
\use_default_options false
\begin_modules
theorems-ams
eqs-within-sections
figs-within-sections
\end_modules
\maintain_unincluded_children false
\language hebrew
\language_package default
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_bookmarks true
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref false
\pdf_pdfusetitle true
\papersize a4paper
\use_geometry false
\use_amsmath 1
\use_esint 0
\use_mhchem 0
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 0
\index ��™� �“�§��
\shortcut idx
\color #008000
\end_index
\secnumdepth -1
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Title
�©� �”���¤�¨ Name of book
\end_layout

\begin_layout Author
�”�ž�—�‘�¨ The Author
\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Part
�©� �—�œ�§ �¨��©�•�Ÿ
\family roman
\series bold
\shape up
\size huge
\emph off
\bar no
\strikeout off
\uuline off
\uwave off
\noun off
\color none
 
\family default
\series default
\shape default
\size default
\emph default
\bar default
\strikeout default
\uuline default
\uwave default
\noun default
\color inherit
\lang english
Name of first part
\end_layout

\begin_layout Chapter
�©� �¤�¨�§ �¨��©�•�Ÿ 
\lang english
Name of chapter 
\numeric on
1
\end_layout

\begin_layout Standard
�×�•�›�Ÿ �©�œ �”�¤�¨�§.
\end_layout

\begin_layout Standard

\lang english
Content of the chapter.
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

\lang english
Blah
\end_layout

\begin_layout Standard

Re: Text direction for chapter headings in top margin for RTL book

2014-08-04 Thread Itai Shaked
Hello David,

First, I would recommend you upgrade to the latest version of Lyx. There
have been various bugs related to RTL that have been fixed since 2.0.3.
Upgrading to 2.0.8 (or even 2.1 if possible) could solve at least some of
your problems.

Additionally, make sure all English text is marked as English in Lyx (your
headers are not, although the body text is). If you have the option
selected to mark foreign languages, English text should be underlined in
blue. I suspect once you do this you will encounter problems with pdf
properties (maybe this was the reason the text was not marked as English in
the first place?) - as far as I know there is no simple way of making pdf
properties work with PDFLatex and Hebrew, so you should probably either
check off that option in the document settings, or use XeTeX, or else try
following this -
http://www.digmi.org/2012/07/16/latex-using-hyperref-with-rtl-languages-such-as-hebrew/


HTH


On Thu, Jul 31, 2014 at 8:07 PM, David Gendall <
dgendal...@jerusalem.plus.com> wrote:

>
> I am writing a book in Hebrew using Lyx 2.0.3 on Debian Wheezy.
> Hebrew is written from right-to-left.
>
> Unlike article and letter, which have Hebrew modifications defined for
> them, none of the various 'book' layouts do. I need the chapter headings
> provided by the book layout. A number of problems occur, examples of
> which are shown in the attached documents:
>
> 1. The chapter headings in the top page margin are displayed reversed
> (LTR), although when displayed at the beginning of the chapter and in
> the table of contents they are correct
>
> 2. English text included in the chapter names is displayed using Hebrew
> characters
>
> Problem (2) does not concern me personally since my project is 100%
> Hebrew, although for other authors it is liable to be a headache.
>
> Problem (1) is demonstrated best on page 8 in the pdf in the upper
> margin. Instead of the Hebrew text as at the beginning of the chapter:
>
> שם פרק ראשון
>
> it displays it reversed:
>
> ןושאר קרפ םש
>
> followed by the gibberish it makes out of the English.
>
> Any suggestions for a workaround? I tried to figure out how to create a
> Hebrew book layout myself based on the conversions for letter and
> article but it was far from obvious.
>
> All assistance gratefully received,
>
> David
>
>
>
>


Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-09 Thread Olivier Ripoll

On 08.05.2014 08:47, Jürgen Spitzmüller wrote:

2014-05-08 8:42 GMT+02:00 Olivier Ripoll:

On 07.05.2014 16:57, Richard Heck wrote:


Can you post an example file?


Hi,

Sure, here is a small sample file.

By the way, I totally forgot to put the system details in my
previous email: Windows 7 64 bits professional, MikTex 2.9.

I guess it's probably more related to an update of a MikTex package.


It's a bug in the current KOMA-Script release:
http://tex.stackexchange.com/questions/166779/koma-script-throws-extra-else-error

(I see it, too, with the final TeXLive 2013 update)


Indeed, thanks for the link.

Best regards,

Olivier




Jürgen






Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-09 Thread Olivier Ripoll

On 08.05.2014 08:47, Jürgen Spitzmüller wrote:

2014-05-08 8:42 GMT+02:00 Olivier Ripoll:

On 07.05.2014 16:57, Richard Heck wrote:


Can you post an example file?


Hi,

Sure, here is a small sample file.

By the way, I totally forgot to put the system details in my
previous email: Windows 7 64 bits professional, MikTex 2.9.

I guess it's probably more related to an update of a MikTex package.


It's a bug in the current KOMA-Script release:
http://tex.stackexchange.com/questions/166779/koma-script-throws-extra-else-error

(I see it, too, with the final TeXLive 2013 update)


Indeed, thanks for the link.

Best regards,

Olivier




Jürgen






Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-09 Thread Olivier Ripoll

On 08.05.2014 08:47, Jürgen Spitzmüller wrote:

2014-05-08 8:42 GMT+02:00 Olivier Ripoll:

On 07.05.2014 16:57, Richard Heck wrote:


Can you post an example file?


Hi,

Sure, here is a small sample file.

By the way, I totally forgot to put the system details in my
previous email: Windows 7 64 bits professional, MikTex 2.9.

I guess it's probably more related to an update of a MikTex package.


It's a bug in the current KOMA-Script release:
http://tex.stackexchange.com/questions/166779/koma-script-throws-extra-else-error

(I see it, too, with the final TeXLive 2013 update)


Indeed, thanks for the link.

Best regards,

Olivier




Jürgen






Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-08 Thread Olivier Ripoll

On 07.05.2014 16:57, Richard Heck wrote:


Can you post an example file?


Hi,

Sure, here is a small sample file.

By the way, I totally forgot to put the system details in my previous 
email: Windows 7 64 bits professional, MikTex 2.9.


I guess it's probably more related to an update of a MikTex package.

Best regards.

Olivier



On 05/05/2014 02:15 PM, Olivier Ripoll wrote:

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with headings page style and
a numbered section, the compilation result in an error about and extra
\fi or an extra \else


below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd
{#6{\hskip ...
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style
to any other (plain, fancy, empty or default), it works. If I switch
to a section*, a part or a subsection, it works.

Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier








Koma-script-article bug sample.lyx
Description: application/lyx


Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-08 Thread Jürgen Spitzmüller
2014-05-08 8:42 GMT+02:00 Olivier Ripoll:

 On 07.05.2014 16:57, Richard Heck wrote:


 Can you post an example file?


 Hi,

 Sure, here is a small sample file.

 By the way, I totally forgot to put the system details in my previous
 email: Windows 7 64 bits professional, MikTex 2.9.

 I guess it's probably more related to an update of a MikTex package.


It's a bug in the current KOMA-Script release:
http://tex.stackexchange.com/questions/166779/koma-script-throws-extra-else-error

(I see it, too, with the final TeXLive 2013 update)

Jürgen


Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-08 Thread Olivier Ripoll

On 07.05.2014 16:57, Richard Heck wrote:


Can you post an example file?


Hi,

Sure, here is a small sample file.

By the way, I totally forgot to put the system details in my previous 
email: Windows 7 64 bits professional, MikTex 2.9.


I guess it's probably more related to an update of a MikTex package.

Best regards.

Olivier



On 05/05/2014 02:15 PM, Olivier Ripoll wrote:

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with headings page style and
a numbered section, the compilation result in an error about and extra
\fi or an extra \else


below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd
{#6{\hskip ...
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style
to any other (plain, fancy, empty or default), it works. If I switch
to a section*, a part or a subsection, it works.

Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier








Koma-script-article bug sample.lyx
Description: application/lyx


Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-08 Thread Jürgen Spitzmüller
2014-05-08 8:42 GMT+02:00 Olivier Ripoll:

 On 07.05.2014 16:57, Richard Heck wrote:


 Can you post an example file?


 Hi,

 Sure, here is a small sample file.

 By the way, I totally forgot to put the system details in my previous
 email: Windows 7 64 bits professional, MikTex 2.9.

 I guess it's probably more related to an update of a MikTex package.


It's a bug in the current KOMA-Script release:
http://tex.stackexchange.com/questions/166779/koma-script-throws-extra-else-error

(I see it, too, with the final TeXLive 2013 update)

Jürgen


Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-08 Thread Olivier Ripoll

On 07.05.2014 16:57, Richard Heck wrote:


Can you post an example file?


Hi,

Sure, here is a small sample file.

By the way, I totally forgot to put the system details in my previous 
email: Windows 7 64 bits professional, MikTex 2.9.


I guess it's probably more related to an update of a MikTex package.

Best regards.

Olivier



On 05/05/2014 02:15 PM, Olivier Ripoll wrote:

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with "headings" page style and
a numbered section, the compilation result in an error about and extra
\fi or an extra \else


below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd
{#6{\hskip ...
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style
to any other (plain, fancy, empty or default), it works. If I switch
to a section*, a part or a subsection, it works.

Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier








Koma-script-article bug sample.lyx
Description: application/lyx


Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-08 Thread Jürgen Spitzmüller
2014-05-08 8:42 GMT+02:00 Olivier Ripoll:

> On 07.05.2014 16:57, Richard Heck wrote:
>
>>
>> Can you post an example file?
>>
>
> Hi,
>
> Sure, here is a small sample file.
>
> By the way, I totally forgot to put the system details in my previous
> email: Windows 7 64 bits professional, MikTex 2.9.
>
> I guess it's probably more related to an update of a MikTex package.
>

It's a bug in the current KOMA-Script release:
http://tex.stackexchange.com/questions/166779/koma-script-throws-extra-else-error

(I see it, too, with the final TeXLive 2013 update)

Jürgen


Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-07 Thread Richard Heck


Can you post an example file?

On 05/05/2014 02:15 PM, Olivier Ripoll wrote:

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with headings page style and 
a numbered section, the compilation result in an error about and extra 
\fi or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style 
to any other (plain, fancy, empty or default), it works. If I switch 
to a section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier





Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-07 Thread Richard Heck


Can you post an example file?

On 05/05/2014 02:15 PM, Olivier Ripoll wrote:

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with headings page style and 
a numbered section, the compilation result in an error about and extra 
\fi or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style 
to any other (plain, fancy, empty or default), it works. If I switch 
to a section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier





Re: weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-07 Thread Richard Heck


Can you post an example file?

On 05/05/2014 02:15 PM, Olivier Ripoll wrote:

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with "headings" page style and 
a numbered section, the compilation result in an error about and extra 
\fi or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style 
to any other (plain, fancy, empty or default), it works. If I switch 
to a section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier





weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-06 Thread Olivier Ripoll

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with headings page style and a 
numbered section, the compilation result in an error about and extra \fi 
or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style to 
any other (plain, fancy, empty or default), it works. If I switch to a 
section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier



weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-06 Thread Olivier Ripoll

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with headings page style and a 
numbered section, the compilation result in an error about and extra \fi 
or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style to 
any other (plain, fancy, empty or default), it works. If I switch to a 
section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier



weird bug: extra fi or else when using Koma script article, headings page style and numbered sections

2014-05-06 Thread Olivier Ripoll

Hi all,

I've been hitting this issue recently on 2.0.7 and also or 2.1.0:

Even with a very simple document: 1 section and 1 word of text.
If I use the Koma-script article class, with "headings" page style and a 
numbered section, the compilation result in an error about and extra \fi 
or an extra \else



below (between dashes) is the relevant part of the log:
-
! Extra \else.
\H@old@sect ... }{\scr@ds@tocentry }\fi \fi \else
  \def \@svsechd 
{#6{\hskip ...

l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.

! Extra \fi.
\H@old@sect ...e }{\scr@ds@tocentry }\fi \fi }\fi
  \@xsect {#5}
l.33 \section{foobar}

I'm ignoring this; it doesn't match any \if.
-

If I change the document class, it works. If I change the page style to 
any other (plain, fancy, empty or default), it works. If I switch to a 
section*, a part or a subsection, it works.


Anyone experiencing this ? Any idea about the cause ?

Best regards,

Olivier



RE: Paragraphs and headings overlapping in pdf output

2013-07-15 Thread Brown, Nelson A. (DFRC-RC)
I updated miktex and everything is working better.

Sorry for the fuss.

Nelson


From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
Brown, Nelson A. (DFRC-RC)
Sent: Friday, July 12, 2013 11:08 PM
To: lyx-users@lists.lyx.org
Subject: FW: Paragraphs and headings overlapping in pdf output

I'm using the aiaa-tc.cls class v4.0.1 (http://code.google.com/p/aiaa-latex/) 
and LyX 2.0.5.1 in Windows 7.

I'm seeing a strange glitch in the PDF output where headings and paragraph 
texts overlap, or sometimes paragraphs overlap each other. (see links)

https://lh3.googleusercontent.com/-8k4GqMO9DjA/UeDrkUVgeRI/MLk/qvH7041JQT4/w753-h106-no/heading_placement_glitch1.png

https://lh3.googleusercontent.com/-g0e9urc52Ds/UeDrkeeIDzI/MLo/RHI0hCXgm78/w718-h293-no/heading_placement_glitch2.png

As I edit the text, the problem shifts from one section to another. That is, if 
I add some sentences to Section II, the heading overlap problem might stop 
effecting Section III, but starts effecting Section VII.

I haven't found any pattern to it, so far.

Ideas?


Thanks,
Nelson


RE: Paragraphs and headings overlapping in pdf output

2013-07-15 Thread Brown, Nelson A. (DFRC-RC)
I updated miktex and everything is working better.

Sorry for the fuss.

Nelson


From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
Brown, Nelson A. (DFRC-RC)
Sent: Friday, July 12, 2013 11:08 PM
To: lyx-users@lists.lyx.org
Subject: FW: Paragraphs and headings overlapping in pdf output

I'm using the aiaa-tc.cls class v4.0.1 (http://code.google.com/p/aiaa-latex/) 
and LyX 2.0.5.1 in Windows 7.

I'm seeing a strange glitch in the PDF output where headings and paragraph 
texts overlap, or sometimes paragraphs overlap each other. (see links)

https://lh3.googleusercontent.com/-8k4GqMO9DjA/UeDrkUVgeRI/MLk/qvH7041JQT4/w753-h106-no/heading_placement_glitch1.png

https://lh3.googleusercontent.com/-g0e9urc52Ds/UeDrkeeIDzI/MLo/RHI0hCXgm78/w718-h293-no/heading_placement_glitch2.png

As I edit the text, the problem shifts from one section to another. That is, if 
I add some sentences to Section II, the heading overlap problem might stop 
effecting Section III, but starts effecting Section VII.

I haven't found any pattern to it, so far.

Ideas?


Thanks,
Nelson


RE: Paragraphs and headings overlapping in pdf output

2013-07-15 Thread Brown, Nelson A. (DFRC-RC)
I updated miktex and everything is working better.

Sorry for the fuss.

Nelson


From: lyx-users@lists.lyx.org [mailto:lyx-users@lists.lyx.org] On Behalf Of 
Brown, Nelson A. (DFRC-RC)
Sent: Friday, July 12, 2013 11:08 PM
To: lyx-users@lists.lyx.org
Subject: FW: Paragraphs and headings overlapping in pdf output

I'm using the "aiaa-tc.cls" class v4.0.1 (http://code.google.com/p/aiaa-latex/) 
and LyX 2.0.5.1 in Windows 7.

I'm seeing a strange glitch in the PDF output where headings and paragraph 
texts overlap, or sometimes paragraphs overlap each other. (see links)

https://lh3.googleusercontent.com/-8k4GqMO9DjA/UeDrkUVgeRI/MLk/qvH7041JQT4/w753-h106-no/heading_placement_glitch1.png

https://lh3.googleusercontent.com/-g0e9urc52Ds/UeDrkeeIDzI/MLo/RHI0hCXgm78/w718-h293-no/heading_placement_glitch2.png

As I edit the text, the problem shifts from one section to another. That is, if 
I add some sentences to Section II, the heading overlap problem might stop 
effecting Section III, but starts effecting Section VII.

I haven't found any pattern to it, so far.

Ideas?


Thanks,
Nelson


FW: Paragraphs and headings overlapping in pdf output

2013-07-13 Thread Brown, Nelson A. (DFRC-RC)
I'm using the aiaa-tc.cls class v4.0.1 (http://code.google.com/p/aiaa-latex/) 
and LyX 2.0.5.1 in Windows 7.

I'm seeing a strange glitch in the PDF output where headings and paragraph 
texts overlap, or sometimes paragraphs overlap each other. (see links)

https://lh3.googleusercontent.com/-8k4GqMO9DjA/UeDrkUVgeRI/MLk/qvH7041JQT4/w753-h106-no/heading_placement_glitch1.png

https://lh3.googleusercontent.com/-g0e9urc52Ds/UeDrkeeIDzI/MLo/RHI0hCXgm78/w718-h293-no/heading_placement_glitch2.png

As I edit the text, the problem shifts from one section to another. That is, if 
I add some sentences to Section II, the heading overlap problem might stop 
effecting Section III, but starts effecting Section VII.

I haven't found any pattern to it, so far.

Ideas?


Thanks,
Nelson


FW: Paragraphs and headings overlapping in pdf output

2013-07-13 Thread Brown, Nelson A. (DFRC-RC)
I'm using the aiaa-tc.cls class v4.0.1 (http://code.google.com/p/aiaa-latex/) 
and LyX 2.0.5.1 in Windows 7.

I'm seeing a strange glitch in the PDF output where headings and paragraph 
texts overlap, or sometimes paragraphs overlap each other. (see links)

https://lh3.googleusercontent.com/-8k4GqMO9DjA/UeDrkUVgeRI/MLk/qvH7041JQT4/w753-h106-no/heading_placement_glitch1.png

https://lh3.googleusercontent.com/-g0e9urc52Ds/UeDrkeeIDzI/MLo/RHI0hCXgm78/w718-h293-no/heading_placement_glitch2.png

As I edit the text, the problem shifts from one section to another. That is, if 
I add some sentences to Section II, the heading overlap problem might stop 
effecting Section III, but starts effecting Section VII.

I haven't found any pattern to it, so far.

Ideas?


Thanks,
Nelson


FW: Paragraphs and headings overlapping in pdf output

2013-07-13 Thread Brown, Nelson A. (DFRC-RC)
I'm using the "aiaa-tc.cls" class v4.0.1 (http://code.google.com/p/aiaa-latex/) 
and LyX 2.0.5.1 in Windows 7.

I'm seeing a strange glitch in the PDF output where headings and paragraph 
texts overlap, or sometimes paragraphs overlap each other. (see links)

https://lh3.googleusercontent.com/-8k4GqMO9DjA/UeDrkUVgeRI/MLk/qvH7041JQT4/w753-h106-no/heading_placement_glitch1.png

https://lh3.googleusercontent.com/-g0e9urc52Ds/UeDrkeeIDzI/MLo/RHI0hCXgm78/w718-h293-no/heading_placement_glitch2.png

As I edit the text, the problem shifts from one section to another. That is, if 
I add some sentences to Section II, the heading overlap problem might stop 
effecting Section III, but starts effecting Section VII.

I haven't found any pattern to it, so far.

Ideas?


Thanks,
Nelson


KOMA Script Letter 2: Continuation Page Headings

2013-07-02 Thread Rich Shepard

  In multipage business letters here in the US all continuation pages should
have a header in the upper left of the page containing

Addressee's Name
Date as shown on page 1
Page number

  While I thought that the KOMA-Script Letter 2 configuration I use had this
capability and how to do this was worked out years ago I don't have a record
of how to do this in my saved messages and I am not finding the solution in
my Web searches.

  Please point me to a resource that explains how to add this continuation
page header.

Thanks in advance,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863



Re: KOMA Script Letter 2: Continuation Page Headings

2013-07-02 Thread Julien Rioux

On 02/07/2013 11:17 AM, Rich Shepard wrote:

   In multipage business letters here in the US all continuation pages
should
have a header in the upper left of the page containing

Addressee's Name
Date as shown on page 1
Page number

   While I thought that the KOMA-Script Letter 2 configuration I use had
this
capability and how to do this was worked out years ago I don't have a
record
of how to do this in my saved messages and I am not finding the solution in
my Web searches.

   Please point me to a resource that explains how to add this continuation
page header.

Thanks in advance,

Rich



Hi Rich,

I could find this thread about it, where it seems that a solution was 
reached: 
http://lyx.475766.n2.nabble.com/Koma-Letter-2-Components-Sequence-td477936.html


Cheers,
Julien



Re: KOMA Script Letter 2: Continuation Page Headings

2013-07-02 Thread Rich Shepard

On Tue, 2 Jul 2013, Julien Rioux wrote:

I could find this thread about it, where it seems that a solution was 
reached: 
http://lyx.475766.n2.nabble.com/Koma-Letter-2-Components-Sequence-td477936.html


Julien,

  Thanks very much! I thought I had solved this before but I did not find
that stored tread in my Web searches.

  The changes in LyX over the past 5 years means I need to modify the
solution that worked then. Now, the 'toname' comes out right justified
rather than left justified but the date and page number are on the left.
I'll work on fixing this over the next couple of days.

Much appreciated,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863



KOMA Script Letter 2: Continuation Page Headings

2013-07-02 Thread Rich Shepard

  In multipage business letters here in the US all continuation pages should
have a header in the upper left of the page containing

Addressee's Name
Date as shown on page 1
Page number

  While I thought that the KOMA-Script Letter 2 configuration I use had this
capability and how to do this was worked out years ago I don't have a record
of how to do this in my saved messages and I am not finding the solution in
my Web searches.

  Please point me to a resource that explains how to add this continuation
page header.

Thanks in advance,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863



Re: KOMA Script Letter 2: Continuation Page Headings

2013-07-02 Thread Julien Rioux

On 02/07/2013 11:17 AM, Rich Shepard wrote:

   In multipage business letters here in the US all continuation pages
should
have a header in the upper left of the page containing

Addressee's Name
Date as shown on page 1
Page number

   While I thought that the KOMA-Script Letter 2 configuration I use had
this
capability and how to do this was worked out years ago I don't have a
record
of how to do this in my saved messages and I am not finding the solution in
my Web searches.

   Please point me to a resource that explains how to add this continuation
page header.

Thanks in advance,

Rich



Hi Rich,

I could find this thread about it, where it seems that a solution was 
reached: 
http://lyx.475766.n2.nabble.com/Koma-Letter-2-Components-Sequence-td477936.html


Cheers,
Julien



Re: KOMA Script Letter 2: Continuation Page Headings

2013-07-02 Thread Rich Shepard

On Tue, 2 Jul 2013, Julien Rioux wrote:

I could find this thread about it, where it seems that a solution was 
reached: 
http://lyx.475766.n2.nabble.com/Koma-Letter-2-Components-Sequence-td477936.html


Julien,

  Thanks very much! I thought I had solved this before but I did not find
that stored tread in my Web searches.

  The changes in LyX over the past 5 years means I need to modify the
solution that worked then. Now, the 'toname' comes out right justified
rather than left justified but the date and page number are on the left.
I'll work on fixing this over the next couple of days.

Much appreciated,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863



KOMA Script Letter 2: Continuation Page Headings

2013-07-02 Thread Rich Shepard

  In multipage business letters here in the US all continuation pages should
have a header in the upper left of the page containing

Addressee's Name
Date as shown on page 1
Page number

  While I thought that the KOMA-Script Letter 2 configuration I use had this
capability and how to do this was worked out years ago I don't have a record
of how to do this in my saved messages and I am not finding the solution in
my Web searches.

  Please point me to a resource that explains how to add this continuation
page header.

Thanks in advance,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
 Voice: 503-667-4517  Fax: 503-667-8863



Re: KOMA Script Letter 2: Continuation Page Headings

2013-07-02 Thread Julien Rioux

On 02/07/2013 11:17 AM, Rich Shepard wrote:

   In multipage business letters here in the US all continuation pages
should
have a header in the upper left of the page containing

Addressee's Name
Date as shown on page 1
Page number

   While I thought that the KOMA-Script Letter 2 configuration I use had
this
capability and how to do this was worked out years ago I don't have a
record
of how to do this in my saved messages and I am not finding the solution in
my Web searches.

   Please point me to a resource that explains how to add this continuation
page header.

Thanks in advance,

Rich



Hi Rich,

I could find this thread about it, where it seems that a solution was 
reached: 
http://lyx.475766.n2.nabble.com/Koma-Letter-2-Components-Sequence-td477936.html


Cheers,
Julien



Re: KOMA Script Letter 2: Continuation Page Headings

2013-07-02 Thread Rich Shepard

On Tue, 2 Jul 2013, Julien Rioux wrote:

I could find this thread about it, where it seems that a solution was 
reached: 
http://lyx.475766.n2.nabble.com/Koma-Letter-2-Components-Sequence-td477936.html


Julien,

  Thanks very much! I thought I had solved this before but I did not find
that stored tread in my Web searches.

  The changes in LyX over the past 5 years means I need to modify the
solution that worked then. Now, the 'toname' comes out right justified
rather than left justified but the date and page number are on the left.
I'll work on fixing this over the next couple of days.

Much appreciated,

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
 Voice: 503-667-4517  Fax: 503-667-8863



Re: How to remove line break in chapter headings layout?

2013-06-09 Thread Guenter Milde
On 2013-06-08, stefano franchi wrote:

 [-- Type: text/plain, Encoding:  --]

 I use the memoir class for both books and article and I modified the memoir
 layout accordingly to create a memoir-article layout. I would like LyX to
 format chapter headings *on screen* (pdf output is fine) the same way it
 formats all other section headings, that is:

 counter space chapter title

 instead of the standard formatting for the book class(es):

 Chapter counter
 chapter title

Why don't you do it the normal way, i.e. like the standard classes and
KOMA script: skip the chapter level in article class and restrict it to
section, subsection, subsub...

Günter



Re: How to remove line break in chapter headings layout?

2013-06-09 Thread stefano franchi
On Sun, Jun 9, 2013 at 10:50 AM, Guenter Milde mi...@users.sf.net wrote:

 On 2013-06-08, stefano franchi wrote:

  [-- Type: text/plain, Encoding:  --]

  I use the memoir class for both books and article and I modified the
 memoir
  layout accordingly to create a memoir-article layout. I would like LyX
 to
  format chapter headings *on screen* (pdf output is fine) the same way it
  formats all other section headings, that is:

  counter space chapter title

  instead of the standard formatting for the book class(es):

  Chapter counter
  chapter title

 Why don't you do it the normal way, i.e. like the standard classes and
 KOMA script: skip the chapter level in article class and restrict it to
 section, subsection, subsub...


Well, because the normal way is actually not normal to my working habits.
I use memoir for everything regardless of the pieces' lengths and it's
actually easier for me to deal with  a consistent set of environments
without having to stop and think about whether I am using a book-like or an
article-like class. I think of headings as level 0, level 1, etcetera,
and I am happy to leave the proper formatting to a customized class that I
can switch at will.
Admittedly, this is not a standard Latex workflow, but it works for me.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to remove line break in chapter headings layout?

2013-06-09 Thread Guenter Milde
On 2013-06-08, stefano franchi wrote:

 [-- Type: text/plain, Encoding:  --]

 I use the memoir class for both books and article and I modified the memoir
 layout accordingly to create a memoir-article layout. I would like LyX to
 format chapter headings *on screen* (pdf output is fine) the same way it
 formats all other section headings, that is:

 counter space chapter title

 instead of the standard formatting for the book class(es):

 Chapter counter
 chapter title

Why don't you do it the normal way, i.e. like the standard classes and
KOMA script: skip the chapter level in article class and restrict it to
section, subsection, subsub...

Günter



Re: How to remove line break in chapter headings layout?

2013-06-09 Thread stefano franchi
On Sun, Jun 9, 2013 at 10:50 AM, Guenter Milde mi...@users.sf.net wrote:

 On 2013-06-08, stefano franchi wrote:

  [-- Type: text/plain, Encoding:  --]

  I use the memoir class for both books and article and I modified the
 memoir
  layout accordingly to create a memoir-article layout. I would like LyX
 to
  format chapter headings *on screen* (pdf output is fine) the same way it
  formats all other section headings, that is:

  counter space chapter title

  instead of the standard formatting for the book class(es):

  Chapter counter
  chapter title

 Why don't you do it the normal way, i.e. like the standard classes and
 KOMA script: skip the chapter level in article class and restrict it to
 section, subsection, subsub...


Well, because the normal way is actually not normal to my working habits.
I use memoir for everything regardless of the pieces' lengths and it's
actually easier for me to deal with  a consistent set of environments
without having to stop and think about whether I am using a book-like or an
article-like class. I think of headings as level 0, level 1, etcetera,
and I am happy to leave the proper formatting to a customized class that I
can switch at will.
Admittedly, this is not a standard Latex workflow, but it works for me.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to remove line break in chapter headings layout?

2013-06-09 Thread Guenter Milde
On 2013-06-08, stefano franchi wrote:

> [-- Type: text/plain, Encoding:  --]

> I use the memoir class for both books and article and I modified the memoir
> layout accordingly to create a "memoir-article" layout. I would like LyX to
> format chapter headings *on screen* (pdf output is fine) the same way it
> formats all other section headings, that is:

> "counter" space "chapter title"

> instead of the standard formatting for the book class(es):

> Chapter "counter"
> "chapter title"

Why don't you do it "the normal way", i.e. like the standard classes and
KOMA script: skip the "chapter" level in "article" class and restrict it to
section, subsection, subsub...

Günter



Re: How to remove line break in chapter headings layout?

2013-06-09 Thread stefano franchi
On Sun, Jun 9, 2013 at 10:50 AM, Guenter Milde <mi...@users.sf.net> wrote:

> On 2013-06-08, stefano franchi wrote:
>
> > [-- Type: text/plain, Encoding:  --]
>
> > I use the memoir class for both books and article and I modified the
> memoir
> > layout accordingly to create a "memoir-article" layout. I would like LyX
> to
> > format chapter headings *on screen* (pdf output is fine) the same way it
> > formats all other section headings, that is:
>
> > "counter" space "chapter title"
>
> > instead of the standard formatting for the book class(es):
>
> > Chapter "counter"
> > "chapter title"
>
> Why don't you do it "the normal way", i.e. like the standard classes and
> KOMA script: skip the "chapter" level in "article" class and restrict it to
> section, subsection, subsub...
>
>
Well, because the "normal way" is actually not normal to my working habits.
I use memoir for everything regardless of the pieces' lengths and it's
actually easier for me to deal with  a consistent set of environments
without having to stop and think about whether I am using a book-like or an
article-like class. I think of headings as "level 0," "level 1," etcetera,
and I am happy to leave the proper formatting to a customized class that I
can switch at will.
Admittedly, this is not a standard Latex workflow, but it works for me.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


How to remove line break in chapter headings layout?

2013-06-08 Thread stefano franchi
I use the memoir class for both books and article and I modified the memoir
layout accordingly to create a memoir-article layout. I would like LyX to
format chapter headings *on screen* (pdf output is fine) the same way it
formats all other section headings, that is:

counter space chapter title

instead of the standard formatting for the book class(es):

Chapter counter
chapter title


In short, I want to:

1. Remove the prefix Chapter

2. Remove the newline after the chapter counter.

My problem is that I cannot find a way to achieve 2.

The code for the chapter style in stdsections.inc is:

Style Chapter
MarginStatic
Category  Section
LabelString   Chapter \thechapter
LabelStringAppendix   Appendix \thechapter
LabelType Counter
LabelCounter  chapter
TocLevel  0
LatexType Command
LatexName chapter
NeedProtect   1
NextNoIndent  1
ParSkip   0.4
TopSep4
BottomSep 0.8
ParSep0.8
Align Block
OptionalArgs  1
Font
  Series  Bold
  SizeHuge
EndFont
HTMLTag   h1
End


Since reading the customization manual was of no help,  I tried copying it
into the local layout field and removing/changing options one by one while
checking their effects. It is obvious that I can remove the Chapter
prefix by removing it from  the LabelString field, but that still leaves
the newline in place and I get:

Chapter counter
chapter title

If I comment out the LabelString field altogether, I get back the standard
behavior (prefix/counter/newline/title), interestingly enough. The same
thing happens if, instead of modifying the chapter style, I start from the
section style in stdsections.inc and change the relevant parameters in
LabelCounter and LatexName from section to chapter

In short, I'm stumped. Perhaps the behavior of the chapter style is
hard-coded somewhere? If not, could someone enlighten me?

Cheers,

Stefano




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to remove line break in chapter headings layout?

2013-06-08 Thread Jürgen Spitzmüller
Stefano Franchi wrote:
 In short, I want to:
 
 1. Remove the prefix Chapter
 
 2. Remove the newline after the chapter counter.
 
 My problem is that I cannot find a way to achieve 2.

It's only possible in LyX 2.1dev. The following redefinition after the 
original definiton has been inputed should do:

Style Chapter
LabelType Static
LabelSep  xxx
Margin   Dynamic
End

The KOMA implementation in trunk might serve as a model.

Jürgen


Re: How to remove line break in chapter headings layout?

2013-06-08 Thread Jürgen Spitzmüller
 It's only possible in LyX 2.1dev. The following redefinition after the 
 original definiton has been inputed should do:
 
 Style Chapter
 LabelType Static
 LabelSep  xxx
 Margin   Dynamic
 End

Actually:

Style Chapter
LabelType Static
LabelString  \thechapter
LabelSep  xxx
Margin   Dynamic
TocLevel   0
End

Jürgen


Re: How to remove line break in chapter headings layout?

2013-06-08 Thread stefano franchi
On Sat, Jun 8, 2013 at 10:44 AM, Jürgen Spitzmüller sp...@lyx.org wrote:

  It's only possible in LyX 2.1dev. The following redefinition after the
  original definiton has been inputed should do:
 
  Style Chapter
  LabelType Static
  LabelSep  xxx
  Margin   Dynamic
  End

 Actually:

 Style Chapter
 LabelType Static
 LabelString  \thechapter
 LabelSep  xxx
 Margin   Dynamic
 TocLevel   0
 End

 Jürgen


Thanks Jürgen. Unfortunately, I am still on 2.0.6 for production purposes.
Good to know the problem is solved in 2.1.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


How to remove line break in chapter headings layout?

2013-06-08 Thread stefano franchi
I use the memoir class for both books and article and I modified the memoir
layout accordingly to create a memoir-article layout. I would like LyX to
format chapter headings *on screen* (pdf output is fine) the same way it
formats all other section headings, that is:

counter space chapter title

instead of the standard formatting for the book class(es):

Chapter counter
chapter title


In short, I want to:

1. Remove the prefix Chapter

2. Remove the newline after the chapter counter.

My problem is that I cannot find a way to achieve 2.

The code for the chapter style in stdsections.inc is:

Style Chapter
MarginStatic
Category  Section
LabelString   Chapter \thechapter
LabelStringAppendix   Appendix \thechapter
LabelType Counter
LabelCounter  chapter
TocLevel  0
LatexType Command
LatexName chapter
NeedProtect   1
NextNoIndent  1
ParSkip   0.4
TopSep4
BottomSep 0.8
ParSep0.8
Align Block
OptionalArgs  1
Font
  Series  Bold
  SizeHuge
EndFont
HTMLTag   h1
End


Since reading the customization manual was of no help,  I tried copying it
into the local layout field and removing/changing options one by one while
checking their effects. It is obvious that I can remove the Chapter
prefix by removing it from  the LabelString field, but that still leaves
the newline in place and I get:

Chapter counter
chapter title

If I comment out the LabelString field altogether, I get back the standard
behavior (prefix/counter/newline/title), interestingly enough. The same
thing happens if, instead of modifying the chapter style, I start from the
section style in stdsections.inc and change the relevant parameters in
LabelCounter and LatexName from section to chapter

In short, I'm stumped. Perhaps the behavior of the chapter style is
hard-coded somewhere? If not, could someone enlighten me?

Cheers,

Stefano




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to remove line break in chapter headings layout?

2013-06-08 Thread Jürgen Spitzmüller
Stefano Franchi wrote:
 In short, I want to:
 
 1. Remove the prefix Chapter
 
 2. Remove the newline after the chapter counter.
 
 My problem is that I cannot find a way to achieve 2.

It's only possible in LyX 2.1dev. The following redefinition after the 
original definiton has been inputed should do:

Style Chapter
LabelType Static
LabelSep  xxx
Margin   Dynamic
End

The KOMA implementation in trunk might serve as a model.

Jürgen


Re: How to remove line break in chapter headings layout?

2013-06-08 Thread Jürgen Spitzmüller
 It's only possible in LyX 2.1dev. The following redefinition after the 
 original definiton has been inputed should do:
 
 Style Chapter
 LabelType Static
 LabelSep  xxx
 Margin   Dynamic
 End

Actually:

Style Chapter
LabelType Static
LabelString  \thechapter
LabelSep  xxx
Margin   Dynamic
TocLevel   0
End

Jürgen


Re: How to remove line break in chapter headings layout?

2013-06-08 Thread stefano franchi
On Sat, Jun 8, 2013 at 10:44 AM, Jürgen Spitzmüller sp...@lyx.org wrote:

  It's only possible in LyX 2.1dev. The following redefinition after the
  original definiton has been inputed should do:
 
  Style Chapter
  LabelType Static
  LabelSep  xxx
  Margin   Dynamic
  End

 Actually:

 Style Chapter
 LabelType Static
 LabelString  \thechapter
 LabelSep  xxx
 Margin   Dynamic
 TocLevel   0
 End

 Jürgen


Thanks Jürgen. Unfortunately, I am still on 2.0.6 for production purposes.
Good to know the problem is solved in 2.1.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


How to remove line break in chapter headings layout?

2013-06-08 Thread stefano franchi
I use the memoir class for both books and article and I modified the memoir
layout accordingly to create a "memoir-article" layout. I would like LyX to
format chapter headings *on screen* (pdf output is fine) the same way it
formats all other section headings, that is:

"counter" space "chapter title"

instead of the standard formatting for the book class(es):

Chapter "counter"
"chapter title"


In short, I want to:

1. Remove the prefix "Chapter"

2. Remove the newline after the chapter counter.

My problem is that I cannot find a way to achieve 2.

The code for the chapter style in stdsections.inc is:

Style Chapter
MarginStatic
Category  Section
LabelString   "Chapter \thechapter"
LabelStringAppendix   "Appendix \thechapter"
LabelType Counter
LabelCounter  chapter
TocLevel  0
LatexType Command
LatexName chapter
NeedProtect   1
NextNoIndent  1
ParSkip   0.4
TopSep4
BottomSep 0.8
ParSep0.8
Align Block
OptionalArgs  1
Font
  Series  Bold
  SizeHuge
EndFont
HTMLTag   h1
End


Since reading the customization manual was of no help,  I tried copying it
into the local layout field and removing/changing options one by one while
checking their effects. It is obvious that I can remove the "Chapter"
prefix by removing it from  the LabelString field, but that still leaves
the newline in place and I get:

Chapter "counter"
"chapter title"

If I comment out the LabelString field altogether, I get back the standard
behavior (prefix/counter/newline/title), interestingly enough. The same
thing happens if, instead of modifying the chapter style, I start from the
section style in stdsections.inc and change the relevant parameters in
LabelCounter and LatexName from "section" to "chapter"

In short, I'm stumped. Perhaps the behavior of the chapter style is
hard-coded somewhere? If not, could someone enlighten me?

Cheers,

Stefano




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to remove line break in chapter headings layout?

2013-06-08 Thread Jürgen Spitzmüller
Stefano Franchi wrote:
> In short, I want to:
> 
> 1. Remove the prefix "Chapter"
> 
> 2. Remove the newline after the chapter counter.
> 
> My problem is that I cannot find a way to achieve 2.

It's only possible in LyX 2.1dev. The following redefinition after the 
original definiton has been inputed should do:

Style Chapter
LabelType Static
LabelSep  xxx
Margin   Dynamic
End

The KOMA implementation in trunk might serve as a model.

Jürgen


Re: How to remove line break in chapter headings layout?

2013-06-08 Thread Jürgen Spitzmüller
> It's only possible in LyX 2.1dev. The following redefinition after the 
> original definiton has been inputed should do:
> 
> Style Chapter
> LabelType Static
> LabelSep  xxx
> Margin   Dynamic
> End

Actually:

Style Chapter
LabelType Static
LabelString  "\thechapter"
LabelSep  xxx
Margin   Dynamic
TocLevel   0
End

Jürgen


Re: How to remove line break in chapter headings layout?

2013-06-08 Thread stefano franchi
On Sat, Jun 8, 2013 at 10:44 AM, Jürgen Spitzmüller  wrote:

> > It's only possible in LyX 2.1dev. The following redefinition after the
> > original definiton has been inputed should do:
> >
> > Style Chapter
> > LabelType Static
> > LabelSep  xxx
> > Margin   Dynamic
> > End
>
> Actually:
>
> Style Chapter
> LabelType Static
> LabelString  "\thechapter"
> LabelSep  xxx
> Margin   Dynamic
> TocLevel   0
> End
>
> Jürgen
>

Thanks Jürgen. Unfortunately, I am still on 2.0.6 for production purposes.
Good to know the problem is solved in 2.1.

Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Custom frontmatter and headings

2012-06-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/06/12 23:45, Steve Litt wrote:
 On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
 On 20 June 2012 01:44, Ray Rashif schivmeis...@gmail.com wrote:
 Hi guys
 
 I'm adding a _static_ list of acronyms/abbreviations/units page (because I 
 don't want any
 program to mess with my style of abbreviating throughout the document), but 
 so far I
 haven't been able to match the frontmatter headings, for eg. table of 
 contents, list of
 figures, list of tables.
 
 I would want the heading of this custom List of Acronyms to be similar to 
 the typeset
 List of Tables and so on. I've used the code from [1] and it uses 
 section*, but it is not
 consistent. Is there a way I could centre the section title? But even so, 
 I'd like a
 better, more integrated approach.
 
 [1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419
 
 
 -- GPG/PGP ID: C0711BF1
 
 Ermm..correction. It's not actually the list I'm worried about but another 
 custom frontmatter
 - a declaration page. The list of acronyms would be left aligned, but not 
 the declaration.
 
 So, the real question is, how would I go about adding a custom declaration 
 page with the
 title centred (and not left-aligned by using section*)?
 
 :-)
 
 It's time for my monthly fingerpaint the frontmatter suggestion.
 
 In my opinion, the styles based nature of LyX is ideal for a document's 
 Mainmatter, where
 everything should be consistent.
 
 But in my opinion, the frontmatter is a bunch of one-off stuff that's much 
 better done using
 ERT than trying to shoehorn a Document Class into doing stuff like center 
 aligning something or
 tailoring vertical space, or for gosh sakes including a full sized cover 
 image.

But it is so tempting

Rainer

 
 SteveT
 
 Steve Litt*  http://www.troubleshooters.com/ *  
 http://twitter.com/stevelitt 
 Troubleshooting Training  *  Human Performance
 
 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/heYoACgkQoYgNqgF2egpA2gCfWXDecM252izUrqWd9PZEq63u
ZdUAnRjpdF5pq27JMJVZcJGbIJjJraoD
=vvHh
-END PGP SIGNATURE-


Re: Custom frontmatter and headings

2012-06-20 Thread Ray Rashif
On 20 June 2012 05:45, Steve Litt sl...@troubleshooters.com wrote:
 On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
 On 20 June 2012 01:44, Ray Rashif schivmeis...@gmail.com wrote:
  Hi guys
 
  I'm adding a _static_ list of acronyms/abbreviations/units page
  (because I don't want any program to mess with my style of
  abbreviating throughout the document), but so far I haven't been
  able to match the frontmatter headings, for eg. table of contents,
  list of figures, list of tables.
 
  I would want the heading of this custom List of Acronyms to be
  similar to the typeset List of Tables and so on. I've used the
  code from [1] and it uses section*, but it is not consistent. Is
  there a way I could centre the section title? But even so, I'd like
  a better, more integrated approach.
 
  [1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419
 
 
  --
  GPG/PGP ID: C0711BF1

 Ermm..correction. It's not actually the list I'm worried about but
 another custom frontmatter - a declaration page. The list of acronyms
 would be left aligned, but not the declaration.

 So, the real question is, how would I go about adding a custom
 declaration page with the title centred (and not left-aligned by
 using section*)?

 :-)

 It's time for my monthly fingerpaint the frontmatter suggestion.

 In my opinion, the styles based nature of LyX is ideal for a document's
 Mainmatter, where everything should be consistent.

 But in my opinion, the frontmatter is a bunch of one-off stuff that's
 much better done using ERT than trying to shoehorn a Document Class
 into doing stuff like center aligning something or tailoring vertical
 space, or for gosh sakes including a full sized cover image.

That is my own opinion as well (I have customised a lot with ERT), but
was hoping I would receive some pointers on how to style (with ERT)
pages to match each frontmatter type.

Currently I'd like a Declaration page with the title centred just
like the Acknowledgements and Abstract environment. The List of
Abbreviations would be left aligned and typefaced exactly as the
List of Tables and so on.

 SteveT

 Steve Litt                *  http://www.troubleshooters.com/
                          *  http://twitter.com/stevelitt
 Troubleshooting Training  *  Human Performance




-- 
GPG/PGP ID: C0711BF1


Re: Custom frontmatter and headings

2012-06-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/06/12 23:45, Steve Litt wrote:
 On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
 On 20 June 2012 01:44, Ray Rashif schivmeis...@gmail.com wrote:
 Hi guys
 
 I'm adding a _static_ list of acronyms/abbreviations/units page (because I 
 don't want any
 program to mess with my style of abbreviating throughout the document), but 
 so far I
 haven't been able to match the frontmatter headings, for eg. table of 
 contents, list of
 figures, list of tables.
 
 I would want the heading of this custom List of Acronyms to be similar to 
 the typeset
 List of Tables and so on. I've used the code from [1] and it uses 
 section*, but it is not
 consistent. Is there a way I could centre the section title? But even so, 
 I'd like a
 better, more integrated approach.
 
 [1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419
 
 
 -- GPG/PGP ID: C0711BF1
 
 Ermm..correction. It's not actually the list I'm worried about but another 
 custom frontmatter
 - a declaration page. The list of acronyms would be left aligned, but not 
 the declaration.
 
 So, the real question is, how would I go about adding a custom declaration 
 page with the
 title centred (and not left-aligned by using section*)?
 
 :-)
 
 It's time for my monthly fingerpaint the frontmatter suggestion.
 
 In my opinion, the styles based nature of LyX is ideal for a document's 
 Mainmatter, where
 everything should be consistent.
 
 But in my opinion, the frontmatter is a bunch of one-off stuff that's much 
 better done using
 ERT than trying to shoehorn a Document Class into doing stuff like center 
 aligning something or
 tailoring vertical space, or for gosh sakes including a full sized cover 
 image.

But it is so tempting

Rainer

 
 SteveT
 
 Steve Litt*  http://www.troubleshooters.com/ *  
 http://twitter.com/stevelitt 
 Troubleshooting Training  *  Human Performance
 
 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/heYoACgkQoYgNqgF2egpA2gCfWXDecM252izUrqWd9PZEq63u
ZdUAnRjpdF5pq27JMJVZcJGbIJjJraoD
=vvHh
-END PGP SIGNATURE-


Re: Custom frontmatter and headings

2012-06-20 Thread Ray Rashif
On 20 June 2012 05:45, Steve Litt sl...@troubleshooters.com wrote:
 On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
 On 20 June 2012 01:44, Ray Rashif schivmeis...@gmail.com wrote:
  Hi guys
 
  I'm adding a _static_ list of acronyms/abbreviations/units page
  (because I don't want any program to mess with my style of
  abbreviating throughout the document), but so far I haven't been
  able to match the frontmatter headings, for eg. table of contents,
  list of figures, list of tables.
 
  I would want the heading of this custom List of Acronyms to be
  similar to the typeset List of Tables and so on. I've used the
  code from [1] and it uses section*, but it is not consistent. Is
  there a way I could centre the section title? But even so, I'd like
  a better, more integrated approach.
 
  [1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419
 
 
  --
  GPG/PGP ID: C0711BF1

 Ermm..correction. It's not actually the list I'm worried about but
 another custom frontmatter - a declaration page. The list of acronyms
 would be left aligned, but not the declaration.

 So, the real question is, how would I go about adding a custom
 declaration page with the title centred (and not left-aligned by
 using section*)?

 :-)

 It's time for my monthly fingerpaint the frontmatter suggestion.

 In my opinion, the styles based nature of LyX is ideal for a document's
 Mainmatter, where everything should be consistent.

 But in my opinion, the frontmatter is a bunch of one-off stuff that's
 much better done using ERT than trying to shoehorn a Document Class
 into doing stuff like center aligning something or tailoring vertical
 space, or for gosh sakes including a full sized cover image.

That is my own opinion as well (I have customised a lot with ERT), but
was hoping I would receive some pointers on how to style (with ERT)
pages to match each frontmatter type.

Currently I'd like a Declaration page with the title centred just
like the Acknowledgements and Abstract environment. The List of
Abbreviations would be left aligned and typefaced exactly as the
List of Tables and so on.

 SteveT

 Steve Litt                *  http://www.troubleshooters.com/
                          *  http://twitter.com/stevelitt
 Troubleshooting Training  *  Human Performance




-- 
GPG/PGP ID: C0711BF1


Re: Custom frontmatter and headings

2012-06-20 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 19/06/12 23:45, Steve Litt wrote:
> On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
>> On 20 June 2012 01:44, Ray Rashif <schivmeis...@gmail.com> wrote:
>>> Hi guys
>>> 
>>> I'm adding a _static_ list of acronyms/abbreviations/units page (because I 
>>> don't want any
>>> program to mess with my style of abbreviating throughout the document), but 
>>> so far I
>>> haven't been able to match the frontmatter headings, for eg. table of 
>>> contents, list of
>>> figures, list of tables.
>>> 
>>> I would want the heading of this custom "List of Acronyms" to be similar to 
>>> the typeset
>>> "List of Tables" and so on. I've used the code from [1] and it uses 
>>> section*, but it is not
>>> consistent. Is there a way I could centre the section title? But even so, 
>>> I'd like a
>>> better, more "integrated" approach.
>>> 
>>> [1] http://www.latex-community.org/forum/viewtopic.php?f=44=16419
>>> 
>>> 
>>> -- GPG/PGP ID: C0711BF1
>> 
>> Ermm..correction. It's not actually the list I'm worried about but another 
>> custom frontmatter
>> - a declaration page. The list of acronyms would be left aligned, but not 
>> the declaration.
>> 
>> So, the real question is, how would I go about adding a custom "declaration" 
>> page with the
>> title centred (and not left-aligned by using section*)?
> 
> :-)
> 
> It's time for my monthly "fingerpaint the frontmatter" suggestion.
> 
> In my opinion, the styles based nature of LyX is ideal for a document's 
> Mainmatter, where
> everything should be consistent.
> 
> But in my opinion, the frontmatter is a bunch of one-off stuff that's much 
> better done using
> ERT than trying to shoehorn a Document Class into doing stuff like center 
> aligning something or
> tailoring vertical space, or for gosh sakes including a full sized cover 
> image.

But it is so tempting

Rainer

> 
> SteveT
> 
> Steve Litt*  http://www.troubleshooters.com/ *  
> http://twitter.com/stevelitt 
> Troubleshooting Training  *  Human Performance
> 
> 


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/heYoACgkQoYgNqgF2egpA2gCfWXDecM252izUrqWd9PZEq63u
ZdUAnRjpdF5pq27JMJVZcJGbIJjJraoD
=vvHh
-END PGP SIGNATURE-


Re: Custom frontmatter and headings

2012-06-20 Thread Ray Rashif
On 20 June 2012 05:45, Steve Litt <sl...@troubleshooters.com> wrote:
> On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
>> On 20 June 2012 01:44, Ray Rashif <schivmeis...@gmail.com> wrote:
>> > Hi guys
>> >
>> > I'm adding a _static_ list of acronyms/abbreviations/units page
>> > (because I don't want any program to mess with my style of
>> > abbreviating throughout the document), but so far I haven't been
>> > able to match the frontmatter headings, for eg. table of contents,
>> > list of figures, list of tables.
>> >
>> > I would want the heading of this custom "List of Acronyms" to be
>> > similar to the typeset "List of Tables" and so on. I've used the
>> > code from [1] and it uses section*, but it is not consistent. Is
>> > there a way I could centre the section title? But even so, I'd like
>> > a better, more "integrated" approach.
>> >
>> > [1] http://www.latex-community.org/forum/viewtopic.php?f=44=16419
>> >
>> >
>> > --
>> > GPG/PGP ID: C0711BF1
>>
>> Ermm..correction. It's not actually the list I'm worried about but
>> another custom frontmatter - a declaration page. The list of acronyms
>> would be left aligned, but not the declaration.
>>
>> So, the real question is, how would I go about adding a custom
>> "declaration" page with the title centred (and not left-aligned by
>> using section*)?
>
> :-)
>
> It's time for my monthly "fingerpaint the frontmatter" suggestion.
>
> In my opinion, the styles based nature of LyX is ideal for a document's
> Mainmatter, where everything should be consistent.
>
> But in my opinion, the frontmatter is a bunch of one-off stuff that's
> much better done using ERT than trying to shoehorn a Document Class
> into doing stuff like center aligning something or tailoring vertical
> space, or for gosh sakes including a full sized cover image.

That is my own opinion as well (I have customised a lot with ERT), but
was hoping I would receive some pointers on how to style (with ERT)
pages to match each frontmatter type.

Currently I'd like a "Declaration" page with the title centred just
like the Acknowledgements and Abstract environment. The "List of
Abbreviations" would be left aligned and typefaced exactly as the
"List of Tables" and so on.

> SteveT
>
> Steve Litt                *  http://www.troubleshooters.com/
>                          *  http://twitter.com/stevelitt
> Troubleshooting Training  *  Human Performance
>



-- 
GPG/PGP ID: C0711BF1


Custom frontmatter and headings

2012-06-19 Thread Ray Rashif
Hi guys

I'm adding a _static_ list of acronyms/abbreviations/units page
(because I don't want any program to mess with my style of
abbreviating throughout the document), but so far I haven't been able
to match the frontmatter headings, for eg. table of contents, list of
figures, list of tables.

I would want the heading of this custom List of Acronyms to be
similar to the typeset List of Tables and so on. I've used the code
from [1] and it uses section*, but it is not consistent. Is there a
way I could centre the section title? But even so, I'd like a better,
more integrated approach.

[1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419


--
GPG/PGP ID: C0711BF1


Re: Custom frontmatter and headings

2012-06-19 Thread Ray Rashif
On 20 June 2012 01:44, Ray Rashif schivmeis...@gmail.com wrote:
 Hi guys

 I'm adding a _static_ list of acronyms/abbreviations/units page
 (because I don't want any program to mess with my style of
 abbreviating throughout the document), but so far I haven't been able
 to match the frontmatter headings, for eg. table of contents, list of
 figures, list of tables.

 I would want the heading of this custom List of Acronyms to be
 similar to the typeset List of Tables and so on. I've used the code
 from [1] and it uses section*, but it is not consistent. Is there a
 way I could centre the section title? But even so, I'd like a better,
 more integrated approach.

 [1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419


 --
 GPG/PGP ID: C0711BF1

Ermm..correction. It's not actually the list I'm worried about but
another custom frontmatter - a declaration page. The list of acronyms
would be left aligned, but not the declaration.

So, the real question is, how would I go about adding a custom
declaration page with the title centred (and not left-aligned by
using section*)?


--
GPG/PGP ID: C0711BF1


Re: Custom frontmatter and headings

2012-06-19 Thread Steve Litt
On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
 On 20 June 2012 01:44, Ray Rashif schivmeis...@gmail.com wrote:
  Hi guys
 
  I'm adding a _static_ list of acronyms/abbreviations/units page
  (because I don't want any program to mess with my style of
  abbreviating throughout the document), but so far I haven't been
  able to match the frontmatter headings, for eg. table of contents,
  list of figures, list of tables.
 
  I would want the heading of this custom List of Acronyms to be
  similar to the typeset List of Tables and so on. I've used the
  code from [1] and it uses section*, but it is not consistent. Is
  there a way I could centre the section title? But even so, I'd like
  a better, more integrated approach.
 
  [1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419
 
 
  --
  GPG/PGP ID: C0711BF1
 
 Ermm..correction. It's not actually the list I'm worried about but
 another custom frontmatter - a declaration page. The list of acronyms
 would be left aligned, but not the declaration.
 
 So, the real question is, how would I go about adding a custom
 declaration page with the title centred (and not left-aligned by
 using section*)?

:-)

It's time for my monthly fingerpaint the frontmatter suggestion.

In my opinion, the styles based nature of LyX is ideal for a document's
Mainmatter, where everything should be consistent.

But in my opinion, the frontmatter is a bunch of one-off stuff that's
much better done using ERT than trying to shoehorn a Document Class
into doing stuff like center aligning something or tailoring vertical
space, or for gosh sakes including a full sized cover image.

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Custom frontmatter and headings

2012-06-19 Thread Ray Rashif
Hi guys

I'm adding a _static_ list of acronyms/abbreviations/units page
(because I don't want any program to mess with my style of
abbreviating throughout the document), but so far I haven't been able
to match the frontmatter headings, for eg. table of contents, list of
figures, list of tables.

I would want the heading of this custom List of Acronyms to be
similar to the typeset List of Tables and so on. I've used the code
from [1] and it uses section*, but it is not consistent. Is there a
way I could centre the section title? But even so, I'd like a better,
more integrated approach.

[1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419


--
GPG/PGP ID: C0711BF1


Re: Custom frontmatter and headings

2012-06-19 Thread Ray Rashif
On 20 June 2012 01:44, Ray Rashif schivmeis...@gmail.com wrote:
 Hi guys

 I'm adding a _static_ list of acronyms/abbreviations/units page
 (because I don't want any program to mess with my style of
 abbreviating throughout the document), but so far I haven't been able
 to match the frontmatter headings, for eg. table of contents, list of
 figures, list of tables.

 I would want the heading of this custom List of Acronyms to be
 similar to the typeset List of Tables and so on. I've used the code
 from [1] and it uses section*, but it is not consistent. Is there a
 way I could centre the section title? But even so, I'd like a better,
 more integrated approach.

 [1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419


 --
 GPG/PGP ID: C0711BF1

Ermm..correction. It's not actually the list I'm worried about but
another custom frontmatter - a declaration page. The list of acronyms
would be left aligned, but not the declaration.

So, the real question is, how would I go about adding a custom
declaration page with the title centred (and not left-aligned by
using section*)?


--
GPG/PGP ID: C0711BF1


Re: Custom frontmatter and headings

2012-06-19 Thread Steve Litt
On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
 On 20 June 2012 01:44, Ray Rashif schivmeis...@gmail.com wrote:
  Hi guys
 
  I'm adding a _static_ list of acronyms/abbreviations/units page
  (because I don't want any program to mess with my style of
  abbreviating throughout the document), but so far I haven't been
  able to match the frontmatter headings, for eg. table of contents,
  list of figures, list of tables.
 
  I would want the heading of this custom List of Acronyms to be
  similar to the typeset List of Tables and so on. I've used the
  code from [1] and it uses section*, but it is not consistent. Is
  there a way I could centre the section title? But even so, I'd like
  a better, more integrated approach.
 
  [1] http://www.latex-community.org/forum/viewtopic.php?f=44t=16419
 
 
  --
  GPG/PGP ID: C0711BF1
 
 Ermm..correction. It's not actually the list I'm worried about but
 another custom frontmatter - a declaration page. The list of acronyms
 would be left aligned, but not the declaration.
 
 So, the real question is, how would I go about adding a custom
 declaration page with the title centred (and not left-aligned by
 using section*)?

:-)

It's time for my monthly fingerpaint the frontmatter suggestion.

In my opinion, the styles based nature of LyX is ideal for a document's
Mainmatter, where everything should be consistent.

But in my opinion, the frontmatter is a bunch of one-off stuff that's
much better done using ERT than trying to shoehorn a Document Class
into doing stuff like center aligning something or tailoring vertical
space, or for gosh sakes including a full sized cover image.

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Custom frontmatter and headings

2012-06-19 Thread Ray Rashif
Hi guys

I'm adding a _static_ list of acronyms/abbreviations/units page
(because I don't want any program to mess with my style of
abbreviating throughout the document), but so far I haven't been able
to match the frontmatter headings, for eg. table of contents, list of
figures, list of tables.

I would want the heading of this custom "List of Acronyms" to be
similar to the typeset "List of Tables" and so on. I've used the code
from [1] and it uses section*, but it is not consistent. Is there a
way I could centre the section title? But even so, I'd like a better,
more "integrated" approach.

[1] http://www.latex-community.org/forum/viewtopic.php?f=44=16419


--
GPG/PGP ID: C0711BF1


Re: Custom frontmatter and headings

2012-06-19 Thread Ray Rashif
On 20 June 2012 01:44, Ray Rashif <schivmeis...@gmail.com> wrote:
> Hi guys
>
> I'm adding a _static_ list of acronyms/abbreviations/units page
> (because I don't want any program to mess with my style of
> abbreviating throughout the document), but so far I haven't been able
> to match the frontmatter headings, for eg. table of contents, list of
> figures, list of tables.
>
> I would want the heading of this custom "List of Acronyms" to be
> similar to the typeset "List of Tables" and so on. I've used the code
> from [1] and it uses section*, but it is not consistent. Is there a
> way I could centre the section title? But even so, I'd like a better,
> more "integrated" approach.
>
> [1] http://www.latex-community.org/forum/viewtopic.php?f=44=16419
>
>
> --
> GPG/PGP ID: C0711BF1

Ermm..correction. It's not actually the list I'm worried about but
another custom frontmatter - a declaration page. The list of acronyms
would be left aligned, but not the declaration.

So, the real question is, how would I go about adding a custom
"declaration" page with the title centred (and not left-aligned by
using section*)?


--
GPG/PGP ID: C0711BF1


Re: Custom frontmatter and headings

2012-06-19 Thread Steve Litt
On Wed, 20 Jun 2012 02:02:40 +0800, Ray Rashif said:
> On 20 June 2012 01:44, Ray Rashif <schivmeis...@gmail.com> wrote:
> > Hi guys
> >
> > I'm adding a _static_ list of acronyms/abbreviations/units page
> > (because I don't want any program to mess with my style of
> > abbreviating throughout the document), but so far I haven't been
> > able to match the frontmatter headings, for eg. table of contents,
> > list of figures, list of tables.
> >
> > I would want the heading of this custom "List of Acronyms" to be
> > similar to the typeset "List of Tables" and so on. I've used the
> > code from [1] and it uses section*, but it is not consistent. Is
> > there a way I could centre the section title? But even so, I'd like
> > a better, more "integrated" approach.
> >
> > [1] http://www.latex-community.org/forum/viewtopic.php?f=44=16419
> >
> >
> > --
> > GPG/PGP ID: C0711BF1
> 
> Ermm..correction. It's not actually the list I'm worried about but
> another custom frontmatter - a declaration page. The list of acronyms
> would be left aligned, but not the declaration.
> 
> So, the real question is, how would I go about adding a custom
> "declaration" page with the title centred (and not left-aligned by
> using section*)?

:-)

It's time for my monthly "fingerpaint the frontmatter" suggestion.

In my opinion, the styles based nature of LyX is ideal for a document's
Mainmatter, where everything should be consistent.

But in my opinion, the frontmatter is a bunch of one-off stuff that's
much better done using ERT than trying to shoehorn a Document Class
into doing stuff like center aligning something or tailoring vertical
space, or for gosh sakes including a full sized cover image.

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: Chapter Headings

2012-03-28 Thread Richard Heck

On 03/27/2012 09:10 PM, Louise Wilkinson wrote:


Hi,

In the document class Article (AMS) how do you change the section 
headings from


1 Heading 1

to

Chapter 1

Heading 1


The easiest way is probably to use the titlesec package, whose documentation
is pretty good and provides lots of examples.

Richard



Re: Chapter Headings

2012-03-28 Thread Richard Heck

On 03/27/2012 09:10 PM, Louise Wilkinson wrote:


Hi,

In the document class Article (AMS) how do you change the section 
headings from


1 Heading 1

to

Chapter 1

Heading 1


The easiest way is probably to use the titlesec package, whose documentation
is pretty good and provides lots of examples.

Richard



Re: Chapter Headings

2012-03-28 Thread Richard Heck

On 03/27/2012 09:10 PM, Louise Wilkinson wrote:


Hi,

In the document class Article (AMS) how do you change the section 
headings from


1 Heading 1

to

Chapter 1

Heading 1


The easiest way is probably to use the titlesec package, whose documentation
is pretty good and provides lots of examples.

Richard



  1   2   3   4   5   6   7   8   >