Re: Grammar check?

2005-10-23 Thread Paul
Roy Schestowitz wrote:
 Me too. Here is the direct link:
 
 * http://bobo.link.cs.cmu.edu/link/
 
 Note  that  it only handles English at the moment, but I am sure that,  in
 due  time, somebody will extend it. For Latin languages, it is primarily a
 vocabulary  barrier. Such a feature can definitely elevate LyX well  above
 Kile and others.

I was looking into this a few days ago and here's some other links that
might be useful:

Queequeg, A Tiny English Grammar Checker
http://queequeg.sourceforge.net/index-e.html
Queequeg is a tiny English grammar checker for non-native speakers who
are not used to verb conjugation and number agreement. We especially
focus on people who're writing academic papers or business documents
where thorough checking is required. We aim to reduce this laborious
work with automated checking. Queequeg is named after a character in
Herman Melville's masterpiece.

Style and Diction
http://www.gnu.org/software/diction/diction.html
Diction and style are two old standard UNIX commands. Diction identifies
wordy and commonly misused phrases. Style analyses surface
characteristics of a document, including sentence length and other
readability measures.

Paul.


Re: LyX displaying problem.

2005-10-23 Thread Paul Smith
On 10/23/05, ray zhou [EMAIL PROTECTED] wrote:
   I don't know why when when enter Math Mode and type \leq, it gives me a
 space. But once I turn the lyx document into DVI, it shows \leq as it
 should. What could be the problem?

Ray,

You need to install BaKoma fonts. If you are running Linux, have a look at

http://wiki.lyx.org/FAQ/Qt

Paul


Re: Choice of fonts in LaTeX

2005-10-23 Thread Karsten Heymann

Hi Paul,

Paul schrieb:

I'm trying to understand exactly how LaTeX handles fonts/typefaces.


Maybe you want to take http://www.tug.org/fonts/ as a starting point. An
extremely good read is the fonts chapter from book The LaTeX Companion
2nd. Ed.


Is there a way to see which fonts are available to LaTeX?


No, not in a single place. try 'texdoc psnfss2e' for the standard
postscript fonts.

What I need to be sure is that users on different machines running 
Windows or Mac, with different fonts installed, will still be able to

read the PDF document. For example, if they don't have Times or New
Century Schoolbook installed, will they still be able to view them?
Does it matter whether they have the TrueType or Type 1 version of
it?


As already said, that is only a problem if you are using standard
postscript fonts and your latex installation doesn't embed them.


I read that Type 3 fonts are bad, so does it matter that I have a
line beginning [none] that says Type 3?


Yes, in type 3 fonts the glyphs (letters) are rendert into bitmap
graphic which acrobat reader versions prior to ver. 6 render extremely
poor.


Why do some lines begin with what looks like 6 random letters? Is
this an internal name for an embedded font?


Yes, don't care for the names.

Yours,
Karsten


signature.asc
Description: OpenPGP digital signature


Re: Choice of fonts in LaTeX

2005-10-23 Thread Johan Ingvast

Karsten Heymann wrote:


Is there a way to see which fonts are available to LaTeX?

Try thils link:
http://tug.org/TeXnik/mainFAQ.cgi?file=fonts/fonts
It shows ways of displaying all fonts found on the latex paths.
/johan


Re: [need help with wiki] Re: Excel data sheets

2005-10-23 Thread Sven Schreiber
[EMAIL PROTECTED] wrote:


Tips/ so I've moved your text there.

   http://wiki.lyx.org/Tips/CopyTablesFromSpreadsheets

In addition, it's a good idea to add a link to the special page in each 
group that is used to list/describe pages in the group. Here, the page is 
simply

   http://wiki.lyx.org/Tips/PageList

so I've added a link to your page from that page.
  

Thanks very much for your help!

PS. As a sidenote, let me just mention that the way I used to create a 
link to Sven's page from the PageList-page used the following markup:

   T*Tips/{{copy tables from spreadsheets}}

which is called a teaser markup. It's a teaser because after the link, 
a teaser text will be appended that is taken from the first link of the 
page that is being linked to. As a result of this, thinks work out nicely 
on the PaegList-page if the first line on each page is a nice description 
of each page.

  

It's good you're explaining this, because somehow I'm a bit tired of
learning yet another markup syntax, especially through manuals and
tutorials. Possibly this also deters other people from adding to the
wiki. Is there any way to use plain html and get that converted so that
the wiki engine accepts it?
But thanks again,
sven


Putting Other Stuff On The Title Page

2005-10-23 Thread Daniel Watkins
Hi list,
I'm currently creating a document using the 'book' class. I have a
disclaimer of sorts that I want to put below the Title and Author fields
on the first page of the document (as it looks a bit lonely all by
itself on the second page). I'm guessing this is a job for ERTman, so
was wondering if anyone would oblige me by telling me what to put in?

And, yes, I'll get around to buying a LaTeX reference sooner or
later... :P

Cheers,
Dan



Re: Links Within Documents

2005-10-23 Thread Uwe Stöhr

Daniel Watkins wrote:


One thing I've noticed some documents being able to do (namely the
Beamer User Guide) is have clickable links in the ToC which
automagically move the view to the appropriate section, which I thought
was rather nifty.


Use the hyperref-package. It should be part of any LaTeX-distribution. 
Have a look at its manual


ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/doc/manual.html

for all available options.

You can also look at the preamble of

http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.lyx

where hyperref is used intensively.

regards Uwe


Re: Links Within Documents

2005-10-23 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
 Daniel Watkins wrote:
  One thing I've noticed some documents being able to do (namely the
  Beamer User Guide) is have clickable links in the ToC which
  automagically move the view to the appropriate section, which I thought
  was rather nifty.

 Use the hyperref-package. It should be part of any LaTeX-distribution.

There's also a neat script which helps with this task:
http://tex2pdf.berlios.de/lyx-howto.htm

Jürgen


Re: Links Within Documents

2005-10-23 Thread Uwe Stöhr

Juergen Spitzmueller schrieb:


One thing I've noticed some documents being able to do (namely the
Beamer User Guide) is have clickable links in the ToC which
automagically move the view to the appropriate section, which I thought
was rather nifty.


Use the hyperref-package. It should be part of any LaTeX-distribution.


There's also a neat script which helps with this task:
http://tex2pdf.berlios.de/lyx-howto.htm


tex2pdf doesn't help you to create links in the TOC. tex2pdf is just 
another program to produce a pdf from LyX/TeX. I cannot recommend its 
use. Better use the LyX menu Export - PDF(pdflatex).


regards Uwe


Re: Links Within Documents

2005-10-23 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
  There's also a neat script which helps with this task:
  http://tex2pdf.berlios.de/lyx-howto.htm

 tex2pdf doesn't help you to create links in the TOC. tex2pdf is just
 another program to produce a pdf from LyX/TeX. I cannot recommend its
 use. Better use the LyX menu Export - PDF(pdflatex).

That's simply not true. Have you really tried it?
Tex2pdf is just a wrapper script for pdflatex and some auxiliary tools (image 
conversion, hyperref, pdfthumb etc.). 
It asks you (if you call tex2pdf --config), amongst other things, if you want 
to use hyperref, what colors the links should have, if you want thumbnails 
etc. Those settings will automatically be used if you export via tex2pdf. I 
find it quite useful.

Jürgen


Creating DocBook stuff using LyX

2005-10-23 Thread Daniel Watkins
I've just managed to get the job of putting together the documentation
for a SourceForge project, and it would be exceedingly helpful if I were
to be able to do it on LyX. Unfortunately, it requires DocBook format
stuff, and I don't know how (or if it's possible) to create that using
LyX.

Any elucidation would be appreciated.

Thanks in advance,
Dan



Re: Creating DocBook stuff using LyX

2005-10-23 Thread Geoffrey Lloyd
- Original Message - 
From: Daniel Watkins [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Sunday, October 23, 2005 6:48 PM
Subject: Creating DocBook stuff using LyX



I've just managed to get the job of putting together the documentation
for a SourceForge project, and it would be exceedingly helpful if I were
to be able to do it on LyX. Unfortunately, it requires DocBook format
stuff, and I don't know how (or if it's possible) to create that using
LyX.

Any elucidation would be appreciated.

Thanks in advance,
Dan


A quick google on docbook lyx brought up the following among many others

http://bgu.chez.tiscali.fr/doc/db4lyx/

Seems comprehensive










Figure and table side by side

2005-10-23 Thread Johan Ingvast

Hi
Since I don't want to spend too much space in my article, I'd like to 
have a table just next to a figure inside one float.


I want a figure caption on the figure and a table caption on the table.

I've tried different ways but not come up with a satisfying solution. 
I've scanned the archives but not found anything but how to put two 
figures/tables side by side, not the both kinds at the same time.



The best I found was to use the nofloat package which has defined 
tabcaption and figcaption separately. This made it possible to make a 
one  by two table inside a figure environmen, set a fixed width of each 
column and insert the table and figures inside the cells.


Then manually creating the captions by placing
ERT: \tabcaption{My table caption}
in the first cell. And
ERT: \figcaption{My figure caption}
in the second cell.
This is ok, however, I'm not convinced that the nofloat package screws 
other things up.


Any clues?

T.I.A.
/johan


Re: Choice of fonts in LaTeX

2005-10-23 Thread Stephen Harris


- Original Message - 
From: Johan Ingvast [EMAIL PROTECTED]

To: Karsten Heymann [EMAIL PROTECTED]
Cc: Paul [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Sunday, October 23, 2005 7:16 AM
Subject: Re: Choice of fonts in LaTeX



Karsten Heymann wrote:


Is there a way to see which fonts are available to LaTeX?

Try thils link:
http://tug.org/TeXnik/mainFAQ.cgi?file=fonts/fonts
It shows ways of displaying all fonts found on the latex paths.
/johan



There has been some recent posting about poor pdf display
(though the printed output may be ok) and whether it is better
to use pdflatex or dvipdfm. This brings up whether to use Type I
fonts or Type III fonts. Andre Berger wrote about this which I
will quote from the Google search engine (www.google.com) .

Query ():
Short version:  How do I install the international Type 1 fonts?  (aka 
Computer Modern Super fontset)?



Long version:



Folks, I'm learning LaTeX.  Please forgive any gross inaccuracies in what 
follows.



When I output a PDF from within Lyx, it looks AWFUL in Preview.  It looks 
perfect in Adobe 6.0.




Turns out that Lyx is outputting Type 3 fonts.



To which Andre Berger responded:


Probably so. As this starts a LyX question, first check if you can
use

 LyX - Layout - Document - Font  Size - pslatex


then proceed according to


 LyX - Help - Extended Features - 5.3.6(.2)


and run


 LyX - View - PDF (pdflatex)


to create .pdf files.


You will almost definitely prefer Palatino (serif) or Helvetica
(sans serif) over the legacy Computer Modern font then.



According to this website http://www.geocities.com/mobrien_12/lyx.htm the 
best solution is to install the full Type 1 font set from CTAN.


I found it, but I would like to know: 1)How can I check if I already have 
these Type 1 fonts? 2)Where do I install it?  My best guess is: 
/usr/local/teTeX/share/texmf.tetex/fonts/type1/public 3)If I install it, 
do I have to do anything to notify TeTex/Lyx/Texshop/etc?




Let me give a practical answer. The standard PS fonts should be
included in TeTeX. In Terminal,

 locate tex|grep font|grep helv


to find, for example, Helvetica. If the locate command fails, run


 sudo /usr/libexec/locate.updatedb


then try again. Chances are you won't have to install anything extra
at this point.


I hope this helps!


-Andre



From the LyX Extended documentation:


5.3.6.2 Why does the text look so bad when viewed with Acrobat 
Reader?sec:badfontsBad Fonts in Acrobat Reader


The problem is that bitmap fonts are displayed poorly by Acrobat Reader. 
When creating a PDF from the LyX file, you need to use outline font instead 
of the default bitmap fonts (in fact, you should also use outline fonts for 
Postscript files). Recent LaTeX distributions come with Postscript® Type 1 
version of the standard (Computer Modern) fonts. pdfLaTeX uses these font by 
default. Dvips doesn't use these fonts by default, so to make it use them, 
add the following to lines to your ~/.dvipsrc file


p+ psfonts.cmz

p+ psfonts.amz

If the default LaTeX font encoding (OT1) is used, nothing else need to be 
done. However, if the T1 font encoding is used, then LaTeX uses the newer EC 
fonts, for which there are no Type1 version. The solution is to use the ae 
package which emulates T1 coded fonts using the standard CM fonts. This is 
done by adding \usepackage{ae,aecompl} to the preamble of the LyX file. 
However, some glyphs are missing from the CM fonts (e.g. eth, thorn), and 
they are taken from the EC fonts. Therefore you get these glyphs as bitmaps.


