Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 1:23 AM, Liviu Andronic landronim...@gmail.com wrote: On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson pauljoh...@gmail.com wrote: I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. I feel that this is related to this discussion [1], which suggests several solutions. [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167267.html Thanks very much for the pointer. I agree that is aimed at the problem I see. This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Dammit. My copy/paste skills are getting worse and worse. Here's the correct link to the suspicious file: http://pj.freefaculty.org/latex/test2-part2.tar.gz Regards Liviu -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 9:23 AM, Paul Johnson pauljoh...@gmail.com wrote: On Fri, Nov 18, 2011 at 1:23 AM, Liviu Andronic landronim...@gmail.com wrote: On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson pauljoh...@gmail.com wrote: I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. http://pj.freefaculty.org/latex/test2-part2.pdf Liviu's pointer led me off into a search through a lot of pages about horizontal alignment of latex graphics. The simplest workaround I've found so far is to wrap the troublesome graphic, table or minipage in \raisebox{10mm}{ graphic or table } That lifts up the troublesome thing 10mm. If you want to lower the thing, put a negative number. Here are the new versions, where I've tested this both with simple side-by-side minipages (not in table cells) and minipages or tables inside cells. Either way, you can manually force things into line http://pj.freefaculty.org/latex/test2-part2-new.pdf http://pj.freefaculty.org/latex/test2-part2-new.lyx This is not entirely satisfactory, we wish it were automatic. -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 4:23 PM, Paul Johnson pauljoh...@gmail.com wrote: This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Dammit. My copy/paste skills are getting worse and worse. Here's the correct link to the suspicious file: http://pj.freefaculty.org/latex/test2-part2.tar.gz You failed to mention that you Sweave*l* it. ;) And I haven't gone past the point of complaining about Sweavel on the tracker (#7887). One of the solutions mentioned in the thread is to add '\\' in front of the '\includegraphics' call. Maybe this helps. Regards Liviu
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 1:23 AM, Liviu Andronic landronim...@gmail.com wrote: On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson pauljoh...@gmail.com wrote: I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. I feel that this is related to this discussion [1], which suggests several solutions. [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167267.html Thanks very much for the pointer. I agree that is aimed at the problem I see. This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Dammit. My copy/paste skills are getting worse and worse. Here's the correct link to the suspicious file: http://pj.freefaculty.org/latex/test2-part2.tar.gz Regards Liviu -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 9:23 AM, Paul Johnson pauljoh...@gmail.com wrote: On Fri, Nov 18, 2011 at 1:23 AM, Liviu Andronic landronim...@gmail.com wrote: On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson pauljoh...@gmail.com wrote: I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. http://pj.freefaculty.org/latex/test2-part2.pdf Liviu's pointer led me off into a search through a lot of pages about horizontal alignment of latex graphics. The simplest workaround I've found so far is to wrap the troublesome graphic, table or minipage in \raisebox{10mm}{ graphic or table } That lifts up the troublesome thing 10mm. If you want to lower the thing, put a negative number. Here are the new versions, where I've tested this both with simple side-by-side minipages (not in table cells) and minipages or tables inside cells. Either way, you can manually force things into line http://pj.freefaculty.org/latex/test2-part2-new.pdf http://pj.freefaculty.org/latex/test2-part2-new.lyx This is not entirely satisfactory, we wish it were automatic. -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 4:23 PM, Paul Johnson pauljoh...@gmail.com wrote: This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Dammit. My copy/paste skills are getting worse and worse. Here's the correct link to the suspicious file: http://pj.freefaculty.org/latex/test2-part2.tar.gz You failed to mention that you Sweave*l* it. ;) And I haven't gone past the point of complaining about Sweavel on the tracker (#7887). One of the solutions mentioned in the thread is to add '\\' in front of the '\includegraphics' call. Maybe this helps. Regards Liviu
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 1:23 AM, Liviu Andronicwrote: > On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson wrote: >> I wrote a test in LyX and have trouble getting a graphic to sit "side >> by side" with a LaTeX table. After fiddling around with this for >> quite a while, my bright idea was to nest them both in a 1x2 tabular, >> but it always seems like the table (inside a minibox) wants to sink to >> the bottom of the right side of the table, while the figure wants to >> float to the top. >> >> Would you mind looking at the output? I've got one example like this >> on page 1 and another on page 5. >> >> http://pj.freefaculty.org/latex/test2-part2.pdf >> >> I do want to have the graphic and the table side by side, but I'm open >> to making this happen any way you recommend. >> > I feel that this is related to this discussion [1], which suggests > several solutions. > > [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167267.html > Thanks very much for the pointer. I agree that is aimed at the problem I see. > >> This is an out-of-the-usual document. It is Sweave'd through R to >> generate the graphic and the regression output, and I don't expect >> most people will want to bother to try to compile it. Nevertheless, I >> uploaded the LyX file, in case you want to look it over. >> >> http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz >> > I'm not sure that this is the file that you intended to link to, since > it has little to do with the PDF above. > Dammit. My copy/paste skills are getting worse and worse. Here's the correct link to the suspicious file: http://pj.freefaculty.org/latex/test2-part2.tar.gz > Regards > Liviu > > >> -- >> Paul E. Johnson >> Professor, Political Science >> 1541 Lilac Lane, Room 504 >> University of Kansas >> > > > > -- > Do you know how to read? > http://www.alienetworks.com/srtest.cfm > http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader > Do you know how to write? > http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail > -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 9:23 AM, Paul Johnsonwrote: > On Fri, Nov 18, 2011 at 1:23 AM, Liviu Andronic > wrote: >> On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson wrote: >>> I wrote a test in LyX and have trouble getting a graphic to sit "side >>> by side" with a LaTeX table. >>> >>> http://pj.freefaculty.org/latex/test2-part2.pdf >>> Liviu's pointer led me off into a search through a lot of pages about horizontal alignment of latex graphics. The simplest workaround I've found so far is to wrap the troublesome graphic, table or minipage in \raisebox{10mm}{ graphic or table } That lifts up the troublesome thing 10mm. If you want to lower the thing, put a negative number. Here are the "new" versions, where I've tested this both with simple side-by-side minipages (not in table cells) and minipages or tables inside cells. Either way, you can manually force things into line http://pj.freefaculty.org/latex/test2-part2-new.pdf http://pj.freefaculty.org/latex/test2-part2-new.lyx This is not entirely satisfactory, we wish it were automatic. -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 4:23 PM, Paul Johnsonwrote: >>> This is an out-of-the-usual document. It is Sweave'd through R to >>> generate the graphic and the regression output, and I don't expect >>> most people will want to bother to try to compile it. Nevertheless, I >>> uploaded the LyX file, in case you want to look it over. >>> >>> http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz >>> >> I'm not sure that this is the file that you intended to link to, since >> it has little to do with the PDF above. >> > > Dammit. My copy/paste skills are getting worse and worse. Here's the > correct link to the suspicious file: > > http://pj.freefaculty.org/latex/test2-part2.tar.gz > You failed to mention that you Sweave*l* it. ;) And I haven't gone past the point of complaining about Sweavel on the tracker (#7887). One of the solutions mentioned in the thread is to add '\\' in front of the '\includegraphics' call. Maybe this helps. Regards Liviu
horizontal alignment of graphics and ERT table
I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson pauljoh...@gmail.com wrote: I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. I feel that this is related to this discussion [1], which suggests several solutions. [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167267.html This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Regards Liviu -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
horizontal alignment of graphics and ERT table
I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnson pauljoh...@gmail.com wrote: I wrote a test in LyX and have trouble getting a graphic to sit side by side with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. I feel that this is related to this discussion [1], which suggests several solutions. [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167267.html This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Regards Liviu -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
horizontal alignment of graphics and ERT table
I wrote a test in LyX and have trouble getting a graphic to sit "side by side" with a LaTeX table. After fiddling around with this for quite a while, my bright idea was to nest them both in a 1x2 tabular, but it always seems like the table (inside a minibox) wants to sink to the bottom of the right side of the table, while the figure wants to float to the top. Would you mind looking at the output? I've got one example like this on page 1 and another on page 5. http://pj.freefaculty.org/latex/test2-part2.pdf I do want to have the graphic and the table side by side, but I'm open to making this happen any way you recommend. This is an out-of-the-usual document. It is Sweave'd through R to generate the graphic and the regression output, and I don't expect most people will want to bother to try to compile it. Nevertheless, I uploaded the LyX file, in case you want to look it over. http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz -- Paul E. Johnson Professor, Political Science 1541 Lilac Lane, Room 504 University of Kansas
Re: horizontal alignment of graphics and ERT table
On Fri, Nov 18, 2011 at 7:40 AM, Paul Johnsonwrote: > I wrote a test in LyX and have trouble getting a graphic to sit "side > by side" with a LaTeX table. After fiddling around with this for > quite a while, my bright idea was to nest them both in a 1x2 tabular, > but it always seems like the table (inside a minibox) wants to sink to > the bottom of the right side of the table, while the figure wants to > float to the top. > > Would you mind looking at the output? I've got one example like this > on page 1 and another on page 5. > > http://pj.freefaculty.org/latex/test2-part2.pdf > > I do want to have the graphic and the table side by side, but I'm open > to making this happen any way you recommend. > I feel that this is related to this discussion [1], which suggests several solutions. [1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg167267.html > This is an out-of-the-usual document. It is Sweave'd through R to > generate the graphic and the regression output, and I don't expect > most people will want to bother to try to compile it. Nevertheless, I > uploaded the LyX file, in case you want to look it over. > > http://pj.freefaculty.org/latex/weirdRotations-lyx.tar.gz > I'm not sure that this is the file that you intended to link to, since it has little to do with the PDF above. Regards Liviu > -- > Paul E. Johnson > Professor, Political Science > 1541 Lilac Lane, Room 504 > University of Kansas > -- Do you know how to read? http://www.alienetworks.com/srtest.cfm http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail