Re: Re: Graphics puzzle

2001-05-17 Thread Guenter Milde

On Thu, 17 May 2001 05:53:18 +0200 wrote Herbert Voss 
[EMAIL PROTECTED]:

 Kathryn Andersen wrote:
 
  Hello again!
  I am trying to include EPS graphics in my document, and as soon as the
  graphic is more than 50% of the page height, it is put on a separate
  page.  Is there any way of allowing the picture to be bigger, without it
  being put on a float-page?  I tried the following in the preamble
  (after reading about it in the fancyhdr documentation) but it doesn't
  make a bit of difference!
  
  \renewcommand{\textfraction}{0.05}
  \renewcommand{\topfraction}{0.95}
  \renewcommand{\bottomfraction}{0.95}
 

Do you have twocolumn text? Then there is another parameter \dbltopfraction
in addition to \topfraction. Try
\renewcommand{\dbltopfraction}{0.95}

Another quick workaround would be not to use floats - just insert the
picture in the text where you want to have it. (Then, of course you cannot
include it in the Table of Figures and don't have a numbered Caption)


 have a look at
 http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#position
 http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#floats_1

Unfortunately, I believe here is a gap in the otherwise comprehensive
documentation at the First place to look when in trouble space.

The issue with the \textfraction, \topfraction, and \bottomfraction commands
is only rarely documented - I did not find any online-doc that has it. The
only documentation I found after long search is Kopka: LaTeX Einführung Band
1 Kapitel 6.6.2

As these parameters are quite restrictive by default but not very
transparent to the user it would be nice to have a section Stilparameter
für gleitende Objekte in the LyX-Tips.



--
[EMAIL PROTECTED]




Re: [Fwd: aa.layout]

2001-05-17 Thread Rosaria Tantalo


Peter Suetterlin wrote:
Jean-Marc Lasgouttes wrote:
>
> Peter> The problem is that the according LyX layout is called aapaper.
>
> Is there a reason for that?
Good question. I *think* there was one, but it's already that
long
ago that I wrote it. But probably many of the layout files have
that
problem. You think we should change it to aa.layout?
 Pit
I Have tryed this, and it works yes, I able to inport the .tex file
in lyx, but there are problem in viewing the postscript a lot of commands
are not recognized.
Probably we have to update the layout files, since many thinks are changed
with this new aa.csl file..
But I don't know how to do this
Cheers
Rosi
--
Tantalo Rosaria - Department of Astronomy
Vicolo dell'Osservatorio, 2 - 35122 PADOVA
tel: +390498278251 - fax:+390498278212



Re: [Fwd: aa.layout]

2001-05-17 Thread Jean-Marc Lasgouttes

 Peter == Peter Suetterlin [EMAIL PROTECTED] writes:

Peter Good question. I *think* there was one, but it's already that
Peter long ago that I wrote it. But probably many of the layout files
Peter have that problem. You think we should change it to aa.layout?

Yes, probably... This would certainly help reLyX.

JMarc



Re: [Fwd: aa.layout]

2001-05-17 Thread Peter Suetterlin

Rosaria Tantalo wrote:

 I Have tryed this, and it works yes, I able to inport the .tex
 file in lyx, but there are problem in viewing the postscript a lot of
 commands are not recognized.

 Probably we have to update the layout files, since many thinks are
 changed with this new aa.csl file..  But I don't know how to do
 this

Hmm, I'm using aapaper.layout and the recent aa.cls (version 4.03) for
quite some time without severe problems.  They work well together.

Could it be that your TeX-file is an old one that needed the latex209
style file?

My ony problems when converting tex files from aa to LyX are figure
floats (images are positioned outside the floats) and the cite* command
for references.

What exactly are your problems?

   Pit

-- 
Peter Pit Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



Re: Lyx non-technical writing

2001-05-17 Thread Matej Cepl

On Thu, May 17, 2001 at 07:21:20AM +1000, Kathryn Andersen wrote:
 Hello everyone!
 I am investigating LyX as a possible replacement to my former desktop
 publishing software (die, Microsoft, die!) (ahem)  It has many nifty
 features that I like, besides the principle of WYSIWYM is terribly
 appealing.   I have never used LaTeX, but with LyX you don't have to
 know it, right?
 
 Unfortunately, my publication (an amateur fiction magazine) is not a
 technical journal or a thesis or a tretise, it's a bit more colourful
 and less formal than that -- which means for certain things, I have had
 to do battle with LyX instead of working with it.

OK, to be honest, I think that for writing in your own layout, you NEED 
to learn LaTeX. I am sorry to say that. On the other hand, it is really 
not so bad as it seems to be. Get a copy of LaTeX Companion and read  it
-- I am not a computer scientist (actually, I am a lawyer) and it  was
not so bad even for me (although, I usually use pretty boring mainstream 
default stuff).

Happy LyXing and welcome on board!

Matej



Re: latin2 keyboard in LyX 1.1.6fix1

2001-05-17 Thread Robin Turner

On Monday 14 May 2001 11:22, Jean-Marc Lasgouttes wrote:


 There is a known problem with turkish locales, which is the 'i' is not
 the lower case variant of 'I'. This breaks the parsing of layout
 files (where keywords are case-insensitive). Try to set the
 environment variable LC_COLLATE to C.

Hey, it works!  Thanks.


Robin



Re: latin2 keyboard in LyX 1.1.6fix1

2001-05-17 Thread Jean-Marc Lasgouttes

 Robin == Robin Turner [EMAIL PROTECTED] writes:

Robin On Monday 14 May 2001 11:22, Jean-Marc Lasgouttes wrote:
  There is a known problem with turkish locales, which is the 'i' is
 not the lower case variant of 'I'. This breaks the parsing of
 layout files (where keywords are case-insensitive). Try to set the
 environment variable LC_COLLATE to C.

Robin Hey, it works! Thanks.

Of course, it would be better if somebody took the time to really fix
the bug... Not difficult, really.

JMarc



numbering equations

2001-05-17 Thread yvonne

Hallo,
I'm a happy LyX user, but
how do I number equations as: 
(1.1a), (1.2b), etc...

Thank you

Yvonne
  

_s_p_r_a_y_
Chi Spray, Trova. 
Richiedi la tua casella di posta elettronica gratuita 
ed il tuo accesso gratuito ad internet su 
http://www.spray.it




Re: Graphics puzzle

2001-05-17 Thread Herbert Voss

Guenter Milde wrote:

 \renewcommand{\textfraction}{0.05}
 \renewcommand{\topfraction}{0.95}
 \renewcommand{\bottomfraction}{0.95}
 
 
 Do you have twocolumn text? Then there is another parameter \dbltopfraction
 in addition to \topfraction. Try
 \renewcommand{\dbltopfraction}{0.95}
 
 Unfortunately, I believe here is a gap in the otherwise comprehensive
 documentation at the First place to look when in trouble space.
 
 The issue with the \textfraction, \topfraction, and \bottomfraction commands
 is only rarely documented - I did not find any online-doc that has it. The
 only documentation I found after long search is Kopka: LaTeX Einführung Band
 1 Kapitel 6.6.2

Lamport: Das Latex Handbuch, p. 231
Goosens,et al.: The Latex Companion, p. 142
Klöckl: Latex2e, p. 77
Reichert: Gleitobjekte - die richtige Schmierung
   (CTAN:info/german/gleitobjekte/gleitobjekte.dvi)!
http://www.cs.uu.nl/~piet/floats/

and last bot not least :-)
the official TeX-faq, available in many formats and in many
languages. in the german faq (www.dante.de):
chap. 6.1.3 Wie muss ich die 'float'-Parameter ändern, so dass die
Abbildungen und Tabellen günstiger inenrhalb eines Abschnitts
verteilt werden

 As these parameters are quite restrictive by default but not very
 transparent to the user it would be nice to have a section Stilparameter
 für gleitende Objekte in the LyX-Tips.

I don't think so ...

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: numbering equations

2001-05-17 Thread Herbert Voss

[EMAIL PROTECTED] wrote:

 Hallo,
 I'm a happy LyX user, but
 how do I number equations as: 
 (1.1a), (1.2b), etc...

is it chapter.section.nr
or section.nr.subequation?
or anything else?
Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




My first lyx layout file

2001-05-17 Thread Michael Lauer

Hi,

I want to write a layout file for the standard letter format
we use in our institution. I'm struggleing very early here...
I find the chapter on LyX layouts very brief - there really
should be something tutorial like. However, within the .cls
file I have a \begin{letter}{Prof. Dr. Hagedorn} which forms
the address and opens the letter environment. Somewhere later
there is the obligate \end{letter}. How do I transform this
construct into a LyX 'Style' ? My first attempt was

Style Adresse
LatexType   Environment
LatexName   letter
End

which gives the corresponding \begin{letter}...\end{letter}
in the resulting LaTeX file. But how do I specify the
recipient in LyX ? Typing text within the address layout
gives \begin{letter} text - which does not help.

Any ideas or points to additional layout documentation ?

Thanks,

:M:

Michael 'Mickey' Lauer . . . . . . . . . [EMAIL PROTECTED]
How could anyone know me - when I don't even know myself ?






Re: My first lyx layout file

2001-05-17 Thread Michael Lauer

 should be something tutorial like. However, within the .cls
 file I have a \begin{letter}{Prof. Dr. Hagedorn} which forms

Err... sorry, of course within a .tex file, not within the .cls

:M:





Re: numbering equations

2001-05-17 Thread Herbert Voss

[EMAIL PROTECTED] wrote:


layout-document-extra-usepackage amsmath

\begin{subequations}

  .(1.1a)
  .(1.1b)
  .(1.1c)
  .(1.1d)

\end{subequations}


  Do you know how to write the d'alembertian operator?
  In Latex it is \Box, but LyX does not seem to understand the command.

it's a symbol from amsmath, therefore it works when you
activate the above button for amsmath. but remember
to write $\box$

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Frames arround equations

2001-05-17 Thread Thorsten Fischer

Hi,

is there a way in lyx to put a frame around an equation? I've written 
formulas in math mode and tried to put a frame around them using the \fbox{} 
command like you do for equations in Latex.  But this isn't working, I get 
the error, that the equation isn't finiished and } and $ are missing. I tried 
different positions for the fbox command ( inside and outside the math-mode). 
Is there another way to do this, or do I have to write my equations in tex?

Thanks

Thorsten
-- 
Computers let you make more mistakes faster
than any other invention in human history,
with the possible exception of handguns and tequila.

Mitch Radcliffe



Re: Frames arround equations

2001-05-17 Thread Herbert Voss

Thorsten Fischer wrote:

 Hi,
 
 is there a way in lyx to put a frame around an equation? I've written 
 formulas in math mode and tried to put a frame around them using the \fbox{} 
 command like you do for equations in Latex.  But this isn't working, I get 
 the error, that the equation isn't finiished and } and $ are missing. I tried 
 different positions for the fbox command ( inside and outside the math-mode). 
 Is there another way to do this, or do I have to write my equations in tex?

http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#equn_2

Herbert




-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Frames arround equations

2001-05-17 Thread Mitrana Cristian

On Thu, May 17, 2001 at 06:20:09PM +0200, Thorsten Fischer wrote:
 Hi,
 
 is there a way in lyx to put a frame around an equation? I've written 
 formulas in math mode and tried to put a frame around them using the \fbox{} 
 command like you do for equations in Latex.  But this isn't working, I get 
 the error, that the equation isn't finiished and } and $ are missing. I tried 
 different positions for the fbox command ( inside and outside the math-mode). 
 Is there another way to do this, or do I have to write my equations in tex?
 
Have you tried to make a simple table with 1 row and 1 column and
write the equation inside ?
Cristi
-- 



Fwd: Re: Lyx non-technical writing

2001-05-17 Thread EagleIce

On Thursday 17 May 2001 06:15, Herbert Voss wrote:
[snip]

 a lot special stuff, you need! this is more than a
 little bit of special latex commands but its always
 possible.

 Herbert

Wow! Herbert, you keep surprising me.
Ain't LyX swell folk's? I really love it...:-)

Cheers,

ei



-- 
@~~~ EagleIce  [EMAIL PROTECTED] ~~~@
@ Running SuSE Linux 7.1 at home @
@ Caldera OL eDesktop 2.4 at work ~~~@









Re: Graphics puzzle

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 05:53:18AM +0200, Herbert Voss wrote:
 Kathryn Andersen wrote:
 
  Hello again!
  I am trying to include EPS graphics in my document, and as soon as the
  graphic is more than 50% of the page height, it is put on a separate
  page.  Is there any way of allowing the picture to be bigger, without it
  being put on a float-page?  I tried the following in the preamble
  (after reading about it in the fancyhdr documentation) but it doesn't
  make a bit of difference!
  
  \renewcommand{\textfraction}{0.05}
  \renewcommand{\topfraction}{0.95}
  \renewcommand{\bottomfraction}{0.95}
 
 have a look at
 http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#position

I don't see how this one applies to my situation -- it isn't that I need
the pictures on float-pages not to be centred, it's that I don't want
the picture to be on a float page if it is only, say, 60% of the height
of the page (but I do if it is, 95% of the height of the page)

 http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#floats_1

And I'm not sure how this helps either.  I don't need absolute
positioning (I don't think), I just want the float not to be on a
float-page if it is bigger than 50% of the page height.

Or are you saying I should try [!htb] for this particular float?
Because that doesn't work either.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Some day my boat will come in, and with my luck I'll be at the airport.
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Re: Re: Graphics puzzle

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 09:23:36AM +0200, Guenter Milde wrote:
 On Thu, 17 May 2001 05:53:18 +0200 wrote Herbert Voss 
[EMAIL PROTECTED]:
 
  Kathryn Andersen wrote:
  
   Hello again!
   I am trying to include EPS graphics in my document, and as soon as the
   graphic is more than 50% of the page height, it is put on a separate
   page.  Is there any way of allowing the picture to be bigger, without it
   being put on a float-page?  I tried the following in the preamble
   (after reading about it in the fancyhdr documentation) but it doesn't
   make a bit of difference!
   
   \renewcommand{\textfraction}{0.05}
   \renewcommand{\topfraction}{0.95}
   \renewcommand{\bottomfraction}{0.95}
  
 
 Do you have twocolumn text? Then there is another parameter \dbltopfraction
 in addition to \topfraction. Try
 \renewcommand{\dbltopfraction}{0.95}

Thank you!  Yes, I was using twocolumn text, the graphic was in a wide
float.  So I changed that, and it *still* didn't work!
I must be doing something else wrong.
 
 Another quick workaround would be not to use floats - just insert the
 picture in the text where you want to have it. (Then, of course you cannot
 include it in the Table of Figures and don't have a numbered Caption)

Well, I don't mind that, because this is an illustration, not a Figure
in the strictest sense (I don't want nor have a caption), but since it's
a wide picture, I need to use a wide float for it, otherwise we get a
disaster (with the second column proceeding quite happily as if the
picture isn't there at all!)

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Sydney:  What happened?!  What did I do?!
Duncan:  Steady!  Steady!
Sydney:  What happened?
Duncan:  I came out for the soap and you were freaking out.
 (VR.5: VR.5)
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Re: Graphics puzzle

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 04:14:07PM +0200, Herbert Voss wrote:
 Guenter Milde wrote:
 
  \renewcommand{\textfraction}{0.05}
  \renewcommand{\topfraction}{0.95}
  \renewcommand{\bottomfraction}{0.95}
  
  Do you have twocolumn text? Then there is another parameter \dbltopfraction
  in addition to \topfraction. Try
  \renewcommand{\dbltopfraction}{0.95}
  
  Unfortunately, I believe here is a gap in the otherwise comprehensive
  documentation at the First place to look when in trouble space.
  
  The issue with the \textfraction, \topfraction, and \bottomfraction commands
  is only rarely documented - I did not find any online-doc that has it. The
  only documentation I found after long search is Kopka: LaTeX Einführung Band
  1 Kapitel 6.6.2
 
 and last bot not least :-)
 the official TeX-faq, available in many formats and in many

Aha!  I read the FAQ question (thanks to the link to the FAQ on your
page) and changed my parameters to be a little closer to theirs, and
also included the dblfloatpagefraction one, and it seemed to work!
Both with twocolumn and multicols environments!
Thank you!

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Soldier: What the hell happened?
Ray: Bad plumbing.  (Stingray: Playback)
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Re: Lyx non-technical writing

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 06:15:24AM +0200, Herbert Voss wrote:
 Kathryn Andersen wrote:
 
  Hello everyone!
  I am investigating LyX as a possible replacement to my former desktop
  publishing software (die, Microsoft, die!) (ahem)  It has many nifty
  features that I like, besides the principle of WYSIWYM is terribly
  appealing.   I have never used LaTeX, but with LyX you don't have to
  know it, right?
 
 yes and no ;-) this depends to your text

And as has been said by someone else, I'll probably have to learn it.
Or at least, some of it.
Fair enough.
 
  For example, instead of having numbered chapters in boring font, my
  'zine uses a fancy graphic for the title of each story.  Which means I
  cannot take advantage of one of the most attractive features of LyX, the
  automatic table of contents generation.  Now, after RTMing, I think I
  have found a way around this -- insert the EPS graphic in a Chapter*
  section, insert a Label, and then build the table of contents mostly by
  hand, but insert a Pageref at the spot where the page number should be.
  Is there an easier way of doing this?
 
 yes,
 http://www.educat.hu-berlin.de/~voss/lyx/LaTeX/chapterPic.html
 and you have a table of contents as usual

No, I'm afraid I wasn't clear -- the title of the item (in this case, a
story) is *just* the graphic -- I do the title in a fancy font with
maybe some effects, to suit the tone of the particular story.

So it looks like my original solution will have to be it.
 
  And is there a way of forcing a Table to be the width of a page, or of
  columns to be a certain width?  I'm using a Table for my Table of
  Contents, with columns for the Title, Author and genre of the story, and
  a last column for the page-number.  I'd like for the page-number to be
  right against the right side of the page, but at the moment the table
  is too narrow.
 
 this is possible, but not without some latex stuff.
And this latex stuff is...?
 
  There are a few other things I'm not certain if I can do in LyX.  I have
  read the fancyhdr documentation, so I know how to put the page-numbers
  where I want to -- but is there a way I can put a graphic around the
  page-number?  (My 'zine originally put the page numbers inside a little
  hexagon) 
 
 no problem :-)
 \hexagon from package wasysym and page

Okay, so how do I get the page number *inside* the hexagon?  (And make
the hexagon big enough for me to do this sensibly?)
 
  Likewise, is there a way of putting writing inside a graphic
  in the main body of the text?  (For example, a graphic of a fancy
  border, with a poem inside of it)
 
 also possible, the graphic is like a background image

So how do I make a background image on only one page?
I saw there was a package around to put a background image on *all* the
pages, but that isn't what I want.
 
  Another question I have is, is there a way of having a mixture of
  two-column and one-column layout?  The bulk of the 'zine needs to be
  two-column, but the table of contents and the editorial need to be
  one-column.  And the poetry needs to be one-column too.
 
 package multicol

Okay, cool.
Now, I try with multicol to change the column separation, with this
command in the preamble:

\renewcommand{\columnsep}{6mm}

and I get the following error:
Illegal unit of measure (pt inserted)

and then it goes on to tell me that various measures are legal for
dimensions *including mm*

So I figure it's being paranoid, and use the command

\renewcommand{\columnsep}{30pt}

and I get the same error!  What gives?
 
 a lot special stuff, you need! this is more than a
 little bit of special latex commands but its always
 possible.

I expect I will have to learn how to write my own package once I figure
out everything I need.

Thanks for all your help.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Lubarsky's Law of Cybernetic Entomology:
There's always one more bug.
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Alignment in tables, there width is been fixed and other strange things

2001-05-17 Thread Andi

I have a problem, somebody already asked in March, but I was not able to 
solve it anyway:

If I fix the column width of a table, I´m no longer able to center the 
text in the table.
Dekel did some suggestions and attached an example file, but 
unfortunatly I was not able to open it (msg10030.html). There was an 
error message: Tabular5 no longer supported, use an older version of 
Lyx and then Lyx crashed.
Does anyone has a solution for this problem?

Another question is: Do I have to enter each column after another and  
add the table width? Because, if I mark more than one to enter the same 
width for all of them, only one was affected.

While doing this, I ran in another strange thing: If I want to change a 
width I already entered, the cursor leaves the field as soon as I delete 
are enter ONE charakter and I have to use the mouse to activate the 
field again before I can enter the next charakter. Are there some 
settings, I have to change (Lyx1.1.5fix)?

Thanks in advance

Andi




Re: Lyx non-technical writing

2001-05-17 Thread Allan Rae

On Fri, 18 May 2001, Kathryn Andersen wrote:

 On Thu, May 17, 2001 at 06:15:24AM +0200, Herbert Voss wrote:
  Kathryn Andersen wrote:
[...]
 No, I'm afraid I wasn't clear -- the title of the item (in this case, a
 story) is *just* the graphic -- I do the title in a fancy font with
 maybe some effects, to suit the tone of the particular story.

 So it looks like my original solution will have to be it.

You maybe be able to insert some TeX just before the figure in the same
section(?) paragraph as: [the short title]
The stuff inside the [] should then be used by LaTeX to build the table of
contents.  Failing this you can use something like:
\addtocontents{}{}

I'm not sure of the format for that command but I'm sure Herbert has some
entries on that at his help pages.

   And is there a way of forcing a Table to be the width of a page, or of
   columns to be a certain width?  I'm using a Table for my Table of
   Contents, with columns for the Title, Author and genre of the story, and
   a last column for the page-number.  I'd like for the page-number to be
   right against the right side of the page, but at the moment the table
   is too narrow.
 
  this is possible, but not without some latex stuff.
 And this latex stuff is...?

multicol offers some options for setting separations between columns
(gutter width or something like that -- there are some docs that show some
of this in the Extended manual)

Setting table widths may require you to use raw LaTeX for the whole table
because we don't support the tabularx package at present and it seems the
best option for what you want.  You could just use our existing table
support and then for the final fiddling export to LaTeX, convert all
tabular to tabularx and then add an optional arguement to define the table
width.  I'm guessing this would involve something like:
sed  yourfile.tex  newfile.tex \
-e 's/{tabular}/{tabularx}[\columnwidth]/'

[...lots of questions I don't know the answers to...]

Allan. (ARRae)
Who lives in Queensland where it's beautiful one day and perfect the next.




Re: Graphics puzzle

2001-05-17 Thread Herbert Voss

Kathryn Andersen wrote:

  have a look at
  http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#position
 
 I don't see how this one applies to my situation -- it isn't that I need
 the pictures on float-pages not to be centred, it's that I don't want
 the picture to be on a float page if it is only, say, 60% of the height
 of the page (but I do if it is, 95% of the height of the page)
 
  http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#floats_1
 
 And I'm not sure how this helps either.  I don't need absolute
 positioning (I don't think), I just want the float not to be on a
 float-page if it is bigger than 50% of the page height.

have you ever tried the [H]-option? I have no problem
to put a float, which is 90% ore more of the page, with
[H]-option at that position where it should be. 

This absoulute positiong makes sense if you have one or two of 
these images. if you have more, you should play around with the 
variables, like \textfraction a.s.o.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Re: Graphics puzzle

2001-05-17 Thread Guenter Milde

On Thu, 17 May 2001 05:53:18 +0200 wrote Herbert Voss 
[EMAIL PROTECTED]:

 Kathryn Andersen wrote:
 
  Hello again!
  I am trying to include EPS graphics in my document, and as soon as the
  graphic is more than 50% of the page height, it is put on a separate
  page.  Is there any way of allowing the picture to be bigger, without it
  being put on a float-page?  I tried the following in the preamble
  (after reading about it in the fancyhdr documentation) but it doesn't
  make a bit of difference!
  
  \renewcommand{\textfraction}{0.05}
  \renewcommand{\topfraction}{0.95}
  \renewcommand{\bottomfraction}{0.95}
 

Do you have twocolumn text? Then there is another parameter \dbltopfraction
in addition to \topfraction. Try
\renewcommand{\dbltopfraction}{0.95}

Another quick workaround would be not to use floats - just insert the
picture in the text where you want to have it. (Then, of course you cannot
include it in the Table of Figures and don't have a numbered Caption)


 have a look at
 http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#position
 http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#floats_1

Unfortunately, I believe here is a gap in the otherwise comprehensive
documentation at the First place to look when in trouble space.

The issue with the \textfraction, \topfraction, and \bottomfraction commands
is only rarely documented - I did not find any online-doc that has it. The
only documentation I found after long search is Kopka: LaTeX Einführung Band
1 Kapitel 6.6.2

As these parameters are quite restrictive by default but not very
transparent to the user it would be nice to have a section Stilparameter
für gleitende Objekte in the LyX-Tips.



--
[EMAIL PROTECTED]




Re: [Fwd: aa.layout]

2001-05-17 Thread Rosaria Tantalo


Peter Suetterlin wrote:
Jean-Marc Lasgouttes wrote:
>
> Peter> The problem is that the according LyX layout is called aapaper.
>
> Is there a reason for that?
Good question. I *think* there was one, but it's already that
long
ago that I wrote it. But probably many of the layout files have
that
problem. You think we should change it to aa.layout?
 Pit
I Have tryed this, and it works yes, I able to inport the .tex file
in lyx, but there are problem in viewing the postscript a lot of commands
are not recognized.
Probably we have to update the layout files, since many thinks are changed
with this new aa.csl file..
But I don't know how to do this
Cheers
Rosi
--
Tantalo Rosaria - Department of Astronomy
Vicolo dell'Osservatorio, 2 - 35122 PADOVA
tel: +390498278251 - fax:+390498278212



Re: [Fwd: aa.layout]

2001-05-17 Thread Jean-Marc Lasgouttes

 Peter == Peter Suetterlin [EMAIL PROTECTED] writes:

Peter Good question. I *think* there was one, but it's already that
Peter long ago that I wrote it. But probably many of the layout files
Peter have that problem. You think we should change it to aa.layout?

Yes, probably... This would certainly help reLyX.

JMarc



Re: [Fwd: aa.layout]

2001-05-17 Thread Peter Suetterlin

Rosaria Tantalo wrote:

 I Have tryed this, and it works yes, I able to inport the .tex
 file in lyx, but there are problem in viewing the postscript a lot of
 commands are not recognized.

 Probably we have to update the layout files, since many thinks are
 changed with this new aa.csl file..  But I don't know how to do
 this

Hmm, I'm using aapaper.layout and the recent aa.cls (version 4.03) for
quite some time without severe problems.  They work well together.

Could it be that your TeX-file is an old one that needed the latex209
style file?

My ony problems when converting tex files from aa to LyX are figure
floats (images are positioned outside the floats) and the cite* command
for references.

What exactly are your problems?

   Pit

-- 
Peter Pit Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



Re: Lyx non-technical writing

2001-05-17 Thread Matej Cepl

On Thu, May 17, 2001 at 07:21:20AM +1000, Kathryn Andersen wrote:
 Hello everyone!
 I am investigating LyX as a possible replacement to my former desktop
 publishing software (die, Microsoft, die!) (ahem)  It has many nifty
 features that I like, besides the principle of WYSIWYM is terribly
 appealing.   I have never used LaTeX, but with LyX you don't have to
 know it, right?
 
 Unfortunately, my publication (an amateur fiction magazine) is not a
 technical journal or a thesis or a tretise, it's a bit more colourful
 and less formal than that -- which means for certain things, I have had
 to do battle with LyX instead of working with it.

OK, to be honest, I think that for writing in your own layout, you NEED 
to learn LaTeX. I am sorry to say that. On the other hand, it is really 
not so bad as it seems to be. Get a copy of LaTeX Companion and read  it
-- I am not a computer scientist (actually, I am a lawyer) and it  was
not so bad even for me (although, I usually use pretty boring mainstream 
default stuff).

Happy LyXing and welcome on board!

Matej



Re: latin2 keyboard in LyX 1.1.6fix1

2001-05-17 Thread Robin Turner

On Monday 14 May 2001 11:22, Jean-Marc Lasgouttes wrote:


 There is a known problem with turkish locales, which is the 'i' is not
 the lower case variant of 'I'. This breaks the parsing of layout
 files (where keywords are case-insensitive). Try to set the
 environment variable LC_COLLATE to C.

Hey, it works!  Thanks.


Robin



Re: latin2 keyboard in LyX 1.1.6fix1

2001-05-17 Thread Jean-Marc Lasgouttes

 Robin == Robin Turner [EMAIL PROTECTED] writes:

Robin On Monday 14 May 2001 11:22, Jean-Marc Lasgouttes wrote:
  There is a known problem with turkish locales, which is the 'i' is
 not the lower case variant of 'I'. This breaks the parsing of
 layout files (where keywords are case-insensitive). Try to set the
 environment variable LC_COLLATE to C.

Robin Hey, it works! Thanks.

Of course, it would be better if somebody took the time to really fix
the bug... Not difficult, really.

JMarc



numbering equations

2001-05-17 Thread yvonne

Hallo,
I'm a happy LyX user, but
how do I number equations as: 
(1.1a), (1.2b), etc...

Thank you

Yvonne
  

_s_p_r_a_y_
Chi Spray, Trova. 
Richiedi la tua casella di posta elettronica gratuita 
ed il tuo accesso gratuito ad internet su 
http://www.spray.it




Re: Graphics puzzle

2001-05-17 Thread Herbert Voss

Guenter Milde wrote:

 \renewcommand{\textfraction}{0.05}
 \renewcommand{\topfraction}{0.95}
 \renewcommand{\bottomfraction}{0.95}
 
 
 Do you have twocolumn text? Then there is another parameter \dbltopfraction
 in addition to \topfraction. Try
 \renewcommand{\dbltopfraction}{0.95}
 
 Unfortunately, I believe here is a gap in the otherwise comprehensive
 documentation at the First place to look when in trouble space.
 
 The issue with the \textfraction, \topfraction, and \bottomfraction commands
 is only rarely documented - I did not find any online-doc that has it. The
 only documentation I found after long search is Kopka: LaTeX Einführung Band
 1 Kapitel 6.6.2

Lamport: Das Latex Handbuch, p. 231
Goosens,et al.: The Latex Companion, p. 142
Klöckl: Latex2e, p. 77
Reichert: Gleitobjekte - die richtige Schmierung
   (CTAN:info/german/gleitobjekte/gleitobjekte.dvi)!
http://www.cs.uu.nl/~piet/floats/

and last bot not least :-)
the official TeX-faq, available in many formats and in many
languages. in the german faq (www.dante.de):
chap. 6.1.3 Wie muss ich die 'float'-Parameter ändern, so dass die
Abbildungen und Tabellen günstiger inenrhalb eines Abschnitts
verteilt werden

 As these parameters are quite restrictive by default but not very
 transparent to the user it would be nice to have a section Stilparameter
 für gleitende Objekte in the LyX-Tips.

I don't think so ...

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: numbering equations

2001-05-17 Thread Herbert Voss

[EMAIL PROTECTED] wrote:

 Hallo,
 I'm a happy LyX user, but
 how do I number equations as: 
 (1.1a), (1.2b), etc...

is it chapter.section.nr
or section.nr.subequation?
or anything else?
Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




My first lyx layout file

2001-05-17 Thread Michael Lauer

Hi,

I want to write a layout file for the standard letter format
we use in our institution. I'm struggleing very early here...
I find the chapter on LyX layouts very brief - there really
should be something tutorial like. However, within the .cls
file I have a \begin{letter}{Prof. Dr. Hagedorn} which forms
the address and opens the letter environment. Somewhere later
there is the obligate \end{letter}. How do I transform this
construct into a LyX 'Style' ? My first attempt was

Style Adresse
LatexType   Environment
LatexName   letter
End

which gives the corresponding \begin{letter}...\end{letter}
in the resulting LaTeX file. But how do I specify the
recipient in LyX ? Typing text within the address layout
gives \begin{letter} text - which does not help.

Any ideas or points to additional layout documentation ?

Thanks,

:M:

Michael 'Mickey' Lauer . . . . . . . . . [EMAIL PROTECTED]
How could anyone know me - when I don't even know myself ?






Re: My first lyx layout file

2001-05-17 Thread Michael Lauer

 should be something tutorial like. However, within the .cls
 file I have a \begin{letter}{Prof. Dr. Hagedorn} which forms

Err... sorry, of course within a .tex file, not within the .cls

:M:





Re: numbering equations

2001-05-17 Thread Herbert Voss

[EMAIL PROTECTED] wrote:


layout-document-extra-usepackage amsmath

\begin{subequations}

  .(1.1a)
  .(1.1b)
  .(1.1c)
  .(1.1d)

\end{subequations}


  Do you know how to write the d'alembertian operator?
  In Latex it is \Box, but LyX does not seem to understand the command.

it's a symbol from amsmath, therefore it works when you
activate the above button for amsmath. but remember
to write $\box$

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Frames arround equations

2001-05-17 Thread Thorsten Fischer

Hi,

is there a way in lyx to put a frame around an equation? I've written 
formulas in math mode and tried to put a frame around them using the \fbox{} 
command like you do for equations in Latex.  But this isn't working, I get 
the error, that the equation isn't finiished and } and $ are missing. I tried 
different positions for the fbox command ( inside and outside the math-mode). 
Is there another way to do this, or do I have to write my equations in tex?

Thanks

Thorsten
-- 
Computers let you make more mistakes faster
than any other invention in human history,
with the possible exception of handguns and tequila.

Mitch Radcliffe



Re: Frames arround equations

2001-05-17 Thread Herbert Voss

Thorsten Fischer wrote:

 Hi,
 
 is there a way in lyx to put a frame around an equation? I've written 
 formulas in math mode and tried to put a frame around them using the \fbox{} 
 command like you do for equations in Latex.  But this isn't working, I get 
 the error, that the equation isn't finiished and } and $ are missing. I tried 
 different positions for the fbox command ( inside and outside the math-mode). 
 Is there another way to do this, or do I have to write my equations in tex?

http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#equn_2

Herbert




-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Frames arround equations

2001-05-17 Thread Mitrana Cristian

On Thu, May 17, 2001 at 06:20:09PM +0200, Thorsten Fischer wrote:
 Hi,
 
 is there a way in lyx to put a frame around an equation? I've written 
 formulas in math mode and tried to put a frame around them using the \fbox{} 
 command like you do for equations in Latex.  But this isn't working, I get 
 the error, that the equation isn't finiished and } and $ are missing. I tried 
 different positions for the fbox command ( inside and outside the math-mode). 
 Is there another way to do this, or do I have to write my equations in tex?
 
Have you tried to make a simple table with 1 row and 1 column and
write the equation inside ?
Cristi
-- 



Fwd: Re: Lyx non-technical writing

2001-05-17 Thread EagleIce

On Thursday 17 May 2001 06:15, Herbert Voss wrote:
[snip]

 a lot special stuff, you need! this is more than a
 little bit of special latex commands but its always
 possible.

 Herbert

Wow! Herbert, you keep surprising me.
Ain't LyX swell folk's? I really love it...:-)

Cheers,

ei



-- 
@~~~ EagleIce  [EMAIL PROTECTED] ~~~@
@ Running SuSE Linux 7.1 at home @
@ Caldera OL eDesktop 2.4 at work ~~~@









Re: Graphics puzzle

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 05:53:18AM +0200, Herbert Voss wrote:
 Kathryn Andersen wrote:
 
  Hello again!
  I am trying to include EPS graphics in my document, and as soon as the
  graphic is more than 50% of the page height, it is put on a separate
  page.  Is there any way of allowing the picture to be bigger, without it
  being put on a float-page?  I tried the following in the preamble
  (after reading about it in the fancyhdr documentation) but it doesn't
  make a bit of difference!
  
  \renewcommand{\textfraction}{0.05}
  \renewcommand{\topfraction}{0.95}
  \renewcommand{\bottomfraction}{0.95}
 
 have a look at
 http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#position

I don't see how this one applies to my situation -- it isn't that I need
the pictures on float-pages not to be centred, it's that I don't want
the picture to be on a float page if it is only, say, 60% of the height
of the page (but I do if it is, 95% of the height of the page)

 http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#floats_1

And I'm not sure how this helps either.  I don't need absolute
positioning (I don't think), I just want the float not to be on a
float-page if it is bigger than 50% of the page height.

Or are you saying I should try [!htb] for this particular float?
Because that doesn't work either.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Some day my boat will come in, and with my luck I'll be at the airport.
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Re: Re: Graphics puzzle

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 09:23:36AM +0200, Guenter Milde wrote:
 On Thu, 17 May 2001 05:53:18 +0200 wrote Herbert Voss 
[EMAIL PROTECTED]:
 
  Kathryn Andersen wrote:
  
   Hello again!
   I am trying to include EPS graphics in my document, and as soon as the
   graphic is more than 50% of the page height, it is put on a separate
   page.  Is there any way of allowing the picture to be bigger, without it
   being put on a float-page?  I tried the following in the preamble
   (after reading about it in the fancyhdr documentation) but it doesn't
   make a bit of difference!
   
   \renewcommand{\textfraction}{0.05}
   \renewcommand{\topfraction}{0.95}
   \renewcommand{\bottomfraction}{0.95}
  
 
 Do you have twocolumn text? Then there is another parameter \dbltopfraction
 in addition to \topfraction. Try
 \renewcommand{\dbltopfraction}{0.95}

Thank you!  Yes, I was using twocolumn text, the graphic was in a wide
float.  So I changed that, and it *still* didn't work!
I must be doing something else wrong.
 
 Another quick workaround would be not to use floats - just insert the
 picture in the text where you want to have it. (Then, of course you cannot
 include it in the Table of Figures and don't have a numbered Caption)

Well, I don't mind that, because this is an illustration, not a Figure
in the strictest sense (I don't want nor have a caption), but since it's
a wide picture, I need to use a wide float for it, otherwise we get a
disaster (with the second column proceeding quite happily as if the
picture isn't there at all!)

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Sydney:  What happened?!  What did I do?!
Duncan:  Steady!  Steady!
Sydney:  What happened?
Duncan:  I came out for the soap and you were freaking out.
 (VR.5: VR.5)
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Re: Graphics puzzle

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 04:14:07PM +0200, Herbert Voss wrote:
 Guenter Milde wrote:
 
  \renewcommand{\textfraction}{0.05}
  \renewcommand{\topfraction}{0.95}
  \renewcommand{\bottomfraction}{0.95}
  
  Do you have twocolumn text? Then there is another parameter \dbltopfraction
  in addition to \topfraction. Try
  \renewcommand{\dbltopfraction}{0.95}
  
  Unfortunately, I believe here is a gap in the otherwise comprehensive
  documentation at the First place to look when in trouble space.
  
  The issue with the \textfraction, \topfraction, and \bottomfraction commands
  is only rarely documented - I did not find any online-doc that has it. The
  only documentation I found after long search is Kopka: LaTeX Einführung Band
  1 Kapitel 6.6.2
 
 and last bot not least :-)
 the official TeX-faq, available in many formats and in many

Aha!  I read the FAQ question (thanks to the link to the FAQ on your
page) and changed my parameters to be a little closer to theirs, and
also included the dblfloatpagefraction one, and it seemed to work!
Both with twocolumn and multicols environments!
Thank you!

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Soldier: What the hell happened?
Ray: Bad plumbing.  (Stingray: Playback)
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Re: Lyx non-technical writing

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 06:15:24AM +0200, Herbert Voss wrote:
 Kathryn Andersen wrote:
 
  Hello everyone!
  I am investigating LyX as a possible replacement to my former desktop
  publishing software (die, Microsoft, die!) (ahem)  It has many nifty
  features that I like, besides the principle of WYSIWYM is terribly
  appealing.   I have never used LaTeX, but with LyX you don't have to
  know it, right?
 
 yes and no ;-) this depends to your text

And as has been said by someone else, I'll probably have to learn it.
Or at least, some of it.
Fair enough.
 
  For example, instead of having numbered chapters in boring font, my
  'zine uses a fancy graphic for the title of each story.  Which means I
  cannot take advantage of one of the most attractive features of LyX, the
  automatic table of contents generation.  Now, after RTMing, I think I
  have found a way around this -- insert the EPS graphic in a Chapter*
  section, insert a Label, and then build the table of contents mostly by
  hand, but insert a Pageref at the spot where the page number should be.
  Is there an easier way of doing this?
 
 yes,
 http://www.educat.hu-berlin.de/~voss/lyx/LaTeX/chapterPic.html
 and you have a table of contents as usual

No, I'm afraid I wasn't clear -- the title of the item (in this case, a
story) is *just* the graphic -- I do the title in a fancy font with
maybe some effects, to suit the tone of the particular story.

So it looks like my original solution will have to be it.
 
  And is there a way of forcing a Table to be the width of a page, or of
  columns to be a certain width?  I'm using a Table for my Table of
  Contents, with columns for the Title, Author and genre of the story, and
  a last column for the page-number.  I'd like for the page-number to be
  right against the right side of the page, but at the moment the table
  is too narrow.
 
 this is possible, but not without some latex stuff.
And this latex stuff is...?
 
  There are a few other things I'm not certain if I can do in LyX.  I have
  read the fancyhdr documentation, so I know how to put the page-numbers
  where I want to -- but is there a way I can put a graphic around the
  page-number?  (My 'zine originally put the page numbers inside a little
  hexagon) 
 
 no problem :-)
 \hexagon from package wasysym and page

Okay, so how do I get the page number *inside* the hexagon?  (And make
the hexagon big enough for me to do this sensibly?)
 
  Likewise, is there a way of putting writing inside a graphic
  in the main body of the text?  (For example, a graphic of a fancy
  border, with a poem inside of it)
 
 also possible, the graphic is like a background image

So how do I make a background image on only one page?
I saw there was a package around to put a background image on *all* the
pages, but that isn't what I want.
 
  Another question I have is, is there a way of having a mixture of
  two-column and one-column layout?  The bulk of the 'zine needs to be
  two-column, but the table of contents and the editorial need to be
  one-column.  And the poetry needs to be one-column too.
 
 package multicol

Okay, cool.
Now, I try with multicol to change the column separation, with this
command in the preamble:

\renewcommand{\columnsep}{6mm}

and I get the following error:
Illegal unit of measure (pt inserted)

and then it goes on to tell me that various measures are legal for
dimensions *including mm*

So I figure it's being paranoid, and use the command

\renewcommand{\columnsep}{30pt}

and I get the same error!  What gives?
 
 a lot special stuff, you need! this is more than a
 little bit of special latex commands but its always
 possible.

I expect I will have to learn how to write my own package once I figure
out everything I need.

Thanks for all your help.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Lubarsky's Law of Cybernetic Entomology:
There's always one more bug.
-- 
 _--_|\ | Kathryn Andersen  [EMAIL PROTECTED]
/  \|   http://www.katspace.com
\_.--.*/|   
  v | #include standard/disclaimer.h
| Melbourne - Victoria - Australia - Southern Hemisphere
Maranatha!  |   - Earth - Sol - Milky Way Galaxy - Universe



Alignment in tables, there width is been fixed and other strange things

2001-05-17 Thread Andi

I have a problem, somebody already asked in March, but I was not able to 
solve it anyway:

If I fix the column width of a table, I´m no longer able to center the 
text in the table.
Dekel did some suggestions and attached an example file, but 
unfortunatly I was not able to open it (msg10030.html). There was an 
error message: Tabular5 no longer supported, use an older version of 
Lyx and then Lyx crashed.
Does anyone has a solution for this problem?

Another question is: Do I have to enter each column after another and  
add the table width? Because, if I mark more than one to enter the same 
width for all of them, only one was affected.

While doing this, I ran in another strange thing: If I want to change a 
width I already entered, the cursor leaves the field as soon as I delete 
are enter ONE charakter and I have to use the mouse to activate the 
field again before I can enter the next charakter. Are there some 
settings, I have to change (Lyx1.1.5fix)?

Thanks in advance

Andi




Re: Lyx non-technical writing

2001-05-17 Thread Allan Rae

On Fri, 18 May 2001, Kathryn Andersen wrote:

 On Thu, May 17, 2001 at 06:15:24AM +0200, Herbert Voss wrote:
  Kathryn Andersen wrote:
[...]
 No, I'm afraid I wasn't clear -- the title of the item (in this case, a
 story) is *just* the graphic -- I do the title in a fancy font with
 maybe some effects, to suit the tone of the particular story.

 So it looks like my original solution will have to be it.

You maybe be able to insert some TeX just before the figure in the same
section(?) paragraph as: [the short title]
The stuff inside the [] should then be used by LaTeX to build the table of
contents.  Failing this you can use something like:
\addtocontents{}{}

I'm not sure of the format for that command but I'm sure Herbert has some
entries on that at his help pages.

   And is there a way of forcing a Table to be the width of a page, or of
   columns to be a certain width?  I'm using a Table for my Table of
   Contents, with columns for the Title, Author and genre of the story, and
   a last column for the page-number.  I'd like for the page-number to be
   right against the right side of the page, but at the moment the table
   is too narrow.
 
  this is possible, but not without some latex stuff.
 And this latex stuff is...?

multicol offers some options for setting separations between columns
(gutter width or something like that -- there are some docs that show some
of this in the Extended manual)

Setting table widths may require you to use raw LaTeX for the whole table
because we don't support the tabularx package at present and it seems the
best option for what you want.  You could just use our existing table
support and then for the final fiddling export to LaTeX, convert all
tabular to tabularx and then add an optional arguement to define the table
width.  I'm guessing this would involve something like:
sed  yourfile.tex  newfile.tex \
-e 's/{tabular}/{tabularx}[\columnwidth]/'

[...lots of questions I don't know the answers to...]

Allan. (ARRae)
Who lives in Queensland where it's beautiful one day and perfect the next.




Re: Graphics puzzle

2001-05-17 Thread Herbert Voss

Kathryn Andersen wrote:

  have a look at
  http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#position
 
 I don't see how this one applies to my situation -- it isn't that I need
 the pictures on float-pages not to be centred, it's that I don't want
 the picture to be on a float page if it is only, say, 60% of the height
 of the page (but I do if it is, 95% of the height of the page)
 
  http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#floats_1
 
 And I'm not sure how this helps either.  I don't need absolute
 positioning (I don't think), I just want the float not to be on a
 float-page if it is bigger than 50% of the page height.

have you ever tried the [H]-option? I have no problem
to put a float, which is 90% ore more of the page, with
[H]-option at that position where it should be. 

This absoulute positiong makes sense if you have one or two of 
these images. if you have more, you should play around with the 
variables, like \textfraction a.s.o.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Re: Graphics puzzle

2001-05-17 Thread Guenter Milde

On Thu, 17 May 2001 05:53:18 +0200 wrote Herbert Voss 
<[EMAIL PROTECTED]>:

> Kathryn Andersen wrote:
> 
> > Hello again!
> > I am trying to include EPS graphics in my document, and as soon as the
> > graphic is more than 50% of the page height, it is put on a separate
> > page.  Is there any way of allowing the picture to be bigger, without it
> > being put on a float-page?  I tried the following in the preamble
> > (after reading about it in the fancyhdr documentation) but it doesn't
> > make a bit of difference!
> > 
> > \renewcommand{\textfraction}{0.05}
> > \renewcommand{\topfraction}{0.95}
> > \renewcommand{\bottomfraction}{0.95}
> 

Do you have twocolumn text? Then there is another parameter \dbltopfraction
in addition to \topfraction. Try
\renewcommand{\dbltopfraction}{0.95}

Another quick workaround would be not to use floats - just insert the
picture in the text where you want to have it. (Then, of course you cannot
include it in the Table of Figures and don't have a numbered Caption)


> have a look at
> http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#position
> http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#floats_1

Unfortunately, I believe here is a gap in the otherwise comprehensive
documentation at the "First place to look when in trouble space".

The issue with the \textfraction, \topfraction, and \bottomfraction commands
is only rarely documented - I did not find any online-doc that has it. The
only documentation I found after long search is Kopka: LaTeX Einführung Band
1 Kapitel 6.6.2

As these parameters are quite restrictive by default but not very
transparent to the user it would be nice to have a section "Stilparameter
für gleitende Objekte" in the LyX-Tips.



--
[EMAIL PROTECTED]




Re: [Fwd: aa.layout]

2001-05-17 Thread Rosaria Tantalo


Peter Suetterlin wrote:
Jean-Marc Lasgouttes wrote:
>
> Peter> The problem is that the according LyX layout is called aapaper.
>
> Is there a reason for that?
Good question.  I *think* there was one, but it's already that
long
ago that I wrote it.  But probably many of the layout files have
that
problem.  You think we should change it to aa.layout?
  Pit
I Have tryed this, and it works yes, I able to inport the .tex file
in lyx, but there are problem in viewing the postscript a lot of commands
are not recognized.
Probably we have to update the layout files, since many thinks are changed
with this new aa.csl file..
But I don't know how to do this
Cheers
Rosi
-- 
Tantalo Rosaria - Department of Astronomy
Vicolo dell'Osservatorio, 2 - 35122 PADOVA
tel: +390498278251 - fax:+390498278212
 


Re: [Fwd: aa.layout]

2001-05-17 Thread Jean-Marc Lasgouttes

> "Peter" == Peter Suetterlin <[EMAIL PROTECTED]> writes:

Peter> Good question. I *think* there was one, but it's already that
Peter> long ago that I wrote it. But probably many of the layout files
Peter> have that problem. You think we should change it to aa.layout?

Yes, probably... This would certainly help reLyX.

JMarc



Re: [Fwd: aa.layout]

2001-05-17 Thread Peter Suetterlin

Rosaria Tantalo wrote:

> I Have tryed this, and it works yes, I able to inport the .tex
> file in lyx, but there are problem in viewing the postscript a lot of
> commands are not recognized.

> Probably we have to update the layout files, since many thinks are
> changed with this new aa.csl file..  But I don't know how to do
> this

Hmm, I'm using aapaper.layout and the recent aa.cls (version 4.03) for
quite some time without severe problems.  They work well together.

Could it be that your TeX-file is an old one that needed the latex209
style file?

My ony problems when converting tex files from aa to LyX are figure
floats (images are positioned outside the floats) and the cite* command
for references.

What exactly are your problems?

   Pit

-- 
Peter "Pit" Suetterlin  http://www.uni-sw.gwdg.de/~pit
Universitaets-Sternwarte Goettingen
Tel.: +49 551 39-5048   [EMAIL PROTECTED]



Re: Lyx non-technical writing

2001-05-17 Thread Matej Cepl

On Thu, May 17, 2001 at 07:21:20AM +1000, Kathryn Andersen wrote:
> Hello everyone!
> I am investigating LyX as a possible replacement to my former desktop
> publishing software (die, Microsoft, die!) (ahem)  It has many nifty
> features that I like, besides the principle of WYSIWYM is terribly
> appealing.   I have never used LaTeX, but with LyX you don't have to
> know it, right?
> 
> Unfortunately, my publication (an amateur fiction magazine) is not a
> technical journal or a thesis or a tretise, it's a bit more colourful
> and less formal than that -- which means for certain things, I have had
> to do battle with LyX instead of working with it.

OK, to be honest, I think that for writing in your own layout, you NEED 
to learn LaTeX. I am sorry to say that. On the other hand, it is really 
not so bad as it seems to be. Get a copy of LaTeX Companion and read  it
-- I am not a computer scientist (actually, I am a lawyer) and it  was
not so bad even for me (although, I usually use pretty boring mainstream 
default stuff).

Happy LyXing and welcome on board!

Matej



Re: latin2 keyboard in LyX 1.1.6fix1

2001-05-17 Thread Robin Turner

On Monday 14 May 2001 11:22, Jean-Marc Lasgouttes wrote:

>
> There is a known problem with turkish locales, which is the 'i' is not
> the lower case variant of 'I'. This breaks the parsing of layout
> files (where keywords are case-insensitive). Try to set the
> environment variable LC_COLLATE to "C".

Hey, it works!  Thanks.


Robin



Re: latin2 keyboard in LyX 1.1.6fix1

2001-05-17 Thread Jean-Marc Lasgouttes

> "Robin" == Robin Turner <[EMAIL PROTECTED]> writes:

Robin> On Monday 14 May 2001 11:22, Jean-Marc Lasgouttes wrote:
>>  There is a known problem with turkish locales, which is the 'i' is
>> not the lower case variant of 'I'. This breaks the parsing of
>> layout files (where keywords are case-insensitive). Try to set the
>> environment variable LC_COLLATE to "C".

Robin> Hey, it works! Thanks.

Of course, it would be better if somebody took the time to really fix
the bug... Not difficult, really.

JMarc



numbering equations

2001-05-17 Thread yvonne

Hallo,
I'm a happy LyX user, but
how do I number equations as: 
(1.1a), (1.2b), etc...

Thank you

Yvonne
  

_s_p_r_a_y_
Chi Spray, Trova. 
Richiedi la tua casella di posta elettronica gratuita 
ed il tuo accesso gratuito ad internet su 
http://www.spray.it




Re: Graphics puzzle

2001-05-17 Thread Herbert Voss

Guenter Milde wrote:

>>> \renewcommand{\textfraction}{0.05}
>>> \renewcommand{\topfraction}{0.95}
>>> \renewcommand{\bottomfraction}{0.95}
>> 
> 
> Do you have twocolumn text? Then there is another parameter \dbltopfraction
> in addition to \topfraction. Try
> \renewcommand{\dbltopfraction}{0.95}
> 
> Unfortunately, I believe here is a gap in the otherwise comprehensive
> documentation at the "First place to look when in trouble space".
> 
> The issue with the \textfraction, \topfraction, and \bottomfraction commands
> is only rarely documented - I did not find any online-doc that has it. The
> only documentation I found after long search is Kopka: LaTeX Einführung Band
> 1 Kapitel 6.6.2

Lamport: Das Latex Handbuch, p. 231
Goosens,et al.: The Latex Companion, p. 142
Klöckl: Latex2e, p. 77
Reichert: Gleitobjekte - die richtige Schmierung
   (CTAN:info/german/gleitobjekte/gleitobjekte.dvi)!
http://www.cs.uu.nl/~piet/floats/

and last bot not least :-)
the official TeX-faq, available in many formats and in many
languages. in the german faq (www.dante.de):
chap. 6.1.3 "Wie muss ich die 'float'-Parameter ändern, so dass die
Abbildungen und Tabellen günstiger inenrhalb eines Abschnitts
verteilt werden"

> As these parameters are quite restrictive by default but not very
> transparent to the user it would be nice to have a section "Stilparameter
> für gleitende Objekte" in the LyX-Tips.

I don't think so ...

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: numbering equations

2001-05-17 Thread Herbert Voss

[EMAIL PROTECTED] wrote:

> Hallo,
> I'm a happy LyX user, but
> how do I number equations as: 
> (1.1a), (1.2b), etc...

is it chapter.section.nr
or section.nr.subequation?
or anything else?
Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/




My first lyx layout file

2001-05-17 Thread Michael Lauer

Hi,

I want to write a layout file for the standard letter format
we use in our institution. I'm struggleing very early here...
I find the chapter on LyX layouts very brief - there really
should be something tutorial like. However, within the .cls
file I have a \begin{letter}{Prof. Dr. Hagedorn} which forms
the address and opens the letter environment. Somewhere later
there is the obligate \end{letter}. How do I transform this
construct into a LyX 'Style' ? My first attempt was

Style Adresse
LatexType   Environment
LatexName   letter
End

which gives the corresponding \begin{letter}...\end{letter}
in the resulting LaTeX file. But how do I specify the
recipient in LyX ? Typing text within the address layout
gives \begin{letter} text - which does not help.

Any ideas or points to additional layout documentation ?

Thanks,

:M:

Michael 'Mickey' Lauer . . . . . . . . . [EMAIL PROTECTED]
How could anyone know me - when I don't even know myself ?






Re: My first lyx layout file

2001-05-17 Thread Michael Lauer

> should be something tutorial like. However, within the .cls
> file I have a \begin{letter}{Prof. Dr. Hagedorn} which forms

Err... sorry, of course within a .tex file, not within the .cls

:M:





Re: numbering equations

2001-05-17 Thread Herbert Voss

[EMAIL PROTECTED] wrote:


layout-document->extra->usepackage amsmath

\begin{subequations}

 > .(1.1a)
 > .(1.1b)
 > .(1.1c)
 > .(1.1d)

\end{subequations}


 > Do you know how to write the d'alembertian operator?
 > In Latex it is \Box, but LyX does not seem to understand the command.

it's a symbol from amsmath, therefore it works when you
activate the above button for amsmath. but remember
to write $\box$

Herbert



-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Frames arround equations

2001-05-17 Thread Thorsten Fischer

Hi,

is there a way in lyx to put a frame around an equation? I've written 
formulas in math mode and tried to put a frame around them using the \fbox{} 
command like you do for equations in Latex.  But this isn't working, I get 
the error, that the equation isn't finiished and } and $ are missing. I tried 
different positions for the fbox command ( inside and outside the math-mode). 
Is there another way to do this, or do I have to write my equations in tex?

Thanks

Thorsten
-- 
Computers let you make more mistakes faster
than any other invention in human history,
with the possible exception of handguns and tequila.

Mitch Radcliffe



Re: Frames arround equations

2001-05-17 Thread Herbert Voss

Thorsten Fischer wrote:

> Hi,
> 
> is there a way in lyx to put a frame around an equation? I've written 
> formulas in math mode and tried to put a frame around them using the \fbox{} 
> command like you do for equations in Latex.  But this isn't working, I get 
> the error, that the equation isn't finiished and } and $ are missing. I tried 
> different positions for the fbox command ( inside and outside the math-mode). 
> Is there another way to do this, or do I have to write my equations in tex?

http://www.educat.hu-berlin.de/~voss/lyx/mathmode.html#equn_2

Herbert




-- 
http://www.educat.hu-berlin.de/~voss/lyx/




Re: Frames arround equations

2001-05-17 Thread Mitrana Cristian

On Thu, May 17, 2001 at 06:20:09PM +0200, Thorsten Fischer wrote:
> Hi,
> 
> is there a way in lyx to put a frame around an equation? I've written 
> formulas in math mode and tried to put a frame around them using the \fbox{} 
> command like you do for equations in Latex.  But this isn't working, I get 
> the error, that the equation isn't finiished and } and $ are missing. I tried 
> different positions for the fbox command ( inside and outside the math-mode). 
> Is there another way to do this, or do I have to write my equations in tex?
> 
Have you tried to make a simple table with 1 row and 1 column and
write the equation inside ?
Cristi
-- 



Fwd: Re: Lyx non-technical writing

2001-05-17 Thread EagleIce

On Thursday 17 May 2001 06:15, Herbert Voss wrote:
[snip]

> a lot special stuff, you need! this is more than a
> little bit of special latex commands but its always
> possible.
>
> Herbert

Wow! Herbert, you keep surprising me.
Ain't LyX swell folk's? I really love it...:-)

Cheers,

ei



-- 
@~~~ EagleIce  [EMAIL PROTECTED] ~~~@
@ Running SuSE Linux 7.1 at home @
@ Caldera OL eDesktop 2.4 at work ~~~@









Re: Graphics puzzle

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 05:53:18AM +0200, Herbert Voss wrote:
> Kathryn Andersen wrote:
> 
> > Hello again!
> > I am trying to include EPS graphics in my document, and as soon as the
> > graphic is more than 50% of the page height, it is put on a separate
> > page.  Is there any way of allowing the picture to be bigger, without it
> > being put on a float-page?  I tried the following in the preamble
> > (after reading about it in the fancyhdr documentation) but it doesn't
> > make a bit of difference!
> > 
> > \renewcommand{\textfraction}{0.05}
> > \renewcommand{\topfraction}{0.95}
> > \renewcommand{\bottomfraction}{0.95}
> 
> have a look at
> http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#position

I don't see how this one applies to my situation -- it isn't that I need
the pictures on float-pages not to be centred, it's that I don't want
the picture to be on a float page if it is only, say, 60% of the height
of the page (but I do if it is, 95% of the height of the page)

> http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#floats_1

And I'm not sure how this helps either.  I don't need absolute
positioning (I don't think), I just want the float not to be on a
float-page if it is bigger than 50% of the page height.

Or are you saying I should try [!htb] for this particular float?
Because that doesn't work either.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Some day my boat will come in, and with my luck I'll be at the airport.
-- 
 _--_|\ | Kathryn Andersen  <[EMAIL PROTECTED]>
/  \|   
\_.--.*/|   
  v | #include "standard/disclaimer.h"
| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |   -> Earth -> Sol -> Milky Way Galaxy -> Universe



Re: Re: Graphics puzzle

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 09:23:36AM +0200, Guenter Milde wrote:
> On Thu, 17 May 2001 05:53:18 +0200 wrote Herbert Voss 
><[EMAIL PROTECTED]>:
> 
> > Kathryn Andersen wrote:
> > 
> > > Hello again!
> > > I am trying to include EPS graphics in my document, and as soon as the
> > > graphic is more than 50% of the page height, it is put on a separate
> > > page.  Is there any way of allowing the picture to be bigger, without it
> > > being put on a float-page?  I tried the following in the preamble
> > > (after reading about it in the fancyhdr documentation) but it doesn't
> > > make a bit of difference!
> > > 
> > > \renewcommand{\textfraction}{0.05}
> > > \renewcommand{\topfraction}{0.95}
> > > \renewcommand{\bottomfraction}{0.95}
> > 
> 
> Do you have twocolumn text? Then there is another parameter \dbltopfraction
> in addition to \topfraction. Try
> \renewcommand{\dbltopfraction}{0.95}

Thank you!  Yes, I was using twocolumn text, the graphic was in a wide
float.  So I changed that, and it *still* didn't work!
I must be doing something else wrong.
 
> Another quick workaround would be not to use floats - just insert the
> picture in the text where you want to have it. (Then, of course you cannot
> include it in the Table of Figures and don't have a numbered Caption)

Well, I don't mind that, because this is an illustration, not a Figure
in the strictest sense (I don't want nor have a caption), but since it's
a wide picture, I need to use a wide float for it, otherwise we get a
disaster (with the second column proceeding quite happily as if the
picture isn't there at all!)

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Sydney:  What happened?!  What did I do?!
Duncan:  Steady!  Steady!
Sydney:  What happened?
Duncan:  I came out for the soap and you were freaking out.
 (VR.5: VR.5)
-- 
 _--_|\ | Kathryn Andersen  <[EMAIL PROTECTED]>
/  \|   
\_.--.*/|   
  v | #include "standard/disclaimer.h"
| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |   -> Earth -> Sol -> Milky Way Galaxy -> Universe



Re: Graphics puzzle

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 04:14:07PM +0200, Herbert Voss wrote:
> Guenter Milde wrote:
> 
> >>> \renewcommand{\textfraction}{0.05}
> >>> \renewcommand{\topfraction}{0.95}
> >>> \renewcommand{\bottomfraction}{0.95}
> > 
> > Do you have twocolumn text? Then there is another parameter \dbltopfraction
> > in addition to \topfraction. Try
> > \renewcommand{\dbltopfraction}{0.95}
> > 
> > Unfortunately, I believe here is a gap in the otherwise comprehensive
> > documentation at the "First place to look when in trouble space".
> > 
> > The issue with the \textfraction, \topfraction, and \bottomfraction commands
> > is only rarely documented - I did not find any online-doc that has it. The
> > only documentation I found after long search is Kopka: LaTeX Einführung Band
> > 1 Kapitel 6.6.2
> 
> and last bot not least :-)
> the official TeX-faq, available in many formats and in many

Aha!  I read the FAQ question (thanks to the link to the FAQ on your
page) and changed my parameters to be a little closer to theirs, and
also included the dblfloatpagefraction one, and it seemed to work!
Both with twocolumn and multicols environments!
Thank you!

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Soldier: What the hell happened?
Ray: Bad plumbing.  (Stingray: Playback)
-- 
 _--_|\ | Kathryn Andersen  <[EMAIL PROTECTED]>
/  \|   
\_.--.*/|   
  v | #include "standard/disclaimer.h"
| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |   -> Earth -> Sol -> Milky Way Galaxy -> Universe



Re: Lyx non-technical writing

2001-05-17 Thread Kathryn Andersen

On Thu, May 17, 2001 at 06:15:24AM +0200, Herbert Voss wrote:
> Kathryn Andersen wrote:
> 
> > Hello everyone!
> > I am investigating LyX as a possible replacement to my former desktop
> > publishing software (die, Microsoft, die!) (ahem)  It has many nifty
> > features that I like, besides the principle of WYSIWYM is terribly
> > appealing.   I have never used LaTeX, but with LyX you don't have to
> > know it, right?
> 
> yes and no ;-) this depends to your text

And as has been said by someone else, I'll probably have to learn it.
Or at least, some of it.
Fair enough.
 
> > For example, instead of having numbered chapters in boring font, my
> > 'zine uses a fancy graphic for the title of each story.  Which means I
> > cannot take advantage of one of the most attractive features of LyX, the
> > automatic table of contents generation.  Now, after RTMing, I think I
> > have found a way around this -- insert the EPS graphic in a Chapter*
> > section, insert a Label, and then build the table of contents mostly by
> > hand, but insert a Pageref at the spot where the page number should be.
> > Is there an easier way of doing this?
> 
> yes,
> http://www.educat.hu-berlin.de/~voss/lyx/LaTeX/chapterPic.html
> and you have a table of contents as usual

No, I'm afraid I wasn't clear -- the title of the item (in this case, a
story) is *just* the graphic -- I do the title in a fancy font with
maybe some effects, to suit the tone of the particular story.

So it looks like my original solution will have to be it.
 
> > And is there a way of forcing a Table to be the width of a page, or of
> > columns to be a certain width?  I'm using a Table for my Table of
> > Contents, with columns for the Title, Author and genre of the story, and
> > a last column for the page-number.  I'd like for the page-number to be
> > right against the right side of the page, but at the moment the table
> > is too narrow.
> 
> this is possible, but not without some latex stuff.
And this latex stuff is...?
 
> > There are a few other things I'm not certain if I can do in LyX.  I have
> > read the fancyhdr documentation, so I know how to put the page-numbers
> > where I want to -- but is there a way I can put a graphic around the
> > page-number?  (My 'zine originally put the page numbers inside a little
> > hexagon) 
> 
> no problem :-)
> \hexagon from package wasysym and page

Okay, so how do I get the page number *inside* the hexagon?  (And make
the hexagon big enough for me to do this sensibly?)
 
>  Likewise, is there a way of putting writing inside a graphic
> > in the main body of the text?  (For example, a graphic of a fancy
> > border, with a poem inside of it)
> 
> also possible, the graphic is like a background image

So how do I make a background image on only one page?
I saw there was a package around to put a background image on *all* the
pages, but that isn't what I want.
 
> > Another question I have is, is there a way of having a mixture of
> > two-column and one-column layout?  The bulk of the 'zine needs to be
> > two-column, but the table of contents and the editorial need to be
> > one-column.  And the poetry needs to be one-column too.
> 
> package multicol

Okay, cool.
Now, I try with multicol to change the column separation, with this
command in the preamble:

\renewcommand{\columnsep}{6mm}

and I get the following error:
Illegal unit of measure (pt inserted)

and then it goes on to tell me that various measures are legal for
dimensions *including mm*

So I figure it's being paranoid, and use the command

\renewcommand{\columnsep}{30pt}

and I get the same error!  What gives?
 
> a lot special stuff, you need! this is more than a
> little bit of special latex commands but its always
> possible.

I expect I will have to learn how to write my own package once I figure
out everything I need.

Thanks for all your help.

Kathryn Andersen
-=-=-=-=-=-=-=-=-
Lubarsky's Law of Cybernetic Entomology:
There's always one more bug.
-- 
 _--_|\ | Kathryn Andersen  <[EMAIL PROTECTED]>
/  \|   
\_.--.*/|   
  v | #include "standard/disclaimer.h"
| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |   -> Earth -> Sol -> Milky Way Galaxy -> Universe



Alignment in tables, there width is been fixed and other strange things

2001-05-17 Thread Andi

I have a problem, somebody already asked in March, but I was not able to 
solve it anyway:

If I fix the column width of a table, I´m no longer able to center the 
text in the table.
Dekel did some suggestions and attached an example file, but 
unfortunatly I was not able to open it (msg10030.html). There was an 
error message: "Tabular<5 no longer supported, use an older version of 
Lyx" and then Lyx crashed.
Does anyone has a solution for this problem?

Another question is: Do I have to enter each column after another and  
add the table width? Because, if I mark more than one to enter the same 
width for all of them, only one was affected.

While doing this, I ran in another strange thing: If I want to change a 
width I already entered, the cursor leaves the field as soon as I delete 
are enter ONE charakter and I have to use the mouse to activate the 
field again before I can enter the next charakter. Are there some 
settings, I have to change (Lyx1.1.5fix)?

Thanks in advance

Andi




Re: Lyx non-technical writing

2001-05-17 Thread Allan Rae

On Fri, 18 May 2001, Kathryn Andersen wrote:

> On Thu, May 17, 2001 at 06:15:24AM +0200, Herbert Voss wrote:
> > Kathryn Andersen wrote:
[...]
> No, I'm afraid I wasn't clear -- the title of the item (in this case, a
> story) is *just* the graphic -- I do the title in a fancy font with
> maybe some effects, to suit the tone of the particular story.
>
> So it looks like my original solution will have to be it.

You maybe be able to insert some TeX just before the figure in the same
section(?) paragraph as: [the short title]
The stuff inside the [] should then be used by LaTeX to build the table of
contents.  Failing this you can use something like:
\addtocontents{}{}

I'm not sure of the format for that command but I'm sure Herbert has some
entries on that at his help pages.

> > > And is there a way of forcing a Table to be the width of a page, or of
> > > columns to be a certain width?  I'm using a Table for my Table of
> > > Contents, with columns for the Title, Author and genre of the story, and
> > > a last column for the page-number.  I'd like for the page-number to be
> > > right against the right side of the page, but at the moment the table
> > > is too narrow.
> >
> > this is possible, but not without some latex stuff.
> And this latex stuff is...?

multicol offers some options for setting separations between columns
(gutter width or something like that -- there are some docs that show some
of this in the Extended manual)

Setting table widths may require you to use raw LaTeX for the whole table
because we don't support the tabularx package at present and it seems the
best option for what you want.  You could just use our existing table
support and then for the final fiddling export to LaTeX, convert all
tabular to tabularx and then add an optional arguement to define the table
width.  I'm guessing this would involve something like:
sed < yourfile.tex > newfile.tex \
-e 's/{tabular}/{tabularx}[\columnwidth]/'

[...lots of questions I don't know the answers to...]

Allan. (ARRae)
Who lives in Queensland where it's beautiful one day and perfect the next.




Re: Graphics puzzle

2001-05-17 Thread Herbert Voss

Kathryn Andersen wrote:

> > have a look at
> > http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#position
> 
> I don't see how this one applies to my situation -- it isn't that I need
> the pictures on float-pages not to be centred, it's that I don't want
> the picture to be on a float page if it is only, say, 60% of the height
> of the page (but I do if it is, 95% of the height of the page)
> 
> > http://www.educat.hu-berlin.de/~voss/lyx/floats/floats.html#floats_1
> 
> And I'm not sure how this helps either.  I don't need absolute
> positioning (I don't think), I just want the float not to be on a
> float-page if it is bigger than 50% of the page height.

have you ever tried the [H]-option? I have no problem
to put a float, which is 90% ore more of the page, with
[H]-option at that position where it should be. 

This absoulute positiong makes sense if you have one or two of 
these images. if you have more, you should play around with the 
variables, like \textfraction a.s.o.

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/