Note: LyX uses by default the T1 font encoding. If you wish to use the 
default font encoding (this is not recommended, unless you only write 
English documents), clear the field TeX encoding in preferences (tabs 
Outputs, Misc).


An alternate option is to use the standard Postscript® fonts instead of the 
Computer Modern fonts. To do that, you need to select pslatex as the global 
font in the document layout dialog. When using the Postscript® fonts, the 
result PDF file is smaller as the fonts are not saved into the file. 
Furthermore, the Postscript® fonts include all T1 glyphs. On the other hand, 
the Postscript® fonts have no bold symbol font, so poor man's bold must be 
used (see Section [sec:pdfbold]). The Postscript® fonts also look different 
from the Computer Modern fonts.


To sum up, both the Computer Modern and the Postscript® fonts gives good 
results (with few exceptions). The decision of which one to use is a matter 
of taste.


5.3.6.3 Why doesn't the \boldsymbol{} command work when I use 
pslatex?sec:pdfbold\boldsymbol{} and pslatex


The Postscript® fonts do not have a bold symbol font. The solution is to use 
the \pmb{} (poor man's bold) command.


It is possible to redefine the \boldsymbol command to use \pmb by putting

\renewcommand{\boldsymbol}[1]{\pmb{#1}}

in the preamble.

5.3.6.4 Is it possible to do write latex code which is processed only when 
running pdfLaTeX?Conditionals with 

Re: Figure and table side by side

2005-10-23 Thread samar j. singh
On Monday 24 October 2005 02:04, Johan Ingvast wrote:
 Hi
 Since I don't want to spend too much space in my article, I'd like to
 have a table just next to a figure inside one float.

 I want a figure caption on the figure and a table caption on the table.

 I've tried different ways but not come up with a satisfying solution.
 I've scanned the archives but not found anything but how to put two
 figures/tables side by side, not the both kinds at the same time.


 The best I found was to use the nofloat package which has defined
 tabcaption and figcaption separately. This made it possible to make a
 one  by two table inside a figure environmen, set a fixed width of each
 column and insert the table and figures inside the cells.

 Then manually creating the captions by placing
   ERT: \tabcaption{My table caption}
 in the first cell. And
   ERT: \figcaption{My figure caption}
 in the second cell.
 This is ok, however, I'm not convinced that the nofloat package screws
 other things up.

 Any clues?

 T.I.A.
 /johan


How about 
1. insert minipage right click inside and reduce width to less than 50% column 
width when the cue pops up
2. Insert Hfill
3. Insert another minipage as in 1
4. Put your figure in one minipage and your table in the other.

regards
samar


Re: Figure and table side by side

2005-10-23 Thread Johan Ingvast

samar j. singh wrote:

On Monday 24 October 2005 02:04, Johan Ingvast wrote:


Hi
Since I don't want to spend too much space in my article, I'd like to
have a table just next to a figure inside one float.

I want a figure caption on the figure and a table caption on the table.

I've tried different ways but not come up with a satisfying solution.
I've scanned the archives but not found anything but how to put two
figures/tables side by side, not the both kinds at the same time.


The best I found was to use the nofloat package which has defined
tabcaption and figcaption separately. This made it possible to make a
one  by two table inside a figure environmen, set a fixed width of each
column and insert the table and figures inside the cells.

Then manually creating the captions by placing
ERT: \tabcaption{My table caption}
in the first cell. And
ERT: \figcaption{My figure caption}
in the second cell.
This is ok, however, I'm not convinced that the nofloat package screws
other things up.

Any clues?

T.I.A.
/johan




How about 
1. insert minipage right click inside and reduce width to less than 50% column 
width when the cue pops up

2. Insert Hfill
3. Insert another minipage as in 1
4. Put your figure in one minipage and your table in the other.
Yes, that's an alternative from using the 1 x 2 table. But my problem is 
with the captions. I want a table caption for the table and a figure 
caption for the figure. If I put everything in a figure float both 
captions will become Figure and vice versa.

/johan


Re: Grammar check?

2005-10-23 Thread Paul
Roy Schestowitz wrote:
 Me too. Here is the direct link:
 
 * http://bobo.link.cs.cmu.edu/link/
 
 Note  that  it only handles English at the moment, but I am sure that,  in
 due  time, somebody will extend it. For Latin languages, it is primarily a
 vocabulary  barrier. Such a feature can definitely elevate LyX well  above
 Kile and others.

I was looking into this a few days ago and here's some other links that
might be useful:

Queequeg, A Tiny English Grammar Checker
http://queequeg.sourceforge.net/index-e.html
Queequeg is a tiny English grammar checker for non-native speakers who
are not used to verb conjugation and number agreement. We especially
focus on people who're writing academic papers or business documents
where thorough checking is required. We aim to reduce this laborious
work with automated checking. Queequeg is named after a character in
Herman Melville's masterpiece.

Style and Diction
http://www.gnu.org/software/diction/diction.html
Diction and style are two old standard UNIX commands. Diction identifies
wordy and commonly misused phrases. Style analyses surface
characteristics of a document, including sentence length and other
readability measures.

Paul.


Re: LyX displaying problem.

2005-10-23 Thread Paul Smith
On 10/23/05, ray zhou [EMAIL PROTECTED] wrote:
   I don't know why when when enter Math Mode and type \leq, it gives me a
 space. But once I turn the lyx document into DVI, it shows \leq as it
 should. What could be the problem?

Ray,

You need to install BaKoma fonts. If you are running Linux, have a look at

http://wiki.lyx.org/FAQ/Qt

Paul


Re: Choice of fonts in LaTeX

2005-10-23 Thread Karsten Heymann

Hi Paul,

Paul schrieb:

I'm trying to understand exactly how LaTeX handles fonts/typefaces.


Maybe you want to take http://www.tug.org/fonts/ as a starting point. An
extremely good read is the fonts chapter from book The LaTeX Companion
2nd. Ed.


Is there a way to see which fonts are available to LaTeX?


No, not in a single place. try 'texdoc psnfss2e' for the standard
postscript fonts.

What I need to be sure is that users on different machines running 
Windows or Mac, with different fonts installed, will still be able to

read the PDF document. For example, if they don't have Times or New
Century Schoolbook installed, will they still be able to view them?
Does it matter whether they have the TrueType or Type 1 version of
it?


As already said, that is only a problem if you are using standard
postscript fonts and your latex installation doesn't embed them.


I read that Type 3 fonts are bad, so does it matter that I have a
line beginning [none] that says Type 3?


Yes, in type 3 fonts the glyphs (letters) are rendert into bitmap
graphic which acrobat reader versions prior to ver. 6 render extremely
poor.


Why do some lines begin with what looks like 6 random letters? Is
this an internal name for an embedded font?


Yes, don't care for the names.

Yours,
Karsten


signature.asc
Description: OpenPGP digital signature


Re: Choice of fonts in LaTeX

2005-10-23 Thread Johan Ingvast

Karsten Heymann wrote:


Is there a way to see which fonts are available to LaTeX?

Try thils link:
http://tug.org/TeXnik/mainFAQ.cgi?file=fonts/fonts
It shows ways of displaying all fonts found on the latex paths.
/johan


Re: [need help with wiki] Re: Excel data sheets

2005-10-23 Thread Sven Schreiber
[EMAIL PROTECTED] wrote:


Tips/ so I've moved your text there.

   http://wiki.lyx.org/Tips/CopyTablesFromSpreadsheets

In addition, it's a good idea to add a link to the special page in each 
group that is used to list/describe pages in the group. Here, the page is 
simply

   http://wiki.lyx.org/Tips/PageList

so I've added a link to your page from that page.
  

Thanks very much for your help!

PS. As a sidenote, let me just mention that the way I used to create a 
link to Sven's page from the PageList-page used the following markup:

   T*Tips/{{copy tables from spreadsheets}}

which is called a teaser markup. It's a teaser because after the link, 
a teaser text will be appended that is taken from the first link of the 
page that is being linked to. As a result of this, thinks work out nicely 
on the PaegList-page if the first line on each page is a nice description 
of each page.

  

It's good you're explaining this, because somehow I'm a bit tired of
learning yet another markup syntax, especially through manuals and
tutorials. Possibly this also deters other people from adding to the
wiki. Is there any way to use plain html and get that converted so that
the wiki engine accepts it?
But thanks again,
sven


Putting Other Stuff On The Title Page

2005-10-23 Thread Daniel Watkins
Hi list,
I'm currently creating a document using the 'book' class. I have a
disclaimer of sorts that I want to put below the Title and Author fields
on the first page of the document (as it looks a bit lonely all by
itself on the second page). I'm guessing this is a job for ERTman, so
was wondering if anyone would oblige me by telling me what to put in?

And, yes, I'll get around to buying a LaTeX reference sooner or
later... :P

Cheers,
Dan



Re: Links Within Documents

2005-10-23 Thread Uwe Stöhr

Daniel Watkins wrote:


One thing I've noticed some documents being able to do (namely the
Beamer User Guide) is have clickable links in the ToC which
automagically move the view to the appropriate section, which I thought
was rather nifty.


Use the hyperref-package. It should be part of any LaTeX-distribution. 
Have a look at its manual


ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/doc/manual.html

for all available options.

You can also look at the preamble of

http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.lyx

where hyperref is used intensively.

regards Uwe


Re: Links Within Documents

2005-10-23 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
 Daniel Watkins wrote:
  One thing I've noticed some documents being able to do (namely the
  Beamer User Guide) is have clickable links in the ToC which
  automagically move the view to the appropriate section, which I thought
  was rather nifty.

 Use the hyperref-package. It should be part of any LaTeX-distribution.

There's also a neat script which helps with this task:
http://tex2pdf.berlios.de/lyx-howto.htm

Jürgen


Re: Links Within Documents

2005-10-23 Thread Uwe Stöhr

Juergen Spitzmueller schrieb:


One thing I've noticed some documents being able to do (namely the
Beamer User Guide) is have clickable links in the ToC which
automagically move the view to the appropriate section, which I thought
was rather nifty.


Use the hyperref-package. It should be part of any LaTeX-distribution.


There's also a neat script which helps with this task:
http://tex2pdf.berlios.de/lyx-howto.htm


tex2pdf doesn't help you to create links in the TOC. tex2pdf is just 
another program to produce a pdf from LyX/TeX. I cannot recommend its 
use. Better use the LyX menu Export - PDF(pdflatex).


regards Uwe


Re: Links Within Documents

2005-10-23 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
  There's also a neat script which helps with this task:
  http://tex2pdf.berlios.de/lyx-howto.htm

 tex2pdf doesn't help you to create links in the TOC. tex2pdf is just
 another program to produce a pdf from LyX/TeX. I cannot recommend its
 use. Better use the LyX menu Export - PDF(pdflatex).

That's simply not true. Have you really tried it?
Tex2pdf is just a wrapper script for pdflatex and some auxiliary tools (image 
conversion, hyperref, pdfthumb etc.). 
It asks you (if you call tex2pdf --config), amongst other things, if you want 
to use hyperref, what colors the links should have, if you want thumbnails 
etc. Those settings will automatically be used if you export via tex2pdf. I 
find it quite useful.

Jürgen


Creating DocBook stuff using LyX

2005-10-23 Thread Daniel Watkins
I've just managed to get the job of putting together the documentation
for a SourceForge project, and it would be exceedingly helpful if I were
to be able to do it on LyX. Unfortunately, it requires DocBook format
stuff, and I don't know how (or if it's possible) to create that using
LyX.

Any elucidation would be appreciated.

Thanks in advance,
Dan



Re: Creating DocBook stuff using LyX

2005-10-23 Thread Geoffrey Lloyd
- Original Message - 
From: Daniel Watkins [EMAIL PROTECTED]

To: lyx-users@lists.lyx.org
Sent: Sunday, October 23, 2005 6:48 PM
Subject: Creating DocBook stuff using LyX



I've just managed to get the job of putting together the documentation
for a SourceForge project, and it would be exceedingly helpful if I were
to be able to do it on LyX. Unfortunately, it requires DocBook format
stuff, and I don't know how (or if it's possible) to create that using
LyX.

Any elucidation would be appreciated.

Thanks in advance,
Dan


A quick google on docbook lyx brought up the following among many others

http://bgu.chez.tiscali.fr/doc/db4lyx/

Seems comprehensive










Figure and table side by side

2005-10-23 Thread Johan Ingvast

Hi
Since I don't want to spend too much space in my article, I'd like to 
have a table just next to a figure inside one float.


I want a figure caption on the figure and a table caption on the table.

