Lines is array
Dear all, I have an array with fractions as elements, which is rendered like this one: http://upload.wikimedia.org/math/f/4/a/f4a5b1f44f4720ce28de1443b3a5b94f.png There seems to be a solution, adding \\[0.3em] at the end of each line in the array. The code will look like this: \[ M = \begin{bmatrix} \frac{5}{6} \frac{1}{6} 0 \\[0.3em] \frac{5}{6} 0\frac{1}{6} \\[0.3em] 0\frac{5}{6} \frac{1}{6} \end{bmatrix} \] It should be rendered like: http://upload.wikimedia.org/math/2/8/9/2898f4774c7df3ad83ad6d31c82c3bf5.png The question is, how can I add the double slash in math environment? Everytime I try to do it, a regular slash is rendered. Thanks in advance. - Julio Rojas jcredbe...@gmail.com
Re: File '/tmp/lyx_tmpdir.TJ3418/lyx_tmpbuf0/EG-L.tex' was not closed properly
Wolfgang Engelmann wrote: However the sidecap package is not effective (does it work with Koma-book and twocolumn style -figure spanning the page? - thats what I am using) Don't know this package. Jürgen
Re: using multiple files for document-problem with document class(es)
Richard Heck wrote: Later versions of LyX allow you to say Don't show me this warning again. I'm not sure if that's in 1.6.7 or just in the forthcoming 2.0.x. As of LyX 1.6.4, actually. Jürgen
Re: how to add a caption to a Box inset?
Justin Wood wrote: I've been using this module and it's almost exactly what I need. I changed the layout to NumberWithin = chapter to give me Box 1.1, 1.2, etc. But I need to change a few other things... so here's a shopping list: 1. align the caption left, \newcommand\flo...@simplerule[2]{\raggedright{\@f...@cfont #1 #2}\par} and set font parameters. Alter the \d...@fs@cfont{\bfseries} part of the definition Can I do that with {caption} package somehow; if not, where in the LaTeX preamble is that controlled? (Attempts to change, eg, kern8pt haven't worked.) Caption package does not work, I think. 2. separate paragraphs with blank line the same as LyX does for normal text; add blank line after Box caption too. ** 3. make use of cross references to the Box Float label. At the moment this doesn't work with reference (/ref) or Formatted reference (/prettyref) modes — both simply produce 'subsection ??'. Most importantly I just want the reference to be 'Box 1.1', same as for figure floats; the numbering is crucial. \newrefformat{box}{Box~\ref{#1}} Jürgen
Re: Lines is array
Quick and dirty solution... Insert an additional line between each pair of lines. ;) - Julio Rojas jcredbe...@gmail.com On Sat, Sep 18, 2010 at 1:55 PM, Julio Rojas jcredbe...@gmail.com wrote: Dear all, I have an array with fractions as elements, which is rendered like this one: http://upload.wikimedia.org/math/f/4/a/f4a5b1f44f4720ce28de1443b3a5b94f.png There seems to be a solution, adding \\[0.3em] at the end of each line in the array. The code will look like this: \[ M = \begin{bmatrix} \frac{5}{6} \frac{1}{6} 0 \\[0.3em] \frac{5}{6} 0 \frac{1}{6} \\[0.3em] 0 \frac{5}{6} \frac{1}{6} \end{bmatrix} \] It should be rendered like: http://upload.wikimedia.org/math/2/8/9/2898f4774c7df3ad83ad6d31c82c3bf5.png The question is, how can I add the double slash in math environment? Everytime I try to do it, a regular slash is rendered. Thanks in advance. - Julio Rojas jcredbe...@gmail.com
Re: File '/tmp/lyx_tmpdir.TJ3418/lyx_tmpbuf0/EG-L.tex' was not closed properly
Am Saturday 18 September 2010 14:54:13 schrieb Jürgen Spitzmüller: Wolfgang Engelmann wrote: However the sidecap package is not effective (does it work with Koma-book and twocolumn style -figure spanning the page? - thats what I am using) Don't know this package. Jürgen from the EmbeddedObjects Help-menu 3.10: It is also possible to set the caption beside a figure or table. To get this the LaTeX-package sidecap has to be loaded in the document preamble with the line \usepackage[option]{sidecap} If you set no option, the caption is placed on the side of the outer page margin – to the right on odd pages, to the left on even pages. You can change the placement to inner margin with the option innercaption. To force the placement always to the right or left, use the option rightcaption or leftcaption, respectively. Wolfgang
Re: Lines is array
Am 18.09.2010 13:55, schrieb Julio Rojas: Dear all, I have an array with fractions as elements, which is rendered like this one: http://upload.wikimedia.org/math/f/4/a/f4a5b1f44f4720ce28de1443b3a5b94f.png There seems to be a solution, adding \\[0.3em] at the end of each line in the array. That LyX is not yet able to handle the \\[] command in math is a know limitation. A workaround for this is described in LyX's Math manual in sec. 18.1.1 Line Separation. (Adding an additional empty line is often not a proper solution.) regards Uwe
Re: Windows setup/directory structure
Thank you kindly! This is most educational. I have shared a link to this discussion with my Windows-using colleagues. Maria On Thu, Sep 16, 2010 at 11:21 AM, Jacob Bishop bishop.ja...@gmail.com wrote: Paul is right. You did ask, though, if there was a standard location for the directory in Windows. I believe there is, but it's different between xp and vista/w7. Mine on Windows 7 is: C:\Users\Jacob\AppData\Roaming\MiKTeX\2.8\... I'm not on my xp machine right now, but it's something like C:\Documents and Settings\username\Application Data\MikTeX\2.8\... MikTeX created those directories for local settings when I originally installed it. You can, of course set up a custom location via the MikTeX settings interface, which you have to use anyway to run Refresh FNDB as Paul explained. I hope this adds a bit of information. Jacob On Wed, Sep 15, 2010 at 6:26 AM, Paul A. Rubin ru...@msu.edu wrote: On 9/14/2010 7:41 PM, Maria Gouskova wrote: I should add that they all used MikTeX, and we tried putting texmf in C:\ and also in the Program Files folder (I think basically as C:\Program Files\texmf). What confuses me is that in Mac OS, LyX finds all the stuff inside the texmf folder automaticallly after reconfiguring. Does this happen in Windows? If not, is there something that needs to be done inside LyX to help it find the correct texmf path? I am sure we missed something really obvious. If they are using MiKTeX: 1. They can run the MiKTeX Settings application (from the Start menu) and go to the Roots tab. That lists the directories on the search path MiKTeX uses. They can create their local texmf folder anywhere they want, then just add it to that tab (Add... button) and move it up to the top of the search chain. 2. After adding anything to their local texmf directory, they should run the Settings application, and on the General tab click Refresh FNDB (which runs texhash to update the LaTeX file databases). /Paul
Lines is array
Dear all, I have an array with fractions as elements, which is rendered like this one: http://upload.wikimedia.org/math/f/4/a/f4a5b1f44f4720ce28de1443b3a5b94f.png There seems to be a solution, adding \\[0.3em] at the end of each line in the array. The code will look like this: \[ M = \begin{bmatrix} \frac{5}{6} \frac{1}{6} 0 \\[0.3em] \frac{5}{6} 0\frac{1}{6} \\[0.3em] 0\frac{5}{6} \frac{1}{6} \end{bmatrix} \] It should be rendered like: http://upload.wikimedia.org/math/2/8/9/2898f4774c7df3ad83ad6d31c82c3bf5.png The question is, how can I add the double slash in math environment? Everytime I try to do it, a regular slash is rendered. Thanks in advance. - Julio Rojas jcredbe...@gmail.com
Re: File '/tmp/lyx_tmpdir.TJ3418/lyx_tmpbuf0/EG-L.tex' was not closed properly
Wolfgang Engelmann wrote: However the sidecap package is not effective (does it work with Koma-book and twocolumn style -figure spanning the page? - thats what I am using) Don't know this package. Jürgen
Re: using multiple files for document-problem with document class(es)
Richard Heck wrote: Later versions of LyX allow you to say Don't show me this warning again. I'm not sure if that's in 1.6.7 or just in the forthcoming 2.0.x. As of LyX 1.6.4, actually. Jürgen
Re: how to add a caption to a Box inset?
Justin Wood wrote: I've been using this module and it's almost exactly what I need. I changed the layout to NumberWithin = chapter to give me Box 1.1, 1.2, etc. But I need to change a few other things... so here's a shopping list: 1. align the caption left, \newcommand\flo...@simplerule[2]{\raggedright{\@f...@cfont #1 #2}\par} and set font parameters. Alter the \d...@fs@cfont{\bfseries} part of the definition Can I do that with {caption} package somehow; if not, where in the LaTeX preamble is that controlled? (Attempts to change, eg, kern8pt haven't worked.) Caption package does not work, I think. 2. separate paragraphs with blank line the same as LyX does for normal text; add blank line after Box caption too. ** 3. make use of cross references to the Box Float label. At the moment this doesn't work with reference (/ref) or Formatted reference (/prettyref) modes — both simply produce 'subsection ??'. Most importantly I just want the reference to be 'Box 1.1', same as for figure floats; the numbering is crucial. \newrefformat{box}{Box~\ref{#1}} Jürgen
Re: Lines is array
Quick and dirty solution... Insert an additional line between each pair of lines. ;) - Julio Rojas jcredbe...@gmail.com On Sat, Sep 18, 2010 at 1:55 PM, Julio Rojas jcredbe...@gmail.com wrote: Dear all, I have an array with fractions as elements, which is rendered like this one: http://upload.wikimedia.org/math/f/4/a/f4a5b1f44f4720ce28de1443b3a5b94f.png There seems to be a solution, adding \\[0.3em] at the end of each line in the array. The code will look like this: \[ M = \begin{bmatrix} \frac{5}{6} \frac{1}{6} 0 \\[0.3em] \frac{5}{6} 0 \frac{1}{6} \\[0.3em] 0 \frac{5}{6} \frac{1}{6} \end{bmatrix} \] It should be rendered like: http://upload.wikimedia.org/math/2/8/9/2898f4774c7df3ad83ad6d31c82c3bf5.png The question is, how can I add the double slash in math environment? Everytime I try to do it, a regular slash is rendered. Thanks in advance. - Julio Rojas jcredbe...@gmail.com
Re: File '/tmp/lyx_tmpdir.TJ3418/lyx_tmpbuf0/EG-L.tex' was not closed properly
Am Saturday 18 September 2010 14:54:13 schrieb Jürgen Spitzmüller: Wolfgang Engelmann wrote: However the sidecap package is not effective (does it work with Koma-book and twocolumn style -figure spanning the page? - thats what I am using) Don't know this package. Jürgen from the EmbeddedObjects Help-menu 3.10: It is also possible to set the caption beside a figure or table. To get this the LaTeX-package sidecap has to be loaded in the document preamble with the line \usepackage[option]{sidecap} If you set no option, the caption is placed on the side of the outer page margin – to the right on odd pages, to the left on even pages. You can change the placement to inner margin with the option innercaption. To force the placement always to the right or left, use the option rightcaption or leftcaption, respectively. Wolfgang
Re: Lines is array
Am 18.09.2010 13:55, schrieb Julio Rojas: Dear all, I have an array with fractions as elements, which is rendered like this one: http://upload.wikimedia.org/math/f/4/a/f4a5b1f44f4720ce28de1443b3a5b94f.png There seems to be a solution, adding \\[0.3em] at the end of each line in the array. That LyX is not yet able to handle the \\[] command in math is a know limitation. A workaround for this is described in LyX's Math manual in sec. 18.1.1 Line Separation. (Adding an additional empty line is often not a proper solution.) regards Uwe
Re: Windows setup/directory structure
Thank you kindly! This is most educational. I have shared a link to this discussion with my Windows-using colleagues. Maria On Thu, Sep 16, 2010 at 11:21 AM, Jacob Bishop bishop.ja...@gmail.com wrote: Paul is right. You did ask, though, if there was a standard location for the directory in Windows. I believe there is, but it's different between xp and vista/w7. Mine on Windows 7 is: C:\Users\Jacob\AppData\Roaming\MiKTeX\2.8\... I'm not on my xp machine right now, but it's something like C:\Documents and Settings\username\Application Data\MikTeX\2.8\... MikTeX created those directories for local settings when I originally installed it. You can, of course set up a custom location via the MikTeX settings interface, which you have to use anyway to run Refresh FNDB as Paul explained. I hope this adds a bit of information. Jacob On Wed, Sep 15, 2010 at 6:26 AM, Paul A. Rubin ru...@msu.edu wrote: On 9/14/2010 7:41 PM, Maria Gouskova wrote: I should add that they all used MikTeX, and we tried putting texmf in C:\ and also in the Program Files folder (I think basically as C:\Program Files\texmf). What confuses me is that in Mac OS, LyX finds all the stuff inside the texmf folder automaticallly after reconfiguring. Does this happen in Windows? If not, is there something that needs to be done inside LyX to help it find the correct texmf path? I am sure we missed something really obvious. If they are using MiKTeX: 1. They can run the MiKTeX Settings application (from the Start menu) and go to the Roots tab. That lists the directories on the search path MiKTeX uses. They can create their local texmf folder anywhere they want, then just add it to that tab (Add... button) and move it up to the top of the search chain. 2. After adding anything to their local texmf directory, they should run the Settings application, and on the General tab click Refresh FNDB (which runs texhash to update the LaTeX file databases). /Paul
Lines is array
Dear all, I have an array with fractions as elements, which is rendered like this one: http://upload.wikimedia.org/math/f/4/a/f4a5b1f44f4720ce28de1443b3a5b94f.png There seems to be a solution, adding \\[0.3em] at the end of each line in the array. The code will look like this: \[ M = \begin{bmatrix} \frac{5}{6} & \frac{1}{6} & 0 \\[0.3em] \frac{5}{6} & 0 & \frac{1}{6} \\[0.3em] 0 & \frac{5}{6} & \frac{1}{6} \end{bmatrix} \] It should be rendered like: http://upload.wikimedia.org/math/2/8/9/2898f4774c7df3ad83ad6d31c82c3bf5.png The question is, how can I add the double slash in math environment? Everytime I try to do it, a regular slash is rendered. Thanks in advance. - Julio Rojas jcredbe...@gmail.com
Re: File '/tmp/lyx_tmpdir.TJ3418/lyx_tmpbuf0/EG-L.tex' was not closed properly
Wolfgang Engelmann wrote: > However the sidecap package is not effective (does it work with Koma-book > and twocolumn style -figure spanning the page? - thats what I am using) Don't know this package. Jürgen
Re: using multiple files for document->problem with document class(es)
Richard Heck wrote: > Later versions of LyX allow you to say "Don't show me this warning > again". I'm not sure if that's in 1.6.7 or just in the forthcoming 2.0.x. As of LyX 1.6.4, actually. Jürgen
Re: how to add a caption to a Box inset?
Justin Wood wrote: > I've been using this module and it's almost exactly what I need. I changed > the layout to NumberWithin = chapter to give me Box 1.1, 1.2, etc. But I > need to change a few other things... so here's a shopping list: > > 1. align the caption left, \newcommand\flo...@simplerule[2]{\raggedright{\@f...@cfont #1 #2}\par} > and set font parameters. Alter the \d...@fs@cfont{\bfseries} part of the definition > Can I do that with > {caption} package somehow; if not, where in the LaTeX preamble is that > controlled? (Attempts to change, eg, kern8pt haven't worked.) Caption package does not work, I think. > 2. separate paragraphs with blank line the same as LyX does for normal > text; add blank line after Box caption too. > > ** 3. make use of cross references to the Box Float label. At the moment > this doesn't work with (/ref) or Formatted reference > (/prettyref) modes — both simply produce 'subsection ??'. Most importantly > I just want the reference to be 'Box 1.1', same as for figure floats; the > numbering is crucial. \newrefformat{box}{Box~\ref{#1}} Jürgen
Re: Lines is array
Quick and dirty solution... Insert an additional line between each pair of lines. ;) - Julio Rojas jcredbe...@gmail.com On Sat, Sep 18, 2010 at 1:55 PM, Julio Rojaswrote: > Dear all, I have an array with fractions as elements, which is > rendered like this one: > http://upload.wikimedia.org/math/f/4/a/f4a5b1f44f4720ce28de1443b3a5b94f.png > > There seems to be a solution, adding \\[0.3em] at the end of each line > in the array. The code will look like this: > > \[ > M = \begin{bmatrix} > \frac{5}{6} & \frac{1}{6} & 0 \\[0.3em] > \frac{5}{6} & 0 & \frac{1}{6} \\[0.3em] > 0 & \frac{5}{6} & \frac{1}{6} > \end{bmatrix} > \] > > It should be rendered like: > http://upload.wikimedia.org/math/2/8/9/2898f4774c7df3ad83ad6d31c82c3bf5.png > > The question is, how can I add the double slash in math environment? > Everytime I try to do it, a regular slash is rendered. > > Thanks in advance. > - > Julio Rojas > jcredbe...@gmail.com >
Re: File '/tmp/lyx_tmpdir.TJ3418/lyx_tmpbuf0/EG-L.tex' was not closed properly
Am Saturday 18 September 2010 14:54:13 schrieb Jürgen Spitzmüller: > Wolfgang Engelmann wrote: > > However the sidecap package is not effective (does it work with Koma-book > > and twocolumn style -figure spanning the page? - thats what I am using) > > Don't know this package. > > Jürgen from the EmbeddedObjects Help-menu 3.10: It is also possible to set the caption beside a figure or table. To get this the LaTeX-package sidecap has to be loaded in the document preamble with the line \usepackage[option]{sidecap} If you set no option, the caption is placed on the side of the outer page margin – to the right on odd pages, to the left on even pages. You can change the placement to inner margin with the option innercaption. To force the placement always to the right or left, use the option rightcaption or leftcaption, respectively. Wolfgang
Re: Lines is array
Am 18.09.2010 13:55, schrieb Julio Rojas: Dear all, I have an array with fractions as elements, which is rendered like this one: http://upload.wikimedia.org/math/f/4/a/f4a5b1f44f4720ce28de1443b3a5b94f.png There seems to be a solution, adding \\[0.3em] at the end of each line in the array. That LyX is not yet able to handle the \\[] command in math is a know limitation. A workaround for this is described in LyX's Math manual in sec. 18.1.1 "Line Separation". (Adding an additional empty line is often not a proper solution.) regards Uwe
Re: Windows setup/directory structure
Thank you kindly! This is most educational. I have shared a link to this discussion with my Windows-using colleagues. Maria On Thu, Sep 16, 2010 at 11:21 AM, Jacob Bishopwrote: > Paul is right. You did ask, though, if there was a standard location for the > directory in Windows. I believe there is, but it's different between xp and > vista/w7. Mine on Windows 7 is: > C:\Users\Jacob\AppData\Roaming\MiKTeX\2.8\... > I'm not on my xp machine right now, but it's something like > C:\Documents and Settings\username\Application Data\MikTeX\2.8\... > > MikTeX created those directories for local settings when I originally > installed it. > > You can, of course set up a custom location via the MikTeX "settings" > interface, which you have to use anyway to run "Refresh FNDB" as Paul > explained. > > I hope this adds a bit of information. > > Jacob > > On Wed, Sep 15, 2010 at 6:26 AM, Paul A. Rubin wrote: >> >> On 9/14/2010 7:41 PM, Maria Gouskova wrote: >> >>> >>> I should add that they all used MikTeX, and we tried putting texmf in >>> C:\ and also in the Program Files folder (I think basically as >>> C:\Program Files\texmf). >>> >>> What confuses me is that in Mac OS, LyX finds all the stuff inside the >>> texmf folder automaticallly after reconfiguring. Does this happen in >>> Windows? If not, is there something that needs to be done inside LyX >>> to help it find the correct texmf path? I am sure we missed something >>> really obvious. >>> >> >> If they are using MiKTeX: >> >> 1. They can run the MiKTeX "Settings" application (from the Start menu) >> and go to the "Roots" tab. That lists the directories on the search path >> MiKTeX uses. They can create their local texmf folder anywhere they want, >> then just add it to that tab (Add... button) and move it up to the top of >> the search chain. >> >> 2. After adding anything to their local texmf directory, they should run >> the Settings application, and on the General tab click "Refresh FNDB" (which >> runs texhash to update the LaTeX file databases). >> >> /Paul >> > >