Define an additional InsetLayout for captions
I want to insert figures in the page margins in my book. In order to have two figures one above the other, with each one having its own caption and label, I want to create inside lyx the following latex code: \usepackge{sidenotes,subcaption} % (<- in the preamble) \begin{marginfigure} \centering \subcaptionbox{caption for upper figure \label{upperfig}} {\includegraphics[width=\marginparwidth]{image1.png}} \subcaptionbox{caption for lower figure \label{lowerfig}} {\includegraphics[width=\marginparwidth]{image1.png}} \caption{Big Caption for two figures} \label{fig:physicsfig} \end{marginfigure} I copied to my layout the Float Style from tufte-book.layout. It defines a marginfigure environment. I am now struggling a bit with the \subcaptionbox command: 1. I can define a new Caption which is based on "InsetLayout Caption:Standard" found in the stdinsets.inc file. But I can't see it in the Insert menu, not even inside Custom Insets. 2. Let's say I overcome this issue, is it possible to make it "sensible" only inside the marginfigure environment? 3. If I don't want captions for the subfigures, then I don't need the \subcaption command. And then the include graphics doesn't have to be wrapped with {}. But if I change my mind and want a caption, then I do need the {} around the figure. Any idea how to handle it nicely? Thanks very much! -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: "Unfloat" figures and captions
On 9/23/19 3:42 PM, Rich Shepard wrote: > I've a series of nine figures in an appendix. Each is in a section as a > floating figure. My mistake. The list of sections is printed after the > appendix head, but the figures all follow rather than being in their > section > of the appendix/chapter. > > Is there a way to unfloat them other than deleting everything and > starting > over? Dissolve the floating inset. You can do this by right-clicking or by going to the very beginning of it and hitting backspace. Riki
"Unfloat" figures and captions
I've a series of nine figures in an appendix. Each is in a section as a floating figure. My mistake. The list of sections is printed after the appendix head, but the figures all follow rather than being in their section of the appendix/chapter. Is there a way to unfloat them other than deleting everything and starting over? Rich
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
Floats --- long captions
System: LyX 2.2.2 -- TeX Live (fully updated) Short captions centre correctly but long captions -- longer than a single line -- appear left justified. Is this the intended action or is this a bug? 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: Longtable captions
On 5/8/2012 8:45 AM, John Tapsell wrote: At the moment adding captions to longtables requires manually adding lyx code. Hi John, While the offer is much appreciated, in this case, it's unnecessary. You *can* add captions to longtables. It's available from the Table properties dialog. Right click on the Table Settings Longtable (Tab). From there, you'll see an option for Caption at the bottom of the Row settings. Just enable Use long table box, and then click on the Caption box. It will add in a label for you to fill out. Hope that helps. Cheers, Rob PS, if you post other annoyances to the list, I'm sure that the developers would be happy to jump on them.
Re: Longtable captions
On 5/8/2012 8:45 AM, John Tapsell wrote: At the moment adding captions to longtables requires manually adding lyx code. Hi John, While the offer is much appreciated, in this case, it's unnecessary. You *can* add captions to longtables. It's available from the Table properties dialog. Right click on the Table Settings Longtable (Tab). From there, you'll see an option for Caption at the bottom of the Row settings. Just enable Use long table box, and then click on the Caption box. It will add in a label for you to fill out. Hope that helps. Cheers, Rob PS, if you post other annoyances to the list, I'm sure that the developers would be happy to jump on them.
Re: Longtable captions
On 5/8/2012 8:45 AM, John Tapsell wrote: > At the moment adding captions to longtables requires manually adding lyx > code. Hi John, While the offer is much appreciated, in this case, it's unnecessary. You *can* add captions to longtables. It's available from the Table properties dialog. Right click on the Table > Settings > Longtable (Tab). >From there, you'll see an option for Caption at the bottom of the "Row" settings. Just enable "Use long table" box, and then click on the "Caption" box. It will add in a label for you to fill out. Hope that helps. Cheers, Rob PS, if you post other annoyances to the list, I'm sure that the developers would be happy to jump on them.
RE: [SOLVED] Changing captions and order in reference list
Hello! I found solution for this problem. It might not be the prettiest one, but changing citation delimiter and list of references number delimiter I added to preamble: p, li { white-space: pre-wrap; } \makeatletter % @ is now a letter p, li { white-space: pre-wrap; } \def\bibleftdelim{/} \def\bibrightdelim{/} \def\@biblabel#1{\bibleftdelim #1\bibrightdelim} \makeatother % @ is a symbol That is from Tame the BeaST PDF file. http://mirrors.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf However I wasn't able to get the cite working and after all I am using natbib And from http://mirrors.ctan.org/macros/latex/contrib/natbib/natbib.pdfoneliner ERT\setcitestyle{open={/},close={/}} Which probably can be put to preamble somehow. best regards, Hannu Vuolasaho From: vuo...@msn.com To: lyx-users@lists.lyx.org Subject: Changing captions and order in reference list Date: Fri, 20 Apr 2012 01:19:31 +0300 Hello everybody! I have on problem with reference list. I havenly five references. So this isn't that bad problem. It can be done also some ugly manual way. I want to get list as /1/ reference /2/ reference instead Lyx always generates [1] reference [2] reference So how that is changed? Another problem is that the appear in same order as in text and I want them in alphabetically ordered by last name. And the format is Last name, First name, Title, [doctype], URL, date of retrieval Is there any style that does this or what is the right way to do this? Best regards, Hannu Vuolasaho
RE: [SOLVED] Changing captions and order in reference list
Hello! I found solution for this problem. It might not be the prettiest one, but changing citation delimiter and list of references number delimiter I added to preamble: p, li { white-space: pre-wrap; } \makeatletter % @ is now a letter p, li { white-space: pre-wrap; } \def\bibleftdelim{/} \def\bibrightdelim{/} \def\@biblabel#1{\bibleftdelim #1\bibrightdelim} \makeatother % @ is a symbol That is from Tame the BeaST PDF file. http://mirrors.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf However I wasn't able to get the cite working and after all I am using natbib And from http://mirrors.ctan.org/macros/latex/contrib/natbib/natbib.pdfoneliner ERT\setcitestyle{open={/},close={/}} Which probably can be put to preamble somehow. best regards, Hannu Vuolasaho From: vuo...@msn.com To: lyx-users@lists.lyx.org Subject: Changing captions and order in reference list Date: Fri, 20 Apr 2012 01:19:31 +0300 Hello everybody! I have on problem with reference list. I havenly five references. So this isn't that bad problem. It can be done also some ugly manual way. I want to get list as /1/ reference /2/ reference instead Lyx always generates [1] reference [2] reference So how that is changed? Another problem is that the appear in same order as in text and I want them in alphabetically ordered by last name. And the format is Last name, First name, Title, [doctype], URL, date of retrieval Is there any style that does this or what is the right way to do this? Best regards, Hannu Vuolasaho
RE: [SOLVED] Changing captions and order in reference list
Hello! I found solution for this problem. It might not be the prettiest one, but changing citation delimiter and list of references number delimiter I added to preamble: p, li { white-space: pre-wrap; } \makeatletter % @ is now a letter p, li { white-space: pre-wrap; } \def\bibleftdelim{/} \def\bibrightdelim{/} \def\@biblabel#1{\bibleftdelim #1\bibrightdelim} \makeatother % @ is a symbol That is from Tame the BeaST PDF file. http://mirrors.ctan.org/info/bibtex/tamethebeast/ttb_en.pdf However I wasn't able to get the cite working and after all I am using natbib And from http://mirrors.ctan.org/macros/latex/contrib/natbib/natbib.pdfoneliner ERT\setcitestyle{open={/},close={/}} Which probably can be put to preamble somehow. best regards, Hannu Vuolasaho > From: vuo...@msn.com > To: lyx-users@lists.lyx.org > Subject: Changing captions and order in reference list > Date: Fri, 20 Apr 2012 01:19:31 +0300 > > > Hello everybody! > > I have on problem with reference list. I havenly five references. So this > isn't that bad problem. It can be done also some ugly manual way. > I want to get list as > > /1/ reference > > /2/ reference > instead Lyx always generates > > [1] reference > > [2] reference > > So how that is changed? > > Another problem is that the appear in same order as in text and I want them > in alphabetically ordered by last name. And the format is > Last name, First name, Title, [doctype], URL, date of retrieval > > Is there any style that does this or what is the right way to do this? > > Best regards, > Hannu Vuolasaho >
Changing captions and order in reference list
Hello everybody! I have on problem with reference list. I havenly five references. So this isn't that bad problem. It can be done also some ugly manual way. I want to get list as /1/ reference /2/ reference instead Lyx always generates [1] reference [2] reference So how that is changed? Another problem is that the appear in same order as in text and I want them in alphabetically ordered by last name. And the format is Last name, First name, Title, [doctype], URL, date of retrieval Is there any style that does this or what is the right way to do this? Best regards, Hannu Vuolasaho
Changing captions and order in reference list
Hello everybody! I have on problem with reference list. I havenly five references. So this isn't that bad problem. It can be done also some ugly manual way. I want to get list as /1/ reference /2/ reference instead Lyx always generates [1] reference [2] reference So how that is changed? Another problem is that the appear in same order as in text and I want them in alphabetically ordered by last name. And the format is Last name, First name, Title, [doctype], URL, date of retrieval Is there any style that does this or what is the right way to do this? Best regards, Hannu Vuolasaho
Changing captions and order in reference list
Hello everybody! I have on problem with reference list. I havenly five references. So this isn't that bad problem. It can be done also some ugly manual way. I want to get list as /1/ reference /2/ reference instead Lyx always generates [1] reference [2] reference So how that is changed? Another problem is that the appear in same order as in text and I want them in alphabetically ordered by last name. And the format is Last name, First name, Title, [doctype], URL, date of retrieval Is there any style that does this or what is the right way to do this? Best regards, Hannu Vuolasaho
Captions at top of tables
Thanks to Yihui and Bela for responses to my question...Yihui's example pointed me toward a simple solution...I should have responded to the list to get the solution out there, but only responded to Yihui...This was my response: Aha! I see the trick now! You have the xtable Swaeve chunk in an ERT box within the float. I had the chunk in the float alone...it worked fine with the caption below, but when I put the chunk below the caption, it printed as tex...now in an ERT box it works fine! Thank you again, Yihui. -- Shane
Captions at top of tables
Thanks to Yihui and Bela for responses to my question...Yihui's example pointed me toward a simple solution...I should have responded to the list to get the solution out there, but only responded to Yihui...This was my response: Aha! I see the trick now! You have the xtable Swaeve chunk in an ERT box within the float. I had the chunk in the float alone...it worked fine with the caption below, but when I put the chunk below the caption, it printed as tex...now in an ERT box it works fine! Thank you again, Yihui. -- Shane
Captions at top of tables
Thanks to Yihui and Bela for responses to my question...Yihui's example pointed me toward a simple solution...I should have responded to the list to get the solution out there, but only responded to Yihui...This was my response: "Aha! I see the trick now! You have the xtable Swaeve chunk in an ERT box within the float. I had the chunk in the float alone...it worked fine with the caption below, but when I put the chunk below the caption, it printed as tex...now in an ERT box it works fine! Thank you again, Yihui." -- Shane
Re: Captions at top of tables
Shane Siers shanesi...@gmail.com írta: Hi, all. This should be an easy one, but I just spent an hour trolling Google and discussion forums and still don#39;t know: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I#39;m having the problem. I tried putting the table (a Sweave chunk) below the caption in the float, but on compilation this just printed the chunk code as text. I hope this has an easy answer...let me know if I have to spend 20 minutes paring my document down to a useable example.-- Shane Hello: I use the caption and floatrow packages together to set floating tables/figures and their captions. They are very powerful, even might be overkill for your purpose. Unfortunately the floatrow manual is overwhelming and hard to understand at first. You can find the manuals here: http://www.ctan.org/pkg/caption http://www.ctan.org/pkg/floatrow bcsikos
Re: Captions at top of tables
Shane Siers shanesi...@gmail.com írta: Hi, all. This should be an easy one, but I just spent an hour trolling Google and discussion forums and still don#39;t know: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I#39;m having the problem. I tried putting the table (a Sweave chunk) below the caption in the float, but on compilation this just printed the chunk code as text. I hope this has an easy answer...let me know if I have to spend 20 minutes paring my document down to a useable example.-- Shane Hello: I use the caption and floatrow packages together to set floating tables/figures and their captions. They are very powerful, even might be overkill for your purpose. Unfortunately the floatrow manual is overwhelming and hard to understand at first. You can find the manuals here: http://www.ctan.org/pkg/caption http://www.ctan.org/pkg/floatrow bcsikos
Re: Captions at top of tables
Shane Siers <shanesi...@gmail.com> írta: >Hi, all. This should be an easy one, but I just spent an hour trolling Google >and discussion forums and still dont know:> > I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where Im having the problem. I tried putting the table (a Sweave chunk) below the caption in the float, but on compilation this just printed the chunk code as text.> > > I hope this has an easy answer...let me know if I have to spend 20 minutes paring my document down to a useable example.-- > Shane> > Hello: I use the caption and floatrow packages together to set floating tables/figures and their captions. They are very powerful, even might be overkill for your purpose. Unfortunately the floatrow manual is overwhelming and hard to understand at first. You can find the manuals here: http://www.ctan.org/pkg/caption http://www.ctan.org/pkg/floatrow bcsikos
Captions at top of tables
Hi, all. This should be an easy one, but I just spent an hour trolling Google and discussion forums and still don't know: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I'm having the problem. I tried putting the table (a Sweave chunk) below the caption in the float, but on compilation this just printed the chunk code as text. I hope this has an easy answer...let me know if I have to spend 20 minutes paring my document down to a useable example. -- Shane
Re: Captions at top of tables
On Thu, 12 Jan 2012, Shane Siers wrote: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I'm having the problem. Shane, These are the defaults for both figures and tables. When you open a float for a figure you see the caption box. When you enter the text you want, move the cursor to the line above it and enter the figure. When you create a table float, enter the caption then put the cursor on the following row before inserting the table. You can then change the environment to LyX code if you wish. Rich
Re: Captions at top of tables
Have you read the recent manual? There is an example for creating tables in Sweave (PDF version at https://github.com/downloads/yihui/lyx/sweave.pdf; lyx source is shipped with LyX 2.0.2 and also available at https://github.com/yihui/lyx/raw/master/examples/sweave.lyx) Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Fri, Jan 13, 2012 at 12:39 AM, Shane Siers shanesi...@gmail.com wrote: Hi, all. This should be an easy one, but I just spent an hour trolling Google and discussion forums and still don't know: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I'm having the problem. I tried putting the table (a Sweave chunk) below the caption in the float, but on compilation this just printed the chunk code as text. I hope this has an easy answer...let me know if I have to spend 20 minutes paring my document down to a useable example. -- Shane
Captions at top of tables
Hi, all. This should be an easy one, but I just spent an hour trolling Google and discussion forums and still don't know: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I'm having the problem. I tried putting the table (a Sweave chunk) below the caption in the float, but on compilation this just printed the chunk code as text. I hope this has an easy answer...let me know if I have to spend 20 minutes paring my document down to a useable example. -- Shane
Re: Captions at top of tables
On Thu, 12 Jan 2012, Shane Siers wrote: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I'm having the problem. Shane, These are the defaults for both figures and tables. When you open a float for a figure you see the caption box. When you enter the text you want, move the cursor to the line above it and enter the figure. When you create a table float, enter the caption then put the cursor on the following row before inserting the table. You can then change the environment to LyX code if you wish. Rich
Re: Captions at top of tables
Have you read the recent manual? There is an example for creating tables in Sweave (PDF version at https://github.com/downloads/yihui/lyx/sweave.pdf; lyx source is shipped with LyX 2.0.2 and also available at https://github.com/yihui/lyx/raw/master/examples/sweave.lyx) Regards, Yihui -- Yihui Xie xieyi...@gmail.com Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Fri, Jan 13, 2012 at 12:39 AM, Shane Siers shanesi...@gmail.com wrote: Hi, all. This should be an easy one, but I just spent an hour trolling Google and discussion forums and still don't know: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I'm having the problem. I tried putting the table (a Sweave chunk) below the caption in the float, but on compilation this just printed the chunk code as text. I hope this has an easy answer...let me know if I have to spend 20 minutes paring my document down to a useable example. -- Shane
Captions at top of tables
Hi, all. This should be an easy one, but I just spent an hour trolling Google and discussion forums and still don't know: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I'm having the problem. I tried putting the table (a Sweave chunk) below the caption in the float, but on compilation this just printed the chunk code as text. I hope this has an easy answer...let me know if I have to spend 20 minutes paring my document down to a useable example. -- Shane
Re: Captions at top of tables
On Thu, 12 Jan 2012, Shane Siers wrote: I want my float captions to be at the bottom for figures (default) and at the top for tables -- there is where I'm having the problem. Shane, These are the defaults for both figures and tables. When you open a float for a figure you see the caption box. When you enter the text you want, move the cursor to the line above it and enter the figure. When you create a table float, enter the caption then put the cursor on the following row before inserting the table. You can then change the environment to LyX code if you wish. Rich
Re: Captions at top of tables
Have you read the recent manual? There is an example for creating tables in Sweave (PDF version at https://github.com/downloads/yihui/lyx/sweave.pdf; lyx source is shipped with LyX 2.0.2 and also available at https://github.com/yihui/lyx/raw/master/examples/sweave.lyx) Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-2465 Web: http://yihui.name Department of Statistics, Iowa State University 2215 Snedecor Hall, Ames, IA On Fri, Jan 13, 2012 at 12:39 AM, Shane Siers <shanesi...@gmail.com> wrote: > Hi, all. This should be an easy one, but I just spent an hour trolling > Google and discussion forums and still don't know: > > I want my float captions to be at the bottom for figures (default) and at > the top for tables -- there is where I'm having the problem. I tried > putting the table (a Sweave chunk) below the caption in the float, but on > compilation this just printed the chunk code as text. > > I hope this has an easy answer...let me know if I have to spend 20 minutes > paring my document down to a useable example. > > -- > Shane > >
How to shorten captions in table and figure lists
Hi all, I am using ClassisThesis style. How to reduce the length or shorten the Figure and Table captions in the Table and Figure lists? Thank you in advance, Gian
Re: How to shorten captions in table and figure lists
On 13/10/2011 8:27 PM, Gian Maria Niccolò Benucci wrote: Hi all, I am using ClassisThesis style. How to reduce the length or shorten the Figure and Table captions in the Table and Figure lists? Thank you in advance, Gian Position your cursor somewhere within the caption and click Insert Short title. Type a shorter description in there. This description will appear in the list of figure instead of the longer one. -- Julien
How to shorten captions in table and figure lists
Hi all, I am using ClassisThesis style. How to reduce the length or shorten the Figure and Table captions in the Table and Figure lists? Thank you in advance, Gian
Re: How to shorten captions in table and figure lists
On 13/10/2011 8:27 PM, Gian Maria Niccolò Benucci wrote: Hi all, I am using ClassisThesis style. How to reduce the length or shorten the Figure and Table captions in the Table and Figure lists? Thank you in advance, Gian Position your cursor somewhere within the caption and click Insert Short title. Type a shorter description in there. This description will appear in the list of figure instead of the longer one. -- Julien
How to shorten captions in table and figure lists
Hi all, I am using ClassisThesis style. How to reduce the length or shorten the Figure and Table captions in the Table and Figure lists? Thank you in advance, Gian
Re: How to shorten captions in table and figure lists
On 13/10/2011 8:27 PM, Gian Maria Niccolò Benucci wrote: Hi all, I am using ClassisThesis style. How to reduce the length or shorten the Figure and Table captions in the Table and Figure lists? Thank you in advance, Gian Position your cursor somewhere within the caption and click Insert > Short title. Type a shorter description in there. This description will appear in the list of figure instead of the longer one. -- Julien
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
Justify captions in figure floats
Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated!
Re: Justify captions in figure floats
Am Saturday 05 February 2011 11:09:00 schrieb Påvel Nicklasson: Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated! captionbeside? Could provide you with an example, but there are gurus... Wolfgang
Re: Justify captions in figure floats
On 05/02/2011 5:09 AM, Påvel Nicklasson wrote: Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated! Put the image and caption inside a box. Specify a width for the box (you will have to experiment to get it right). Leave the box in a float, of course. -- Julien
Re: Justify captions in figure floats
The box is a good solution, Thank You! I came up with a similar, but perhaps not as good solution: activate the captions package in the preamble and give an ERT command just before the caption: \captionsetup{margin=xcm,xcm} where x is the distance from the text margin, left and right. I have to experiment here too. The box solution is perhaps better, since it combines image and caption. Den 2011-02-05 18:40:16 skrev Julien Rioux jri...@physics.utoronto.ca: On 05/02/2011 5:09 AM, Påvel Nicklasson wrote: Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated! Put the image and caption inside a box. Specify a width for the box (you will have to experiment to get it right). Leave the box in a float, of course.
Justify captions in figure floats
Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated!
Re: Justify captions in figure floats
Am Saturday 05 February 2011 11:09:00 schrieb Påvel Nicklasson: Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated! captionbeside? Could provide you with an example, but there are gurus... Wolfgang
Re: Justify captions in figure floats
On 05/02/2011 5:09 AM, Påvel Nicklasson wrote: Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated! Put the image and caption inside a box. Specify a width for the box (you will have to experiment to get it right). Leave the box in a float, of course. -- Julien
Re: Justify captions in figure floats
The box is a good solution, Thank You! I came up with a similar, but perhaps not as good solution: activate the captions package in the preamble and give an ERT command just before the caption: \captionsetup{margin=xcm,xcm} where x is the distance from the text margin, left and right. I have to experiment here too. The box solution is perhaps better, since it combines image and caption. Den 2011-02-05 18:40:16 skrev Julien Rioux jri...@physics.utoronto.ca: On 05/02/2011 5:09 AM, Påvel Nicklasson wrote: Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated! Put the image and caption inside a box. Specify a width for the box (you will have to experiment to get it right). Leave the box in a float, of course.
Justify captions in figure floats
Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated!
Re: Justify captions in figure floats
Am Saturday 05 February 2011 11:09:00 schrieb Påvel Nicklasson: > Is it posible to justify the width of some captions in a book project to > the width of the figure? > The book has two columns. All figures are placed inside floats. Some > figures are wide and span columns, but do not entirely fill the text > width. With the standard settings captions fill the text width, even if > the figure doesn’t. I think it would look better in these cases if the > caption had the same width as the figure. > > I have looked on the Floatrow package but is seemed very complicated. If > it is possible to achieve some examples would be appreciated! captionbeside? Could provide you with an example, but there are gurus... Wolfgang
Re: Justify captions in figure floats
On 05/02/2011 5:09 AM, Påvel Nicklasson wrote: Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated! Put the image and caption inside a box. Specify a width for the box (you will have to experiment to get it right). Leave the box in a float, of course. -- Julien
Re: Justify captions in figure floats
The box is a good solution, Thank You! I came up with a similar, but perhaps not as good solution: activate the captions package in the preamble and give an ERT command just before the caption: \captionsetup{margin=xcm,xcm} where x is the distance from the text margin, left and right. I have to experiment here too. The box solution is perhaps better, since it combines image and caption. Den 2011-02-05 18:40:16 skrev Julien Rioux <jri...@physics.utoronto.ca>: On 05/02/2011 5:09 AM, Påvel Nicklasson wrote: Is it posible to justify the width of some captions in a book project to the width of the figure? The book has two columns. All figures are placed inside floats. Some figures are wide and span columns, but do not entirely fill the text width. With the standard settings captions fill the text width, even if the figure doesn’t. I think it would look better in these cases if the caption had the same width as the figure. I have looked on the Floatrow package but is seemed very complicated. If it is possible to achieve some examples would be appreciated! Put the image and caption inside a box. Specify a width for the box (you will have to experiment to get it right). Leave the box in a float, of course.
Re: Captions... can't be justified
It seems that by default captions are centered when they're less than one line long, and justified when they're longer than one line. The best bet to change this appears to be the caption package. Try adding this to your document's preamble: \usepackage[singlelinecheck=off]{caption} For more information about the caption package, see this page: http://www.ctan.org/tex-archive/help/Catalogue/entries/caption.html Jim I'm using 'tables' for placing some of my photos and captions into. Thanks! FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490 More books from Goa :: http://goa1556.goa-india.org/
Re: Captions... can't be justified
It seems that by default captions are centered when they're less than one line long, and justified when they're longer than one line. The best bet to change this appears to be the caption package. Try adding this to your document's preamble: \usepackage[singlelinecheck=off]{caption} For more information about the caption package, see this page: http://www.ctan.org/tex-archive/help/Catalogue/entries/caption.html Jim I'm using 'tables' for placing some of my photos and captions into. Thanks! FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490 More books from Goa :: http://goa1556.goa-india.org/
Re: Captions... can't be justified
It seems that by default captions are centered when they're less than one line long, and justified when they're longer than one line. The best bet to change this appears to be the caption package. Try adding this to your document's preamble: \usepackage[singlelinecheck=off]{caption} For more information about the caption package, see this page: http://www.ctan.org/tex-archive/help/Catalogue/entries/caption.html Jim > > I'm using 'tables' for placing some of my photos and captions into. Thanks! FN > > Frederick Noronha :: +91-9822122436 :: +91-832-2409490 > More books from Goa :: http://goa1556.goa-india.org/ >
Captions... can't be justified
Could anyone help me and let me know why the captions for my photographs can't get justified? They keep getting centralised. I'm using 'tables' for placing some of my photos and captions into. Thanks! FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490 More books from Goa :: http://goa1556.goa-india.org/
Captions... can't be justified
Could anyone help me and let me know why the captions for my photographs can't get justified? They keep getting centralised. I'm using 'tables' for placing some of my photos and captions into. Thanks! FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490 More books from Goa :: http://goa1556.goa-india.org/
Captions... can't be justified
Could anyone help me and let me know why the captions for my photographs can't get justified? They keep getting centralised. I'm using 'tables' for placing some of my photos and captions into. Thanks! FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490 More books from Goa :: http://goa1556.goa-india.org/
Textless captions on program listings.
I'm writing a book using the memoir class, and it has a lot of program listings. I'd like to be able to add captions to these that appear with the form Figure number. However, I don't need to add any text. If you add a caption, you get Listing number: and then you have to add text. Is there a way to accomplish this?
Re: Textless captions on program listings.
I managed to hack together a way around it using title and things provided by the listing package. title={\lstlistingname\space\thelstlisting}
Textless captions on program listings.
I'm writing a book using the memoir class, and it has a lot of program listings. I'd like to be able to add captions to these that appear with the form Figure number. However, I don't need to add any text. If you add a caption, you get Listing number: and then you have to add text. Is there a way to accomplish this?
Re: Textless captions on program listings.
I managed to hack together a way around it using title and things provided by the listing package. title={\lstlistingname\space\thelstlisting}
Textless captions on program listings.
I'm writing a book using the memoir class, and it has a lot of program listings. I'd like to be able to add captions to these that appear with the form "Figure ". However, I don't need to add any text. If you add a caption, you get "Listing : " and then you have to add text. Is there a way to accomplish this?
Re: Textless captions on program listings.
I managed to hack together a way around it using title and things provided by the listing package. title={\lstlistingname\space\thelstlisting}
Point size for captions
Dear all: I'm using the following setting to control the point-size and line-space of my text: \renewcommand{\normalsize}{\fontsize{10pt}{14pt}\selectfont} This works fine for me, except when it comes to captions for photographs. The spacing between lines looks too much. Can you kindly let me know how to reduce the line-space between captions only, while retaining 10/14 for the rest of the text? Many thanks, FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Point size for captions
Dear all: I'm using the following setting to control the point-size and line-space of my text: \renewcommand{\normalsize}{\fontsize{10pt}{14pt}\selectfont} This works fine for me, except when it comes to captions for photographs. The spacing between lines looks too much. Can you kindly let me know how to reduce the line-space between captions only, while retaining 10/14 for the rest of the text? Many thanks, FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Point size for captions
Dear all: I'm using the following setting to control the point-size and line-space of my text: \renewcommand{\normalsize}{\fontsize{10pt}{14pt}\selectfont} This works fine for me, except when it comes to captions for photographs. The spacing between lines looks too much. Can you kindly let me know how to reduce the line-space between captions only, while retaining 10/14 for the rest of the text? Many thanks, FN Frederick Noronha :: +91-9822122436 :: +91-832-2409490
Re: captions to graphics are sometimes centred and sometimes not
On 2010-04-04, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. This is exacly the reason: captions that fit on one line are centered by some layout styles. The KOMA-script documentation (scrguien.pdf) will tell you how you can configure this via document options or code in the LaTeX preamble. Günter
Re: captions to graphics are sometimes centred and sometimes not
On 2010-04-04, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. This is exacly the reason: captions that fit on one line are centered by some layout styles. The KOMA-script documentation (scrguien.pdf) will tell you how you can configure this via document options or code in the LaTeX preamble. Günter
Re: captions to graphics are sometimes centred and sometimes not
On 2010-04-04, Richard Brown wrote: > Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs > insert in floats. Each photograph has a caption. Sometimes the captions are > centred on the page, and sometimes they are left justified- and I can see no > difference whatsoever in the procedure I adopted (Insert float, + insert > graphics) or in the source code. The only difference is that some captions > are longer than others. This is exacly the reason: captions that fit on one line are centered by some layout styles. The KOMA-script documentation (scrguien.pdf) will tell you how you can configure this via document options or code in the LaTeX preamble. Günter
captions to graphics are sometimes centred and sometimes not
Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. For instance, this is centred: % Preview source code for paragraph 43 % \begin{figure}[H] \includegraphics[width=3.65in]{bolzano_esterno} \caption{La sala del commiato a Bolzano.} \end{figure} And this is left justified: % Preview source code for paragraph 45 % \begin{figure}[H] \includegraphics[width=3.65in,height=2.3in]{bolzano_crocefisso} \caption{Bolzano, il catafalco. ~Da notare i simboli religiosi non \protect \\ sono fissi. } \end{figure} Wherein lies the difference? TIA Richard
Re: captions to graphics are sometimes centred and sometimes not
On 4/4/2010 2:06 PM, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. For instance, this is centred: % Preview source code for paragraph 43 % \begin{figure}[H] \includegraphics[width=3.65in]{bolzano_esterno} \caption{La sala del commiato a Bolzano.} \end{figure} And this is left justified: % Preview source code for paragraph 45 % \begin{figure}[H] \includegraphics[width=3.65in,height=2.3in]{bolzano_crocefisso} \caption{Bolzano, il catafalco. ~Da notare i simboli religiosi non \protect \\ sono fissi. } \end{figure} Wherein lies the difference? Can't reproduce it here. Can you post a barebones example (minimal LyX file)? I notice that you are not centering the images within the floats, so the images will be left-justified. When I do it here, though, the captions are centered. (Also, the second caption is a single line here. Is it supposed to be two lines for you?) /Paul
captions to graphics are sometimes centred and sometimes not
Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. For instance, this is centred: % Preview source code for paragraph 43 % \begin{figure}[H] \includegraphics[width=3.65in]{bolzano_esterno} \caption{La sala del commiato a Bolzano.} \end{figure} And this is left justified: % Preview source code for paragraph 45 % \begin{figure}[H] \includegraphics[width=3.65in,height=2.3in]{bolzano_crocefisso} \caption{Bolzano, il catafalco. ~Da notare i simboli religiosi non \protect \\ sono fissi. } \end{figure} Wherein lies the difference? TIA Richard
Re: captions to graphics are sometimes centred and sometimes not
On 4/4/2010 2:06 PM, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. For instance, this is centred: % Preview source code for paragraph 43 % \begin{figure}[H] \includegraphics[width=3.65in]{bolzano_esterno} \caption{La sala del commiato a Bolzano.} \end{figure} And this is left justified: % Preview source code for paragraph 45 % \begin{figure}[H] \includegraphics[width=3.65in,height=2.3in]{bolzano_crocefisso} \caption{Bolzano, il catafalco. ~Da notare i simboli religiosi non \protect \\ sono fissi. } \end{figure} Wherein lies the difference? Can't reproduce it here. Can you post a barebones example (minimal LyX file)? I notice that you are not centering the images within the floats, so the images will be left-justified. When I do it here, though, the captions are centered. (Also, the second caption is a single line here. Is it supposed to be two lines for you?) /Paul
captions to graphics are sometimes centred and sometimes not
Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. For instance, this is centred: % Preview source code for paragraph 43 % \begin{figure}[H] \includegraphics[width=3.65in]{bolzano_esterno} \caption{La sala del commiato a Bolzano.} \end{figure} And this is left justified: % Preview source code for paragraph 45 % \begin{figure}[H] \includegraphics[width=3.65in,height=2.3in]{bolzano_crocefisso} \caption{Bolzano, il catafalco. ~Da notare i simboli religiosi non \protect \\ sono fissi. } \end{figure} Wherein lies the difference? TIA Richard
Re: captions to graphics are sometimes centred and sometimes not
On 4/4/2010 2:06 PM, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. For instance, this is centred: % Preview source code for paragraph 43 % \begin{figure}[H] \includegraphics[width=3.65in]{bolzano_esterno} \caption{La sala del commiato a Bolzano.} \end{figure} And this is left justified: % Preview source code for paragraph 45 % \begin{figure}[H] \includegraphics[width=3.65in,height=2.3in]{bolzano_crocefisso} \caption{Bolzano, il catafalco. ~Da notare i simboli religiosi non \protect \\ sono fissi. } \end{figure} Wherein lies the difference? Can't reproduce it here. Can you post a barebones example (minimal LyX file)? I notice that you are not centering the images within the floats, so the images will be left-justified. When I do it here, though, the captions are centered. (Also, the second caption is a single line here. Is it supposed to be two lines for you?) /Paul
TOC spaces with alnumsec / no new page after chapter(part) / space after and before captions / one and half spacing (word)
Hello guys, I've stated using lyx about two months ago, and mostly try to help myself via internet and Koma-Script documentation, but I'm still a beginner and lack some understanding with latex. This is a long email with a lot of information for 4 problems. Please tell me if it would be wiser to split it up in four emails. For my momentary homework I'stuck with a couple of problems I can't find a satisfying solution. I hope you can help me on these. There are some fixed layout rules for German law homeworks, I'll need to stick to them, even though they screw up the layout. I use document-class: report (koma-script). The version is the repository installed somewhat older version of koma for Ubuntu. Problem 1: I use the package alnumsec to change the caption numbering the way I need it. This increases the space in the the space between number and title in the table of contents, how can I undo this (the annex picture should clarify my problem). Preamble: \usepackage{alnumsec} \surroundarabic[(][)]{}{.} \otherseparators{6} \alnumsecstyle{LRnldg} Problem 2: As I need a lot of sections for a law homework, I need to use chapter and if possible part as additional sections. I have a maximum space of 25 pages, so space is limited. How can I stop chapter and part from starting a new page. Problem 3: Out of the same reason as Problem 2 I want to limit space before and after all captions to the normal space between lines. My goal is font size 12, bold, OneHalf space between lines for all captions (From part to subparagraph). I use smallheading as a documentclass - option upto now, but it still takes too much space. I've tried renewcommand for the space before and after chapter, but I'd like to understand how I can tell lyx to reduce spaces to the OneHalf line spacing in the normal text: \renewcommand*{\chapterheadstartvskip}{\vspace{-1.0cm}} \renewcommand*{\chapterheadendvskip}{\vspace{0.5cm}} Problem 4: As it is required I need the OneHhalf space between all lines Open Office and word use. Now if I use font size 12 Times Roman and OneHalf line spacing in lyx, and Times New Roman and OneHalf line spacing in Open Office I get different line spaces if the document is exported as a pdf. I tried using setspace, but it didn't change to the required space: \usepackage{setspace} \onehalfspacing Is this a known problem? Otherwise I'll just set the line spacing to an individual distance, after visual judgement. Sorry for the long mail. I'd be really grateful if someone could help me out. Thanks ahead, Axel attachment: TOC.gif
TOC spaces with alnumsec / no new page after chapter(part) / space after and before captions / one and half spacing (word)
Hello guys, I've stated using lyx about two months ago, and mostly try to help myself via internet and Koma-Script documentation, but I'm still a beginner and lack some understanding with latex. This is a long email with a lot of information for 4 problems. Please tell me if it would be wiser to split it up in four emails. For my momentary homework I'stuck with a couple of problems I can't find a satisfying solution. I hope you can help me on these. There are some fixed layout rules for German law homeworks, I'll need to stick to them, even though they screw up the layout. I use document-class: report (koma-script). The version is the repository installed somewhat older version of koma for Ubuntu. Problem 1: I use the package alnumsec to change the caption numbering the way I need it. This increases the space in the the space between number and title in the table of contents, how can I undo this (the annex picture should clarify my problem). Preamble: \usepackage{alnumsec} \surroundarabic[(][)]{}{.} \otherseparators{6} \alnumsecstyle{LRnldg} Problem 2: As I need a lot of sections for a law homework, I need to use chapter and if possible part as additional sections. I have a maximum space of 25 pages, so space is limited. How can I stop chapter and part from starting a new page. Problem 3: Out of the same reason as Problem 2 I want to limit space before and after all captions to the normal space between lines. My goal is font size 12, bold, OneHalf space between lines for all captions (From part to subparagraph). I use smallheading as a documentclass - option upto now, but it still takes too much space. I've tried renewcommand for the space before and after chapter, but I'd like to understand how I can tell lyx to reduce spaces to the OneHalf line spacing in the normal text: \renewcommand*{\chapterheadstartvskip}{\vspace{-1.0cm}} \renewcommand*{\chapterheadendvskip}{\vspace{0.5cm}} Problem 4: As it is required I need the OneHhalf space between all lines Open Office and word use. Now if I use font size 12 Times Roman and OneHalf line spacing in lyx, and Times New Roman and OneHalf line spacing in Open Office I get different line spaces if the document is exported as a pdf. I tried using setspace, but it didn't change to the required space: \usepackage{setspace} \onehalfspacing Is this a known problem? Otherwise I'll just set the line spacing to an individual distance, after visual judgement. Sorry for the long mail. I'd be really grateful if someone could help me out. Thanks ahead, Axel attachment: TOC.gif
TOC spaces with alnumsec / no new page after chapter(part) / space after and before captions / one and half spacing (word)
Hello guys, I've stated using lyx about two months ago, and mostly try to help myself via internet and Koma-Script documentation, but I'm still a beginner and lack some understanding with latex. This is a long email with a lot of information for 4 problems. Please tell me if it would be wiser to split it up in four emails. For my momentary homework I'stuck with a couple of problems I can't find a satisfying solution. I hope you can help me on these. There are some fixed layout rules for German law homeworks, I'll need to stick to them, even though they screw up the layout. I use document-class: report (koma-script). The version is the repository installed somewhat older version of koma for Ubuntu. Problem 1: I use the package alnumsec to change the caption numbering the way I need it. This increases the space in the the space between number and title in the table of contents, how can I undo this (the annex picture should clarify my problem). Preamble: \usepackage{alnumsec} \surroundarabic[(][)]{}{.} \otherseparators{6} \alnumsecstyle{LRnldg} Problem 2: As I need a lot of sections for a law homework, I need to use chapter and if possible part as additional sections. I have a maximum space of 25 pages, so space is limited. How can I stop chapter and part from starting a new page. Problem 3: Out of the same reason as Problem 2 I want to limit space before and after all captions to the normal space between lines. My goal is font size 12, bold, OneHalf space between lines for all captions (From part to subparagraph). I use "smallheading" as a documentclass - option upto now, but it still takes too much space. I've tried renewcommand for the space before and after chapter, but I'd like to understand how I can tell lyx to reduce spaces to the OneHalf line spacing in the normal text: \renewcommand*{\chapterheadstartvskip}{\vspace{-1.0cm}} \renewcommand*{\chapterheadendvskip}{\vspace{0.5cm}} Problem 4: As it is required I need the OneHhalf space between all lines Open Office and word use. Now if I use font size 12 "Times Roman" and "OneHalf" line spacing in lyx, and "Times New Roman" and "OneHalf" line spacing in Open Office I get different line spaces if the document is exported as a pdf. I tried using setspace, but it didn't change to the required space: \usepackage{setspace} \onehalfspacing Is this a known problem? Otherwise I'll just set the line spacing to an individual distance, after visual judgement. Sorry for the long mail. I'd be really grateful if someone could help me out. Thanks ahead, Axel <>
Captions
Hi! Does anybody know, how can get rid of the indentations in my float caption texts (for both figures and tables)? Figure 1: Now my text looks like this, here begins the 2nd line of the caption. Figure 2: And I would like to have something like this, where there isn't an indent in the 2nd line. Document-class: book(KOMA-script) LYX version 1.6.3 for Windows. I have tried different things I found on the internet, both ERT and commands for the preamble but so far nothing has worked out - either nothing happens or I get lots and lots of errors. I have looked in the KOMA-manual but I just don't undrstand it- I basically needs an explanation for dummies :D It should be mentioned that I already have this defined in the preamble: \usepackage[dvips=false% ,pdftex=false% ,vtex=false% ,twoside% ,papersize={170mm,240mm}% --- A4 with 20mm cut on both sides and 28.8mm cut top and bottom ,hdivide={24mm,*,24mm}% --- 122mm text width, 24mm margin both sides (no binding edge!) ,vdivide={11.5mm,*,17.5mm}% --- 28.5+11.5=40mm from top of A4 to text (46mm at bottom) ,includehead% ,includefoot% ]{geometry} \usepackage[a4,cam,axes,noinfo,center]{crop} % For printing crop-marks on a4 manuscript \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\uppercase{#1}}{}} \renewcommand{\sectionmark}[1]{\markright{\uppercase{#1}}} \fancyhf{} \fancyhead[LE,RO]{\small \thepage} % Left on Even numbered pages Right on Odd \fancyhead[LO]{\small \slshape \rightmark} % Left on Odd (Right-hand page) \fancyhead[RE]{\small \slshape \leftmark} % Right on Even (Left-hand page) \renewcommand{\headrulewidth}{0.5pt} I really hope someone can help me with this and please give me the dummy-version :D image/jpeg
Re: Captions
Hi, the most effective way (as far as I know) to customise float capions is to use the package caption which provides several options. I use it in connection withLyX and the KOMA script report class and I obtain what I want. If it is not included in your LaTeX distribution you can download it from: http://www.ctan.org/tex-archive/macros/latex/contrib/caption/ and install in your computer. Then in you preamble you should put the following lines: \usepackage{caption} \captionsetup[table]{format=plain,skip=\medskipamount} % for tables \captionsetup[figure]{format=plainskip=\medskipamount} %for figures Check the documentation with all the options you can use at http://www.ctan.org/get/macros/latex/contrib/caption/caption-eng.pdf Best wishes Pierfranco 2009/8/21 solvi.natl...@uis.no Hi! Does anybody know, how can get rid of the indentations in my float caption texts (for both figures and tables)? Figure 1:Now my text looks like this, here begins the 2nd line of the caption. Figure 2:And I would like to have something like this, where there isn't an indent in the 2nd line. Document-class: book(KOMA-script) LYX version 1.6.3 for Windows. I have tried different things I found on the internet, both ERT and commands for the preamble but so far nothing has worked out - either nothing happens or I get lots and lots of errors. I have looked in the KOMA-manual but I just don't undrstand it- I basically needs an explanation for dummies :D It should be mentioned that I already have this defined in the preamble: \usepackage[dvips=false% ,pdftex=false% ,vtex=false% ,twoside% ,papersize={170mm,240mm}% --- A4 with 20mm cut on both sides and 28.8mm cut top and bottom ,hdivide={24mm,*,24mm}% --- 122mm text width, 24mm margin both sides (no binding edge!) ,vdivide={11.5mm,*,17.5mm}% --- 28.5+11.5=40mm from top of A4 to text (46mm at bottom) ,includehead% ,includefoot% ]{geometry} \usepackage[a4,cam,axes,noinfo,center]{crop} % For printing crop-marks on a4 manuscript \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\uppercase{#1}}{}} \renewcommand{\sectionmark}[1]{\markright{\uppercase{#1}}} \fancyhf{} \fancyhead[LE,RO]{\small \thepage} % Left on Even numbered pages Right on Odd \fancyhead[LO]{\small \slshape \rightmark} % Left on Odd (Right-hand page) \fancyhead[RE]{\small \slshape \leftmark} % Right on Even (Left-hand page) \renewcommand{\headrulewidth}{0.5pt} I really hope someone can help me with this and please give me the dummy-version :D
Re: Captions
Am Friday 21 August 2009 11:28:40 schrieb solvi.natl...@uis.no: Hi! Does anybody know, how can get rid of the indentations in my float caption texts (for both figures and tables)? Figure 1: Now my text looks like this, here begins the 2nd line of the caption. Figure 2: And I would like to have something like this, where there isn't an indent in the 2nd line. Document-class: book(KOMA-script) LYX version 1.6.3 for Windows. I am using \setcapindent{0mm} in the preamble under book(KOMA-script) ( LYX version 1.6.3 for Linux) Wolfgang I have tried different things I found on the internet, both ERT and commands for the preamble but so far nothing has worked out - either nothing happens or I get lots and lots of errors. I have looked in the KOMA-manual but I just don't undrstand it- I basically needs an explanation for dummies :D It should be mentioned that I already have this defined in the preamble: \usepackage[dvips=false% ,pdftex=false% ,vtex=false% ,twoside% ,papersize={170mm,240mm}% --- A4 with 20mm cut on both sides and 28.8mm cut top and bottom ,hdivide={24mm,*,24mm}% --- 122mm text width, 24mm margin both sides (no binding edge!) ,vdivide={11.5mm,*,17.5mm}% --- 28.5+11.5=40mm from top of A4 to text (46mm at bottom) ,includehead% ,includefoot% ]{geometry} \usepackage[a4,cam,axes,noinfo,center]{crop} % For printing crop-marks on a4 manuscript \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\uppercase{#1}}{}} \renewcommand{\sectionmark}[1]{\markright{\uppercase{#1}}} \fancyhf{} \fancyhead[LE,RO]{\small \thepage} % Left on Even numbered pages Right on Odd \fancyhead[LO]{\small \slshape \rightmark} % Left on Odd (Right-hand page) \fancyhead[RE]{\small \slshape \leftmark} % Right on Even (Left-hand page) \renewcommand{\headrulewidth}{0.5pt} I really hope someone can help me with this and please give me the dummy-version :D -- - Wolfgang Engelmann Schlossgartenstrasse 22 D-72070 Tübingen Tel 07071 68325
Captions
Hi! Does anybody know, how can get rid of the indentations in my float caption texts (for both figures and tables)? Figure 1: Now my text looks like this, here begins the 2nd line of the caption. Figure 2: And I would like to have something like this, where there isn't an indent in the 2nd line. Document-class: book(KOMA-script) LYX version 1.6.3 for Windows. I have tried different things I found on the internet, both ERT and commands for the preamble but so far nothing has worked out - either nothing happens or I get lots and lots of errors. I have looked in the KOMA-manual but I just don't undrstand it- I basically needs an explanation for dummies :D It should be mentioned that I already have this defined in the preamble: \usepackage[dvips=false% ,pdftex=false% ,vtex=false% ,twoside% ,papersize={170mm,240mm}% --- A4 with 20mm cut on both sides and 28.8mm cut top and bottom ,hdivide={24mm,*,24mm}% --- 122mm text width, 24mm margin both sides (no binding edge!) ,vdivide={11.5mm,*,17.5mm}% --- 28.5+11.5=40mm from top of A4 to text (46mm at bottom) ,includehead% ,includefoot% ]{geometry} \usepackage[a4,cam,axes,noinfo,center]{crop} % For printing crop-marks on a4 manuscript \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\uppercase{#1}}{}} \renewcommand{\sectionmark}[1]{\markright{\uppercase{#1}}} \fancyhf{} \fancyhead[LE,RO]{\small \thepage} % Left on Even numbered pages Right on Odd \fancyhead[LO]{\small \slshape \rightmark} % Left on Odd (Right-hand page) \fancyhead[RE]{\small \slshape \leftmark} % Right on Even (Left-hand page) \renewcommand{\headrulewidth}{0.5pt} I really hope someone can help me with this and please give me the dummy-version :D image/jpeg
Re: Captions
Hi, the most effective way (as far as I know) to customise float capions is to use the package caption which provides several options. I use it in connection withLyX and the KOMA script report class and I obtain what I want. If it is not included in your LaTeX distribution you can download it from: http://www.ctan.org/tex-archive/macros/latex/contrib/caption/ and install in your computer. Then in you preamble you should put the following lines: \usepackage{caption} \captionsetup[table]{format=plain,skip=\medskipamount} % for tables \captionsetup[figure]{format=plainskip=\medskipamount} %for figures Check the documentation with all the options you can use at http://www.ctan.org/get/macros/latex/contrib/caption/caption-eng.pdf Best wishes Pierfranco 2009/8/21 solvi.natl...@uis.no Hi! Does anybody know, how can get rid of the indentations in my float caption texts (for both figures and tables)? Figure 1:Now my text looks like this, here begins the 2nd line of the caption. Figure 2:And I would like to have something like this, where there isn't an indent in the 2nd line. Document-class: book(KOMA-script) LYX version 1.6.3 for Windows. I have tried different things I found on the internet, both ERT and commands for the preamble but so far nothing has worked out - either nothing happens or I get lots and lots of errors. I have looked in the KOMA-manual but I just don't undrstand it- I basically needs an explanation for dummies :D It should be mentioned that I already have this defined in the preamble: \usepackage[dvips=false% ,pdftex=false% ,vtex=false% ,twoside% ,papersize={170mm,240mm}% --- A4 with 20mm cut on both sides and 28.8mm cut top and bottom ,hdivide={24mm,*,24mm}% --- 122mm text width, 24mm margin both sides (no binding edge!) ,vdivide={11.5mm,*,17.5mm}% --- 28.5+11.5=40mm from top of A4 to text (46mm at bottom) ,includehead% ,includefoot% ]{geometry} \usepackage[a4,cam,axes,noinfo,center]{crop} % For printing crop-marks on a4 manuscript \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\uppercase{#1}}{}} \renewcommand{\sectionmark}[1]{\markright{\uppercase{#1}}} \fancyhf{} \fancyhead[LE,RO]{\small \thepage} % Left on Even numbered pages Right on Odd \fancyhead[LO]{\small \slshape \rightmark} % Left on Odd (Right-hand page) \fancyhead[RE]{\small \slshape \leftmark} % Right on Even (Left-hand page) \renewcommand{\headrulewidth}{0.5pt} I really hope someone can help me with this and please give me the dummy-version :D
Re: Captions
Am Friday 21 August 2009 11:28:40 schrieb solvi.natl...@uis.no: Hi! Does anybody know, how can get rid of the indentations in my float caption texts (for both figures and tables)? Figure 1: Now my text looks like this, here begins the 2nd line of the caption. Figure 2: And I would like to have something like this, where there isn't an indent in the 2nd line. Document-class: book(KOMA-script) LYX version 1.6.3 for Windows. I am using \setcapindent{0mm} in the preamble under book(KOMA-script) ( LYX version 1.6.3 for Linux) Wolfgang I have tried different things I found on the internet, both ERT and commands for the preamble but so far nothing has worked out - either nothing happens or I get lots and lots of errors. I have looked in the KOMA-manual but I just don't undrstand it- I basically needs an explanation for dummies :D It should be mentioned that I already have this defined in the preamble: \usepackage[dvips=false% ,pdftex=false% ,vtex=false% ,twoside% ,papersize={170mm,240mm}% --- A4 with 20mm cut on both sides and 28.8mm cut top and bottom ,hdivide={24mm,*,24mm}% --- 122mm text width, 24mm margin both sides (no binding edge!) ,vdivide={11.5mm,*,17.5mm}% --- 28.5+11.5=40mm from top of A4 to text (46mm at bottom) ,includehead% ,includefoot% ]{geometry} \usepackage[a4,cam,axes,noinfo,center]{crop} % For printing crop-marks on a4 manuscript \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\uppercase{#1}}{}} \renewcommand{\sectionmark}[1]{\markright{\uppercase{#1}}} \fancyhf{} \fancyhead[LE,RO]{\small \thepage} % Left on Even numbered pages Right on Odd \fancyhead[LO]{\small \slshape \rightmark} % Left on Odd (Right-hand page) \fancyhead[RE]{\small \slshape \leftmark} % Right on Even (Left-hand page) \renewcommand{\headrulewidth}{0.5pt} I really hope someone can help me with this and please give me the dummy-version :D -- - Wolfgang Engelmann Schlossgartenstrasse 22 D-72070 Tübingen Tel 07071 68325
Captions
Hi! Does anybody know, how can get rid of the indentations in my float caption texts (for both figures and tables)? Figure 1: Now my text looks like this, here begins the 2nd line of the caption. Figure 2: And I would like to have something like this, where there isn't an indent in the 2nd line. Document-class: book(KOMA-script) LYX version 1.6.3 for Windows. I have tried different things I found on the internet, both ERT and commands for the preamble but so far nothing has worked out - either nothing happens or I get lots and lots of errors. I have looked in the KOMA-manual but I just don't undrstand it- I basically needs an explanation for dummies :D It should be mentioned that I already have this defined in the preamble: \usepackage[dvips=false% ,pdftex=false% ,vtex=false% ,twoside% ,papersize={170mm,240mm}% --- A4 with 20mm cut on both sides and 28.8mm cut top and bottom ,hdivide={24mm,*,24mm}% --- 122mm text width, 24mm margin both sides (no binding edge!) ,vdivide={11.5mm,*,17.5mm}% --- 28.5+11.5=40mm from top of A4 to text (46mm at bottom) ,includehead% ,includefoot% ]{geometry} \usepackage[a4,cam,axes,noinfo,center]{crop} % For printing crop-marks on a4 manuscript \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\chaptermark}[1]{\markboth{\uppercase{#1}}{}} \renewcommand{\sectionmark}[1]{\markright{\uppercase{#1}}} \fancyhf{} \fancyhead[LE,RO]{\small \thepage} % Left on Even numbered pages & Right on Odd \fancyhead[LO]{\small \slshape \rightmark} % Left on Odd (Right-hand page) \fancyhead[RE]{\small \slshape \leftmark} % Right on Even (Left-hand page) \renewcommand{\headrulewidth}{0.5pt} I really hope someone can help me with this and please give me the dummy-version :D <>
Re: Captions
Hi, the most effective way (as far as I know) to customise float capions is to use the package caption which provides several options. I use it in connection withLyX and the KOMA script report class and I obtain what I want. If it is not included in your LaTeX distribution you can download it from: http://www.ctan.org/tex-archive/macros/latex/contrib/caption/ and install in your computer. Then in you preamble you should put the following lines: \usepackage{caption} \captionsetup[table]{format=plain,skip=\medskipamount} % for tables \captionsetup[figure]{format=plainskip=\medskipamount} %for figures Check the documentation with all the options you can use at http://www.ctan.org/get/macros/latex/contrib/caption/caption-eng.pdf Best wishes Pierfranco 2009/8/21> > Hi! > > Does anybody know, how can get rid of the indentations in my float caption > texts (for both figures and tables)? > > Figure 1:Now my text looks like this, >here begins the 2nd line of the caption. > > Figure 2:And I would like to have something like > this, where there isn't an indent in the 2nd line. > > Document-class: book(KOMA-script) > LYX version 1.6.3 for Windows. > > I have tried different things I found on the internet, both ERT and > commands for the preamble but so far nothing has worked out - either nothing > happens or I get lots and lots of errors. I have looked in the KOMA-manual > but I just don't undrstand it- I basically needs an explanation for dummies > :D > > It should be mentioned that I already have this defined in the preamble: > > \usepackage[dvips=false% > ,pdftex=false% > ,vtex=false% > ,twoside% > ,papersize={170mm,240mm}% --- A4 with 20mm cut on both sides and 28.8mm cut > top and bottom > ,hdivide={24mm,*,24mm}% --- 122mm text width, 24mm margin both sides (no > binding edge!) > ,vdivide={11.5mm,*,17.5mm}% --- 28.5+11.5=40mm from top of A4 to text (46mm > at bottom) > ,includehead% > ,includefoot% > ]{geometry} > \usepackage[a4,cam,axes,noinfo,center]{crop} % For printing crop-marks on > a4 manuscript > \usepackage{fancyhdr} > \pagestyle{fancy} > \renewcommand{\chaptermark}[1]{\markboth{\uppercase{#1}}{}} > \renewcommand{\sectionmark}[1]{\markright{\uppercase{#1}}} > \fancyhf{} > \fancyhead[LE,RO]{\small \thepage} % Left on Even numbered pages & Right on > Odd > \fancyhead[LO]{\small \slshape \rightmark} % Left on Odd (Right-hand page) > \fancyhead[RE]{\small \slshape \leftmark} % Right on Even (Left-hand page) > \renewcommand{\headrulewidth}{0.5pt} > > I really hope someone can help me with this and please give me the > dummy-version :D > > > >
Re: Captions
Am Friday 21 August 2009 11:28:40 schrieb solvi.natl...@uis.no: > Hi! > > Does anybody know, how can get rid of the indentations in my float caption > texts (for both figures and tables)? > > Figure 1: Now my text looks like this, > here begins the 2nd line of the caption. > > Figure 2: And I would like to have something like > this, where there isn't an indent in the 2nd line. > > Document-class: book(KOMA-script) > LYX version 1.6.3 for Windows. > I am using \setcapindent{0mm} in the preamble under book(KOMA-script) ( LYX version 1.6.3 for Linux) Wolfgang > I have tried different things I found on the internet, both ERT and > commands for the preamble but so far nothing has worked out - either > nothing happens or I get lots and lots of errors. I have looked in the > KOMA-manual but I just don't undrstand it- I basically needs an > explanation for dummies :D > > It should be mentioned that I already have this defined in the preamble: > > \usepackage[dvips=false% > ,pdftex=false% > ,vtex=false% > ,twoside% > ,papersize={170mm,240mm}% --- A4 with 20mm cut on both sides and 28.8mm > cut top and bottom > ,hdivide={24mm,*,24mm}% --- 122mm text width, 24mm margin both sides (no > binding edge!) > ,vdivide={11.5mm,*,17.5mm}% --- 28.5+11.5=40mm from top of A4 to text > (46mm at bottom) > ,includehead% > ,includefoot% > ]{geometry} > \usepackage[a4,cam,axes,noinfo,center]{crop} % For printing crop-marks on > a4 manuscript > \usepackage{fancyhdr} > \pagestyle{fancy} > \renewcommand{\chaptermark}[1]{\markboth{\uppercase{#1}}{}} > \renewcommand{\sectionmark}[1]{\markright{\uppercase{#1}}} > \fancyhf{} > \fancyhead[LE,RO]{\small \thepage} % Left on Even numbered pages & Right > on Odd > \fancyhead[LO]{\small \slshape \rightmark} % Left on Odd (Right-hand page) > \fancyhead[RE]{\small \slshape \leftmark} % Right on Even (Left-hand page) > \renewcommand{\headrulewidth}{0.5pt} > > I really hope someone can help me with this and please give me the > dummy-version :D -- - Wolfgang Engelmann Schlossgartenstrasse 22 D-72070 Tübingen Tel 07071 68325
Changing the font size in the captions
Is it possible to change the size of the font used in all the captions of images and tables in the document? Thanks!
Re: Changing the font size in the captions
Hi, You change in documentssettingsfontsbase size [to whatever you like] this changes the fonts size of captions ... erez On Thu, Jul 30, 2009 at 3:10 PM, Luca Carlon carlon.l...@gmail.com wrote: Is it possible to change the size of the font used in all the captions of images and tables in the document? Thanks! -- Erez Yerushalmi PhD Student Warwick University, UK homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw