Re: Figure captions
2018-06-09 22:13 GMT+02:00 Steve Litt : > On Sat, 9 Jun 2018 12:43:47 +0200 > Ricardo Berlasso wrote: > > > 2018-06-09 11:50 GMT+02:00 F M Salter : > > > > > Hi > > > > > > Is it possible to place captioned figures side by side rather > > > than vertically? > > > > > > Yes, but you need to use the sidecap package. To integrate it on LyX > > you can use a "Local format" (Document → Settings → Local format), > > something like this (I'm using 2.3 here, for 2.2 use "Format 60" > > instead) > > Hi Richard, > > How did you know that the sidecap package would do this? It seems like > every desire anyone has in LaTeX, somebody pops up with a package to do > it. But how does one discover that package? Is there an algorithm to go > from a need to solution by package discovery? > Unfortunately, no. I'm able to provide a fast answer to some problems only because I've already asked that question many times in the past and was able to build an answer. I'm not a LaTeX expert, so each time I solve something I write down the solution I've found on my personal archive. > > Given LaTeX code, I can hammer away at it, do research, and eventually > modify it to do what I need. I can describe the process pretty much in > English. But I don't begin to understand how people can hear a need and > instantly know "you need the XYZ package." That process should be > articulated so that all of us can do it. > I'm using LyX since... 2001? My memory fails. But even with such experience it took me months to understand how local formats work. In fact, I'm not able to write code from scratch, I always need to copy/paste from my archive of solutions, so don't feel amazed for our fast answers, they only mean that we are good at copy/paste old solutions from our own long list of solved problems ;) Even the most wild questions I've ever had were already asked by someone else on the Internet, so it's only matter of using the right keywords on the right place. TeX-LaTeX Stack Exchange is usually the right place so once I find the answer, and of course I understand it (which is not always granted), it's just a matter of adapting the whole thing to LyX (which may be some work) http://tex.stackexchange.com/ If nobody knows the answer to a question there, it's not possible. But since almost nothing is impossible on LaTeX, the answer is there ;) Regards, Ricardo > > Thanks, > > SteveT > > Steve Litt > June 2018 featured book: Twenty Eight Tales of Troubleshooting > http://www.troubleshooters.com/28 > > >
Re: Figure captions
On Sat, 9 Jun 2018 12:43:47 +0200 Ricardo Berlasso wrote: > 2018-06-09 11:50 GMT+02:00 F M Salter : > > > Hi > > > > Is it possible to place captioned figures side by side rather > > than vertically? > > > Yes, but you need to use the sidecap package. To integrate it on LyX > you can use a "Local format" (Document → Settings → Local format), > something like this (I'm using 2.3 here, for 2.2 use "Format 60" > instead) Hi Richard, How did you know that the sidecap package would do this? It seems like every desire anyone has in LaTeX, somebody pops up with a package to do it. But how does one discover that package? Is there an algorithm to go from a need to solution by package discovery? Given LaTeX code, I can hammer away at it, do research, and eventually modify it to do what I need. I can describe the process pretty much in English. But I don't begin to understand how people can hear a need and instantly know "you need the XYZ package." That process should be articulated so that all of us can do it. Thanks, SteveT Steve Litt June 2018 featured book: Twenty Eight Tales of Troubleshooting http://www.troubleshooters.com/28
Re: Figure captions
Thank both of you, Ricardo Berlasso and Juergen Spitzmueller Frank Salter On 09/06/18 10:50, F M Salter wrote: > Hi > > Is it possible to place captioned figures side by side rather than > vertically? It is possible to place graphics, without captions, side > by side. Figure captions seem only to be used in floats. Attempts to > copy to a box produces senseless! > > Regards > > Frank Salter > >
Re: Figure captions
Am Samstag, den 09.06.2018, 12:43 +0200 schrieb Ricardo Berlasso: > 2018-06-09 11:50 GMT+02:00 F M Salter : > > Hi > > > > Is it possible to place captioned figures side by side rather > > than > > vertically? > > Yes, but you need to use the sidecap package. To integrate it on LyX > you can use a "Local format" There is also an unofficial module listed here, to the same effect: https://wiki.lyx.org/Layouts/Modules > > It is possible to place graphics, without captions, side > > by side. Figure captions seem only to be used in floats. Attempts > > to > > copy to a box produces senseless! The attached module adds support for captions outside floats (via Insert > Custom Insets) Jürgen #\DeclareLyXModule{Non-floating Figures and Tables} #DescriptionBegin #Insert captions to figures and tables that do not float. #DescriptionEnd # Author: Jürgen Spitzmüller Format 66 InsetLayout Flex:NonFloatingFigure LyxType custom LabelString non-floating LaTeXTypecommand LatexNamefigcaption NeedProtect 1 MultiPar false Argument 1 LabelString "Short Title|S" Tooltip "The caption as it appears in the list of figures/tables" InsertCotext 1 EndArgument Preamble \usepackage{nonfloat} EndPreamble End InsetLayout Flex:NonFloatingTable CopyStyleFlex:NonFloatingFigure LabelString non-floating LatexNametabcaption End signature.asc Description: This is a digitally signed message part
Re: Figure captions
2018-06-09 11:50 GMT+02:00 F M Salter : > Hi > > Is it possible to place captioned figures side by side rather than > vertically? Yes, but you need to use the sidecap package. To integrate it on LyX you can use a "Local format" (Document → Settings → Local format), something like this (I'm using 2.3 here, for 2.2 use "Format 60" instead) Format 66 AddToPreamble \usepackage{sidecap} % added by sidecap.module \let\SCfigurename\figurename EndPreamble Float Type SCfigure GuiName "Figure (side caption)" Placement tbp Extension loscf NumberWithin none Style plain ListCommand empty ListName "List of Figures (side caption): does nothing, use List of Figures instead" RefPrefix fig IsPredefined 1 UsesFloatPkg 0 End Float Type SCtable GuiName "Table (side caption)" Placement tbp Extension losct NumberWithin none Style plain ListCommand empty ListName "List of Tables (side caption): does nothing, use List of Tables instead" RefPrefix tab IsPredefined 1 UsesFloatPkg 0 End Now, under Insert → Float you'll have "Figure (side caption)" and "Table (side caption)". The side-captioned figures will integrate with the normal ones, so just use the normal index of figures to list them (and all the others). > It is possible to place graphics, without captions, side > by side. Figure captions seem only to be used in floats. Attempts to > copy to a box produces senseless! > You can delete the caption box inside the float without problems, resulting on a floating figure without caption. To insert several figures inside a float you can just do that, or even insert another float inside the float to get several "sub-figures", LyX will recognize the situation automatically. Regards, Ricardo > > Regards > > Frank Salter > > >
Figure captions
Hi Is it possible to place captioned figures side by side rather than vertically? It is possible to place graphics, without captions, side by side. Figure captions seem only to be used in floats. Attempts to copy to a box produces senseless! Regards Frank Salter
Re: math preview blowing up with math within figure captions
On 09/13/2016 01:25 PM, Neal Becker wrote: Guillaume Munch wrote: Le 13/09/2016 à 16:46, Neal Becker a écrit : This is fedora 24 lyx-2.2.1 This problem maybe new? If I have math in a figure caption the math is displayed within a huge pinkish box, really making the display pretty awful. For example a single \lambda character is shown within a box taking up about 1/2 the screen. Is this xelatex? http://www.lyx.org/trac/ticket/10322 Nope, default output is pdf lualatex, and I'm not using komascript either (beamer) It might help with diagnosis if you posted a minimal example. Paul
Re: math preview blowing up with math within figure captions
Guillaume Munch wrote: > Le 13/09/2016 à 16:46, Neal Becker a écrit : >> This is fedora 24 lyx-2.2.1 >> This problem maybe new? If I have math in a figure caption the math is >> displayed within a huge pinkish box, really making the display pretty >> awful. For example a single \lambda character is shown within a box >> taking up about 1/2 the screen. >> >> > > Is this xelatex? > > http://www.lyx.org/trac/ticket/10322 Nope, default output is pdf lualatex, and I'm not using komascript either (beamer)
Re: math preview blowing up with math within figure captions
Le 13/09/2016 à 16:46, Neal Becker a écrit : This is fedora 24 lyx-2.2.1 This problem maybe new? If I have math in a figure caption the math is displayed within a huge pinkish box, really making the display pretty awful. For example a single \lambda character is shown within a box taking up about 1/2 the screen. Is this xelatex? http://www.lyx.org/trac/ticket/10322
math preview blowing up with math within figure captions
This is fedora 24 lyx-2.2.1 This problem maybe new? If I have math in a figure caption the math is displayed within a huge pinkish box, really making the display pretty awful. For example a single \lambda character is shown within a box taking up about 1/2 the screen.
Re: Figure numbers and the figure captions overlap in list of figures
Hi, I found the solution... tocloft doesn't work properly with some of the classes... I used titletoc instead.. . \usepackage{titletoc} \dottedcontents{figure}[4.5em]{}{3em}{0.75em} \dottedcontents{table}[4.5em]{}{3em}{0.75em} it worked fine.. Nagaraj
Re: Figure numbers and the figure captions overlap in list of figures
Hi, I found the solution... tocloft doesn't work properly with some of the classes... I used titletoc instead.. . \usepackage{titletoc} \dottedcontents{figure}[4.5em]{}{3em}{0.75em} \dottedcontents{table}[4.5em]{}{3em}{0.75em} it worked fine.. Nagaraj
Re: Figure numbers and the figure captions overlap in list of figures
Hi, I found the solution... tocloft doesn't work properly with some of the classes... I used titletoc instead.. . \usepackage{titletoc} \dottedcontents{figure}[4.5em]{}{3em}{0.75em} \dottedcontents{table}[4.5em]{}{3em}{0.75em} it worked fine.. Nagaraj
Figure numbers and the figure captions overlap in list of figures
Dear all, In my report, figures and tables are numbered in chapter.x format and I have a problem with list of figures and list of tables that I include using Insert-List/TOC-. The problem is that for all the figures/tables that have more than one digit after the decimal place (means from 10th figure or table), the captions and the figure numbers overlap in list of figures and list of tables. The figures and tables that have single digit after the decimal place, are perfectly fine. Also within the chapters at the place where figures/tables appear, there is no problem. Can anyone help to solve this please? Nagaraj
Figure numbers and the figure captions overlap in list of figures
Dear all, In my report, figures and tables are numbered in chapter.x format and I have a problem with list of figures and list of tables that I include using Insert-List/TOC-. The problem is that for all the figures/tables that have more than one digit after the decimal place (means from 10th figure or table), the captions and the figure numbers overlap in list of figures and list of tables. The figures and tables that have single digit after the decimal place, are perfectly fine. Also within the chapters at the place where figures/tables appear, there is no problem. Can anyone help to solve this please? Nagaraj
Figure numbers and the figure captions overlap in list of figures
Dear all, In my report, figures and tables are numbered in chapter.x format and I have a problem with "list of figures" and "list of tables" that I include using Insert->List/TOC->. The problem is that for all the figures/tables that have more than one digit after the decimal place (means from 10th figure or table), the captions and the figure numbers overlap in "list of figures" and "list of tables". The figures and tables that have single digit after the decimal place, are perfectly fine. Also within the chapters at the place where figures/tables appear, there is no problem. Can anyone help to solve this please? Nagaraj
Less spacing in figure captions
Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Does anybody know how to do this in lyx ? Thanks in advance.
Re: Less spacing in figure captions
Horacio Emilio Pérez Sánchez wrote: Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Add \usepackage{setspace} to the preamble and in the figure caption start with \setstretch{X} in ERT, where X is a number less than 1. /johan
Re: Less spacing in figure captions
Thanks, it works well, but is there any way to do it automatically for all the figure captions of the document? I mean, is there other command or option to be added to the preamble to persist this option for the whole document ? Thanks in advance. At 13:06 04/11/2005, you wrote: Horacio Emilio Pérez Sánchez wrote: Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Add \usepackage{setspace} to the preamble and in the figure caption start with \setstretch{X} in ERT, where X is a number less than 1. /johan
Re: Less spacing in figure captions
Horacio Emilio Pérez Sánchez wrote: Thanks, it works well, but is there any way to do it automatically for all the figure captions of the document? I mean, is there other command or option to be added to the preamble to persist this option for the whole document ? This should fix it: \usepackage{setspace} \let\oldcaption\caption \renewcommand\caption[1]{\oldcaption{\setstretch{0.6}#1}} /johan Thanks in advance. At 13:06 04/11/2005, you wrote: Horacio Emilio Pérez Sánchez wrote: Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Add \usepackage{setspace} to the preamble and in the figure caption start with \setstretch{X} in ERT, where X is a number less than 1. /johan
Less spacing in figure captions
Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Does anybody know how to do this in lyx ? Thanks in advance.
Re: Less spacing in figure captions
Horacio Emilio Pérez Sánchez wrote: Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Add \usepackage{setspace} to the preamble and in the figure caption start with \setstretch{X} in ERT, where X is a number less than 1. /johan
Re: Less spacing in figure captions
Thanks, it works well, but is there any way to do it automatically for all the figure captions of the document? I mean, is there other command or option to be added to the preamble to persist this option for the whole document ? Thanks in advance. At 13:06 04/11/2005, you wrote: Horacio Emilio Pérez Sánchez wrote: Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Add \usepackage{setspace} to the preamble and in the figure caption start with \setstretch{X} in ERT, where X is a number less than 1. /johan
Re: Less spacing in figure captions
Horacio Emilio Pérez Sánchez wrote: Thanks, it works well, but is there any way to do it automatically for all the figure captions of the document? I mean, is there other command or option to be added to the preamble to persist this option for the whole document ? This should fix it: \usepackage{setspace} \let\oldcaption\caption \renewcommand\caption[1]{\oldcaption{\setstretch{0.6}#1}} /johan Thanks in advance. At 13:06 04/11/2005, you wrote: Horacio Emilio Pérez Sánchez wrote: Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Add \usepackage{setspace} to the preamble and in the figure caption start with \setstretch{X} in ERT, where X is a number less than 1. /johan
Less spacing in figure captions
Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Does anybody know how to do this in lyx ? Thanks in advance.
Re: Less spacing in figure captions
Horacio Emilio Pérez Sánchez wrote: Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Add \usepackage{setspace} to the preamble and in the figure caption start with \setstretch{X} in ERT, where X is a number less than 1. /johan
Re: Less spacing in figure captions
Thanks, it works well, but is there any way to do it automatically for all the figure captions of the document? I mean, is there other command or option to be added to the preamble to persist this option for the whole document ? Thanks in advance. At 13:06 04/11/2005, you wrote: Horacio Emilio Pérez Sánchez wrote: Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Add \usepackage{setspace} to the preamble and in the figure caption start with \setstretch{X} in ERT, where X is a number less than 1. /johan
Re: Less spacing in figure captions
Horacio Emilio Pérez Sánchez wrote: Thanks, it works well, but is there any way to do it automatically for all the figure captions of the document? I mean, is there other command or option to be added to the preamble to persist this option for the whole document ? This should fix it: \usepackage{setspace} \let\oldcaption\caption \renewcommand\caption[1]{\oldcaption{\setstretch{0.6}#1}} /johan Thanks in advance. At 13:06 04/11/2005, you wrote: Horacio Emilio Pérez Sánchez wrote: Hello all, I use LyX 1.3.5 in suse 9.0. I need to reduce the distance between the text lines in the figure caption. Add \usepackage{setspace} to the preamble and in the figure caption start with \setstretch{X} in ERT, where X is a number less than 1. /johan
Figure captions
I am trying to typeset a document using revtex4. When I place a figure float and caption it labels it as Figure #. How do I force it to be Fig. # as required by the publisher. (APS, PRL options are selected) Geoff
Re: Figure captions
Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes: Geoffrey I am trying to typeset a document using revtex4. When I Geoffrey place a figure float and caption it labels it as Figure #. Geoffrey How do I force it to be Fig. # as required by the publisher. Geoffrey (APS, PRL options are selected) Is it also a problem in the dvi output? JMarc
Re: Figure captions
I have a similar question : how to modify the caption labels in LYX ? I'd like to change FIG. (the PS result) into Figure I have another problem with the caption package : setting labelfont=bf, the labels remain in normal font. The rest of the caption is correctly modified by my caption options. Thanks François Renard Jean-Marc Lasgouttes wrote: Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes: Geoffrey I am trying to typeset a document using revtex4. When I Geoffrey place a figure float and caption it labels it as Figure #. Geoffrey How do I force it to be Fig. # as required by the publisher. Geoffrey (APS, PRL options are selected) Is it also a problem in the dvi output? JMarc
Re: Figure captions
Måndag 14. mars 2005 13:55 skreiv Renard Francois: I have a similar question : how to modify the caption labels in LYX ? I'd like to change FIG. (the PS result) into Figure I have another problem with the caption package : setting labelfont=bf, the labels remain in normal font. The rest of the caption is correctly modified by my caption options. Thanks François Renard Jean-Marc Lasgouttes wrote: Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes: Geoffrey I am trying to typeset a document using revtex4. When I Geoffrey place a figure float and caption it labels it as Figure #. Geoffrey How do I force it to be Fig. # as required by the publisher. Geoffrey (APS, PRL options are selected) Is it also a problem in the dvi output? Well, there may be better ways (more correct) to do this, however, I found this way a long time ago and it works... At the start of the document add in ERT for Fig.: \renewcommand\figurename{Fig.} and for bold caption use \renewcommand\figurename{\bf{Fig.}} and for bold Fig and normal caption add \usepackage{caption} in the preamble. Ingar
Figure captions
I am trying to typeset a document using revtex4. When I place a figure float and caption it labels it as Figure #. How do I force it to be Fig. # as required by the publisher. (APS, PRL options are selected) Geoff
Re: Figure captions
Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes: Geoffrey I am trying to typeset a document using revtex4. When I Geoffrey place a figure float and caption it labels it as Figure #. Geoffrey How do I force it to be Fig. # as required by the publisher. Geoffrey (APS, PRL options are selected) Is it also a problem in the dvi output? JMarc
Re: Figure captions
I have a similar question : how to modify the caption labels in LYX ? I'd like to change FIG. (the PS result) into Figure I have another problem with the caption package : setting labelfont=bf, the labels remain in normal font. The rest of the caption is correctly modified by my caption options. Thanks François Renard Jean-Marc Lasgouttes wrote: Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes: Geoffrey I am trying to typeset a document using revtex4. When I Geoffrey place a figure float and caption it labels it as Figure #. Geoffrey How do I force it to be Fig. # as required by the publisher. Geoffrey (APS, PRL options are selected) Is it also a problem in the dvi output? JMarc
Re: Figure captions
Måndag 14. mars 2005 13:55 skreiv Renard Francois: I have a similar question : how to modify the caption labels in LYX ? I'd like to change FIG. (the PS result) into Figure I have another problem with the caption package : setting labelfont=bf, the labels remain in normal font. The rest of the caption is correctly modified by my caption options. Thanks François Renard Jean-Marc Lasgouttes wrote: Geoffrey == Geoffrey Lloyd [EMAIL PROTECTED] writes: Geoffrey I am trying to typeset a document using revtex4. When I Geoffrey place a figure float and caption it labels it as Figure #. Geoffrey How do I force it to be Fig. # as required by the publisher. Geoffrey (APS, PRL options are selected) Is it also a problem in the dvi output? Well, there may be better ways (more correct) to do this, however, I found this way a long time ago and it works... At the start of the document add in ERT for Fig.: \renewcommand\figurename{Fig.} and for bold caption use \renewcommand\figurename{\bf{Fig.}} and for bold Fig and normal caption add \usepackage{caption} in the preamble. Ingar
Figure captions
I am trying to typeset a document using revtex4. When I place a figure float and caption it labels it as Figure #. How do I force it to be Fig. # as required by the publisher. (APS, PRL options are selected) Geoff
Re: Figure captions
> "Geoffrey" == Geoffrey Lloyd <[EMAIL PROTECTED]> writes: Geoffrey> I am trying to typeset a document using revtex4. When I Geoffrey> place a figure float and caption it labels it as Figure #. Geoffrey> How do I force it to be Fig. # as required by the publisher. Geoffrey> (APS, PRL options are selected) Is it also a problem in the dvi output? JMarc
Re: Figure captions
I have a similar question : how to modify the caption labels in LYX ? I'd like to change "FIG." (the PS result) into "Figure " I have another problem with the caption package : setting "labelfont=bf", the labels remain in normal font. The rest of the caption is correctly modified by my caption options. Thanks François Renard Jean-Marc Lasgouttes wrote: "Geoffrey" == Geoffrey Lloyd <[EMAIL PROTECTED]> writes: Geoffrey> I am trying to typeset a document using revtex4. When I Geoffrey> place a figure float and caption it labels it as Figure #. Geoffrey> How do I force it to be Fig. # as required by the publisher. Geoffrey> (APS, PRL options are selected) Is it also a problem in the dvi output? JMarc
Re: Figure captions
Måndag 14. mars 2005 13:55 skreiv Renard Francois: > I have a similar question : how to modify the caption labels in LYX ? > I'd like to change "FIG." (the PS result) into "Figure " > > I have another problem with the caption package : > setting "labelfont=bf", the labels remain in normal font. > The rest of the caption is correctly modified by my caption options. > > Thanks > > François Renard > > Jean-Marc Lasgouttes wrote: > >>"Geoffrey" == Geoffrey Lloyd <[EMAIL PROTECTED]> writes: > > > >Geoffrey> I am trying to typeset a document using revtex4. When I > >Geoffrey> place a figure float and caption it labels it as Figure #. > >Geoffrey> How do I force it to be Fig. # as required by the publisher. > >Geoffrey> (APS, PRL options are selected) > > > >Is it also a problem in the dvi output? Well, there may be better ways (more correct) to do this, however, I found this way a long time ago and it works... At the start of the document add in ERT for Fig.: \renewcommand\figurename{Fig.} and for bold caption use \renewcommand\figurename{\bf{Fig.}} and for bold Fig and normal caption add \usepackage{caption} in the preamble. Ingar
Re: figure captions
On Thursday 12 August 2004 16:18, Miki Dovrat wrote: This is probably more of a latex question: In the article class, the figure captions seem to be centered. The Layout-Paragraph-General-Alignment tab seems not to make any difference. I would very much like the figure captions to be left and right justified (while the figure stays centered - this can be controlled from the layout paragraph tab). The latex classes have some special handling for captions: the text is centered if the caption is shorter than a line, and justified if on several lines. Unfortunately, LyX is not able to show this on screen, but this should be alright on paper. Hope this helps. JMarc
Re: figure captions
On Thursday 12 August 2004 16:18, Miki Dovrat wrote: This is probably more of a latex question: In the article class, the figure captions seem to be centered. The Layout-Paragraph-General-Alignment tab seems not to make any difference. I would very much like the figure captions to be left and right justified (while the figure stays centered - this can be controlled from the layout paragraph tab). The latex classes have some special handling for captions: the text is centered if the caption is shorter than a line, and justified if on several lines. Unfortunately, LyX is not able to show this on screen, but this should be alright on paper. Hope this helps. JMarc
Re: figure captions
On Thursday 12 August 2004 16:18, Miki Dovrat wrote: > This is probably more of a latex question: > > In the article class, the figure captions seem to be centered. The > Layout->Paragraph->General->Alignment tab seems not to make any difference. > > I would very much like the figure captions to be left and right > justified (while the figure stays centered - this can be controlled from > the layout paragraph tab). The latex classes have some special handling for captions: the text is centered if the caption is shorter than a line, and justified if on several lines. Unfortunately, LyX is not able to show this on screen, but this should be alright on paper. Hope this helps. JMarc
figure captions
This is probably more of a latex question: In the article class, the figure captions seem to be centered. The Layout-Paragraph-General-Alignment tab seems not to make any difference. I would very much like the figure captions to be left and right justified (while the figure stays centered - this can be controlled from the layout paragraph tab). I don't know enough TeX to mess around with it. Can anyone help? Thanks
figure captions
This is probably more of a latex question: In the article class, the figure captions seem to be centered. The Layout-Paragraph-General-Alignment tab seems not to make any difference. I would very much like the figure captions to be left and right justified (while the figure stays centered - this can be controlled from the layout paragraph tab). I don't know enough TeX to mess around with it. Can anyone help? Thanks
figure captions
This is probably more of a latex question: In the article class, the figure captions seem to be centered. The Layout->Paragraph->General->Alignment tab seems not to make any difference. I would very much like the figure captions to be left and right justified (while the figure stays centered - this can be controlled from the layout paragraph tab). I don't know enough TeX to mess around with it. Can anyone help? Thanks
Changing appearance of figure captions
Hi! Is there a way to (transparently and/or globally) change the appearance of captions of figures and tables? LyX only offers to change their position, and I haven't been able to locate a proper command sequence in the few manuals of TeX and LaTeX I have at my disposal. Any input is greatly appreciated. Kind regards, Maarten
Re: Changing appearance of figure captions
Maarten D. de Jong wrote: Hi! Is there a way to (transparently and/or globally) change the appearance of captions of figures and tables? LyX only offers to change their position, and I haven't been able to locate a proper command sequence in the few manuals of TeX and LaTeX I have at my disposal. Any input is greatly appreciated. I have this in the preamble of one of my docs. Maybe it will be of some help. Angus \usepackage{framed} %% Set the sections to be bold but otherewise the same size %% as normal text \newlength{\spaceUnderSection} \newlength{\spaceOverSection} \setlength{\spaceUnderSection}{0.1ex plus .2ex} % \setlength{\spaceOverSection}{1.5ex plus -1ex minus-.2ex} % [EMAIL PROTECTED] [EMAIL PROTECTED] {\spaceOverSection}% {\spaceUnderSection}% {\normalfont\bfseries}} %% Frame the figures \renewenvironment{figure}[1][tbph] [EMAIL PROTECTED] [EMAIL PROTECTED] %% Set the captions to be italic \newcommand\myCaption[1]{\itshape\refstepcounter{figure}% \begin{center}\figurename\ \thefigure :\ #1\end{center}\upshape} \let\caption\myCaption
Re: Changing appearance of figure captions
Maarten D. de Jong wrote: Is there a way to (transparently and/or globally) change the appearance of captions of figures and tables? try the preamble stuff proposed in http://www.mail-archive.com/[EMAIL PROTECTED]/msg33483.html regards Uwe
Changing appearance of figure captions
Hi! Is there a way to (transparently and/or globally) change the appearance of captions of figures and tables? LyX only offers to change their position, and I haven't been able to locate a proper command sequence in the few manuals of TeX and LaTeX I have at my disposal. Any input is greatly appreciated. Kind regards, Maarten
Re: Changing appearance of figure captions
Maarten D. de Jong wrote: Hi! Is there a way to (transparently and/or globally) change the appearance of captions of figures and tables? LyX only offers to change their position, and I haven't been able to locate a proper command sequence in the few manuals of TeX and LaTeX I have at my disposal. Any input is greatly appreciated. I have this in the preamble of one of my docs. Maybe it will be of some help. Angus \usepackage{framed} %% Set the sections to be bold but otherewise the same size %% as normal text \newlength{\spaceUnderSection} \newlength{\spaceOverSection} \setlength{\spaceUnderSection}{0.1ex plus .2ex} % \setlength{\spaceOverSection}{1.5ex plus -1ex minus-.2ex} % [EMAIL PROTECTED] [EMAIL PROTECTED] {\spaceOverSection}% {\spaceUnderSection}% {\normalfont\bfseries}} %% Frame the figures \renewenvironment{figure}[1][tbph] [EMAIL PROTECTED] [EMAIL PROTECTED] %% Set the captions to be italic \newcommand\myCaption[1]{\itshape\refstepcounter{figure}% \begin{center}\figurename\ \thefigure :\ #1\end{center}\upshape} \let\caption\myCaption
Re: Changing appearance of figure captions
Maarten D. de Jong wrote: Is there a way to (transparently and/or globally) change the appearance of captions of figures and tables? try the preamble stuff proposed in http://www.mail-archive.com/[EMAIL PROTECTED]/msg33483.html regards Uwe
Changing appearance of figure captions
Hi! Is there a way to (transparently and/or globally) change the appearance of captions of figures and tables? LyX only offers to change their position, and I haven't been able to locate a proper command sequence in the few manuals of TeX and LaTeX I have at my disposal. Any input is greatly appreciated. Kind regards, Maarten
Re: Changing appearance of figure captions
Maarten D. de Jong wrote: > Hi! > > Is there a way to (transparently and/or globally) change the > appearance of captions of figures and tables? LyX only offers to > change their position, and I haven't been able to locate a proper > command sequence in the few manuals of TeX and LaTeX I have at my > disposal. Any input is greatly appreciated. I have this in the preamble of one of my docs. Maybe it will be of some help. Angus \usepackage{framed} %% Set the sections to be bold but otherewise the same size %% as normal text \newlength{\spaceUnderSection} \newlength{\spaceOverSection} \setlength{\spaceUnderSection}{0.1ex plus .2ex} % \setlength{\spaceOverSection}{1.5ex plus -1ex minus-.2ex} % [EMAIL PROTECTED] [EMAIL PROTECTED] {\spaceOverSection}% {\spaceUnderSection}% {\normalfont\bfseries}} %% Frame the figures \renewenvironment{figure}[1][tbph] [EMAIL PROTECTED] [EMAIL PROTECTED] %% Set the captions to be italic \newcommand\myCaption[1]{\itshape\refstepcounter{figure}% \begin{center}\figurename\ \thefigure :\ #1\end{center}\upshape} \let\caption\myCaption
Re: Changing appearance of figure captions
Maarten D. de Jong wrote: Is there a way to (transparently and/or globally) change the appearance of captions of figures and tables? try the preamble stuff proposed in http://www.mail-archive.com/[EMAIL PROTECTED]/msg33483.html regards Uwe
Re: Bibtex and figure captions
Gregory T Reeves wrote: I have a question about running bibtex when I have certain figure captions. I am running LyX 1.3.4, BibTeX (Web2C 7.4.5) 0.99c kpathsea version 3.4.5. Sometimes, when I choose to view-dvi, I don't get any output from BibTeX. I noticed that this happens consistently when my figure captions (in figure floats) have too many characters with formatting that is not Normal. That is, if I choose my font in my figure captions to be smaller, and at the same time have many words with Emphasis On in my figure caption, then BibTeX will not produce any output, and any citation reference appears as [?]. If I restore the character size to Normal, or if I eliminate several words with Emphasis On from the offending figure caption, BibTeX runs fine. In fact, if I change the paragraph environment in my figure float from Caption to Standard, this also fixes the problem. I searched the mailing list, and I couldn't find any messages with a similar problem. Does anyone know about this? Greg, could you send an example document demonstrating the problem. It may well be that you've defeated the latex log file parser. -- Angus
Re: Bibtex and figure captions
Gregory T Reeves wrote: I have a question about running bibtex when I have certain figure captions. I am running LyX 1.3.4, BibTeX (Web2C 7.4.5) 0.99c kpathsea version 3.4.5. Sometimes, when I choose to view-dvi, I don't get any output from BibTeX. I noticed that this happens consistently when my figure captions (in figure floats) have too many characters with formatting that is not Normal. That is, if I choose my font in my figure captions to be smaller, and at the same time have many words with Emphasis On in my figure caption, then BibTeX will not produce any output, and any citation reference appears as [?]. If I restore the character size to Normal, or if I eliminate several words with Emphasis On from the offending figure caption, BibTeX runs fine. In fact, if I change the paragraph environment in my figure float from Caption to Standard, this also fixes the problem. I searched the mailing list, and I couldn't find any messages with a similar problem. Does anyone know about this? Greg, could you send an example document demonstrating the problem. It may well be that you've defeated the latex log file parser. -- Angus
Re: Bibtex and figure captions
Gregory T Reeves wrote: > I have a question about running bibtex when I have certain figure > captions. I am running LyX 1.3.4, "BibTeX (Web2C 7.4.5) 0.99c > kpathsea version 3.4.5". > > Sometimes, when I choose to view->dvi, I don't get any output from > BibTeX. I noticed that this happens consistently when my figure > captions (in figure floats) have too many characters with formatting > that is not "Normal". That is, if I choose my font in my figure > captions to be "smaller", and at the same time have many words with > "Emphasis On" in my figure caption, then BibTeX will not produce any > output, and any citation reference appears as [?]. > > If I restore the character size to "Normal", or if I eliminate > several words with "Emphasis On" from the offending figure caption, > BibTeX runs > fine. In fact, if I change the paragraph environment in my figure > float from "Caption" to "Standard", this also fixes the problem. > > I searched the mailing list, and I couldn't find any messages with a > similar problem. Does anyone know about this? Greg, could you send an example document demonstrating the problem. It may well be that you've defeated the latex log file parser. -- Angus
Figure captions
Hello, Does anone know if it is possible to place figure captions alone on the page preceeding the actual figure in LyX/LaTeX? How does one go about doing this if it is. Thanks in advance, Chris ||-|| Dr. Christopher von Nagy Department of Anthropology Tulane University Correspondence: 2897 Cadence Court Reno, NV 89523 775.787.1355 [EMAIL PROTECTED]
Figure captions
Hello, Does anone know if it is possible to place figure captions alone on the page preceeding the actual figure in LyX/LaTeX? How does one go about doing this if it is. Thanks in advance, Chris ||-|| Dr. Christopher von Nagy Department of Anthropology Tulane University Correspondence: 2897 Cadence Court Reno, NV 89523 775.787.1355 [EMAIL PROTECTED]
Figure captions
Hello, Does anone know if it is possible to place figure captions alone on the page preceeding the actual figure in LyX/LaTeX? How does one go about doing this if it is. Thanks in advance, Chris ||-|| Dr. Christopher von Nagy Department of Anthropology Tulane University Correspondence: 2897 Cadence Court Reno, NV 89523 775.787.1355 [EMAIL PROTECTED]
Figure Captions and Figure Centering
I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. - (1) Caption Question - In older versions, insertion of a figure float automatically included a caption. Not so in the new version. To put in a caption, I now include in the figure float environment a LATEX-mode box like \caption{caption text} My question: how do I insert math formulas within the caption without having to bang out all the raw latex? That is, I want the WYSIWYG feature within the caption, but the LATEX enviornment doesn't seem to allow it. Basically, I'd like to be able to put math formulas, equation cross references, etc., within the caption without having to type the raw latex. Probably there's a better way for me to insert the caption, but I don't know it. --- (2) Figure Centering --- In older lyx versions, figures were automatically centered. Now it seems that I have to do this manually with LATEX boxes for \begin{center} and \end{center}. How do I make figures centered by default? Much thanks, Alex Casti Mount Sinai School of Medicine
Re: Figure Captions and Figure Centering
--- Alex Casti [EMAIL PROTECTED] wrote: I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. - (1) Caption Question - In older versions, insertion of a figure float automatically included a caption. Not so in the new version. To put in a caption, I now include in the figure float environment a LATEX-mode box like \caption{caption text} My question: how do I insert math formulas within the caption without having to bang out all the raw latex? That is, I want the WYSIWYG feature within the caption, but the LATEX enviornment doesn't seem to allow it. Basically, I'd like to be able to put math formulas, equation cross references, etc., within the caption without having to type the raw latex. Probably there's a better way for me to insert the caption, but I don't know it. What's the stuff first from left on the toolbar? --- (2) Figure Centering --- In older lyx versions, figures were automatically centered. Now it seems that I have to do this manually with LATEX boxes for \begin{center} and \end{center}. How do I make figures centered by default? I want that too, but I have to go to Layout/paragraph/center. Much thanks, Alex Casti Mount Sinai School of Medicine __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Re: Figure Captions and Figure Centering
Alex Casti wrote: I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. - (1) Caption Question - In older versions, insertion of a figure float automatically included a caption. Not so in the new version. To put in a caption, I now include in the figure float environment a LATEX-mode box like At the bottom of the menu at the top left corner (where you selcet all enviroments such as standard, chapter, itemize...), there is a caption environment. I agree that the previous method was more convenient. \caption{caption text} My question: how do I insert math formulas within the caption without having to bang out all the raw latex? That is, I want the WYSIWYG feature within the caption, but the LATEX enviornment doesn't seem to allow it. It is possible to combine raw latex and lyx. I simply split the latex code into two environments between which I use regular code (see attached file). I find this usefull in other instances as well. I hope this helps, Amir. #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Float figure placement htbp wide false collapsed false \layout Standard \begin_inset Graphics FormatVersion 1 filename figure.eps BoundingBox 0 0 291bp 180bp display default size_type 0 rotateOrigin center lyxsize_type 0 \end_inset \layout Caption Caption enviroment from the menu \end_inset \layout Standard \begin_inset Float figure placement htbp wide false collapsed false \layout Standard \begin_inset Graphics FormatVersion 1 filename figure.eps BoundingBox 0 0 291bp 180bp display default size_type 0 rotateOrigin center lyxsize_type 0 \end_inset \layout Standard \align center \begin_inset ERT status Collapsed \layout Standard \backslash caption{A caption using ERT, an equation: \end_inset \begin_inset Formula $1+1\neq 3,$ \end_inset \begin_inset ERT status Collapsed \layout Standard and then some more text} \end_inset \end_inset \the_end
Figure Captions and Figure Centering
I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. - (1) Caption Question - In older versions, insertion of a figure float automatically included a caption. Not so in the new version. To put in a caption, I now include in the figure float environment a LATEX-mode box like \caption{caption text} My question: how do I insert math formulas within the caption without having to bang out all the raw latex? That is, I want the WYSIWYG feature within the caption, but the LATEX enviornment doesn't seem to allow it. Basically, I'd like to be able to put math formulas, equation cross references, etc., within the caption without having to type the raw latex. Probably there's a better way for me to insert the caption, but I don't know it. --- (2) Figure Centering --- In older lyx versions, figures were automatically centered. Now it seems that I have to do this manually with LATEX boxes for \begin{center} and \end{center}. How do I make figures centered by default? Much thanks, Alex Casti Mount Sinai School of Medicine
Re: Figure Captions and Figure Centering
--- Alex Casti [EMAIL PROTECTED] wrote: I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. - (1) Caption Question - In older versions, insertion of a figure float automatically included a caption. Not so in the new version. To put in a caption, I now include in the figure float environment a LATEX-mode box like \caption{caption text} My question: how do I insert math formulas within the caption without having to bang out all the raw latex? That is, I want the WYSIWYG feature within the caption, but the LATEX enviornment doesn't seem to allow it. Basically, I'd like to be able to put math formulas, equation cross references, etc., within the caption without having to type the raw latex. Probably there's a better way for me to insert the caption, but I don't know it. What's the stuff first from left on the toolbar? --- (2) Figure Centering --- In older lyx versions, figures were automatically centered. Now it seems that I have to do this manually with LATEX boxes for \begin{center} and \end{center}. How do I make figures centered by default? I want that too, but I have to go to Layout/paragraph/center. Much thanks, Alex Casti Mount Sinai School of Medicine __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Re: Figure Captions and Figure Centering
Alex Casti wrote: I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. - (1) Caption Question - In older versions, insertion of a figure float automatically included a caption. Not so in the new version. To put in a caption, I now include in the figure float environment a LATEX-mode box like At the bottom of the menu at the top left corner (where you selcet all enviroments such as standard, chapter, itemize...), there is a caption environment. I agree that the previous method was more convenient. \caption{caption text} My question: how do I insert math formulas within the caption without having to bang out all the raw latex? That is, I want the WYSIWYG feature within the caption, but the LATEX enviornment doesn't seem to allow it. It is possible to combine raw latex and lyx. I simply split the latex code into two environments between which I use regular code (see attached file). I find this usefull in other instances as well. I hope this helps, Amir. #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Float figure placement htbp wide false collapsed false \layout Standard \begin_inset Graphics FormatVersion 1 filename figure.eps BoundingBox 0 0 291bp 180bp display default size_type 0 rotateOrigin center lyxsize_type 0 \end_inset \layout Caption Caption enviroment from the menu \end_inset \layout Standard \begin_inset Float figure placement htbp wide false collapsed false \layout Standard \begin_inset Graphics FormatVersion 1 filename figure.eps BoundingBox 0 0 291bp 180bp display default size_type 0 rotateOrigin center lyxsize_type 0 \end_inset \layout Standard \align center \begin_inset ERT status Collapsed \layout Standard \backslash caption{A caption using ERT, an equation: \end_inset \begin_inset Formula $1+1\neq 3,$ \end_inset \begin_inset ERT status Collapsed \layout Standard and then some more text} \end_inset \end_inset \the_end
Figure Captions and Figure Centering
I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. - (1) Caption Question - In older versions, insertion of a figure float automatically included a caption. Not so in the new version. To put in a caption, I now include in the figure float environment a LATEX-mode box like \caption{caption text} My question: how do I insert math formulas within the caption without having to bang out all the raw latex? That is, I want the WYSIWYG feature within the caption, but the LATEX enviornment doesn't seem to allow it. Basically, I'd like to be able to put math formulas, equation cross references, etc., within the caption without having to type the raw latex. Probably there's a better way for me to insert the caption, but I don't know it. --- (2) Figure Centering --- In older lyx versions, figures were automatically centered. Now it seems that I have to do this manually with LATEX boxes for \begin{center} and \end{center}. How do I make figures centered by default? Much thanks, Alex Casti Mount Sinai School of Medicine
Re: Figure Captions and Figure Centering
--- Alex Casti <[EMAIL PROTECTED]> wrote: > > I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. > > - > (1) Caption Question > - > In older versions, insertion of a figure float automatically > included a caption. Not so in the new version. To put in > a caption, I now include in the figure float environment > a LATEX-mode box like > > \caption{caption text} > > My question: how do I insert math formulas within the caption without > having to bang out all the raw latex? That is, I want the WYSIWYG > feature within the caption, but the LATEX enviornment > doesn't seem to allow it. > > Basically, I'd like to be able to put math formulas, equation cross > references, > etc., within the caption without having to type the raw latex. > > Probably there's a better way for me to insert the caption, but I don't > know it. What's the stuff first from left on the toolbar? > > --- > (2) Figure Centering > --- > > In older lyx versions, figures were automatically centered. Now it > seems > that I have to do this manually with LATEX boxes for \begin{center} > and \end{center}. > > How do I make figures centered by default? I want that too, but I have to go to Layout/paragraph/center. > > > Much thanks, > > Alex Casti > Mount Sinai School of Medicine > > __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Re: Figure Captions and Figure Centering
Alex Casti wrote: > I'm now using lyx-1.2.0 on a Redhat Linux 7.1 machine. > > - > (1) Caption Question > - > In older versions, insertion of a figure float automatically > included a caption. Not so in the new version. To put in > a caption, I now include in the figure float environment > a LATEX-mode box like At the bottom of the menu at the top left corner (where you selcet all enviroments such as standard, chapter, itemize...), there is a caption environment. I agree that the previous method was more convenient. > > \caption{caption text} > > My question: how do I insert math formulas within the caption without > having to bang out all the raw latex? That is, I want the WYSIWYG > feature within the caption, but the LATEX enviornment > doesn't seem to allow it. It is possible to combine raw latex and lyx. I simply split the latex code into two environments between which I use regular code (see attached file). I find this usefull in other instances as well. I hope this helps, Amir. #LyX 1.2 created this file. For more info see http://www.lyx.org/ \lyxformat 220 \textclass article \language english \inputencoding auto \fontscheme default \graphics default \paperfontsize default \papersize Default \paperpackage a4 \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation indent \defskip medskip \quotes_language english \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \layout Standard \begin_inset Float figure placement htbp wide false collapsed false \layout Standard \begin_inset Graphics FormatVersion 1 filename figure.eps BoundingBox 0 0 291bp 180bp display default size_type 0 rotateOrigin center lyxsize_type 0 \end_inset \layout Caption Caption enviroment from the menu \end_inset \layout Standard \begin_inset Float figure placement htbp wide false collapsed false \layout Standard \begin_inset Graphics FormatVersion 1 filename figure.eps BoundingBox 0 0 291bp 180bp display default size_type 0 rotateOrigin center lyxsize_type 0 \end_inset \layout Standard \align center \begin_inset ERT status Collapsed \layout Standard \backslash caption{A caption using ERT, an equation: \end_inset \begin_inset Formula $1+1\neq 3,$ \end_inset \begin_inset ERT status Collapsed \layout Standard and then some more text} \end_inset \end_inset \the_end
Re: Suppressing figure captions
On Wed, 9 Jan 2002, Dekel Tsur wrote: On Tue, Jan 08, 2002 at 06:13:22PM +, Jan Warnking wrote: Hello all, I have a (weird) question concerning figure captions. I am preparing a manuscript for a scientific paper for submission, and I wonder if there is a way to tell LyX (LaTeX) not to print the figure captions below each figure. I incuded a table of figures, and all the captions appear in there, (this is why I put captions on my figures in the first place), but the figures should appear nude (without caption). Simply put the following line in the preamble: \def\@makecaption#1#2{} Thank you, this is what I was looking for! I put something like this in the preamble: \renewcommand{\@makecaption}[2]{ \vspace{10pt} {\begin{center}#1\end{center}} } This, together with the package endfloat almost does what I need: I get a list of figures at the end of the document, containing the figure captions, and then one figure per page with only a Figure n centered below each one. Commenting out the \usepackage{endfloat} and the above statements gives my a nice document with figures and captions in all the right places. Unfortunately, the references to the figures are now undefined, since the corresponding labels are in the captions and do not get placed anywhere. My solution is to comment out the above statements, view the document once from Lyx, and then put them back in again. Latex retains the figure numbers associated with the label keys from the previous run (I only refer to figures by their number, not the page they are on) and all works fine for the remaining lyx session. Is there a way of doing this the Right Way? I guess it would be kind of difficult to peel off all but the reference key from argument #2 to \@makecaption, and place a label with this key in the caption? Maybe there is a far easier solution I don't see (an existing package that does all this nicely, or the like)? Thank you all for your valuable help! Jan
Re: Suppressing figure captions
On Wed, 9 Jan 2002, Dekel Tsur wrote: On Tue, Jan 08, 2002 at 06:13:22PM +, Jan Warnking wrote: Hello all, I have a (weird) question concerning figure captions. I am preparing a manuscript for a scientific paper for submission, and I wonder if there is a way to tell LyX (LaTeX) not to print the figure captions below each figure. I incuded a table of figures, and all the captions appear in there, (this is why I put captions on my figures in the first place), but the figures should appear nude (without caption). Simply put the following line in the preamble: \def\@makecaption#1#2{} Thank you, this is what I was looking for! I put something like this in the preamble: \renewcommand{\@makecaption}[2]{ \vspace{10pt} {\begin{center}#1\end{center}} } This, together with the package endfloat almost does what I need: I get a list of figures at the end of the document, containing the figure captions, and then one figure per page with only a Figure n centered below each one. Commenting out the \usepackage{endfloat} and the above statements gives my a nice document with figures and captions in all the right places. Unfortunately, the references to the figures are now undefined, since the corresponding labels are in the captions and do not get placed anywhere. My solution is to comment out the above statements, view the document once from Lyx, and then put them back in again. Latex retains the figure numbers associated with the label keys from the previous run (I only refer to figures by their number, not the page they are on) and all works fine for the remaining lyx session. Is there a way of doing this the Right Way? I guess it would be kind of difficult to peel off all but the reference key from argument #2 to \@makecaption, and place a label with this key in the caption? Maybe there is a far easier solution I don't see (an existing package that does all this nicely, or the like)? Thank you all for your valuable help! Jan
Re: Suppressing figure captions
On Wed, 9 Jan 2002, Dekel Tsur wrote: > On Tue, Jan 08, 2002 at 06:13:22PM +, Jan Warnking wrote: > > > > Hello all, > > > > I have a (weird) question concerning figure captions. I am preparing a > > manuscript for a scientific paper for submission, and I wonder if there is > > a way to tell LyX (LaTeX) not to print the figure captions below each > > figure. I incuded a table of figures, and all the captions appear in > > there, (this is why I put captions on my figures in the first place), but > > the figures should appear "nude" (without caption). > > Simply put the following line in the preamble: > > \def\@makecaption#1#2{} Thank you, this is what I was looking for! I put something like this in the preamble: \renewcommand{\@makecaption}[2]{ \vspace{10pt} {\begin{center}#1\end{center}} } This, together with the package "endfloat" almost does what I need: I get a list of figures at the end of the document, containing the figure captions, and then one figure per page with only a "Figure n" centered below each one. Commenting out the \usepackage{endfloat} and the above statements gives my a nice document with figures and captions in all the right places. Unfortunately, the references to the figures are now undefined, since the corresponding labels are in the captions and do not get placed anywhere. My solution is to comment out the above statements, view the document once from Lyx, and then put them back in again. Latex retains the figure numbers associated with the label keys from the previous run (I only refer to figures by their number, not the page they are on) and all works fine for the remaining lyx session. Is there a way of doing this the Right Way? I guess it would be kind of difficult to peel off all but the reference key from argument #2 to "\@makecaption", and place a label with this key in the caption? Maybe there is a far easier solution I don't see (an existing package that does all this nicely, or the like)? Thank you all for your valuable help! Jan
Suppressing figure captions
Hello all, I have a (weird) question concerning figure captions. I am preparing a manuscript for a scientific paper for submission, and I wonder if there is a way to tell LyX (LaTeX) not to print the figure captions below each figure. I incuded a table of figures, and all the captions appear in there, (this is why I put captions on my figures in the first place), but the figures should appear nude (without caption). Of course I can do this manually: write the list of figures with the corresponding captions by hand and leave the figures without caption. But in terms of handling the Lyx document, having the captions with the corresponding figure is much nicer. Any idea? BTW, I'm using the article class. Jan
Re: Suppressing figure captions
On Tue, 8 Jan 2002, Jan Warnking wrote: I have a (weird) question concerning figure captions. I am preparing a manuscript for a scientific paper for submission, and I wonder if there is a way to tell LyX (LaTeX) not to print the figure captions below each figure. I incuded a table of figures, and all the captions appear in there, (this is why I put captions on my figures in the first place), but the figures should appear nude (without caption). you can add a latex command below the each figures... [in red] like following... ... your figure ... \stepcounter{figure}% \addcontentsline{lof}{figure}{\thefigure\hspace{0.75em} the-figure-caption bla.. bla... } I don't know whether it is right or not... but its OK if you do not mix float figure and non-float figure... (especially for counter). The caption is only shown in table of figures). Wayan
Suppressing figure captions
Hello all, I have a (weird) question concerning figure captions. I am preparing a manuscript for a scientific paper for submission, and I wonder if there is a way to tell LyX (LaTeX) not to print the figure captions below each figure. I incuded a table of figures, and all the captions appear in there, (this is why I put captions on my figures in the first place), but the figures should appear nude (without caption). Of course I can do this manually: write the list of figures with the corresponding captions by hand and leave the figures without caption. But in terms of handling the Lyx document, having the captions with the corresponding figure is much nicer. Any idea? BTW, I'm using the article class. Jan
Re: Suppressing figure captions
On Tue, 8 Jan 2002, Jan Warnking wrote: I have a (weird) question concerning figure captions. I am preparing a manuscript for a scientific paper for submission, and I wonder if there is a way to tell LyX (LaTeX) not to print the figure captions below each figure. I incuded a table of figures, and all the captions appear in there, (this is why I put captions on my figures in the first place), but the figures should appear nude (without caption). you can add a latex command below the each figures... [in red] like following... ... your figure ... \stepcounter{figure}% \addcontentsline{lof}{figure}{\thefigure\hspace{0.75em} the-figure-caption bla.. bla... } I don't know whether it is right or not... but its OK if you do not mix float figure and non-float figure... (especially for counter). The caption is only shown in table of figures). Wayan
Suppressing figure captions
Hello all, I have a (weird) question concerning figure captions. I am preparing a manuscript for a scientific paper for submission, and I wonder if there is a way to tell LyX (LaTeX) not to print the figure captions below each figure. I incuded a table of figures, and all the captions appear in there, (this is why I put captions on my figures in the first place), but the figures should appear "nude" (without caption). Of course I can do this manually: write the list of figures with the corresponding captions "by hand" and leave the figures without caption. But in terms of handling the Lyx document, having the captions with the corresponding figure is much nicer. Any idea? BTW, I'm using the article class. Jan
Re: Suppressing figure captions
On Tue, 8 Jan 2002, Jan Warnking wrote: > I have a (weird) question concerning figure captions. I am preparing a > manuscript for a scientific paper for submission, and I wonder if there > is a way to tell LyX (LaTeX) not to print the figure captions below each > figure. I incuded a table of figures, and all the captions appear in > there, (this is why I put captions on my figures in the first place), > but the figures should appear "nude" (without caption). you can add a latex command below the each figures... [in red] like following... ... your figure ... \stepcounter{figure}% \addcontentsline{lof}{figure}{\thefigure\hspace{0.75em} the-figure-caption bla.. bla... } I don't know whether it is right or not... but its OK if you do not mix float figure and non-float figure... (especially for counter). The caption is only shown in table of figures). Wayan
Figure captions and caption numbering
Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? Also, all tech books have figure numbering contain the chapter number and restart the figure number at 1 for each chapter (figure 10-1). But LyX labels and references number figures sequentially throughout the book (figure 96). Is there any way to get the chapter-figure numbering in LyX, while still retaining the ability to move chapters around without needing to explicitly tweak individual entries? Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Re: Figure captions and caption numbering
Steve Litt wrote: Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? for figures always below, for tables in europe most always below in america often above. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Figure captions and caption numbering
On Tue, Sep 25, 2001 at 11:42:45AM -0400, Steve Litt wrote: Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? Also, all tech books have figure numbering contain the chapter number and restart the figure number at 1 for each chapter (figure 10-1). But LyX labels and references number figures sequentially throughout the book (figure 96). Is there any way to get the chapter-figure numbering in LyX, while still retaining the ability to move chapters around without needing to explicitly tweak individual entries? Which book class are you using ? The standard book class (and many others) should give you figure 10.1 numbering by default.
Re: Figure captions and caption numbering
On Tuesday 25 September 2001 15:30, Dekel Tsur wrote: On Tue, Sep 25, 2001 at 11:42:45AM -0400, Steve Litt wrote: Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? Also, all tech books have figure numbering contain the chapter number and restart the figure number at 1 for each chapter (figure 10-1). But LyX labels and references number figures sequentially throughout the book (figure 96). Is there any way to get the chapter-figure numbering in LyX, while still retaining the ability to move chapters around without needing to explicitly tweak individual entries? Which book class are you using ? The standard book class (and many others) should give you figure 10.1 numbering by default. It does! Steve dons duncecap I had tested it on a test document that had no chapters. When I used my real document, it printed out as Figure 14.4, etc. Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Figure captions and caption numbering
Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? Also, all tech books have figure numbering contain the chapter number and restart the figure number at 1 for each chapter (figure 10-1). But LyX labels and references number figures sequentially throughout the book (figure 96). Is there any way to get the chapter-figure numbering in LyX, while still retaining the ability to move chapters around without needing to explicitly tweak individual entries? Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Re: Figure captions and caption numbering
Steve Litt wrote: Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? for figures always below, for tables in europe most always below in america often above. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Figure captions and caption numbering
On Tue, Sep 25, 2001 at 11:42:45AM -0400, Steve Litt wrote: Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? Also, all tech books have figure numbering contain the chapter number and restart the figure number at 1 for each chapter (figure 10-1). But LyX labels and references number figures sequentially throughout the book (figure 96). Is there any way to get the chapter-figure numbering in LyX, while still retaining the ability to move chapters around without needing to explicitly tweak individual entries? Which book class are you using ? The standard book class (and many others) should give you figure 10.1 numbering by default.
Re: Figure captions and caption numbering
On Tuesday 25 September 2001 15:30, Dekel Tsur wrote: On Tue, Sep 25, 2001 at 11:42:45AM -0400, Steve Litt wrote: Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? Also, all tech books have figure numbering contain the chapter number and restart the figure number at 1 for each chapter (figure 10-1). But LyX labels and references number figures sequentially throughout the book (figure 96). Is there any way to get the chapter-figure numbering in LyX, while still retaining the ability to move chapters around without needing to explicitly tweak individual entries? Which book class are you using ? The standard book class (and many others) should give you figure 10.1 numbering by default. It does! Steve dons duncecap I had tested it on a test document that had no chapters. When I used my real document, it printed out as Figure 14.4, etc. Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Figure captions and caption numbering
Some books have the caption above the figure, some below, and some to the side. Any suggestions on style for a technical book? Also, all tech books have figure numbering contain the chapter number and restart the figure number at 1 for each chapter (figure 10-1). But LyX labels and references number figures sequentially throughout the book (figure 96). Is there any way to get the chapter-figure numbering in LyX, while still retaining the ability to move chapters around without needing to explicitly tweak individual entries? Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
Re: Figure captions and caption numbering
Steve Litt wrote: > > Some books have the caption above the figure, some below, and some to the > side. Any suggestions on style for a technical book? for figures always below, for tables in europe most always below in america often above. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Re: Figure captions and caption numbering
On Tue, Sep 25, 2001 at 11:42:45AM -0400, Steve Litt wrote: > Some books have the caption above the figure, some below, and some to the > side. Any suggestions on style for a technical book? > > Also, all tech books have figure numbering contain the chapter number and > restart the figure number at 1 for each chapter (figure 10-1). But LyX labels > and references number figures sequentially throughout the book (figure 96). > Is there any way to get the chapter-figure numbering in LyX, while still > retaining the ability to move chapters around without needing to explicitly > tweak individual entries? Which book class are you using ? The standard book class (and many others) should give you "figure 10.1" numbering by default.
Re: Figure captions and caption numbering
On Tuesday 25 September 2001 15:30, Dekel Tsur wrote: > On Tue, Sep 25, 2001 at 11:42:45AM -0400, Steve Litt wrote: > > Some books have the caption above the figure, some below, and some to the > > side. Any suggestions on style for a technical book? > > > > Also, all tech books have figure numbering contain the chapter number and > > restart the figure number at 1 for each chapter (figure 10-1). But LyX > > labels and references number figures sequentially throughout the book > > (figure 96). Is there any way to get the chapter-figure numbering in LyX, > > while still retaining the ability to move chapters around without needing > > to explicitly tweak individual entries? > > Which book class are you using ? > The standard book class (and many others) should give you "figure 10.1" > numbering by default. It does! I had tested it on a test document that had no chapters. When I used my real document, it printed out as Figure 14.4, etc. Thanks Steve -- Steve Litt Webmaster, Troubleshooters.Com http://www.troubleshooters.com [EMAIL PROTECTED] (Legal Disclaimer) Follow these suggestions at your own risk.
footnotes in figure-captions
Hi all, is it possible to put a footnote into the caption of a figure? Thanks in advance, Christoph.
Re: footnotes in figure-captions
"Sperle, Christoph" wrote: Hi all, is it possible to put a footnote into the caption of a figure? yes, but when it's part of a float it makes no sense, because the footnote can't float like a figure. have a look at http://www.educat.hu-berlin.de/~voss/lyx/footnotes.html#footcaptions Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
footnotes in figure-captions
Hi all, is it possible to put a footnote into the caption of a figure? Thanks in advance, Christoph.
Re: footnotes in figure-captions
"Sperle, Christoph" wrote: Hi all, is it possible to put a footnote into the caption of a figure? yes, but when it's part of a float it makes no sense, because the footnote can't float like a figure. have a look at http://www.educat.hu-berlin.de/~voss/lyx/footnotes.html#footcaptions Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
footnotes in figure-captions
Hi all, is it possible to put a footnote into the caption of a figure? Thanks in advance, Christoph.
Re: footnotes in figure-captions
"Sperle, Christoph" wrote: > > Hi all, > > is it possible to put a footnote into the caption of a figure? yes, but when it's part of a float it makes no sense, because the footnote can't float like a figure. have a look at http://www.educat.hu-berlin.de/~voss/lyx/footnotes.html#footcaptions Herbert -- [EMAIL PROTECTED] http://perce.de/lyx/
Re: TOF, Short Figure Captions?
This was an old question and answer, but I have still not yet understood how it works. If I produce a figure environment in lyx and insert a legend to the figure, which is to long for the TOF, one should according to the answer given below write the tex marked short/long captions in a standard paragraph. But how do I get the (long) caption in my figure environment? Should I run the file first with the long captions without a list of figures, run it again with the tex marked caption under the list of figures and take the list of figures (which has now the short captions) out and add it to the lyx file (all marked in tex)? Thanks in advance for help. Wolfgang Engelmann Physiologische "Okologie der Pflanzen Institut f"ur Botanik Universit"at T"ubingen Auf der Morgenstelle 1 D72076 TUEBINGEN (Germany) Tel 07071-29-76162 privat 07071-68324 or 68325 Fax 07071-29-5635 EMail [EMAIL PROTECTED] *time flies like an arrow but fruit flies like a banana* On Wed, 9 Jun 1999, Jean-Marc Lasgouttes wrote: "Pedro" == Pedro Sanchez [EMAIL PROTECTED] writes: Pedro It doesn't work. If I write "[My short figure description]" at Pedro the begining of the caption and mark this as TeX code LyX Pedro produces Pedro \caption{[My short figure description]This is a very long Pedro figure description that I don't want to show up in the TOF} Pedro So far it seems I have to export my file as LaTeX and do the Pedro editing manually. Really annoying! What I meant is: use a Standard paragraph and write \caption[My short figure description]{This is a very long figure description that I don't want to show up in the TOF} Now, mark "\caption[", "]{" and "}" as TeX. This is not very pretty, but at least the caption texts can be edited in conveniently. JMarc
Re: TOF, Short Figure Captions?
This was an old question and answer, but I have still not yet understood how it works. If I produce a figure environment in lyx and insert a legend to the figure, which is to long for the TOF, one should according to the answer given below write the tex marked short/long captions in a standard paragraph. But how do I get the (long) caption in my figure environment? Should I run the file first with the long captions without a list of figures, run it again with the tex marked caption under the list of figures and take the list of figures (which has now the short captions) out and add it to the lyx file (all marked in tex)? Thanks in advance for help. Wolfgang Engelmann Physiologische "Okologie der Pflanzen Institut f"ur Botanik Universit"at T"ubingen Auf der Morgenstelle 1 D72076 TUEBINGEN (Germany) Tel 07071-29-76162 privat 07071-68324 or 68325 Fax 07071-29-5635 EMail [EMAIL PROTECTED] *time flies like an arrow but fruit flies like a banana* On Wed, 9 Jun 1999, Jean-Marc Lasgouttes wrote: "Pedro" == Pedro Sanchez [EMAIL PROTECTED] writes: Pedro It doesn't work. If I write "[My short figure description]" at Pedro the begining of the caption and mark this as TeX code LyX Pedro produces Pedro \caption{[My short figure description]This is a very long Pedro figure description that I don't want to show up in the TOF} Pedro So far it seems I have to export my file as LaTeX and do the Pedro editing manually. Really annoying! What I meant is: use a Standard paragraph and write \caption[My short figure description]{This is a very long figure description that I don't want to show up in the TOF} Now, mark "\caption[", "]{" and "}" as TeX. This is not very pretty, but at least the caption texts can be edited in conveniently. JMarc
Re: TOF, Short Figure Captions?
This was an old question and answer, but I have still not yet understood how it works. If I produce a figure environment in lyx and insert a legend to the figure, which is to long for the TOF, one should according to the answer given below write the tex marked short/long captions in a standard paragraph. But how do I get the (long) caption in my figure environment? Should I run the file first with the long captions without a list of figures, run it again with the tex marked caption under the list of figures and take the list of figures (which has now the short captions) out and add it to the lyx file (all marked in tex)? Thanks in advance for help. Wolfgang Engelmann Physiologische "Okologie der Pflanzen Institut f"ur Botanik Universit"at T"ubingen Auf der Morgenstelle 1 D72076 TUEBINGEN (Germany) Tel 07071-29-76162 privat 07071-68324 or 68325 Fax 07071-29-5635 EMail [EMAIL PROTECTED] *time flies like an arrow but fruit flies like a banana* On Wed, 9 Jun 1999, Jean-Marc Lasgouttes wrote: > > "Pedro" == Pedro Sanchez <[EMAIL PROTECTED]> writes: > > Pedro> It doesn't work. If I write "[My short figure description]" at > Pedro> the begining of the caption and mark this as TeX code LyX > Pedro> produces > > Pedro> \caption{[My short figure description]This is a very long > Pedro> figure description that I don't want to show up in the TOF} > > Pedro> So far it seems I have to export my file as LaTeX and do the > Pedro> editing manually. Really annoying! > > What I meant is: use a Standard paragraph and write > \caption[My short figure description]{This is a very long figure > description that I don't want to show up in the TOF} > > Now, mark "\caption[", "]{" and "}" as TeX. This is not very pretty, > but at least the caption texts can be edited in conveniently. > > JMarc >