Re: Problems with indentation and linguistics module (covington)

2013-01-30 Thread Hiram Ring

Jürgen Spitzmüller spitz@... writes:

 
 Johannes Knaus wrote:
  Yes! That does it!
 
 It's now documented on the wiki, together with some related information:
 http://wiki.lyx.org/LyX/LinguistLyX#toc16
 
 Jürgen
 
 

Hi Jürgen,

  Sorry to re-open this thread, but it no longer works, or at least not on my
system. Does LyX now handle glossing differently? Or has the \leftmargini
command been subsumed by another command?

  I posted more details of my issue here:
http://www.latex-community.org/forum/viewtopic.php?f=19p=75890

Any thoughts/recommendations you have would be greatly appreciated. Of course,
it may just be my system having this issue, which would also be worth knowing.

Best,
Hiram






Re: Problems with indentation and linguistics module (covington)

2013-01-30 Thread Jürgen Spitzmüller
2013/1/30 Hiram Ring:
   Sorry to re-open this thread, but it no longer works, or at least not on my
 system. Does LyX now handle glossing differently? Or has the \leftmargini
 command been subsumed by another command?

   I posted more details of my issue here:
 http://www.latex-community.org/forum/viewtopic.php?f=19p=75890

 Any thoughts/recommendations you have would be greatly appreciated. Of course,
 it may just be my system having this issue, which would also be worth knowing.

The tip on the wiki only changes the example (singular) environment.
To achieve the same with examples (plural), add the following to the
preamble;

\let\oldexamples\examples
\let\endoldexamples\endexamples
\renewenvironment{examples}{%
\setlength\leftmargini{3.05em}
\begin{oldexamples}%
\settowidth{\labelwidth}{(0.00)}}
{\end{oldexamples}}

HTH
Jürgen

 Best,
 Hiram


Re: Problems with indentation and linguistics module (covington)

2013-01-30 Thread Hiram Ring
Jürgen Spitzmüller spitz at lyx.org writes:

 
 The tip on the wiki only changes the example (singular) environment.
 To achieve the same with examples (plural), add the following to the
 preamble;
 
 \let\oldexamples\examples
 \let\endoldexamples\endexamples
 \renewenvironment{examples}{%
 \setlength\leftmargini{3.05em}
 \begin{oldexamples}%
 \settowidth{\labelwidth}{(0.00)}}
 {\end{oldexamples}}
 
 HTH
 Jürgen
 


Thanks Jürgen! Yes, that works perfectly!

Amazing how simple the solution was - I was approaching the issue from so many
wrong directions.

Thanks again,
Hiram



Re: Problems with indentation and linguistics module (covington)

2013-01-30 Thread Hiram Ring

Jürgen Spitzmüller spitz@... writes:

 
 Johannes Knaus wrote:
  Yes! That does it!
 
 It's now documented on the wiki, together with some related information:
 http://wiki.lyx.org/LyX/LinguistLyX#toc16
 
 Jürgen
 
 

Hi Jürgen,

  Sorry to re-open this thread, but it no longer works, or at least not on my
system. Does LyX now handle glossing differently? Or has the \leftmargini
command been subsumed by another command?

  I posted more details of my issue here:
http://www.latex-community.org/forum/viewtopic.php?f=19p=75890

Any thoughts/recommendations you have would be greatly appreciated. Of course,
it may just be my system having this issue, which would also be worth knowing.

Best,
Hiram






Re: Problems with indentation and linguistics module (covington)

2013-01-30 Thread Jürgen Spitzmüller
2013/1/30 Hiram Ring:
   Sorry to re-open this thread, but it no longer works, or at least not on my
 system. Does LyX now handle glossing differently? Or has the \leftmargini
 command been subsumed by another command?

   I posted more details of my issue here:
 http://www.latex-community.org/forum/viewtopic.php?f=19p=75890

 Any thoughts/recommendations you have would be greatly appreciated. Of course,
 it may just be my system having this issue, which would also be worth knowing.

The tip on the wiki only changes the example (singular) environment.
To achieve the same with examples (plural), add the following to the
preamble;

\let\oldexamples\examples
\let\endoldexamples\endexamples
\renewenvironment{examples}{%
\setlength\leftmargini{3.05em}
\begin{oldexamples}%
\settowidth{\labelwidth}{(0.00)}}
{\end{oldexamples}}

HTH
Jürgen

 Best,
 Hiram


Re: Problems with indentation and linguistics module (covington)

2013-01-30 Thread Hiram Ring
Jürgen Spitzmüller spitz at lyx.org writes:

 
 The tip on the wiki only changes the example (singular) environment.
 To achieve the same with examples (plural), add the following to the
 preamble;
 
 \let\oldexamples\examples
 \let\endoldexamples\endexamples
 \renewenvironment{examples}{%
 \setlength\leftmargini{3.05em}
 \begin{oldexamples}%
 \settowidth{\labelwidth}{(0.00)}}
 {\end{oldexamples}}
 
 HTH
 Jürgen
 


Thanks Jürgen! Yes, that works perfectly!

Amazing how simple the solution was - I was approaching the issue from so many
wrong directions.

Thanks again,
Hiram



Re: Problems with indentation and linguistics module (covington)

2013-01-30 Thread Hiram Ring

Jürgen Spitzmüller  writes:

> 
> Johannes Knaus wrote:
> > Yes! That does it!
> 
> It's now documented on the wiki, together with some related information:
> http://wiki.lyx.org/LyX/LinguistLyX#toc16
> 
> Jürgen
> 
> 

Hi Jürgen,

  Sorry to re-open this thread, but it no longer works, or at least not on my
system. Does LyX now handle glossing differently? Or has the \leftmargini
command been subsumed by another command?

  I posted more details of my issue here:
http://www.latex-community.org/forum/viewtopic.php?f=19=75890

Any thoughts/recommendations you have would be greatly appreciated. Of course,
it may just be my system having this issue, which would also be worth knowing.

Best,
Hiram






Re: Problems with indentation and linguistics module (covington)

2013-01-30 Thread Jürgen Spitzmüller
2013/1/30 Hiram Ring:
>   Sorry to re-open this thread, but it no longer works, or at least not on my
> system. Does LyX now handle glossing differently? Or has the \leftmargini
> command been subsumed by another command?
>
>   I posted more details of my issue here:
> http://www.latex-community.org/forum/viewtopic.php?f=19=75890
>
> Any thoughts/recommendations you have would be greatly appreciated. Of course,
> it may just be my system having this issue, which would also be worth knowing.

The tip on the wiki only changes the example (singular) environment.
To achieve the same with examples (plural), add the following to the
preamble;

\let\oldexamples\examples
\let\endoldexamples\endexamples
\renewenvironment{examples}{%
\setlength\leftmargini{3.05em}
\begin{oldexamples}%
\settowidth{\labelwidth}{(0.00)}}
{\end{oldexamples}}

HTH
Jürgen

> Best,
> Hiram


Re: Problems with indentation and linguistics module (covington)

2013-01-30 Thread Hiram Ring
Jürgen Spitzmüller  lyx.org> writes:

> 
> The tip on the wiki only changes the example (singular) environment.
> To achieve the same with examples (plural), add the following to the
> preamble;
> 
> \let\oldexamples\examples
> \let\endoldexamples\endexamples
> \renewenvironment{examples}{%
> \setlength\leftmargini{3.05em}
> \begin{oldexamples}%
> \settowidth{\labelwidth}{(0.00)}}
> {\end{oldexamples}}
> 
> HTH
> Jürgen
> 


Thanks Jürgen! Yes, that works perfectly!

Amazing how simple the solution was - I was approaching the issue from so many
wrong directions.

Thanks again,
Hiram



Re: Problems with indentation and linguistics module (covington)

2009-08-12 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 After some days of playing around I still haven't found a solution to  
 the problem. Indeed it seems a very tricky business.

 It seems that \leftmargin is completely ignored:

There are two things to be considered here:

1. leftmargin is differentiated per indendation level (\leftmargini, 
\leftmarginii, etc.)

2. \leftmargin needs to be set before the list starts.

Try something like:

\renewenvironment{example}{%
\setlength\leftmargini{3.05em}
\begin{examples}%
\settowidth{\labelwidth}{(0.00)}%
\item}
{\end{examples}}

HTH,
Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-12 Thread Johannes Knaus

Yes! That does it!

A big Thank You from Johannes.


Am 12.08.2009 um 10:33 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

After some days of playing around I still haven't found a solution to
the problem. Indeed it seems a very tricky business.

It seems that \leftmargin is completely ignored:


There are two things to be considered here:

1. leftmargin is differentiated per indendation level (\leftmargini,
\leftmarginii, etc.)

2. \leftmargin needs to be set before the list starts.

Try something like:

\renewenvironment{example}{%
\setlength\leftmargini{3.05em}
\begin{examples}%
\settowidth{\labelwidth}{(0.00)}%
\item}
{\end{examples}}

HTH,
Jürgen




Re: Problems with indentation and linguistics module (covington)

2009-08-12 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 Yes! That does it!

It's now documented on the wiki, together with some related information:
http://wiki.lyx.org/LyX/LinguistLyX#toc16

Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-12 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 After some days of playing around I still haven't found a solution to  
 the problem. Indeed it seems a very tricky business.

 It seems that \leftmargin is completely ignored:

There are two things to be considered here:

1. leftmargin is differentiated per indendation level (\leftmargini, 
\leftmarginii, etc.)

2. \leftmargin needs to be set before the list starts.

Try something like:

\renewenvironment{example}{%
\setlength\leftmargini{3.05em}
\begin{examples}%
\settowidth{\labelwidth}{(0.00)}%
\item}
{\end{examples}}

HTH,
Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-12 Thread Johannes Knaus

Yes! That does it!

A big Thank You from Johannes.


Am 12.08.2009 um 10:33 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

After some days of playing around I still haven't found a solution to
the problem. Indeed it seems a very tricky business.

It seems that \leftmargin is completely ignored:


There are two things to be considered here:

1. leftmargin is differentiated per indendation level (\leftmargini,
\leftmarginii, etc.)

2. \leftmargin needs to be set before the list starts.

Try something like:

\renewenvironment{example}{%
\setlength\leftmargini{3.05em}
\begin{examples}%
\settowidth{\labelwidth}{(0.00)}%
\item}
{\end{examples}}

HTH,
Jürgen




Re: Problems with indentation and linguistics module (covington)

2009-08-12 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 Yes! That does it!

It's now documented on the wiki, together with some related information:
http://wiki.lyx.org/LyX/LinguistLyX#toc16

Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-12 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
> After some days of playing around I still haven't found a solution to  
> the problem. Indeed it seems a very tricky business.
>
> It seems that \leftmargin is completely ignored:

There are two things to be considered here:

1. leftmargin is differentiated per indendation level (\leftmargini, 
\leftmarginii, etc.)

2. \leftmargin needs to be set before the list starts.

Try something like:

\renewenvironment{example}{%
\setlength\leftmargini{3.05em}
\begin{examples}%
\settowidth{\labelwidth}{(0.00)}%
\item}
{\end{examples}}

HTH,
Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-12 Thread Johannes Knaus

Yes! That does it!

A big Thank You from Johannes.


Am 12.08.2009 um 10:33 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

After some days of playing around I still haven't found a solution to
the problem. Indeed it seems a very tricky business.

It seems that \leftmargin is completely ignored:


There are two things to be considered here:

1. leftmargin is differentiated per indendation level (\leftmargini,
\leftmarginii, etc.)

2. \leftmargin needs to be set before the list starts.

Try something like:

\renewenvironment{example}{%
\setlength\leftmargini{3.05em}
\begin{examples}%
\settowidth{\labelwidth}{(0.00)}%
\item}
{\end{examples}}

HTH,
Jürgen




Re: Problems with indentation and linguistics module (covington)

2009-08-12 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
> Yes! That does it!

It's now documented on the wiki, together with some related information:
http://wiki.lyx.org/LyX/LinguistLyX#toc16

Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-11 Thread Johannes Knaus

Hello again,

After some days of playing around I still haven't found a solution to  
the problem. Indeed it seems a very tricky business.


It seems that \leftmargin is completely ignored:

\setlength{\leftmargin}{2pt}
or
\setlength{\leftmargin}{92pt}

do not change anything in the pdf-output.

The labels are still standing out/are not aligned with the leftmargin  
of the main text.

Here's the whole relevant part of the preamble:

%correctly adjustment of covington examples
\renewenvironment{example}{%
\begin{examples}
\settowidth{\labelwidth}{(0.00)}
\setlength{\leftmargin}{92pt}
\item}
{\end{examples}}

Can you/someone help me?

Johannes



Am 06.08.2009 um 19:21 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

I added these lines to the preamble and now the numbers are correctly
indented but on the beginning/the left side they stand out a little
bit, seen from the left textborder.
That isn't the case without the lines above.


You need to play with other list values such as \leftmargin.  
Adjusting lists

can be a tricky business.

Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-11 Thread Johannes Knaus

Hello again,

After some days of playing around I still haven't found a solution to  
the problem. Indeed it seems a very tricky business.


It seems that \leftmargin is completely ignored:

\setlength{\leftmargin}{2pt}
or
\setlength{\leftmargin}{92pt}

do not change anything in the pdf-output.

The labels are still standing out/are not aligned with the leftmargin  
of the main text.

Here's the whole relevant part of the preamble:

%correctly adjustment of covington examples
\renewenvironment{example}{%
\begin{examples}
\settowidth{\labelwidth}{(0.00)}
\setlength{\leftmargin}{92pt}
\item}
{\end{examples}}

Can you/someone help me?

Johannes



Am 06.08.2009 um 19:21 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

I added these lines to the preamble and now the numbers are correctly
indented but on the beginning/the left side they stand out a little
bit, seen from the left textborder.
That isn't the case without the lines above.


You need to play with other list values such as \leftmargin.  
Adjusting lists

can be a tricky business.

Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-11 Thread Johannes Knaus

Hello again,

After some days of playing around I still haven't found a solution to  
the problem. Indeed it seems a very tricky business.


It seems that \leftmargin is completely ignored:

\setlength{\leftmargin}{2pt}
or
\setlength{\leftmargin}{92pt}

do not change anything in the pdf-output.

The labels are still standing out/are not aligned with the leftmargin  
of the main text.

Here's the whole relevant part of the preamble:

%correctly adjustment of covington examples
\renewenvironment{example}{%
\begin{examples}
\settowidth{\labelwidth}{(0.00)}
\setlength{\leftmargin}{92pt}
\item}
{\end{examples}}

Can you/someone help me?

Johannes



Am 06.08.2009 um 19:21 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

I added these lines to the preamble and now the numbers are correctly
indented but on the beginning/the left side they stand out a little
bit, seen from the left textborder.
That isn't the case without the lines above.


You need to play with other list values such as \leftmargin.  
Adjusting lists

can be a tricky business.

Jürgen


Problems with indentation and linguistics module (covington)

2009-08-06 Thread Johannes Knaus

Hello,

I've got a problem with the example-numbering in the linguistics  
module:


I use the example-style to refer to OT-constraint definition  
(linguists may know what I'm talking about).

Basically it always looks like this:

(3.1) Constraint Name linebreak
  Constraint Definition

This works fine and the two words Constraint are perfectly aligned  
under each other, i.e. have the same indentation (obviously better  
than in this email ;-).


The problem occurs in a chapter (maybe I should note that I use KOMA- 
script book) where the counter grows above 9.

This looks roughly like this:

(3.10) Constraint Name linebreak
   Constraint Definition

So the indentation of the second line is to small. It seems that it is  
aligned in the same depth as if the counter consisted of only one  
number.


Can I correct this? How?

Thanks for replying.

Johannes




Re: Problems with indentation and linguistics module (covington)

2009-08-06 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 So the indentation of the second line is to small. It seems that it is  
 aligned in the same depth as if the counter consisted of only one  
 number.

 Can I correct this? How?

\renewenvironment{example}{%
\begin{examples}\settowidth{\labelwidth}{(0.00)}\item}
{\end{examples}}

Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-06 Thread Johannes Knaus

Can I correct this? How?


\renewenvironment{example}{%
\begin{examples}\settowidth{\labelwidth}{(0.00)}\item}
{\end{examples}}

Jürgen


I added these lines to the preamble and now the numbers are correctly  
indented but on the beginning/the left side they stand out a little  
bit, seen from the left textborder.

That isn't the case without the lines above.

Roughly, it looks like this:

  text text text text text text text
  text text text text text text text
  text text text text text text text

(3.10)  Example
 Example

  text text text text text text text
  text text text text text text text
  text text text text text text text
  text text text text text text text



Grüße,

Johannes

Re: Problems with indentation and linguistics module (covington)

2009-08-06 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 I added these lines to the preamble and now the numbers are correctly  
 indented but on the beginning/the left side they stand out a little  
 bit, seen from the left textborder.
 That isn't the case without the lines above.

You need to play with other list values such as \leftmargin. Adjusting lists 
can be a tricky business.

Jürgen


Problems with indentation and linguistics module (covington)

2009-08-06 Thread Johannes Knaus

Hello,

I've got a problem with the example-numbering in the linguistics  
module:


I use the example-style to refer to OT-constraint definition  
(linguists may know what I'm talking about).

Basically it always looks like this:

(3.1) Constraint Name linebreak
  Constraint Definition

This works fine and the two words Constraint are perfectly aligned  
under each other, i.e. have the same indentation (obviously better  
than in this email ;-).


The problem occurs in a chapter (maybe I should note that I use KOMA- 
script book) where the counter grows above 9.

This looks roughly like this:

(3.10) Constraint Name linebreak
   Constraint Definition

So the indentation of the second line is to small. It seems that it is  
aligned in the same depth as if the counter consisted of only one  
number.


Can I correct this? How?

Thanks for replying.

Johannes




Re: Problems with indentation and linguistics module (covington)

2009-08-06 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 So the indentation of the second line is to small. It seems that it is  
 aligned in the same depth as if the counter consisted of only one  
 number.

 Can I correct this? How?

\renewenvironment{example}{%
\begin{examples}\settowidth{\labelwidth}{(0.00)}\item}
{\end{examples}}

Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-06 Thread Johannes Knaus

Can I correct this? How?


\renewenvironment{example}{%
\begin{examples}\settowidth{\labelwidth}{(0.00)}\item}
{\end{examples}}

Jürgen


I added these lines to the preamble and now the numbers are correctly  
indented but on the beginning/the left side they stand out a little  
bit, seen from the left textborder.

That isn't the case without the lines above.

Roughly, it looks like this:

  text text text text text text text
  text text text text text text text
  text text text text text text text

(3.10)  Example
 Example

  text text text text text text text
  text text text text text text text
  text text text text text text text
  text text text text text text text



Grüße,

Johannes

Re: Problems with indentation and linguistics module (covington)

2009-08-06 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
 I added these lines to the preamble and now the numbers are correctly  
 indented but on the beginning/the left side they stand out a little  
 bit, seen from the left textborder.
 That isn't the case without the lines above.

You need to play with other list values such as \leftmargin. Adjusting lists 
can be a tricky business.

Jürgen


Problems with indentation and linguistics module (covington)

2009-08-06 Thread Johannes Knaus

Hello,

I've got a problem with the "example"-numbering in the linguistics  
module:


I use the example-style to refer to OT-constraint definition  
(linguists may know what I'm talking about).

Basically it always looks like this:

(3.1) Constraint Name 
  Constraint Definition

This works fine and the two words "Constraint" are perfectly aligned  
under each other, i.e. have the same indentation (obviously better  
than in this email ;-).


The problem occurs in a chapter (maybe I should note that I use KOMA- 
script book) where the counter grows above 9.

This looks roughly like this:

(3.10) Constraint Name 
   Constraint Definition

So the indentation of the second line is to small. It seems that it is  
aligned in the same depth as if the counter consisted of only one  
number.


Can I correct this? How?

Thanks for replying.

Johannes




Re: Problems with indentation and linguistics module (covington)

2009-08-06 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
> So the indentation of the second line is to small. It seems that it is  
> aligned in the same depth as if the counter consisted of only one  
> number.
>
> Can I correct this? How?

\renewenvironment{example}{%
\begin{examples}\settowidth{\labelwidth}{(0.00)}\item}
{\end{examples}}

Jürgen


Re: Problems with indentation and linguistics module (covington)

2009-08-06 Thread Johannes Knaus

Can I correct this? How?


\renewenvironment{example}{%
\begin{examples}\settowidth{\labelwidth}{(0.00)}\item}
{\end{examples}}

Jürgen


I added these lines to the preamble and now the numbers are correctly  
indented but on the beginning/the left side they stand out a little  
bit, seen from the left textborder.

That isn't the case without the lines above.

Roughly, it looks like this:

  text text text text text text text
  text text text text text text text
  text text text text text text text

(3.10)  Example
 Example

  text text text text text text text
  text text text text text text text
  text text text text text text text
  text text text text text text text



Grüße,

Johannes

Re: Problems with indentation and linguistics module (covington)

2009-08-06 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
> I added these lines to the preamble and now the numbers are correctly  
> indented but on the beginning/the left side they stand out a little  
> bit, seen from the left textborder.
> That isn't the case without the lines above.

You need to play with other list values such as \leftmargin. Adjusting lists 
can be a tricky business.

Jürgen