I've tried different ways but not come up with a satisfying solution. 
I've scanned the archives but not found anything but how to put two 
figures/tables side by side, not the both kinds at the same time.



The best I found was to use the nofloat package which has defined 
tabcaption and figcaption separately. This made it possible to make a 
one  by two table inside a figure environmen, set a fixed width of each 
column and insert the table and figures inside the cells.


Then manually creating the captions by placing
ERT: \tabcaption{My table caption}
in the first cell. And
ERT: \figcaption{My figure caption}
in the second cell.
This is ok, however, I'm not convinced that the nofloat package screws 
other things up.


Any clues?

T.I.A.
/johan


Re: Choice of fonts in LaTeX

2005-10-23 Thread Stephen Harris


- Original Message - 
From: Johan Ingvast [EMAIL PROTECTED]

To: Karsten Heymann [EMAIL PROTECTED]
Cc: Paul [EMAIL PROTECTED]; lyx-users@lists.lyx.org
Sent: Sunday, October 23, 2005 7:16 AM
Subject: Re: Choice of fonts in LaTeX



Karsten Heymann wrote:


Is there a way to see which fonts are available to LaTeX?

Try thils link:
http://tug.org/TeXnik/mainFAQ.cgi?file=fonts/fonts
It shows ways of displaying all fonts found on the latex paths.
/johan



There has been some recent posting about poor pdf display
(though the printed output may be ok) and whether it is better
to use pdflatex or dvipdfm. This brings up whether to use Type I
fonts or Type III fonts. Andre Berger wrote about this which I
will quote from the Google search engine (www.google.com) .

Query ():
Short version:  How do I install the international Type 1 fonts?  (aka 
Computer Modern Super fontset)?



Long version:



Folks, I'm learning LaTeX.  Please forgive any gross inaccuracies in what 
follows.



When I output a PDF from within Lyx, it looks AWFUL in Preview.  It looks 
perfect in Adobe 6.0.




Turns out that Lyx is outputting Type 3 fonts.



To which Andre Berger responded:


Probably so. As this starts a LyX question, first check if you can
use

 LyX - Layout - Document - Font  Size - pslatex


then proceed according to


 LyX - Help - Extended Features - 5.3.6(.2)


and run


 LyX - View - PDF (pdflatex)


to create .pdf files.


You will almost definitely prefer Palatino (serif) or Helvetica
(sans serif) over the legacy Computer Modern font then.



According to this website http://www.geocities.com/mobrien_12/lyx.htm the 
best solution is to install the full Type 1 font set from CTAN.


I found it, but I would like to know: 1)How can I check if I already have 
these Type 1 fonts? 2)Where do I install it?  My best guess is: 
/usr/local/teTeX/share/texmf.tetex/fonts/type1/public 3)If I install it, 
do I have to do anything to notify TeTex/Lyx/Texshop/etc?




Let me give a practical answer. The standard PS fonts should be
included in TeTeX. In Terminal,

 locate tex|grep font|grep helv


to find, for example, Helvetica. If the locate command fails, run


 sudo /usr/libexec/locate.updatedb


then try again. Chances are you won't have to install anything extra
at this point.


I hope this helps!


-Andre



From the LyX Extended documentation:


5.3.6.2 Why does the text look so bad when viewed with Acrobat 
Reader?sec:badfontsBad Fonts in Acrobat Reader


The problem is that bitmap fonts are displayed poorly by Acrobat Reader. 
When creating a PDF from the LyX file, you need to use outline font instead 
of the default bitmap fonts (in fact, you should also use outline fonts for 
Postscript files). Recent LaTeX distributions come with Postscript® Type 1 
version of the standard (Computer Modern) fonts. pdfLaTeX uses these font by 
default. Dvips doesn't use these fonts by default, so to make it use them, 
add the following to lines to your ~/.dvipsrc file


p+ psfonts.cmz

p+ psfonts.amz

If the default LaTeX font encoding (OT1) is used, nothing else need to be 
done. However, if the T1 font encoding is used, then LaTeX uses the newer EC 
fonts, for which there are no Type1 version. The solution is to use the ae 
package which emulates T1 coded fonts using the standard CM fonts. This is 
done by adding \usepackage{ae,aecompl} to the preamble of the LyX file. 
However, some glyphs are missing from the CM fonts (e.g. eth, thorn), and 
they are taken from the EC fonts. Therefore you get these glyphs as bitmaps.


Note: LyX uses by default the T1 font encoding. If you wish to use the 
default font encoding (this is not recommended, unless you only write 
English documents), clear the field TeX encoding in preferences (tabs 
Outputs, Misc).


An alternate option is to use the standard Postscript® fonts instead of the 
Computer Modern fonts. To do that, you need to select pslatex as the global 
font in the document layout dialog. When using the Postscript® fonts, the 
result PDF file is smaller as the fonts are not saved into the file. 
Furthermore, the Postscript® fonts include all T1 glyphs. On the other hand, 
the Postscript® fonts have no bold symbol font, so poor man's bold must be 
used (see Section [sec:pdfbold]). The Postscript® fonts also look different 
from the Computer Modern fonts.


To sum up, both the Computer Modern and the Postscript® fonts gives good 
results (with few exceptions). The decision of which one to use is a matter 
of taste.


5.3.6.3 Why doesn't the \boldsymbol{} command work when I use 
pslatex?sec:pdfbold\boldsymbol{} and pslatex


The Postscript® fonts do not have a bold symbol font. The solution is to use 
the \pmb{} (poor man's bold) command.


It is possible to redefine the \boldsymbol command to use \pmb by putting

\renewcommand{\boldsymbol}[1]{\pmb{#1}}

in the preamble.

5.3.6.4 Is it possible to do write latex code which is processed only when 
running pdfLaTeX?Conditionals with 

Re: Figure and table side by side

2005-10-23 Thread samar j. singh
On Monday 24 October 2005 02:04, Johan Ingvast wrote:
 Hi
 Since I don't want to spend too much space in my article, I'd like to
 have a table just next to a figure inside one float.

 I want a figure caption on the figure and a table caption on the table.

 I've tried different ways but not come up with a satisfying solution.
 I've scanned the archives but not found anything but how to put two
 figures/tables side by side, not the both kinds at the same time.


 The best I found was to use the nofloat package which has defined
 tabcaption and figcaption separately. This made it possible to make a
 one  by two table inside a figure environmen, set a fixed width of each
 column and insert the table and figures inside the cells.

 Then manually creating the captions by placing
   ERT: \tabcaption{My table caption}
 in the first cell. And
   ERT: \figcaption{My figure caption}
 in the second cell.
 This is ok, however, I'm not convinced that the nofloat package screws
 other things up.

 Any clues?

 T.I.A.
 /johan


How about 
1. insert minipage right click inside and reduce width to less than 50% column 
width when the cue pops up
2. Insert Hfill
3. Insert another minipage as in 1
4. Put your figure in one minipage and your table in the other.

regards
samar


Re: Figure and table side by side

2005-10-23 Thread Johan Ingvast

samar j. singh wrote:

On Monday 24 October 2005 02:04, Johan Ingvast wrote:


Hi
Since I don't want to spend too much space in my article, I'd like to
have a table just next to a figure inside one float.

I want a figure caption on the figure and a table caption on the table.

I've tried different ways but not come up with a satisfying solution.
I've scanned the archives but not found anything but how to put two
figures/tables side by side, not the both kinds at the same time.


The best I found was to use the nofloat package which has defined
tabcaption and figcaption separately. This made it possible to make a
one  by two table inside a figure environmen, set a fixed width of each
column and insert the table and figures inside the cells.

Then manually creating the captions by placing
ERT: \tabcaption{My table caption}
in the first cell. And
ERT: \figcaption{My figure caption}
in the second cell.
This is ok, however, I'm not convinced that the nofloat package screws
other things up.

Any clues?

T.I.A.
/johan




How about 
1. insert minipage right click inside and reduce width to less than 50% column 
width when the cue pops up

2. Insert Hfill
3. Insert another minipage as in 1
4. Put your figure in one minipage and your table in the other.
Yes, that's an alternative from using the 1 x 2 table. But my problem is 
with the captions. I want a table caption for the table and a figure 
caption for the figure. If I put everything in a figure float both 
captions will become Figure and vice versa.

/johan


Re: Grammar check?

2005-10-23 Thread Paul
Roy Schestowitz wrote:
> Me too. Here is the direct link:
> 
> * http://bobo.link.cs.cmu.edu/link/
> 
> Note  that  it only handles English at the moment, but I am sure that,  in
> due  time, somebody will extend it. For Latin languages, it is primarily a
> vocabulary  barrier. Such a feature can definitely elevate LyX well  above
> Kile and others.

I was looking into this a few days ago and here's some other links that
might be useful:

Queequeg, A Tiny English Grammar Checker
http://queequeg.sourceforge.net/index-e.html
Queequeg is a tiny English grammar checker for non-native speakers who
are not used to verb conjugation and number agreement. We especially
focus on people who're writing academic papers or business documents
where thorough checking is required. We aim to reduce this laborious
work with automated checking. Queequeg is named after a character in
Herman Melville's masterpiece.

Style and Diction
http://www.gnu.org/software/diction/diction.html
Diction and style are two old standard UNIX commands. Diction identifies
wordy and commonly misused phrases. Style analyses surface
characteristics of a document, including sentence length and other
readability measures.

Paul.


Re: LyX displaying problem.

2005-10-23 Thread Paul Smith
On 10/23/05, ray zhou <[EMAIL PROTECTED]> wrote:
>   I don't know why when when enter Math Mode and type \leq, it gives me a
> space. But once I turn the lyx document into DVI, it shows \leq as it
> should. What could be the problem?

Ray,

You need to install BaKoma fonts. If you are running Linux, have a look at

http://wiki.lyx.org/FAQ/Qt

Paul


Re: Choice of fonts in LaTeX

2005-10-23 Thread Karsten Heymann

Hi Paul,

Paul schrieb:

I'm trying to understand exactly how LaTeX handles fonts/typefaces.


Maybe you want to take http://www.tug.org/fonts/ as a starting point. An
extremely good read is the fonts chapter from book "The LaTeX Companion"
2nd. Ed.


Is there a way to see which fonts are available to LaTeX?


No, not in a single place. try 'texdoc psnfss2e' for the "standard"
postscript fonts.

What I need to be sure is that users on different machines running 
Windows or Mac, with different fonts installed, will still be able to

read the PDF document. For example, if they don't have Times or New
Century Schoolbook installed, will they still be able to view them?
Does it matter whether they have the TrueType or Type 1 version of
it?


As already said, that is only a problem if you are using standard
postscript fonts and your latex installation doesn't embed them.


I read that Type 3 fonts are bad, so does it matter that I have a
line beginning "[none]" that says Type 3?


Yes, in type 3 fonts the glyphs ("letters") are rendert into bitmap
graphic which acrobat reader versions prior to ver. 6 render extremely
poor.


Why do some lines begin with what looks like 6 random letters? Is
this an internal name for an embedded font?


Yes, don't care for the names.

Yours,
Karsten


signature.asc
Description: OpenPGP digital signature


Re: Choice of fonts in LaTeX

2005-10-23 Thread Johan Ingvast

Karsten Heymann wrote:


Is there a way to see which fonts are available to LaTeX?

Try thils link:
http://tug.org/TeXnik/mainFAQ.cgi?file=fonts/fonts
It shows ways of displaying all fonts found on the latex paths.
/johan


Re: [need help with wiki] Re: Excel data sheets

2005-10-23 Thread Sven Schreiber
[EMAIL PROTECTED] wrote:

>
>Tips/ so I've moved your text there.
>
>   http://wiki.lyx.org/Tips/CopyTablesFromSpreadsheets
>
>In addition, it's a good idea to add a link to the special page in each 
>group that is used to list/describe pages in the group. Here, the page is 
>simply
>
>   http://wiki.lyx.org/Tips/PageList
>
>so I've added a link to your page from that page.
>  
>
Thanks very much for your help!

>PS. As a sidenote, let me just mention that the way I used to create a 
>link to Sven's page from the PageList-page used the following markup:
>
>   T*Tips/{{copy tables from spreadsheets}}
>
>which is called a "teaser" markup. It's a teaser because after the link, 
>a teaser text will be appended that is taken from the first link of the 
>page that is being linked to. As a result of this, thinks work out nicely 
>on the PaegList-page if the first line on each page is a nice description 
>of each page.
>
>  
>
It's good you're explaining this, because somehow I'm a bit tired of
learning yet another markup syntax, especially through manuals and
tutorials. Possibly this also deters other people from adding to the
wiki. Is there any way to use plain html and get that converted so that
the wiki engine accepts it?
But thanks again,
sven


Putting Other Stuff On The Title Page

2005-10-23 Thread Daniel Watkins
Hi list,
I'm currently creating a document using the 'book' class. I have a
disclaimer of sorts that I want to put below the Title and Author fields
on the first page of the document (as it looks a bit lonely all by
itself on the second page). I'm guessing this is a job for ERTman, so
was wondering if anyone would oblige me by telling me what to put in?

And, yes, I'll get around to buying a LaTeX reference sooner or
later... :P

Cheers,
Dan



Re: Links Within Documents

2005-10-23 Thread Uwe Stöhr

Daniel Watkins wrote:


One thing I've noticed some documents being able to do (namely the
Beamer User Guide) is have clickable links in the ToC which
automagically move the view to the appropriate section, which I thought
was rather nifty.


Use the hyperref-package. It should be part of any LaTeX-distribution. 
Have a look at its manual


ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/doc/manual.html

for all available options.

You can also look at the preamble of

http://wiki.lyx.org/uploads/LyX/LyXMathebefehle/LyXMathebefehle.lyx

where hyperref is used intensively.

regards Uwe


Re: Links Within Documents

2005-10-23 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
> Daniel Watkins wrote:
> > One thing I've noticed some documents being able to do (namely the
> > Beamer User Guide) is have clickable links in the ToC which
> > automagically move the view to the appropriate section, which I thought
> > was rather nifty.
>
> Use the hyperref-package. It should be part of any LaTeX-distribution.

There's also a neat script which helps with this task:
http://tex2pdf.berlios.de/lyx-howto.htm

Jürgen


Re: Links Within Documents

2005-10-23 Thread Uwe Stöhr

Juergen Spitzmueller schrieb:


One thing I've noticed some documents being able to do (namely the
Beamer User Guide) is have clickable links in the ToC which
automagically move the view to the appropriate section, which I thought
was rather nifty.


