BibTeX styles guide
I have just updated the Wiki with a link to an updated BibTeX styles guide covering TeXLive 2012. John --
Re: BibTeX styles guide
Am 11.05.2013 11:35, schrieb John R. Hudson: I have just updated the Wiki with a link to an updated BibTeX styles guide covering TeXLive 2012. Many thanks! best regards from the LyX meeting in Milano Uwe
Re: Problem producing tables with knitr and xtable
From: Liviu Andronic landronim...@gmail.com To: John Kane jrkrid...@yahoo.ca Cc: Users LyX lyx-users@lists.lyx.org Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri, May 10, 2013 at 8:55 PM, John Kane jrkrid...@yahoo.ca wrote: I have been playing with LyX and knitr. I have had no problem generating figures generally using ggplot2 I cannot get LyX to generate a table with knitr and xtable. See attached. Two issues: - You need to use chunk option results=asis (similar to results=tex for Sweave) - By default xtable() outputs the table in a floating environment; it makes little sense to put that in a table float. Use print.xtable(..., floating=F) to avoid this. Liviu Excellent. I had tried xtable alone, that is without a float, but without the results=asis and and results=asis but with a float! Is there good idiot's guide to knitr around? I find the basic manuals not really manuals but good discussions of technical issues about knitr that go right over my head. Thanks very, very much. The file table.knitr one is my last attempt to generate a table. Not a success though there is something there. table.kniter2.lyx is a successful example of my running the same code in R and then just cutting and pasting the resulting LaTeX code (minus the \begin{table}[ht] \end{table} of course. Can anyone give me some pointers as to what I am doing wrong? I seem to have spent about 2 hours trying to find some useful examples without much success. Thanks. -- 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
change font base size mid document
I have an 11 pt article. I want to switch to a base size of 10pt for the Appendix. Is there a way to do this that will not cause trouble with e.g. text in superscripts or figure legends with different size fonts? I found these suggestions http://tex.stackexchange.com/questions/4139/how-to-change-font-size-mid-document but \input{size#1.clo}% completely reset margins etc while \fontsize{10}{12}\selectfont had no effect. Many thanks, Greg. -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology Francis Crick Avenue Cambridge Biomedical Campus Cambridge, CB2 OQH, UK http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis http://www.neuroscience.cam.ac.uk/directory/profile.php?gsxej2 http://flybrain.stanford.edu
Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
On Sat, May 11, 2013 at 12:28 PM, John Kane jrkrid...@yahoo.ca wrote: Has anyone had a problem using APA6 with 2.0.6? I upgraded to 2.0.6 yesterday and now do not seem to get a file of that document class to work. With the attached file, apa6.1.knitr.lyx which was functioning before the upgrade I am getting: Hi John, When you send example files, can you send minimal example files? Your example contains /home/john/rdata/gunhomicide.csv. This will of course give an error on my computer. Also, try to make the files as small as possible while still giving the error. See here for more tips: http://wiki.lyx.org/FAQ/MinimalExample Best, Scott
BibTeX styles guide
I have just updated the Wiki with a link to an updated BibTeX styles guide covering TeXLive 2012. John --
Re: BibTeX styles guide
Am 11.05.2013 11:35, schrieb John R. Hudson: I have just updated the Wiki with a link to an updated BibTeX styles guide covering TeXLive 2012. Many thanks! best regards from the LyX meeting in Milano Uwe
Re: Problem producing tables with knitr and xtable
From: Liviu Andronic landronim...@gmail.com To: John Kane jrkrid...@yahoo.ca Cc: Users LyX lyx-users@lists.lyx.org Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri, May 10, 2013 at 8:55 PM, John Kane jrkrid...@yahoo.ca wrote: I have been playing with LyX and knitr. I have had no problem generating figures generally using ggplot2 I cannot get LyX to generate a table with knitr and xtable. See attached. Two issues: - You need to use chunk option results=asis (similar to results=tex for Sweave) - By default xtable() outputs the table in a floating environment; it makes little sense to put that in a table float. Use print.xtable(..., floating=F) to avoid this. Liviu Excellent. I had tried xtable alone, that is without a float, but without the results=asis and and results=asis but with a float! Is there good idiot's guide to knitr around? I find the basic manuals not really manuals but good discussions of technical issues about knitr that go right over my head. Thanks very, very much. The file table.knitr one is my last attempt to generate a table. Not a success though there is something there. table.kniter2.lyx is a successful example of my running the same code in R and then just cutting and pasting the resulting LaTeX code (minus the \begin{table}[ht] \end{table} of course. Can anyone give me some pointers as to what I am doing wrong? I seem to have spent about 2 hours trying to find some useful examples without much success. Thanks. -- 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
change font base size mid document
I have an 11 pt article. I want to switch to a base size of 10pt for the Appendix. Is there a way to do this that will not cause trouble with e.g. text in superscripts or figure legends with different size fonts? I found these suggestions http://tex.stackexchange.com/questions/4139/how-to-change-font-size-mid-document but \input{size#1.clo}% completely reset margins etc while \fontsize{10}{12}\selectfont had no effect. Many thanks, Greg. -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology Francis Crick Avenue Cambridge Biomedical Campus Cambridge, CB2 OQH, UK http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis http://www.neuroscience.cam.ac.uk/directory/profile.php?gsxej2 http://flybrain.stanford.edu
Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
On Sat, May 11, 2013 at 12:28 PM, John Kane jrkrid...@yahoo.ca wrote: Has anyone had a problem using APA6 with 2.0.6? I upgraded to 2.0.6 yesterday and now do not seem to get a file of that document class to work. With the attached file, apa6.1.knitr.lyx which was functioning before the upgrade I am getting: Hi John, When you send example files, can you send minimal example files? Your example contains /home/john/rdata/gunhomicide.csv. This will of course give an error on my computer. Also, try to make the files as small as possible while still giving the error. See here for more tips: http://wiki.lyx.org/FAQ/MinimalExample Best, Scott
BibTeX styles guide
I have just updated the Wiki with a link to an updated BibTeX styles guide covering TeXLive 2012. John --
Re: BibTeX styles guide
Am 11.05.2013 11:35, schrieb John R. Hudson: I have just updated the Wiki with a link to an updated BibTeX styles guide covering TeXLive 2012. Many thanks! best regards from the LyX meeting in Milano Uwe
Re: Problem producing tables with knitr and xtable
From: Liviu AndronicTo: John Kane Cc: Users LyX Sent: Friday, May 10, 2013 4:23:00 PM Subject: Re: Problem producing tables with knitr and xtable On Fri, May 10, 2013 at 8:55 PM, John Kane wrote: > I have been playing with LyX and knitr. I have had no problem generating > figures generally using ggplot2 I cannot get LyX to generate a table with > knitr and xtable. > See attached. Two issues: - You need to use chunk option results="asis" (similar to results=tex for Sweave) - By default xtable() outputs the table in a floating environment; it makes little sense to put that in a table float. Use print.xtable(..., floating=F) to avoid this. Liviu Excellent. I had tried xtable alone, that is without a float, but without the results="asis" and and results="asis" but with a float! Is there good idiot's guide to knitr around? I find the basic manuals not really manuals but good discussions of technical issues about knitr that go right over my head. Thanks very, very much. > The file table.knitr one is my last attempt to generate a table. Not a > success though there is something there. table.kniter2.lyx is a successful > example of my running the same code in R and then just cutting and pasting > the resulting LaTeX code (minus the \begin{table}[ht] & \end{table} of > course. > > Can anyone give me some pointers as to what I am doing wrong? I seem to > have spent about 2 hours trying to find some useful examples without much > success. > > Thanks. -- 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
change font base size mid document
I have an 11 pt article. I want to switch to a base size of 10pt for the Appendix. Is there a way to do this that will not cause trouble with e.g. text in superscripts or figure legends with different size fonts? I found these suggestions http://tex.stackexchange.com/questions/4139/how-to-change-font-size-mid-document but \input{size#1.clo}% completely reset margins etc while \fontsize{10}{12}\selectfont had no effect. Many thanks, Greg. -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology Francis Crick Avenue Cambridge Biomedical Campus Cambridge, CB2 OQH, UK http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis http://www.neuroscience.cam.ac.uk/directory/profile.php?gsxej2 http://flybrain.stanford.edu
Re: APA6 seems to have stopped working after upgrade to LyX 2.0.6
On Sat, May 11, 2013 at 12:28 PM, John Kanewrote: > Has anyone had a problem using APA6 with 2.0.6? I upgraded to 2.0.6 > yesterday and now do not seem to get a file of that document class to work. > With the attached file, apa6.1.knitr.lyx which was functioning before the > upgrade I am getting: Hi John, When you send example files, can you send minimal example files? Your example contains "/home/john/rdata/gunhomicide.csv". This will of course give an error on my computer. Also, try to make the files as small as possible while still giving the error. See here for more tips: http://wiki.lyx.org/FAQ/MinimalExample Best, Scott