Re: Change the Floatname only for some Floats

2008-09-09 Thread Jürgen Spitzmüller
Johannes Knaus wrote:
> I indeed intended to write tableaux. The thing is: They are there but  
> numbering in Lyx starts with a 0 while it's a 1 in the output.
> Is it possible to make an equal numbering in both views (preferably  
> starting with 1)?
> But that's a minor issue.

Strange. I have correct (staring from 1) numbering here.

Jürgen


Re: Change the Floatname only for some Floats

2008-09-09 Thread Johannes Knaus


Am 09.09.2008 um 10:02 schrieb Jürgen Spitzmüller:


[EMAIL PROTECTED] wrote:

I have only some additional questions:
1.) In the Lyx view of the document the numbering for the newly aux?


Sorry, this is slightly too elliptic for my parser. If you mean that  
Tableaux

should be numbered in the LyX view: they are here.


Oh, sorry my thoughts went faster than my fingers ;-)
I indeed intended to write tableaux. The thing is: They are there but  
numbering in Lyx starts with a 0 while it's a 1 in the output.
Is it possible to make an equal numbering in both views (preferably  
starting with 1)?

But that's a minor issue.

All the rest works great.
Thanks a lot for your help.

Johannes



Re: Change the Floatname only for some Floats

2008-09-09 Thread Jürgen Spitzmüller
[EMAIL PROTECTED] wrote:
> I have only some additional questions:
> 1.) In the Lyx view of the document the numbering for the newly aux?

Sorry, this is slightly too elliptic for my parser. If you mean that Tableaux 
should be numbered in the LyX view: they are here.

> 2.) The document I'm writing on uses KOMA-Script Book. I have changed the
> position of the table captions with the option "tablecaptionabove" in
> Document Settings>Document Class>Options. How can I get this positioning
> also for the newly created float-type?

In preamble:

\floatstyle{komaabove}
\restylefloat{tableau}

> Best wishes,
> Johannes
>
> P.S. I think adding this to the linguistics module in 1.6 would be great.

done. Grab it here:
http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/layouts/linguistics.module?format=raw

Jürgen


Re: Change the Floatname only for some Floats

2008-09-07 Thread knauslists
Thanks to Paul and J?n for their quick replies.

The solution I was looking for was exactly what J?n suggested.
I have created the .inc-file and it works fine, thank you.

I have only some additional questions:
1.) In the Lyx view of the document the numbering for the newly aux?

2.) The document I'm writing on uses KOMA-Script Book. I have changed the 
position of the table captions with the option "tablecaptionabove" in Document 
Settings>Document Class>Options. How can I get this positioning also for the 
newly created float-type?

Best wishes,
Johannes

P.S. I think adding this to the linguistics module in 1.6 would be great.

- original Nachricht ----

Betreff: Re: Change the Floatname only for some Floats
Gesendet: Sa 06 Sep 2008 08:55:37 CEST
Von: "J?n Spitzm?r"<[EMAIL PROTECTED]>

> Paul A. Rubin wrote:
> > > (Right now, Linguists know what kind of document I'm working on ;-)
> >
> > Not a linguist.  Therefore not a clue.  
> 
> LinguistLyX would have given you an "pointing hand" to the theory Johannes
> is 
> working with ;-)
> 
> > Wish I'd read this yesterday -- 
> > I met a couple (my first two linguists!) at a reception.  Doesn't
> > matter; to each his own.  :-)
> >
> > > Is this possible?
> >
> > If you want Tables and Tableaus (Tableaux? my spellchecker seems to
> > prefer the latter -- but then it doesn't believe spellchecker is a word)
> > to share a common number sequence (e.g., Table 1 followed by Tableau 2
> > followed by Table 3), it's easy.  Put usepackage{caption} in the
> > preamble.  Put captionsetup{name=Tableau} in ERT inside those table
> > floats that you want to be tableaux.
> 
> In the other case, create a file myfloats.inc that is included in your
> layout 
> file and has a content such as this:
> 
> Float
>   Type  tableau
>   GuiName   Tableau
>   Placement tbp
>   Extension loo
>   NumberWithin  none
>   Style plain
>   ListName  "List of Tableaux"
>   LaTeXBuiltin  false
> End
> 
> Have a look at stdfloats.inc for a model.
> 
> For 1.6, we could include this into the Linguistics module.
> 
> J?n
> 

--- original Nachricht Ende 




Gesendet von freenetMail-
Mehr als nur eine E-Mail-Adresse
http://email.freenet.de/dienste/emailoffice/produktuebersicht/basic/mail/index.html?pid=6828



Re: Change the Floatname only for some Floats

2008-09-05 Thread Jürgen Spitzmüller
Paul A. Rubin wrote:
> > (Right now, Linguists know what kind of document I'm working on ;-)
>
> Not a linguist.  Therefore not a clue.  

LinguistLyX would have given you an "pointing hand" to the theory Johannes is 
working with ;-)

> Wish I'd read this yesterday -- 
> I met a couple (my first two linguists!) at a reception.  Doesn't
> matter; to each his own.  :-)
>
> > Is this possible?
>
> If you want Tables and Tableaus (Tableaux? my spellchecker seems to
> prefer the latter -- but then it doesn't believe spellchecker is a word)
> to share a common number sequence (e.g., Table 1 followed by Tableau 2
> followed by Table 3), it's easy.  Put \usepackage{caption} in the
> preamble.  Put \captionsetup{name=Tableau} in ERT inside those table
> floats that you want to be tableaux.

In the other case, create a file myfloats.inc that is included in your layout 
file and has a content such as this:

Float
Type  tableau
GuiName   Tableau
Placement tbp
Extension loo
NumberWithin  none
Style plain
ListName  "List of Tableaux"
LaTeXBuiltin  false
End

Have a look at stdfloats.inc for a model.

For 1.6, we could include this into the Linguistics module.

Jürgen


Re: Change the Floatname only for some Floats

2008-09-05 Thread Paul A. Rubin

Johannes Knaus wrote:

Hello,

I'm editing a document which has a bunch of table floats in it.
For some tables the floatname "Table x.x" is appropriate and should 
remain like this.
But for some tablefloats I want to change the word "Table" in the 
floatname into "Tableau"

(Right now, Linguists know what kind of document I'm working on ;-)


Not a linguist.  Therefore not a clue.  Wish I'd read this yesterday -- 
I met a couple (my first two linguists!) at a reception.  Doesn't 
matter; to each his own.  :-)


Is this possible?



If you want Tables and Tableaus (Tableaux? my spellchecker seems to 
prefer the latter -- but then it doesn't believe spellchecker is a word) 
to share a common number sequence (e.g., Table 1 followed by Tableau 2 
followed by Table 3), it's easy.  Put \usepackage{caption} in the 
preamble.  Put \captionsetup{name=Tableau} in ERT inside those table 
floats that you want to be tableaux.


/Paul



Change the Floatname only for some Floats

2008-09-05 Thread Johannes Knaus

Hello,

I'm editing a document which has a bunch of table floats in it.
For some tables the floatname "Table x.x" is appropriate and should  
remain like this.
But for some tablefloats I want to change the word "Table" in the  
floatname into "Tableau"

(Right now, Linguists know what kind of document I'm working on ;-)

Is this possible?

Greets,
Johannes


--

Sometimes I lie awake at night, and ask, "Where have I gone wrong?"
Then a voice says to me, "This is going to take more than one  
night." (Charlie Brown)