Re: changing justification of caption

2009-08-25 Thread Guenter Milde
On 2009-08-25, Jonatan R. Catai wrote:

 Interesting to think about the feature as part of the textclass. Yes, it
 surprised me.
...
 Who have determined that the textclass would have such behavior for
 short captions (or wherever other feature) and is there a reason for
 that?

Its up to the document class author (typically a typographical expert)
and it is considered a good layout.

As you are not the first to ask, there is already a latex package:

  The caption_ package provides many ways to customise the captions in
  floating environments like figure and table.

.. _caption:
   http://texcatalogue.sarovar.org/entries/caption.html

To change it in just one annoying case, the quick-and-dirty aproach is
OK. For a general change to the document layout, add something like the
following to the document preamble (maybe in your template doc):

\usepackage{caption}
\captionsetup{justification=raggedleft,singlelinecheck=false}


Günter



Re: changing justification of caption

2009-08-25 Thread Jean-Marc Lasgouttes

Le 25/08/2009 03:36, Jonatan R. Catai a écrit :

Maybe my next question would fit better in another topic/subject but
I'll ask it right here, since it still relates with this issue (please,
I have no intention attacking anybody or any idea, it is just
curiosity): Who have determined that the textclass would have such
behavior for short captions (or wherever other feature) and is there a
reason for that?


I would think it is a classical typographical convention. One place 
where this kind of things may be described is in the memoir class 
documentation (one part is not about the class itself, but design of 
document classes). Otherwise, I am sure that somebody over at the 
comp.text.tex newsgroup knows the answer.


JMarc


Re: changing justification of caption

2009-08-25 Thread Guenter Milde
On 2009-08-25, Jonatan R. Catai wrote:

 Interesting to think about the feature as part of the textclass. Yes, it
 surprised me.
...
 Who have determined that the textclass would have such behavior for
 short captions (or wherever other feature) and is there a reason for
 that?

Its up to the document class author (typically a typographical expert)
and it is considered a good layout.

As you are not the first to ask, there is already a latex package:

  The caption_ package provides many ways to customise the captions in
  floating environments like figure and table.

.. _caption:
   http://texcatalogue.sarovar.org/entries/caption.html

To change it in just one annoying case, the quick-and-dirty aproach is
OK. For a general change to the document layout, add something like the
following to the document preamble (maybe in your template doc):

\usepackage{caption}
\captionsetup{justification=raggedleft,singlelinecheck=false}


Günter



Re: changing justification of caption

2009-08-25 Thread Jean-Marc Lasgouttes

Le 25/08/2009 03:36, Jonatan R. Catai a écrit :

Maybe my next question would fit better in another topic/subject but
I'll ask it right here, since it still relates with this issue (please,
I have no intention attacking anybody or any idea, it is just
curiosity): Who have determined that the textclass would have such
behavior for short captions (or wherever other feature) and is there a
reason for that?


I would think it is a classical typographical convention. One place 
where this kind of things may be described is in the memoir class 
documentation (one part is not about the class itself, but design of 
document classes). Otherwise, I am sure that somebody over at the 
comp.text.tex newsgroup knows the answer.


JMarc


Re: changing justification of caption

2009-08-25 Thread Guenter Milde
On 2009-08-25, Jonatan R. Catai wrote:

> Interesting to think about the feature as part of the textclass. Yes, it
> surprised me.
...
> Who have determined that the textclass would have such behavior for
> short captions (or wherever other feature) and is there a reason for
> that?

Its up to the document class author (typically a typographical expert)
and it is considered a "good" layout.

As you are not the first to ask, there is already a latex package:

  The caption_ package provides many ways to customise the captions in
  floating environments like figure and table.

.. _caption:
   http://texcatalogue.sarovar.org/entries/caption.html

To change it in just one "annoying" case, the quick-and-dirty aproach is
OK. For a general change to the document layout, add something like the
following to the document preamble (maybe in your template doc):

\usepackage{caption}
\captionsetup{justification=raggedleft,singlelinecheck=false}


Günter



Re: changing justification of caption

2009-08-25 Thread Jean-Marc Lasgouttes

Le 25/08/2009 03:36, Jonatan R. Catai a écrit :

Maybe my next question would fit better in another topic/subject but
I'll ask it right here, since it still relates with this issue (please,
I have no intention attacking anybody or any idea, it is just
curiosity): Who have determined that the textclass would have such
behavior for short captions (or wherever other feature) and is there a
reason for that?


I would think it is a classical typographical convention. One place 
where this kind of things may be described is in the memoir class 
documentation (one part is not about the class itself, but design of 
document classes). Otherwise, I am sure that somebody over at the 
comp.text.tex newsgroup knows the answer.


JMarc


Re: changing justification of caption

2009-08-24 Thread Jonatan R. Catai
Hello, Wolfgang

Yes, my caption is small, a few words only (I just want to show a structural
formula of a molecule - so, there isn't much to say about it). When I added
some more words to the caption, then the suggestion of using the caption
package worked. I looked at the Embedded Object for small caption but could
not find anything. The interesting thing is that only the caption stay on
the middle of the page, no matter what I do. The picture itself, goes to the
right, center, left when I just select Paragraph Settings and choose the
justification.

I can't image that this can be so difficult, because it is quite common in
reports, article and thesis to have small captions to the left side (or
justified as would be a large caption).

Someone knows the trick?

Jonatan

PS. I apologize if I am making well known questions but I am a newbee ;-)


On Sat, Aug 22, 2009 at 4:52 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 Am Friday 21 August 2009 22:22:33 schrieb Jonatan R. Catai:
  Unfortunetly, it did not work.
 
  Only the picture goes to the left, but not the caption. Some other idea?
 
 
  Jonatan
 

 Jonatan,
 I am not sure now what you are aiming at. Is your figure a small one and
 the
 legend short, so that it would be better to have the whole float at the
 left?
 In this case you might consider the \usepackage[Option]{sidecap} as
 described
 in the EmbeddedObjects help menu. The \usepackage{caption} has also
 solutions. You could also consider using boxes or parboxes, but I am not
 familiar with it. I personally use twocolumns in my book (Koma-script) and
 if
 a float is small, I restrict it to one column, if large, spanning columns
 by
 clicking with the right mouse button on
 floatobject: figure  settings
 Wolfgang

  On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann 
 
  engelm...@uni-tuebingen.de wrote:
   Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
Dear All,
   
I added a float picture on my report and Lyx adds the caption
  
   automatically
  
- so far so good. However, the caption stays on the center of the
 page.
I tryed clicking with the right button of the mouse outside the
 caption
  
   box,
  
within the float picture box, and in Paragraph Settings change to
 left,
  
   but
  
no sucess - the caption remaings on the center in DVI and PDF output.
Am
  
   I
  
doing something wrong? How can I change its position to the left?
   
I am using article koma script.
   
Jonatan
  
   Mark the float with mouse, click with right mouse button, select
   paragraph settings  justification left
   (wording might be different in English; I am using the German setting)
  
   Wolfgang



 --
 -
 Wolfgang Engelmann
 Schlossgartenstrasse 22
 D-72070 Tübingen
 Tel 07071 68325



Re: changing justification of caption

2009-08-24 Thread Jonatan R. Catai
Hello all,

I might be answering my own question, but if there other ways to solve the
caption problem, I am eager to try them out.

It is a pretty dirty trick, but it worked nicely. When you have a short
caption, just add at its end whitespaces (crtl+shtift_space) and there you
go, our caption goes to the left. This trick avoid adding preamble and tex
code in the middle of the text. Of course, it might have its disadvantage,
but...


Jonatan

On Mon, Aug 24, 2009 at 3:23 PM, Jonatan R. Catai jrca...@gmail.com wrote:

 Hello, Wolfgang

 Yes, my caption is small, a few words only (I just want to show a
 structural formula of a molecule - so, there isn't much to say about it).
 When I added some more words to the caption, then the suggestion of using
 the caption package worked. I looked at the Embedded Object for small
 caption but could not find anything. The interesting thing is that only the
 caption stay on the middle of the page, no matter what I do. The picture
 itself, goes to the right, center, left when I just select Paragraph
 Settings and choose the justification.

 I can't image that this can be so difficult, because it is quite common in
 reports, article and thesis to have small captions to the left side (or
 justified as would be a large caption).

 Someone knows the trick?

 Jonatan

 PS. I apologize if I am making well known questions but I am a newbee ;-)



 On Sat, Aug 22, 2009 at 4:52 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:

 Am Friday 21 August 2009 22:22:33 schrieb Jonatan R. Catai:
  Unfortunetly, it did not work.
 
  Only the picture goes to the left, but not the caption. Some other idea?
 
 
  Jonatan
 

 Jonatan,
 I am not sure now what you are aiming at. Is your figure a small one and
 the
 legend short, so that it would be better to have the whole float at the
 left?
 In this case you might consider the \usepackage[Option]{sidecap} as
 described
 in the EmbeddedObjects help menu. The \usepackage{caption} has also
 solutions. You could also consider using boxes or parboxes, but I am not
 familiar with it. I personally use twocolumns in my book (Koma-script) and
 if
 a float is small, I restrict it to one column, if large, spanning columns
 by
 clicking with the right mouse button on
 floatobject: figure  settings
 Wolfgang

  On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann 
 
  engelm...@uni-tuebingen.de wrote:
   Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
Dear All,
   
I added a float picture on my report and Lyx adds the caption
  
   automatically
  
- so far so good. However, the caption stays on the center of the
 page.
I tryed clicking with the right button of the mouse outside the
 caption
  
   box,
  
within the float picture box, and in Paragraph Settings change to
 left,
  
   but
  
no sucess - the caption remaings on the center in DVI and PDF
 output.
Am
  
   I
  
doing something wrong? How can I change its position to the left?
   
I am using article koma script.
   
Jonatan
  
   Mark the float with mouse, click with right mouse button, select
   paragraph settings  justification left
   (wording might be different in English; I am using the German setting)
  
   Wolfgang



 --
 -
 Wolfgang Engelmann
 Schlossgartenstrasse 22
 D-72070 Tübingen
 Tel 07071 68325





Re: changing justification of caption

2009-08-24 Thread Jean-Marc Lasgouttes

Le 24/08/2009 20:23, Jonatan R. Catai a écrit :

Hello, Wolfgang

Yes, my caption is small, a few words only (I just want to show a structural
formula of a molecule - so, there isn't much to say about it). When I added
some more words to the caption, then the suggestion of using the caption
package worked. I looked at the Embedded Object for small caption but could
not find anything. The interesting thing is that only the caption stay on
the middle of the page, no matter what I do. The picture itself, goes to the
right, center, left when I just select Paragraph Settings and choose the
justification.


Just a point: the fact that captions are centered when short enough and 
justified when they are longer than a normal line (the only layout that 
exhibits this behaviour AFAIK) is considered to be a feature of the 
textclass :) Are you sure that the behaviour you want is better, or is 
it just that it surprised you?


JMarc


Re: changing justification of caption

2009-08-24 Thread Jonatan R. Catai
Hi JMarc

The answer is yes for both questions.

Interesting to thing about the feature as part of the textclass. Yes, it
surprised me. I could leave the way it is. I, personally, have no problem
with it.

On the other side, however, the document I am writing goes to other people
and that is the way they are used to (because they are used to M$ word and
that is the way it behaves). So, I have to adapt, a bit, in order to avoid
useless further explanations. There are people that do not benefit from the
open source movement just because they are not open minded!

Maybe my next question would fit better in another topic/subject but I'll
ask it right here, since it still relates with this issue (please, I have no
intention attacking anybody or any idea, it is just curiosity): Who have
determined that the textclass would have such behavior for short captions
(or wherever other feature) and is there a reason for that?

Jonatan


On Mon, Aug 24, 2009 at 7:42 PM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote:

 Le 24/08/2009 20:23, Jonatan R. Catai a écrit :

 Hello, Wolfgang

 Yes, my caption is small, a few words only (I just want to show a
 structural
 formula of a molecule - so, there isn't much to say about it). When I
 added
 some more words to the caption, then the suggestion of using the caption
 package worked. I looked at the Embedded Object for small caption but
 could
 not find anything. The interesting thing is that only the caption stay on
 the middle of the page, no matter what I do. The picture itself, goes to
 the
 right, center, left when I just select Paragraph Settings and choose the
 justification.


 Just a point: the fact that captions are centered when short enough and
 justified when they are longer than a normal line (the only layout that
 exhibits this behaviour AFAIK) is considered to be a feature of the
 textclass :) Are you sure that the behaviour you want is better, or is it
 just that it surprised you?

 JMarc



Re: changing justification of caption

2009-08-24 Thread Jonatan R. Catai
Hello, Wolfgang

Yes, my caption is small, a few words only (I just want to show a structural
formula of a molecule - so, there isn't much to say about it). When I added
some more words to the caption, then the suggestion of using the caption
package worked. I looked at the Embedded Object for small caption but could
not find anything. The interesting thing is that only the caption stay on
the middle of the page, no matter what I do. The picture itself, goes to the
right, center, left when I just select Paragraph Settings and choose the
justification.

I can't image that this can be so difficult, because it is quite common in
reports, article and thesis to have small captions to the left side (or
justified as would be a large caption).

Someone knows the trick?

Jonatan

PS. I apologize if I am making well known questions but I am a newbee ;-)


On Sat, Aug 22, 2009 at 4:52 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 Am Friday 21 August 2009 22:22:33 schrieb Jonatan R. Catai:
  Unfortunetly, it did not work.
 
  Only the picture goes to the left, but not the caption. Some other idea?
 
 
  Jonatan
 

 Jonatan,
 I am not sure now what you are aiming at. Is your figure a small one and
 the
 legend short, so that it would be better to have the whole float at the
 left?
 In this case you might consider the \usepackage[Option]{sidecap} as
 described
 in the EmbeddedObjects help menu. The \usepackage{caption} has also
 solutions. You could also consider using boxes or parboxes, but I am not
 familiar with it. I personally use twocolumns in my book (Koma-script) and
 if
 a float is small, I restrict it to one column, if large, spanning columns
 by
 clicking with the right mouse button on
 floatobject: figure  settings
 Wolfgang

  On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann 
 
  engelm...@uni-tuebingen.de wrote:
   Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
Dear All,
   
I added a float picture on my report and Lyx adds the caption
  
   automatically
  
- so far so good. However, the caption stays on the center of the
 page.
I tryed clicking with the right button of the mouse outside the
 caption
  
   box,
  
within the float picture box, and in Paragraph Settings change to
 left,
  
   but
  
no sucess - the caption remaings on the center in DVI and PDF output.
Am
  
   I
  
doing something wrong? How can I change its position to the left?
   
I am using article koma script.
   
Jonatan
  
   Mark the float with mouse, click with right mouse button, select
   paragraph settings  justification left
   (wording might be different in English; I am using the German setting)
  
   Wolfgang



 --
 -
 Wolfgang Engelmann
 Schlossgartenstrasse 22
 D-72070 Tübingen
 Tel 07071 68325



Re: changing justification of caption

2009-08-24 Thread Jonatan R. Catai
Hello all,

I might be answering my own question, but if there other ways to solve the
caption problem, I am eager to try them out.

It is a pretty dirty trick, but it worked nicely. When you have a short
caption, just add at its end whitespaces (crtl+shtift_space) and there you
go, our caption goes to the left. This trick avoid adding preamble and tex
code in the middle of the text. Of course, it might have its disadvantage,
but...


Jonatan

On Mon, Aug 24, 2009 at 3:23 PM, Jonatan R. Catai jrca...@gmail.com wrote:

 Hello, Wolfgang

 Yes, my caption is small, a few words only (I just want to show a
 structural formula of a molecule - so, there isn't much to say about it).
 When I added some more words to the caption, then the suggestion of using
 the caption package worked. I looked at the Embedded Object for small
 caption but could not find anything. The interesting thing is that only the
 caption stay on the middle of the page, no matter what I do. The picture
 itself, goes to the right, center, left when I just select Paragraph
 Settings and choose the justification.

 I can't image that this can be so difficult, because it is quite common in
 reports, article and thesis to have small captions to the left side (or
 justified as would be a large caption).

 Someone knows the trick?

 Jonatan

 PS. I apologize if I am making well known questions but I am a newbee ;-)



 On Sat, Aug 22, 2009 at 4:52 AM, Wolfgang Engelmann 
 engelm...@uni-tuebingen.de wrote:

 Am Friday 21 August 2009 22:22:33 schrieb Jonatan R. Catai:
  Unfortunetly, it did not work.
 
  Only the picture goes to the left, but not the caption. Some other idea?
 
 
  Jonatan
 

 Jonatan,
 I am not sure now what you are aiming at. Is your figure a small one and
 the
 legend short, so that it would be better to have the whole float at the
 left?
 In this case you might consider the \usepackage[Option]{sidecap} as
 described
 in the EmbeddedObjects help menu. The \usepackage{caption} has also
 solutions. You could also consider using boxes or parboxes, but I am not
 familiar with it. I personally use twocolumns in my book (Koma-script) and
 if
 a float is small, I restrict it to one column, if large, spanning columns
 by
 clicking with the right mouse button on
 floatobject: figure  settings
 Wolfgang

  On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann 
 
  engelm...@uni-tuebingen.de wrote:
   Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
Dear All,
   
I added a float picture on my report and Lyx adds the caption
  
   automatically
  
- so far so good. However, the caption stays on the center of the
 page.
I tryed clicking with the right button of the mouse outside the
 caption
  
   box,
  
within the float picture box, and in Paragraph Settings change to
 left,
  
   but
  
no sucess - the caption remaings on the center in DVI and PDF
 output.
Am
  
   I
  
doing something wrong? How can I change its position to the left?
   
I am using article koma script.
   
Jonatan
  
   Mark the float with mouse, click with right mouse button, select
   paragraph settings  justification left
   (wording might be different in English; I am using the German setting)
  
   Wolfgang



 --
 -
 Wolfgang Engelmann
 Schlossgartenstrasse 22
 D-72070 Tübingen
 Tel 07071 68325





Re: changing justification of caption

2009-08-24 Thread Jean-Marc Lasgouttes

Le 24/08/2009 20:23, Jonatan R. Catai a écrit :

Hello, Wolfgang

Yes, my caption is small, a few words only (I just want to show a structural
formula of a molecule - so, there isn't much to say about it). When I added
some more words to the caption, then the suggestion of using the caption
package worked. I looked at the Embedded Object for small caption but could
not find anything. The interesting thing is that only the caption stay on
the middle of the page, no matter what I do. The picture itself, goes to the
right, center, left when I just select Paragraph Settings and choose the
justification.


Just a point: the fact that captions are centered when short enough and 
justified when they are longer than a normal line (the only layout that 
exhibits this behaviour AFAIK) is considered to be a feature of the 
textclass :) Are you sure that the behaviour you want is better, or is 
it just that it surprised you?


JMarc


Re: changing justification of caption

2009-08-24 Thread Jonatan R. Catai
Hi JMarc

The answer is yes for both questions.

Interesting to thing about the feature as part of the textclass. Yes, it
surprised me. I could leave the way it is. I, personally, have no problem
with it.

On the other side, however, the document I am writing goes to other people
and that is the way they are used to (because they are used to M$ word and
that is the way it behaves). So, I have to adapt, a bit, in order to avoid
useless further explanations. There are people that do not benefit from the
open source movement just because they are not open minded!

Maybe my next question would fit better in another topic/subject but I'll
ask it right here, since it still relates with this issue (please, I have no
intention attacking anybody or any idea, it is just curiosity): Who have
determined that the textclass would have such behavior for short captions
(or wherever other feature) and is there a reason for that?

Jonatan


On Mon, Aug 24, 2009 at 7:42 PM, Jean-Marc Lasgouttes lasgout...@lyx.orgwrote:

 Le 24/08/2009 20:23, Jonatan R. Catai a écrit :

 Hello, Wolfgang

 Yes, my caption is small, a few words only (I just want to show a
 structural
 formula of a molecule - so, there isn't much to say about it). When I
 added
 some more words to the caption, then the suggestion of using the caption
 package worked. I looked at the Embedded Object for small caption but
 could
 not find anything. The interesting thing is that only the caption stay on
 the middle of the page, no matter what I do. The picture itself, goes to
 the
 right, center, left when I just select Paragraph Settings and choose the
 justification.


 Just a point: the fact that captions are centered when short enough and
 justified when they are longer than a normal line (the only layout that
 exhibits this behaviour AFAIK) is considered to be a feature of the
 textclass :) Are you sure that the behaviour you want is better, or is it
 just that it surprised you?

 JMarc



Re: changing justification of caption

2009-08-24 Thread Jonatan R. Catai
Hello, Wolfgang

Yes, my caption is small, a few words only (I just want to show a structural
formula of a molecule - so, there isn't much to say about it). When I added
some more words to the caption, then the suggestion of using the caption
package worked. I looked at the Embedded Object for small caption but could
not find anything. The interesting thing is that only the caption stay on
the middle of the page, no matter what I do. The picture itself, goes to the
right, center, left when I just select Paragraph Settings and choose the
justification.

I can't image that this can be so difficult, because it is quite common in
reports, article and thesis to have small captions to the left side (or
justified as would be a large caption).

Someone knows the trick?

Jonatan

PS. I apologize if I am making "well known questions" but I am a newbee ;-)


On Sat, Aug 22, 2009 at 4:52 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

> Am Friday 21 August 2009 22:22:33 schrieb Jonatan R. Catai:
> > Unfortunetly, it did not work.
> >
> > Only the picture goes to the left, but not the caption. Some other idea?
> >
> >
> > Jonatan
> >
>
> Jonatan,
> I am not sure now what you are aiming at. Is your figure a small one and
> the
> legend short, so that it would be better to have the whole float at the
> left?
> In this case you might consider the \usepackage[Option]{sidecap} as
> described
> in the EmbeddedObjects help menu. The \usepackage{caption} has also
> solutions. You could also consider using boxes or parboxes, but I am not
> familiar with it. I personally use twocolumns in my book (Koma-script) and
> if
> a float is small, I restrict it to one column, if large, spanning columns
> by
> clicking with the right mouse button on
> floatobject: figure > settings
> Wolfgang
>
> > On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann <
> >
> > engelm...@uni-tuebingen.de> wrote:
> > > Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
> > > > Dear All,
> > > >
> > > > I added a float picture on my report and Lyx adds the caption
> > >
> > > automatically
> > >
> > > > - so far so good. However, the caption stays on the center of the
> page.
> > > > I tryed clicking with the right button of the mouse outside the
> caption
> > >
> > > box,
> > >
> > > > within the float picture box, and in Paragraph Settings change to
> left,
> > >
> > > but
> > >
> > > > no sucess - the caption remaings on the center in DVI and PDF output.
> > > > Am
> > >
> > > I
> > >
> > > > doing something wrong? How can I change its position to the left?
> > > >
> > > > I am using article koma script.
> > > >
> > > > Jonatan
> > >
> > > Mark the float with mouse, click with right mouse button, select
> > > paragraph settings > justification left
> > > (wording might be different in English; I am using the German setting)
> > >
> > > Wolfgang
>
>
>
> --
> -
> Wolfgang Engelmann
> Schlossgartenstrasse 22
> D-72070 Tübingen
> Tel 07071 68325
>


Re: changing justification of caption

2009-08-24 Thread Jonatan R. Catai
Hello all,

I might be answering my own question, but if there other ways to solve the
caption problem, I am eager to try them out.

It is a pretty "dirty" trick, but it worked nicely. When you have a short
caption, just add at its end whitespaces (crtl+shtift_space) and there you
go, our caption goes to the left. This trick avoid adding preamble and tex
code in the middle of the text. Of course, it might have its disadvantage,
but...


Jonatan

On Mon, Aug 24, 2009 at 3:23 PM, Jonatan R. Catai  wrote:

> Hello, Wolfgang
>
> Yes, my caption is small, a few words only (I just want to show a
> structural formula of a molecule - so, there isn't much to say about it).
> When I added some more words to the caption, then the suggestion of using
> the caption package worked. I looked at the Embedded Object for small
> caption but could not find anything. The interesting thing is that only the
> caption stay on the middle of the page, no matter what I do. The picture
> itself, goes to the right, center, left when I just select Paragraph
> Settings and choose the justification.
>
> I can't image that this can be so difficult, because it is quite common in
> reports, article and thesis to have small captions to the left side (or
> justified as would be a large caption).
>
> Someone knows the trick?
>
> Jonatan
>
> PS. I apologize if I am making "well known questions" but I am a newbee ;-)
>
>
>
> On Sat, Aug 22, 2009 at 4:52 AM, Wolfgang Engelmann <
> engelm...@uni-tuebingen.de> wrote:
>
>> Am Friday 21 August 2009 22:22:33 schrieb Jonatan R. Catai:
>> > Unfortunetly, it did not work.
>> >
>> > Only the picture goes to the left, but not the caption. Some other idea?
>> >
>> >
>> > Jonatan
>> >
>>
>> Jonatan,
>> I am not sure now what you are aiming at. Is your figure a small one and
>> the
>> legend short, so that it would be better to have the whole float at the
>> left?
>> In this case you might consider the \usepackage[Option]{sidecap} as
>> described
>> in the EmbeddedObjects help menu. The \usepackage{caption} has also
>> solutions. You could also consider using boxes or parboxes, but I am not
>> familiar with it. I personally use twocolumns in my book (Koma-script) and
>> if
>> a float is small, I restrict it to one column, if large, spanning columns
>> by
>> clicking with the right mouse button on
>> floatobject: figure > settings
>> Wolfgang
>>
>> > On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann <
>> >
>> > engelm...@uni-tuebingen.de> wrote:
>> > > Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
>> > > > Dear All,
>> > > >
>> > > > I added a float picture on my report and Lyx adds the caption
>> > >
>> > > automatically
>> > >
>> > > > - so far so good. However, the caption stays on the center of the
>> page.
>> > > > I tryed clicking with the right button of the mouse outside the
>> caption
>> > >
>> > > box,
>> > >
>> > > > within the float picture box, and in Paragraph Settings change to
>> left,
>> > >
>> > > but
>> > >
>> > > > no sucess - the caption remaings on the center in DVI and PDF
>> output.
>> > > > Am
>> > >
>> > > I
>> > >
>> > > > doing something wrong? How can I change its position to the left?
>> > > >
>> > > > I am using article koma script.
>> > > >
>> > > > Jonatan
>> > >
>> > > Mark the float with mouse, click with right mouse button, select
>> > > paragraph settings > justification left
>> > > (wording might be different in English; I am using the German setting)
>> > >
>> > > Wolfgang
>>
>>
>>
>> --
>> -
>> Wolfgang Engelmann
>> Schlossgartenstrasse 22
>> D-72070 Tübingen
>> Tel 07071 68325
>>
>
>


Re: changing justification of caption

2009-08-24 Thread Jean-Marc Lasgouttes

Le 24/08/2009 20:23, Jonatan R. Catai a écrit :

Hello, Wolfgang

Yes, my caption is small, a few words only (I just want to show a structural
formula of a molecule - so, there isn't much to say about it). When I added
some more words to the caption, then the suggestion of using the caption
package worked. I looked at the Embedded Object for small caption but could
not find anything. The interesting thing is that only the caption stay on
the middle of the page, no matter what I do. The picture itself, goes to the
right, center, left when I just select Paragraph Settings and choose the
justification.


Just a point: the fact that captions are centered when short enough and 
justified when they are longer than a normal line (the only layout that 
exhibits this behaviour AFAIK) is considered to be a feature of the 
textclass :) Are you sure that the behaviour you want is better, or is 
it just that it surprised you?


JMarc


Re: changing justification of caption

2009-08-24 Thread Jonatan R. Catai
Hi JMarc

The answer is yes for both questions.

Interesting to thing about the feature as part of the textclass. Yes, it
surprised me. I could leave the way it is. I, personally, have no problem
with it.

On the other side, however, the document I am writing goes to other people
and that is the way they are used to (because they are used to M$ word and
that is the way it behaves). So, I have to adapt, a bit, in order to avoid
useless further explanations. There are people that do not benefit from the
open source movement just because they are not open minded!

Maybe my next question would fit better in another topic/subject but I'll
ask it right here, since it still relates with this issue (please, I have no
intention attacking anybody or any idea, it is just curiosity): Who have
determined that the textclass would have such behavior for short captions
(or wherever other feature) and is there a reason for that?

Jonatan


On Mon, Aug 24, 2009 at 7:42 PM, Jean-Marc Lasgouttes wrote:

> Le 24/08/2009 20:23, Jonatan R. Catai a écrit :
>
>> Hello, Wolfgang
>>
>> Yes, my caption is small, a few words only (I just want to show a
>> structural
>> formula of a molecule - so, there isn't much to say about it). When I
>> added
>> some more words to the caption, then the suggestion of using the caption
>> package worked. I looked at the Embedded Object for small caption but
>> could
>> not find anything. The interesting thing is that only the caption stay on
>> the middle of the page, no matter what I do. The picture itself, goes to
>> the
>> right, center, left when I just select Paragraph Settings and choose the
>> justification.
>>
>
> Just a point: the fact that captions are centered when short enough and
> justified when they are longer than a normal line (the only layout that
> exhibits this behaviour AFAIK) is considered to be a feature of the
> textclass :) Are you sure that the behaviour you want is better, or is it
> just that it surprised you?
>
> JMarc
>


Re: changing justification of caption

2009-08-22 Thread Wolfgang Engelmann
Am Friday 21 August 2009 22:22:33 schrieb Jonatan R. Catai:
 Unfortunetly, it did not work.

 Only the picture goes to the left, but not the caption. Some other idea?


 Jonatan