Use the hyperref-package. It should be part of any LaTeX-distribution.


There's also a neat script which helps with this task:
http://tex2pdf.berlios.de/lyx-howto.htm


tex2pdf doesn't help you to create links in the TOC. tex2pdf is just 
another program to produce a pdf from LyX/TeX. I cannot recommend its 
use. Better use the LyX menu Export -> PDF(pdflatex).


regards Uwe


Re: Links Within Documents

2005-10-23 Thread Juergen Spitzmueller
Uwe Stöhr wrote:
> > There's also a neat script which helps with this task:
> > http://tex2pdf.berlios.de/lyx-howto.htm
>
> tex2pdf doesn't help you to create links in the TOC. tex2pdf is just
> another program to produce a pdf from LyX/TeX. I cannot recommend its
> use. Better use the LyX menu Export -> PDF(pdflatex).

That's simply not true. Have you really tried it?
Tex2pdf is just a wrapper script for pdflatex and some auxiliary tools (image 
conversion, hyperref, pdfthumb etc.). 
It asks you (if you call tex2pdf --config), amongst other things, if you want 
to use hyperref, what colors the links should have, if you want thumbnails 
etc. Those settings will automatically be used if you export via tex2pdf. I 
find it quite useful.

Jürgen


Creating DocBook stuff using LyX

2005-10-23 Thread Daniel Watkins
I've just managed to get the job of putting together the documentation
for a SourceForge project, and it would be exceedingly helpful if I were
to be able to do it on LyX. Unfortunately, it requires DocBook format
stuff, and I don't know how (or if it's possible) to create that using
LyX.

Any elucidation would be appreciated.

Thanks in advance,
Dan



Re: Creating DocBook stuff using LyX

2005-10-23 Thread Geoffrey Lloyd
- Original Message - 
From: "Daniel Watkins" <[EMAIL PROTECTED]>

To: 
Sent: Sunday, October 23, 2005 6:48 PM
Subject: Creating DocBook stuff using LyX



I've just managed to get the job of putting together the documentation
for a SourceForge project, and it would be exceedingly helpful if I were
to be able to do it on LyX. Unfortunately, it requires DocBook format
stuff, and I don't know how (or if it's possible) to create that using
LyX.

Any elucidation would be appreciated.

Thanks in advance,
Dan


A quick google on "docbook lyx" brought up the following among many others

http://bgu.chez.tiscali.fr/doc/db4lyx/

Seems comprehensive










Figure and table side by side

2005-10-23 Thread Johan Ingvast

Hi
Since I don't want to spend too much space in my article, I'd like to 
have a table just next to a figure inside one float.


I want a figure caption on the figure and a table caption on the table.

I've tried different ways but not come up with a satisfying solution. 
I've scanned the archives but not found anything but how to put two 
figures/tables side by side, not the both kinds at the same time.



The best I found was to use the nofloat package which has defined 
tabcaption and figcaption separately. This made it possible to make a 
one  by two table inside a figure environmen, set a fixed width of each 
column and insert the table and figures inside the cells.


Then manually creating the captions by placing
ERT: \tabcaption{My table caption}
in the first cell. And
ERT: \figcaption{My figure caption}
in the second cell.
This is ok, however, I'm not convinced that the nofloat package screws 
other things up.


Any clues?

T.I.A.
/johan


Re: Choice of fonts in LaTeX

2005-10-23 Thread Stephen Harris


- Original Message - 
From: "Johan Ingvast" <[EMAIL PROTECTED]>

To: "Karsten Heymann" <[EMAIL PROTECTED]>
Cc: "Paul" <[EMAIL PROTECTED]>; 
Sent: Sunday, October 23, 2005 7:16 AM
Subject: Re: Choice of fonts in LaTeX



Karsten Heymann wrote:


Is there a way to see which fonts are available to LaTeX?

Try thils link:
http://tug.org/TeXnik/mainFAQ.cgi?file=fonts/fonts
It shows ways of displaying all fonts found on the latex paths.
/johan



There has been some recent posting about poor pdf display
(though the printed output may be ok) and whether it is better
to use pdflatex or dvipdfm. This brings up whether to use Type I
fonts or Type III fonts. Andre Berger wrote about this which I
will quote from the Google search engine (www.google.com) .

Query (>):
Short version:  How do I install the international Type 1 fonts?  (aka 
Computer Modern Super fontset)?



Long version:



Folks, I'm learning LaTeX.  Please forgive any gross inaccuracies in what 
follows.



When I output a PDF from within Lyx, it looks AWFUL in Preview.  It looks 
perfect in Adobe 6.0.




Turns out that Lyx is outputting Type 3 fonts.



To which Andre Berger responded:


Probably so. As this starts a LyX question, first check if you can
use

 LyX - Layout - Document - Font & Size - pslatex


then proceed according to


 LyX - Help - Extended Features - 5.3.6(.2)


and run


 LyX - View - PDF (pdflatex)


to create .pdf files.


You will almost definitely prefer Palatino (serif) or Helvetica
(sans serif) over the "legacy" Computer Modern font then.



According to this website http://www.geocities.com/mobrien_12/lyx.htm the 
best solution is to install the full Type 1 font set from CTAN.


I found it, but I would like to know: 1)How can I check if I already have 
these Type 1 fonts? 2)Where do I install it?  My best guess is: 
/usr/local/teTeX/share/texmf.tetex/fonts/type1/public 3)If I install it, 
do I have to do anything to notify TeTex/Lyx/Texshop/etc?




Let me give a practical answer. "The" standard PS fonts should be
included in TeTeX. In Terminal,

 locate tex|grep font|grep helv


to find, for example, Helvetica. If the locate command fails, run


 sudo /usr/libexec/locate.updatedb


then try again. Chances are you won't have to install anything extra
at this point.


I hope this helps!


-Andre



From the LyX Extended documentation:


5.3.6.2 Why does the text look so bad when viewed with Acrobat 
Reader?Bad Fonts in Acrobat Reader


The problem is that bitmap fonts are displayed poorly by Acrobat Reader. 
When creating a PDF from the LyX file, you need to use outline font instead 
of the default bitmap fonts (in fact, you should also use outline fonts for 
Postscript files). Recent LaTeX distributions come with Postscript® Type 1 
version of the standard (Computer Modern) fonts. pdfLaTeX uses these font by 
default. Dvips doesn't use these fonts by default, so to make it use them, 
add the following to lines to your ~/.dvipsrc file


p+ psfonts.cmz

p+ psfonts.amz

If the default LaTeX font encoding (OT1) is used, nothing else need to be 
done. However, if the T1 font encoding is used, then LaTeX uses the newer EC 
fonts, for which there are no Type1 version. The solution is to use the ae 
package which emulates T1 coded fonts using the standard CM fonts. This is 
done by adding \usepackage{ae,aecompl} to the preamble of the LyX file. 
However, some glyphs are missing from the CM fonts (e.g. eth, thorn), and 
they are taken from the EC fonts. Therefore you get these glyphs as bitmaps.


Note: LyX uses by default the T1 font encoding. If you wish to use the 
default font encoding (this is not recommended, unless you only write 
English documents), clear the field TeX encoding in preferences (tabs 
Outputs, Misc).


An alternate option is to use the standard Postscript® fonts instead of the 
Computer Modern fonts. To do that, you need to select pslatex as the global 
font in the document layout dialog. When using the Postscript® fonts, the 
result PDF file is smaller as the fonts are not saved into the file. 
Furthermore, the Postscript® fonts include all T1 glyphs. On the other hand, 
the Postscript® fonts have no bold symbol font, so poor man's bold must be 
used (see Section [sec:pdfbold]). The Postscript® fonts also look different 
from the Computer Modern fonts.


To sum up, both the Computer Modern and the Postscript® fonts gives good 
results (with few exceptions). The decision of which one to use is a matter 
of taste.


5.3.6.3 Why doesn't the \boldsymbol{} command work when I use 
pslatex?\boldsymbol{} and pslatex


The Postscript® fonts do not have a bold symbol font. The solution is to use 
the \pmb{} (poor man's bold) command.


It is possible to redefine the \boldsymbol command to use \pmb by putting

\renewcommand{\boldsymbol}[1]{\pmb{#1}}

in the preamble.

5.3.6.4 Is it possible to do write latex code which is processed only when 
running pdfLaTeX?Conditionals with 

Re: Figure and table side by side

2005-10-23 Thread samar j. singh
On Monday 24 October 2005 02:04, Johan Ingvast wrote:
> Hi
> Since I don't want to spend too much space in my article, I'd like to
> have a table just next to a figure inside one float.
>
> I want a figure caption on the figure and a table caption on the table.
>
> I've tried different ways but not come up with a satisfying solution.
> I've scanned the archives but not found anything but how to put two
> figures/tables side by side, not the both kinds at the same time.
>
>
> The best I found was to use the nofloat package which has defined
> tabcaption and figcaption separately. This made it possible to make a
> one  by two table inside a figure environmen, set a fixed width of each
> column and insert the table and figures inside the cells.
>
> Then manually creating the captions by placing
>   ERT: \tabcaption{My table caption}
> in the first cell. And
>   ERT: \figcaption{My figure caption}
> in the second cell.
> This is ok, however, I'm not convinced that the nofloat package screws
> other things up.
>
> Any clues?
>
> T.I.A.
> /johan


How about 
1. insert minipage right click inside and reduce width to less than 50% column 
width when the cue pops up
2. Insert Hfill
3. Insert another minipage as in 1
4. Put your figure in one minipage and your table in the other.

regards
samar


Re: Figure and table side by side

2005-10-23 Thread Johan Ingvast

samar j. singh wrote:

On Monday 24 October 2005 02:04, Johan Ingvast wrote:


Hi
Since I don't want to spend too much space in my article, I'd like to
have a table just next to a figure inside one float.

I want a figure caption on the figure and a table caption on the table.

I've tried different ways but not come up with a satisfying solution.
I've scanned the archives but not found anything but how to put two
figures/tables side by side, not the both kinds at the same time.


The best I found was to use the nofloat package which has defined
tabcaption and figcaption separately. This made it possible to make a
one  by two table inside a figure environmen, set a fixed width of each
column and insert the table and figures inside the cells.

Then manually creating the captions by placing
ERT: \tabcaption{My table caption}
in the first cell. And
ERT: \figcaption{My figure caption}
in the second cell.
This is ok, however, I'm not convinced that the nofloat package screws
other things up.

Any clues?

T.I.A.
/johan




How about 
1. insert minipage right click inside and reduce width to less than 50% column 
width when the cue pops up

2. Insert Hfill
3. Insert another minipage as in 1
4. Put your figure in one minipage and your table in the other.
Yes, that's an alternative from using the 1 x 2 table. But my problem is 
with the captions. I want a table caption for the table and a figure 
caption for the figure. If I put everything in a figure float both 
captions will become "Figure" and vice versa.

/johan