Re: Figure and table side by side
Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. I stumbeled over a solution, different from the other proposed, when reading the manual for memoir (which is excellent). Here is the way I think it should be solved. Assuming the first is figure and the second is a table: 1) insert a figure float 2) Insert two minipages side by side, adjusting their widths (alternatively a table) 3) insert the graphics and the table 4) on the row after graphis and table inside the minimpages create a caption where the caption text is placed. 5) In the minipage with table insert an ERT with the following [EMAIL PROTECTED] Done! The ERT will tell the caption typesetter that then next caption should be a table. I'll put this on the wiki as well. /johan
Re: Figure and table side by side
Johan Ingvast wrote: Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. I stumbeled over a solution, different from the other proposed, when reading the manual for memoir (which is excellent). Here is the way I think it should be solved. Assuming the first is figure and the second is a table: 1) insert a figure float 2) Insert two minipages side by side, adjusting their widths (alternatively a table) 3) insert the graphics and the table 4) on the row after graphis and table inside the minimpages create a caption where the caption text is placed. 5) In the minipage with table insert an ERT with the following [EMAIL PROTECTED] using package capt-of allows \captionof{table}{the caption tex} Herbert
Re: Figure and table side by side
5) In the minipage with table insert an ERT with the following [EMAIL PROTECTED] using package capt-of allows \captionof{table}{the caption tex} I thought there was such a solution. I just could not find it. Thanks, I'll add this to the wiki instead. /johan
Re: Figure and table side by side
Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. I stumbeled over a solution, different from the other proposed, when reading the manual for memoir (which is excellent). Here is the way I think it should be solved. Assuming the first is figure and the second is a table: 1) insert a figure float 2) Insert two minipages side by side, adjusting their widths (alternatively a table) 3) insert the graphics and the table 4) on the row after graphis and table inside the minimpages create a caption where the caption text is placed. 5) In the minipage with table insert an ERT with the following [EMAIL PROTECTED] Done! The ERT will tell the caption typesetter that then next caption should be a table. I'll put this on the wiki as well. /johan
Re: Figure and table side by side
Johan Ingvast wrote: Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. I stumbeled over a solution, different from the other proposed, when reading the manual for memoir (which is excellent). Here is the way I think it should be solved. Assuming the first is figure and the second is a table: 1) insert a figure float 2) Insert two minipages side by side, adjusting their widths (alternatively a table) 3) insert the graphics and the table 4) on the row after graphis and table inside the minimpages create a caption where the caption text is placed. 5) In the minipage with table insert an ERT with the following [EMAIL PROTECTED] using package capt-of allows \captionof{table}{the caption tex} Herbert
Re: Figure and table side by side
5) In the minipage with table insert an ERT with the following [EMAIL PROTECTED] using package capt-of allows \captionof{table}{the caption tex} I thought there was such a solution. I just could not find it. Thanks, I'll add this to the wiki instead. /johan
Re: Figure and table side by side
Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. I stumbeled over a solution, different from the other proposed, when reading the manual for memoir (which is excellent). Here is the way I think it should be solved. Assuming the first is figure and the second is a table: 1) insert a figure float 2) Insert two minipages side by side, adjusting their widths (alternatively a table) 3) insert the graphics and the table 4) on the row after graphis and table inside the minimpages create a caption where the caption text is placed. 5) In the minipage with table insert an ERT with the following [EMAIL PROTECTED] Done! The ERT will tell the caption typesetter that then next caption should be a table. I'll put this on the wiki as well. /johan
Re: Figure and table side by side
Johan Ingvast wrote: > Johan Ingvast wrote: >> Hi >> Since I don't want to spend too much space in my article, I'd like to >> have a table just next to a figure inside one float. >> >> I want a figure caption on the figure and a table caption on the table. >> >> I've tried different ways but not come up with a satisfying solution. >> I've scanned the archives but not found anything but how to put two >> figures/tables side by side, not the both kinds at the same time. >> >> >> The best I found was to use the nofloat package which has defined >> tabcaption and figcaption separately. This made it possible to make a >> one by two table inside a figure environmen, set a fixed width of each >> column and insert the table and figures inside the cells. >> >> Then manually creating the captions by placing >> ERT: \tabcaption{My table caption} >> in the first cell. And >> ERT: \figcaption{My figure caption} >> in the second cell. >> This is ok, however, I'm not convinced that the nofloat package screws >> other things up. > > > I stumbeled over a solution, different from the other proposed, when > reading the manual for memoir (which is excellent). > Here is the way I think it should be solved. Assuming the first is > figure and the second is a table: > > 1) insert a figure float > 2) Insert two minipages side by side, adjusting their widths > (alternatively a table) > 3) insert the graphics and the table > 4) on the row after graphis and table inside the minimpages create a > caption where the caption text is placed. > 5) In the minipage with table insert an ERT with the following > [EMAIL PROTECTED] using package capt-of allows \captionof{table}{the caption tex} Herbert
Re: Figure and table side by side
5) In the minipage with table insert an ERT with the following [EMAIL PROTECTED] using package capt-of allows \captionof{table}{the caption tex} I thought there was such a solution. I just could not find it. Thanks, I'll add this to the wiki instead. /johan
Re: Figure and table side by side
Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the Here definitely placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting #LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/ \lyxformat 244 \begin_document \begin_header \textclass scrartcl \begin_preamble \usepackage{lmodern} \usepackage{multicol} \end_preamble \language norsk \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \backslash begin{multicols}{2} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement H wide false sideways false status open \begin_layout Standard Figure float. \end_layout \begin_layout Standard Didn't bother with the actual figure, just some text \SpecialChar \ldots{} \end_layout \begin_layout Caption figure-caption \end_layout \end_inset \begin_inset Float table placement H wide false sideways false status open \begin_layout Standard \align center \begin_inset Tabular lyxtabular version=3 rows=5 columns=5 features column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true rightline=true width=0 row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard t \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell /row row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none a \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell /row row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset
Re: Figure and table side by side
On Monday 24 October 2005 15:37, Helge Hafting wrote: Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the Here definitely placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting Thats an elegant solution. Is it possible we can have this on the wiki? best regards samar
Re: Figure and table side by side
Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the Here definitely placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting #LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/ \lyxformat 244 \begin_document \begin_header \textclass scrartcl \begin_preamble \usepackage{lmodern} \usepackage{multicol} \end_preamble \language norsk \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \backslash begin{multicols}{2} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement H wide false sideways false status open \begin_layout Standard Figure float. \end_layout \begin_layout Standard Didn't bother with the actual figure, just some text \SpecialChar \ldots{} \end_layout \begin_layout Caption figure-caption \end_layout \end_inset \begin_inset Float table placement H wide false sideways false status open \begin_layout Standard \align center \begin_inset Tabular lyxtabular version=3 rows=5 columns=5 features column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true width=0 column alignment=center valignment=top leftline=true rightline=true width=0 row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard t \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell /row row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none a \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true rightline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell /row row topline=true cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset Text \begin_layout Standard \end_layout \end_inset /cell cell alignment=center valignment=top topline=true leftline=true usebox=none \begin_inset
Re: Figure and table side by side
On Monday 24 October 2005 15:37, Helge Hafting wrote: Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the Here definitely placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting Thats an elegant solution. Is it possible we can have this on the wiki? best regards samar
Re: Figure and table side by side
Johan Ingvast wrote: Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become "Figure" and vice versa. /johan This works for me: 1. In the preamble: \usepackage{multicol} 2. Before your figures, in ERT: \begin{multicols}{2} 3. Then the figure float with the figure, followed by the table float with the table. In both floats, check the "Here definitely" placement options. They should otherwise be normal floats. 4. After your floats: \end{multicols} Now your two floats will be placed side by side because that section of the document is set with two columns. You will get a table caption and a figure caption, as you really have two ordinary floats. Example attached. I don't know what happens if the floats appear near the bottom of a page, you may have to tweak placement yourself instead of relying on auto placement. Helge Hafting #LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/ \lyxformat 244 \begin_document \begin_header \textclass scrartcl \begin_preamble \usepackage{lmodern} \usepackage{multicol} \end_preamble \language norsk \inputencoding auto \fontscheme default \graphics default \paperfontsize default \spacing single \papersize default \use_geometry false \use_amsmath 1 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language french \quotes_times 2 \papercolumns 1 \papersides 1 \paperpagestyle default \tracking_changes false \output_changes false \end_header \begin_body \begin_layout Standard Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text Ordinary text \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \backslash begin{multicols}{2} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement H wide false sideways false status open \begin_layout Standard Figure float. \end_layout \begin_layout Standard Didn't bother with the actual figure, just some text \SpecialChar \ldots{} \end_layout \begin_layout Caption figure-caption \end_layout \end_inset \begin_inset Float table placement H wide false sideways false status open \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Standard t \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none a \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none b \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none l \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \end_layout \end_inset \begin_inset Text \begin_layout Standard \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none e \end_layout \end_inset \end_inset \end_layout \begin_layout Caption \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none table-caption \end_layout
Re: Figure and table side by side
On Monday 24 October 2005 15:37, Helge Hafting wrote: > Johan Ingvast wrote: > > Yes, that's an alternative from using the 1 x 2 table. But my problem > > is with the captions. I want a table caption for the table and a > > figure caption for the figure. If I put everything in a figure float > > both captions will become "Figure" and vice versa. > > /johan > > This works for me: > > 1. In the preamble: \usepackage{multicol} > > 2. Before your figures, in ERT: \begin{multicols}{2} > > 3. Then the figure float with the figure, followed by the table > float with the table. In both floats, check the "Here definitely" > placement options. They should otherwise be normal floats. > > 4. After your floats: \end{multicols} > > > Now your two floats will be placed side by side because that section of the > document is set with two columns. You will get a table caption and a > figure caption, as you really have two ordinary floats. > > Example attached. I don't know what happens if the floats appear > near the bottom of a page, you may have to tweak placement > yourself instead of relying on auto placement. > > Helge Hafting Thats an elegant solution. Is it possible we can have this on the wiki? best regards samar
Figure and table side by side
Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. Any clues? T.I.A. /johan
Re: Figure and table side by side
On Monday 24 October 2005 02:04, Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. Any clues? T.I.A. /johan How about 1. insert minipage right click inside and reduce width to less than 50% column width when the cue pops up 2. Insert Hfill 3. Insert another minipage as in 1 4. Put your figure in one minipage and your table in the other. regards samar
Re: Figure and table side by side
samar j. singh wrote: On Monday 24 October 2005 02:04, Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. Any clues? T.I.A. /johan How about 1. insert minipage right click inside and reduce width to less than 50% column width when the cue pops up 2. Insert Hfill 3. Insert another minipage as in 1 4. Put your figure in one minipage and your table in the other. Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan
Figure and table side by side
Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. Any clues? T.I.A. /johan
Re: Figure and table side by side
On Monday 24 October 2005 02:04, Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. Any clues? T.I.A. /johan How about 1. insert minipage right click inside and reduce width to less than 50% column width when the cue pops up 2. Insert Hfill 3. Insert another minipage as in 1 4. Put your figure in one minipage and your table in the other. regards samar
Re: Figure and table side by side
samar j. singh wrote: On Monday 24 October 2005 02:04, Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. Any clues? T.I.A. /johan How about 1. insert minipage right click inside and reduce width to less than 50% column width when the cue pops up 2. Insert Hfill 3. Insert another minipage as in 1 4. Put your figure in one minipage and your table in the other. Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become Figure and vice versa. /johan
Figure and table side by side
Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. Any clues? T.I.A. /johan
Re: Figure and table side by side
On Monday 24 October 2005 02:04, Johan Ingvast wrote: > Hi > Since I don't want to spend too much space in my article, I'd like to > have a table just next to a figure inside one float. > > I want a figure caption on the figure and a table caption on the table. > > I've tried different ways but not come up with a satisfying solution. > I've scanned the archives but not found anything but how to put two > figures/tables side by side, not the both kinds at the same time. > > > The best I found was to use the nofloat package which has defined > tabcaption and figcaption separately. This made it possible to make a > one by two table inside a figure environmen, set a fixed width of each > column and insert the table and figures inside the cells. > > Then manually creating the captions by placing > ERT: \tabcaption{My table caption} > in the first cell. And > ERT: \figcaption{My figure caption} > in the second cell. > This is ok, however, I'm not convinced that the nofloat package screws > other things up. > > Any clues? > > T.I.A. > /johan How about 1. insert minipage right click inside and reduce width to less than 50% column width when the cue pops up 2. Insert Hfill 3. Insert another minipage as in 1 4. Put your figure in one minipage and your table in the other. regards samar
Re: Figure and table side by side
samar j. singh wrote: On Monday 24 October 2005 02:04, Johan Ingvast wrote: Hi Since I don't want to spend too much space in my article, I'd like to have a table just next to a figure inside one float. I want a figure caption on the figure and a table caption on the table. I've tried different ways but not come up with a satisfying solution. I've scanned the archives but not found anything but how to put two figures/tables side by side, not the both kinds at the same time. The best I found was to use the nofloat package which has defined tabcaption and figcaption separately. This made it possible to make a one by two table inside a figure environmen, set a fixed width of each column and insert the table and figures inside the cells. Then manually creating the captions by placing ERT: \tabcaption{My table caption} in the first cell. And ERT: \figcaption{My figure caption} in the second cell. This is ok, however, I'm not convinced that the nofloat package screws other things up. Any clues? T.I.A. /johan How about 1. insert minipage right click inside and reduce width to less than 50% column width when the cue pops up 2. Insert Hfill 3. Insert another minipage as in 1 4. Put your figure in one minipage and your table in the other. Yes, that's an alternative from using the 1 x 2 table. But my problem is with the captions. I want a table caption for the table and a figure caption for the figure. If I put everything in a figure float both captions will become "Figure" and vice versa. /johan
Re: figure and table side by side
On 1.02.05, Subir Singh Lamba wrote: I am using lyx 1.3.4 on Mandrake9.2.I downloaded the tex file from the mentioned site but it did not compile after it was imported in lyx. I tried working out myself with following step can somebody point out the error: 1) Use Figure Float. 2) After changing from caption to standard I inserted minipage. 3) Then Hfill and then again a minpage. 4) In the first minipage I inserted my figure and in the second the table. On compiling the output is figure and table one top of the other. It seems you have too wide minipages. They must have a width of = 50% text-width. (Or, to be precise: the added width of both of them must not exceed 100% text-width.) Right-click on the minipage tab to set the width (and the alignment). Basically, minipages are treated like a single word. If they do not fit side by side, TeX inserts a linebreak. (BTW: Alignment in the LyX window and in the final output are independent. Having the minipages on top or besides each other in one does not imply it should be the same way in the other...) Guenter -- G.Milde web.de
Re: figure and table side by side
Hi, I was successful in getting a figure and a table side by side. I had to adjust the size of minipage and it did the trick. Subir On Tue, 1 Feb 2005, [ISO-8859-1] Uwe Stöhr wrote: Subir Singh Lamba wrote: While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html it is now under: http://www.texnik.de/table/table.phtml regards Uwe -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: figure and table side by side
On 1.02.05, Subir Singh Lamba wrote: I am using lyx 1.3.4 on Mandrake9.2.I downloaded the tex file from the mentioned site but it did not compile after it was imported in lyx. I tried working out myself with following step can somebody point out the error: 1) Use Figure Float. 2) After changing from caption to standard I inserted minipage. 3) Then Hfill and then again a minpage. 4) In the first minipage I inserted my figure and in the second the table. On compiling the output is figure and table one top of the other. It seems you have too wide minipages. They must have a width of = 50% text-width. (Or, to be precise: the added width of both of them must not exceed 100% text-width.) Right-click on the minipage tab to set the width (and the alignment). Basically, minipages are treated like a single word. If they do not fit side by side, TeX inserts a linebreak. (BTW: Alignment in the LyX window and in the final output are independent. Having the minipages on top or besides each other in one does not imply it should be the same way in the other...) Guenter -- G.Milde web.de
Re: figure and table side by side
Hi, I was successful in getting a figure and a table side by side. I had to adjust the size of minipage and it did the trick. Subir On Tue, 1 Feb 2005, [ISO-8859-1] Uwe Stöhr wrote: Subir Singh Lamba wrote: While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html it is now under: http://www.texnik.de/table/table.phtml regards Uwe -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
Re: figure and table side by side
On 1.02.05, Subir Singh Lamba wrote: > > I am using lyx 1.3.4 on Mandrake9.2.I downloaded the tex file from the > mentioned site but it did not compile after it was imported in lyx. I > tried working out myself with following step can somebody point out the > error: > > 1) Use Figure Float. > 2) After changing from caption to standard I inserted minipage. > 3) Then Hfill and then again a minpage. > 4) In the first minipage I inserted my figure and in the second the table. > > > On compiling the output is figure and table one top of the other. It seems you have too wide minipages. They must have a width of <= 50% text-width. (Or, to be precise: the added width of both of them must not exceed 100% text-width.) Right-click on the "minipage" tab to set the width (and the alignment). Basically, minipages are treated like a single word. If they do not fit side by side, TeX inserts a linebreak. (BTW: Alignment in the LyX window and in the final output are independent. Having the minipages on top or besides each other in one does not imply it should be the same way in the other...) Guenter -- G.Milde web.de
Re: figure and table side by side
Hi, I was successful in getting a figure and a table side by side. I had to adjust the size of minipage and it did the trick. Subir On Tue, 1 Feb 2005, [ISO-8859-1] Uwe Stöhr wrote: > Subir Singh Lamba wrote: > > > While seaching the mailing list I came across the following link but at > > present it does not seem to be working. > > > > http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html > > it is now under: > > http://www.texnik.de/table/table.phtml > > regards Uwe > -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
figure and table side by side
Hi, I want to have a figure and a table side by side. I have tried 1) In Float Figure I have a 1x2 table then insert the table and figure side by side. The problem is that they are not aligned at the top. While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html Thanks in advance, Subir
Re: figure and table side by side
On Mon, 31 Jan 2005, Subir Singh Lamba wrote: I want to have a figure and a table side by side. I have tried Subir, Go to the LyX Web site and take the link to Herbert's Tips Tricks page. Yesterday, I saw how to do this on the Floats page as I was looking for something else. Rich -- Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: figure and table side by side
Subir Singh Lamba wrote: While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html it is now under: http://www.texnik.de/table/table.phtml regards Uwe
Re: figure and table side by side
I am using lyx 1.3.4 on Mandrake9.2.I downloaded the tex file from the mentioned site but it did not compile after it was imported in lyx. I tried working out myself with following step can somebody point out the error: 1) Use Figure Float. 2) After changing from caption to standard I inserted minipage. 3) Then Hfill and then again a minpage. 4) In the first minipage I inserted my figure and in the second the table. On compiling the output is figure and table one top of the other. With regards, Subir On Tue, 1 Feb 2005, [ISO-8859-1] Uwe Stöhr wrote: Subir Singh Lamba wrote: While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html it is now under: http://www.texnik.de/table/table.phtml regards Uwe -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
figure and table side by side
Hi, I want to have a figure and a table side by side. I have tried 1) In Float Figure I have a 1x2 table then insert the table and figure side by side. The problem is that they are not aligned at the top. While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html Thanks in advance, Subir
Re: figure and table side by side
On Mon, 31 Jan 2005, Subir Singh Lamba wrote: I want to have a figure and a table side by side. I have tried Subir, Go to the LyX Web site and take the link to Herbert's Tips Tricks page. Yesterday, I saw how to do this on the Floats page as I was looking for something else. Rich -- Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) http://www.appl-ecosys.com Voice: 503-667-4517 Fax: 503-667-8863
Re: figure and table side by side
Subir Singh Lamba wrote: While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html it is now under: http://www.texnik.de/table/table.phtml regards Uwe
Re: figure and table side by side
I am using lyx 1.3.4 on Mandrake9.2.I downloaded the tex file from the mentioned site but it did not compile after it was imported in lyx. I tried working out myself with following step can somebody point out the error: 1) Use Figure Float. 2) After changing from caption to standard I inserted minipage. 3) Then Hfill and then again a minpage. 4) In the first minipage I inserted my figure and in the second the table. On compiling the output is figure and table one top of the other. With regards, Subir On Tue, 1 Feb 2005, [ISO-8859-1] Uwe Stöhr wrote: Subir Singh Lamba wrote: While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html it is now under: http://www.texnik.de/table/table.phtml regards Uwe -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)
figure and table side by side
Hi, I want to have a figure and a table side by side. I have tried 1) In Float Figure I have a 1x2 table then insert the table and figure side by side. The problem is that they are not aligned at the top. While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html Thanks in advance, Subir
Re: figure and table side by side
On Mon, 31 Jan 2005, Subir Singh Lamba wrote: I want to have a figure and a table side by side. I have tried Subir, Go to the LyX Web site and take the link to Herbert's Tips & Tricks page. Yesterday, I saw how to do this on the Floats page as I was looking for something else. Rich -- Dr. Richard B. Shepard, President Applied Ecosystem Services, Inc. (TM) <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
Re: figure and table side by side
Subir Singh Lamba wrote: While seaching the mailing list I came across the following link but at present it does not seem to be working. http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html it is now under: http://www.texnik.de/table/table.phtml regards Uwe
Re: figure and table side by side
I am using lyx 1.3.4 on Mandrake9.2.I downloaded the tex file from the mentioned site but it did not compile after it was imported in lyx. I tried working out myself with following step can somebody point out the error: 1) Use Figure Float. 2) After changing from caption to standard I inserted minipage. 3) Then Hfill and then again a minpage. 4) In the first minipage I inserted my figure and in the second the table. On compiling the output is figure and table one top of the other. With regards, Subir On Tue, 1 Feb 2005, [ISO-8859-1] Uwe Stöhr wrote: > Subir Singh Lamba wrote: > > > While seaching the mailing list I came across the following link but at > > present it does not seem to be working. > > > > http://www.educat.hu-berlin.de/~voss/Informatik/lyx/table.html > > it is now under: > > http://www.texnik.de/table/table.phtml > > regards Uwe > -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)