Jonatan,
I am not sure now what you are aiming at. Is your figure a small one and the 
legend short, so that it would be better to have the whole float at the left? 
In this case you might consider the \usepackage[Option]{sidecap} as described 
in the EmbeddedObjects help menu. The \usepackage{caption} has also 
solutions. You could also consider using boxes or parboxes, but I am not 
familiar with it. I personally use twocolumns in my book (Koma-script) and if 
a float is small, I restrict it to one column, if large, spanning columns by 
clicking with the right mouse button on 
floatobject: figure  settings
Wolfgang

 On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann 

 engelm...@uni-tuebingen.de wrote:
  Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
   Dear All,
  
   I added a float picture on my report and Lyx adds the caption
 
  automatically
 
   - so far so good. However, the caption stays on the center of the page.
   I tryed clicking with the right button of the mouse outside the caption
 
  box,
 
   within the float picture box, and in Paragraph Settings change to left,
 
  but
 
   no sucess - the caption remaings on the center in DVI and PDF output.
   Am
 
  I
 
   doing something wrong? How can I change its position to the left?
  
   I am using article koma script.
  
   Jonatan
 
  Mark the float with mouse, click with right mouse button, select
  paragraph settings  justification left
  (wording might be different in English; I am using the German setting)
 
  Wolfgang



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: changing justification of caption

2009-08-22 Thread Wolfgang Engelmann
Am Friday 21 August 2009 22:22:33 schrieb Jonatan R. Catai:
 Unfortunetly, it did not work.

 Only the picture goes to the left, but not the caption. Some other idea?


 Jonatan


Jonatan,
I am not sure now what you are aiming at. Is your figure a small one and the 
legend short, so that it would be better to have the whole float at the left? 
In this case you might consider the \usepackage[Option]{sidecap} as described 
in the EmbeddedObjects help menu. The \usepackage{caption} has also 
solutions. You could also consider using boxes or parboxes, but I am not 
familiar with it. I personally use twocolumns in my book (Koma-script) and if 
a float is small, I restrict it to one column, if large, spanning columns by 
clicking with the right mouse button on 
floatobject: figure  settings
Wolfgang

 On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann 

 engelm...@uni-tuebingen.de wrote:
  Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
   Dear All,
  
   I added a float picture on my report and Lyx adds the caption
 
  automatically
 
   - so far so good. However, the caption stays on the center of the page.
   I tryed clicking with the right button of the mouse outside the caption
 
  box,
 
   within the float picture box, and in Paragraph Settings change to left,
 
  but
 
   no sucess - the caption remaings on the center in DVI and PDF output.
   Am
 
  I
 
   doing something wrong? How can I change its position to the left?
  
   I am using article koma script.
  
   Jonatan
 
  Mark the float with mouse, click with right mouse button, select
  paragraph settings  justification left
  (wording might be different in English; I am using the German setting)
 
  Wolfgang



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: changing justification of caption

2009-08-22 Thread Wolfgang Engelmann
Am Friday 21 August 2009 22:22:33 schrieb Jonatan R. Catai:
> Unfortunetly, it did not work.
>
> Only the picture goes to the left, but not the caption. Some other idea?
>
>
> Jonatan
>

Jonatan,
I am not sure now what you are aiming at. Is your figure a small one and the 
legend short, so that it would be better to have the whole float at the left? 
In this case you might consider the \usepackage[Option]{sidecap} as described 
in the EmbeddedObjects help menu. The \usepackage{caption} has also 
solutions. You could also consider using boxes or parboxes, but I am not 
familiar with it. I personally use twocolumns in my book (Koma-script) and if 
a float is small, I restrict it to one column, if large, spanning columns by 
clicking with the right mouse button on 
floatobject: figure > settings
Wolfgang

> On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann <
>
> engelm...@uni-tuebingen.de> wrote:
> > Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
> > > Dear All,
> > >
> > > I added a float picture on my report and Lyx adds the caption
> >
> > automatically
> >
> > > - so far so good. However, the caption stays on the center of the page.
> > > I tryed clicking with the right button of the mouse outside the caption
> >
> > box,
> >
> > > within the float picture box, and in Paragraph Settings change to left,
> >
> > but
> >
> > > no sucess - the caption remaings on the center in DVI and PDF output.
> > > Am
> >
> > I
> >
> > > doing something wrong? How can I change its position to the left?
> > >
> > > I am using article koma script.
> > >
> > > Jonatan
> >
> > Mark the float with mouse, click with right mouse button, select
> > paragraph settings > justification left
> > (wording might be different in English; I am using the German setting)
> >
> > Wolfgang



-- 
-
Wolfgang Engelmann
Schlossgartenstrasse 22
D-72070 Tübingen
Tel 07071 68325


Re: changing justification of caption

2009-08-21 Thread Wolfgang Engelmann
Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
 Dear All,

 I added a float picture on my report and Lyx adds the caption automatically
 - so far so good. However, the caption stays on the center of the page. I
 tryed clicking with the right button of the mouse outside the caption box,
 within the float picture box, and in Paragraph Settings change to left, but
 no sucess - the caption remaings on the center in DVI and PDF output. Am I
 doing something wrong? How can I change its position to the left?

 I am using article koma script.

 Jonatan

Mark the float with mouse, click with right mouse button, select paragraph 
settings  justification left
(wording might be different in English; I am using the German setting)

Wolfgang


Re: changing justification of caption

2009-08-21 Thread Jonatan R. Catai
Unfortunetly, it did not work.

Only the picture goes to the left, but not the caption. Some other idea?


Jonatan

On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
  Dear All,
 
  I added a float picture on my report and Lyx adds the caption
 automatically
  - so far so good. However, the caption stays on the center of the page. I
  tryed clicking with the right button of the mouse outside the caption
 box,
  within the float picture box, and in Paragraph Settings change to left,
 but
  no sucess - the caption remaings on the center in DVI and PDF output. Am
 I
  doing something wrong? How can I change its position to the left?
 
  I am using article koma script.
 
  Jonatan

 Mark the float with mouse, click with right mouse button, select paragraph
 settings  justification left
 (wording might be different in English; I am using the German setting)

 Wolfgang



Re: changing justification of caption

2009-08-21 Thread Wolfgang Engelmann
Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
 Dear All,

 I added a float picture on my report and Lyx adds the caption automatically
 - so far so good. However, the caption stays on the center of the page. I
 tryed clicking with the right button of the mouse outside the caption box,
 within the float picture box, and in Paragraph Settings change to left, but
 no sucess - the caption remaings on the center in DVI and PDF output. Am I
 doing something wrong? How can I change its position to the left?

 I am using article koma script.

 Jonatan

Mark the float with mouse, click with right mouse button, select paragraph 
settings  justification left
(wording might be different in English; I am using the German setting)

Wolfgang


Re: changing justification of caption

2009-08-21 Thread Jonatan R. Catai
Unfortunetly, it did not work.

Only the picture goes to the left, but not the caption. Some other idea?


Jonatan

On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann 
engelm...@uni-tuebingen.de wrote:

 Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
  Dear All,
 
  I added a float picture on my report and Lyx adds the caption
 automatically
  - so far so good. However, the caption stays on the center of the page. I
  tryed clicking with the right button of the mouse outside the caption
 box,
  within the float picture box, and in Paragraph Settings change to left,
 but
  no sucess - the caption remaings on the center in DVI and PDF output. Am
 I
  doing something wrong? How can I change its position to the left?
 
  I am using article koma script.
 
  Jonatan

 Mark the float with mouse, click with right mouse button, select paragraph
 settings  justification left
 (wording might be different in English; I am using the German setting)

 Wolfgang



Re: changing justification of caption

2009-08-21 Thread Wolfgang Engelmann
Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
> Dear All,
>
> I added a float picture on my report and Lyx adds the caption automatically
> - so far so good. However, the caption stays on the center of the page. I
> tryed clicking with the right button of the mouse outside the caption box,
> within the float picture box, and in Paragraph Settings change to left, but
> no sucess - the caption remaings on the center in DVI and PDF output. Am I
> doing something wrong? How can I change its position to the left?
>
> I am using article koma script.
>
> Jonatan

Mark the float with mouse, click with right mouse button, select paragraph 
settings > justification left
(wording might be different in English; I am using the German setting)

Wolfgang


Re: changing justification of caption

2009-08-21 Thread Jonatan R. Catai
Unfortunetly, it did not work.

Only the picture goes to the left, but not the caption. Some other idea?


Jonatan

On Fri, Aug 21, 2009 at 4:27 AM, Wolfgang Engelmann <
engelm...@uni-tuebingen.de> wrote:

> Am Friday 21 August 2009 04:23:06 schrieb Jonatan R. Catai:
> > Dear All,
> >
> > I added a float picture on my report and Lyx adds the caption
> automatically
> > - so far so good. However, the caption stays on the center of the page. I
> > tryed clicking with the right button of the mouse outside the caption
> box,
> > within the float picture box, and in Paragraph Settings change to left,
> but
> > no sucess - the caption remaings on the center in DVI and PDF output. Am
> I
> > doing something wrong? How can I change its position to the left?
> >
> > I am using article koma script.
> >
> > Jonatan
>
> Mark the float with mouse, click with right mouse button, select paragraph
> settings > justification left
> (wording might be different in English; I am using the German setting)
>
> Wolfgang
>


changing justification of caption

2009-08-20 Thread Jonatan R. Catai
Dear All,

I added a float picture on my report and Lyx adds the caption automatically
- so far so good. However, the caption stays on the center of the page. I
tryed clicking with the right button of the mouse outside the caption box,
within the float picture box, and in Paragraph Settings change to left, but
no sucess - the caption remaings on the center in DVI and PDF output. Am I
doing something wrong? How can I change its position to the left?

I am using article koma script.

Jonatan


changing justification of caption

2009-08-20 Thread Jonatan R. Catai
Dear All,

I added a float picture on my report and Lyx adds the caption automatically
- so far so good. However, the caption stays on the center of the page. I
tryed clicking with the right button of the mouse outside the caption box,
within the float picture box, and in Paragraph Settings change to left, but
no sucess - the caption remaings on the center in DVI and PDF output. Am I
doing something wrong? How can I change its position to the left?

I am using article koma script.

Jonatan


changing justification of caption

2009-08-20 Thread Jonatan R. Catai
Dear All,

I added a float picture on my report and Lyx adds the caption automatically
- so far so good. However, the caption stays on the center of the page. I
tryed clicking with the right button of the mouse outside the caption box,
within the float picture box, and in Paragraph Settings change to left, but
no sucess - the caption remaings on the center in DVI and PDF output. Am I
doing something wrong? How can I change its position to the left?

I am using article koma script.

Jonatan