Re: Need help with multiple equations
[EMAIL PROTECTED] wrote: http://www.dante.de/CTAN/info/math/voss/mathmode/Mathmode.pdf inside LyX choose _always_ the amsmath environments. Herbert I alway do that. The problem is that i have some difficulties using the aling, alignat, split, multiline amsmath environments in lyx. On the cited pdf i get some examples on how to use them in latex, but the lyx implementation is still obscure to me. For example, how to define the alignat spacing and to define alignment points? -- choose the equation type from math menu -- change the number of columns also from math menu Herbert
Re: Need help with multiple equations
[EMAIL PROTECTED] wrote: http://www.dante.de/CTAN/info/math/voss/mathmode/Mathmode.pdf inside LyX choose _always_ the amsmath environments. Herbert I alway do that. The problem is that i have some difficulties using the aling, alignat, split, multiline amsmath environments in lyx. On the cited pdf i get some examples on how to use them in latex, but the lyx implementation is still obscure to me. For example, how to define the alignat spacing and to define alignment points? -- choose the equation type from math menu -- change the number of columns also from math menu Herbert
Re: Need help with multiple equations
[EMAIL PROTECTED] wrote: >>http://www.dante.de/CTAN/info/math/voss/mathmode/Mathmode.pdf >> >>inside LyX choose _always_ the amsmath environments. >> >>Herbert > > I alway do that. The problem is that i have some difficulties using the > aling, alignat, split, multiline amsmath environments in lyx. > On the cited pdf i get some examples on how to use them in latex, but the > lyx implementation is still obscure to me. > For example, how to define the alignat spacing and to define alignment > points? -- choose the equation type from math menu -- change the number of columns also from math menu Herbert
Re: shared document format for multiple files
[EMAIL PROTECTED] wrote: so i decided to break up my doc using inclusions. but now they each have their own document format, if i change the option in the main file the included files wont know about them and vice-versa... is it possible to share document format among files? write your own style file and put all changes in there and load this by every document \usepackage{myPrefs} put this style file into your main document dir or in TEXMFLOCAL or in the main part, where TeX will search. Herbert
Re: Need help with multiple equations
Pelux wrote: Hi, i'm using lyx for my phd works in statistics, but i'm having some problems that i really don't know how to solve, and google-searching for two hours didn't help. So, here are my questions: 1) I would like to have all my equations (not the inline ones) to be automatically numbered, i prefer to the left. Is it possible? I need to obtain the result you can find on page 10 of this pdf: http://home.eng.iastate.edu/~zhengdao/documents/amslatexdoc.pdf In latex it seemes it suffice to use \begin{equation}... but in lyx? What is the lyx corrispective ? And is math-display the lyx corrispective of \begin{equation*}. ? Mybe should i add something in the preamble? And how could i reference to the automatically numbered equations? 2) Also i would like to obtain what you see on pag 12 of the same pdf with equations 2.18 2.19 2.20. The problem is that i could'nt find any guide on using ams align, alignat, split, gather,... and so on with lyx. From the pdf i mentioned it seems that they extend eqnarray, that is exactly what i need. http://www.dante.de/CTAN/info/math/voss/mathmode/Mathmode.pdf inside LyX choose _always_ the amsmath environments. Herbert
Re: shared document format for multiple files
[EMAIL PROTECTED] wrote: so i decided to break up my doc using inclusions. but now they each have their own document format, if i change the option in the main file the included files wont know about them and vice-versa... is it possible to share document format among files? write your own style file and put all changes in there and load this by every document \usepackage{myPrefs} put this style file into your main document dir or in TEXMFLOCAL or in the main part, where TeX will search. Herbert
Re: Need help with multiple equations
Pelux wrote: Hi, i'm using lyx for my phd works in statistics, but i'm having some problems that i really don't know how to solve, and google-searching for two hours didn't help. So, here are my questions: 1) I would like to have all my equations (not the inline ones) to be automatically numbered, i prefer to the left. Is it possible? I need to obtain the result you can find on page 10 of this pdf: http://home.eng.iastate.edu/~zhengdao/documents/amslatexdoc.pdf In latex it seemes it suffice to use \begin{equation}... but in lyx? What is the lyx corrispective ? And is math-display the lyx corrispective of \begin{equation*}. ? Mybe should i add something in the preamble? And how could i reference to the automatically numbered equations? 2) Also i would like to obtain what you see on pag 12 of the same pdf with equations 2.18 2.19 2.20. The problem is that i could'nt find any guide on using ams align, alignat, split, gather,... and so on with lyx. From the pdf i mentioned it seems that they extend eqnarray, that is exactly what i need. http://www.dante.de/CTAN/info/math/voss/mathmode/Mathmode.pdf inside LyX choose _always_ the amsmath environments. Herbert
Re: shared document format for multiple files
[EMAIL PROTECTED] wrote: so i decided to break up my doc using inclusions. but now they each have their own document format, if i change the option in the main file the included files wont know about them and vice-versa... is it possible to share document format among files? write your own style file and put all changes in there and load this by every document \usepackage{myPrefs} put this style file into your main document dir or in TEXMFLOCAL or in the main part, where TeX will search. Herbert
Re: Need help with multiple equations
Pelux wrote: Hi, i'm using lyx for my phd works in statistics, but i'm having some problems that i really don't know how to solve, and google-searching for two hours didn't help. So, here are my questions: 1) I would like to have all my equations (not the inline ones) to be automatically numbered, i prefer to the left. Is it possible? I need to obtain the result you can find on page 10 of this pdf: http://home.eng.iastate.edu/~zhengdao/documents/amslatexdoc.pdf In latex it seemes it suffice to use \begin{equation}... but in lyx? What is the lyx corrispective ? And is math-display the lyx corrispective of \begin{equation*}. ? Mybe should i add something in the preamble? And how could i reference to the automatically numbered equations? 2) Also i would like to obtain what you see on pag 12 of the same pdf with equations 2.18 2.19 2.20. The problem is that i could'nt find any guide on using ams align, alignat, split, gather,... and so on with lyx. From the pdf i mentioned it seems that they extend eqnarray, that is exactly what i need. http://www.dante.de/CTAN/info/math/voss/mathmode/Mathmode.pdf inside LyX choose _always_ the amsmath environments. Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks again to those of you who are helping me with this. Herbert Voss wrote: first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert Sounds like good intuition, and I tried it: but Lyx won't export the PostScript (Cannot convert file error). Same thing when I remove the .eps extension. hm, shouldn't be happened ... then export to from with LyX to latex and run latex file dvips file ps2pdf --dAutoRotatePages=/None file.ps Herbert
Re: lyx on windows (and printing notes)
Uwe Stöhr wrote: Angus Leeming wrote: * You say ImageMagick does, but ImageMagick isn't *required* to run LyX. I never said this. But ImageMagick is of course required to run LyX. A wordprocessor is useless when no images can be processed. there are a lot of other tools ... * There are certainly latex distributions out there that don't require admin priviliges. Again, you don't *need* latex installed to run LyX. Angus, then try to install LyX without an installed TeX system and try to run LyX ... ;-) (Currently I have the problem that the Postscript delegation of the latest ImageMagick still fails and that the graphics conversion don't work when TeXLive is used.) ImagaMagick _always_ uses ghostscript when converting ps/eps/pdf files Herbert
Re: URGENT:Prezentation with Prosper [Win98]
Robert Orr wrote: I just fired up LyX and loaded one of my powerdot presentations; looks like you have to export .ps and then run ps2pdf on the .ps file to generate a .pdf powerdot is derived from prosper, it uses heavily PSTricks code, so dvi-ps-pdf is the correct sequence. Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks again to those of you who are helping me with this. Herbert Voss wrote: first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert Sounds like good intuition, and I tried it: but Lyx won't export the PostScript (Cannot convert file error). Same thing when I remove the .eps extension. hm, shouldn't be happened ... then export to from with LyX to latex and run latex file dvips file ps2pdf --dAutoRotatePages=/None file.ps Herbert
Re: lyx on windows (and printing notes)
Uwe Stöhr wrote: Angus Leeming wrote: * You say ImageMagick does, but ImageMagick isn't *required* to run LyX. I never said this. But ImageMagick is of course required to run LyX. A wordprocessor is useless when no images can be processed. there are a lot of other tools ... * There are certainly latex distributions out there that don't require admin priviliges. Again, you don't *need* latex installed to run LyX. Angus, then try to install LyX without an installed TeX system and try to run LyX ... ;-) (Currently I have the problem that the Postscript delegation of the latest ImageMagick still fails and that the graphics conversion don't work when TeXLive is used.) ImagaMagick _always_ uses ghostscript when converting ps/eps/pdf files Herbert
Re: URGENT:Prezentation with Prosper [Win98]
Robert Orr wrote: I just fired up LyX and loaded one of my powerdot presentations; looks like you have to export .ps and then run ps2pdf on the .ps file to generate a .pdf powerdot is derived from prosper, it uses heavily PSTricks code, so dvi-ps-pdf is the correct sequence. Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks again to those of you who are helping me with this. Herbert Voss wrote: first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert Sounds like good intuition, and I tried it: but Lyx won't export the PostScript ("Cannot convert file" error). Same thing when I remove the .eps extension. hm, shouldn't be happened ... then export to from with LyX to latex and run latex file dvips file ps2pdf --dAutoRotatePages=/None file.ps Herbert
Re: lyx on windows (and printing notes)
Uwe Stöhr wrote: Angus Leeming wrote: * You say ImageMagick does, but ImageMagick isn't *required* to run LyX. I never said this. But ImageMagick is of course required to run LyX. A wordprocessor is useless when no images can be processed. there are a lot of other tools ... * There are certainly latex distributions out there that don't require admin priviliges. Again, you don't *need* latex installed to run LyX. Angus, then try to install LyX without an installed TeX system and try to run LyX ... ;-) (Currently I have the problem that the Postscript delegation of the latest ImageMagick still fails and that the graphics conversion don't work when TeXLive is used.) ImagaMagick _always_ uses ghostscript when converting ps/eps/pdf files Herbert
Re: URGENT:Prezentation with Prosper [Win98]
Robert Orr wrote: I just fired up LyX and loaded one of my powerdot presentations; looks like you have to export .ps and then run ps2pdf on the .ps file to generate a .pdf powerdot is derived from prosper, it uses heavily PSTricks code, so dvi->ps->pdf is the correct sequence. Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. try ps2pdf -dPrePress=/None $$i Herbert
Re: orientation of .eps figures
Georg Baum wrote: Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert
Re: orientation of .eps figures
Uwe Stöhr wrote: Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. this maybe a problem, because the eps file is only a one-liner, there are wrong crlf's - 0A0A eps2eps file.eps fileNew.eps can help here, it corrects this. But the real problem is the version of ghostscript and the vertical y-label text in the file. Herbert
Re: orientation of .eps figures
Georg Baum wrote: Am Montag, 28. November 2005 19:57 schrieb Herbert Voss: Georg Baum wrote: I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! True, if I export to .tex and then run these programs. If I export from LyX directly LyX will convert the eps file to pdf, so the fault is not with pdflatex but with ghostscript as you already said (which was called in my case via convert). If I use epstopdf to convert the image it will not be rotated but go to the bottom of the page (probably because epstopdf assumes A4 paper size). also not true, eps2pdf (means ghostscript) uses the giving bounding box and not the paper size a4. It scans the file for a bounding box _line_ and if you do not get a correct one, then it is your ghostscript version. Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. try ps2pdf -dPrePress=/None $$i Herbert
Re: orientation of .eps figures
Georg Baum wrote: Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert
Re: orientation of .eps figures
Uwe Stöhr wrote: Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. this maybe a problem, because the eps file is only a one-liner, there are wrong crlf's - 0A0A eps2eps file.eps fileNew.eps can help here, it corrects this. But the real problem is the version of ghostscript and the vertical y-label text in the file. Herbert
Re: orientation of .eps figures
Georg Baum wrote: Am Montag, 28. November 2005 19:57 schrieb Herbert Voss: Georg Baum wrote: I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! True, if I export to .tex and then run these programs. If I export from LyX directly LyX will convert the eps file to pdf, so the fault is not with pdflatex but with ghostscript as you already said (which was called in my case via convert). If I use epstopdf to convert the image it will not be rotated but go to the bottom of the page (probably because epstopdf assumes A4 paper size). also not true, eps2pdf (means ghostscript) uses the giving bounding box and not the paper size a4. It scans the file for a bounding box _line_ and if you do not get a correct one, then it is your ghostscript version. Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks for this, but it didn't do the trick. I changed the preferences as you suggested, reconfigured, quit and restarted LyX, but I'm still getting rotated figures. try ps2pdf -dPrePress=/None $$i Herbert
Re: orientation of .eps figures
Georg Baum wrote: Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! Herbert
Re: orientation of .eps figures
Richard Sherman wrote: Thanks Uwe. I'm using Tetex 2.0.2-34 on Mac OS X 10.4.3. Here's a Lyx file and the .eps file that belongs in it. first do not use an extension for file names. The graphic driver can detect the right extension. It is a typical behaviour for ghostscript, that it thinks, that your graphic should be rotated to get your vertical text in a horizontal view. ghostscript is too clever here. Try it by hand, export the lyx file as PosScript, then run ps2pdf --dAutoRotatePages=/None filename.ps or alternatively with --dPrePress=/None Herbert
Re: orientation of .eps figures
Uwe Stöhr wrote: Georg Baum schrieb: I tested it, and the result is: dvipdfm fine pdflatexrotated ps2pdf fine This is the same in tetex 2.02 and tetex 3.0 on linux. I guess that you have hit a bug (or feature?) of pdflatex. No. In this case the problem is the eps-file itself: Also when I convert it via Adobe Acrobat's Distiller, I get a rotated pdf-image that has the size A4. The size is the problem because the eps doesn't seem to have a border/bounding box. pdflatex doesn't know how to handle this so that you get different outputs. (On my machine epstopdf sets the size to A4, ps2pdf doesn't set the border, and GSview sets the border to A4 and produce a rotated PDF image.) So you need to produce an eps with borders around the diagram. this maybe a problem, because the eps file is only a one-liner, there are wrong crlf's -> 0A0A eps2eps file.eps fileNew.eps can help here, it corrects this. But the real problem is the version of ghostscript and the vertical y-label text in the file. Herbert
Re: orientation of .eps figures
Georg Baum wrote: Am Montag, 28. November 2005 19:57 schrieb Herbert Voss: Georg Baum wrote: I tested it, and the result is: dvipdfm fine pdflatexrotated and how did you get a pdf file of the eps image ... ;-) pdflatex does nothing with the image! True, if I export to .tex and then run these programs. If I export from LyX directly LyX will convert the eps file to pdf, so the fault is not with pdflatex but with ghostscript as you already said (which was called in my case via "convert"). If I use epstopdf to convert the image it will not be rotated but go to the bottom of the page (probably because epstopdf assumes A4 paper size). also not true, eps2pdf (means ghostscript) uses the giving bounding box and not the paper size a4. It scans the file for a bounding box _line_ and if you do not get a correct one, then it is your ghostscript version. Herbert
[Fwd: Towards a UK-TuG revival]
Original Message Subject: Towards a UK-TuG revival Date: 21 Nov 2005 10:59:44 -0800 From: Karl Berry [EMAIL PROTECTED] Organization: http://groups.google.com Newsgroups: comp.text.tex For any TeX users in the UK -- One of the r\^oles of TUG is to encourage and support the formation of national and/or language-based user groups, one of the oldest (if not /the/ oldest) of which is UK-TuG, the UK TeX Users' Group. As with other user groups, however, the enthusiasm which surrounded UK-TuG's creation and which characterised its activities for the first decade has now begun to falter, to a point where some are beginning to ask whether UK-TuG as a TeX User Group still has any r\^ole. The present Committee, most of whom go back many years in their association with UK-TuG, recognise that this almost certainly results (at least in part) from the ever-increasing age and length of service of its own members, as well as from similar statistics for UK-TuG membership as a whole, and the Committee is very keen to try to bring about a revival of interest in UK-TuG by encouraging UK TeX Users who are /not/ currently members of UK-TuG to join the Group and (ideally) stand for membership of the Committee. Although they (and we) recognise that this is exceptionally short notice, the UK-TuG Committee have asked us to let you know that the Annual General Meeting of UK-TuG will take place at 14:00 GMT on Saturday next (Saturday 26th November) at 61 Victor Road, Kensal Green, London. All UK TeX users are cordially invited to this meeting, but recognising both that accommodation is very limited, and that this is exceptionally short notice, the Committee are more than willing to consider adjourning the meeting if there is sufficient interest to justify such a step. Further information on the AGM will be posted on the UK-TuG web site : http://uk.tug.org/ s soon as it is available. Please keep your eye in this site, as we will not be sending any more mass mailings until after the AGM. All UK TeX users are therefore kindly requested to communicate with the current UK-TuG Chairman (Jay HAMMOND : mailto:[EMAIL PROTECTED]) and/or the current UK-TuG Secretary (David OSBORNE : mailto:[EMAIL PROTECTED]) to let them know of their interest (or otherwise). It would be very helpful if e-mails could categorise interest (or otherwise) into one of four categories : 1) Not really interested in UK-TuG or its activities/AGM 2) Potentially interested in UK-TuG, but cannot make the AGM at such short notice; would consider attending an AGM in (say) a month's time or so 3) Definitely interested, and will try to make the AGM on Saturday next provided I can be guaranteed a seat at the meeting ! 4) Not only interested but also willing to serve on the Committee. Do please add anything else that you feel might be useful to the present Committee. On behalf of the TUG Board and the UK-TuG Committee, thank you in advance for reading this ! Karl BERRY, President, TeX Users Group Philip TAYLOR, UK-TuG Committee
[Fwd: Towards a UK-TuG revival]
Original Message Subject: Towards a UK-TuG revival Date: 21 Nov 2005 10:59:44 -0800 From: Karl Berry [EMAIL PROTECTED] Organization: http://groups.google.com Newsgroups: comp.text.tex For any TeX users in the UK -- One of the r\^oles of TUG is to encourage and support the formation of national and/or language-based user groups, one of the oldest (if not /the/ oldest) of which is UK-TuG, the UK TeX Users' Group. As with other user groups, however, the enthusiasm which surrounded UK-TuG's creation and which characterised its activities for the first decade has now begun to falter, to a point where some are beginning to ask whether UK-TuG as a TeX User Group still has any r\^ole. The present Committee, most of whom go back many years in their association with UK-TuG, recognise that this almost certainly results (at least in part) from the ever-increasing age and length of service of its own members, as well as from similar statistics for UK-TuG membership as a whole, and the Committee is very keen to try to bring about a revival of interest in UK-TuG by encouraging UK TeX Users who are /not/ currently members of UK-TuG to join the Group and (ideally) stand for membership of the Committee. Although they (and we) recognise that this is exceptionally short notice, the UK-TuG Committee have asked us to let you know that the Annual General Meeting of UK-TuG will take place at 14:00 GMT on Saturday next (Saturday 26th November) at 61 Victor Road, Kensal Green, London. All UK TeX users are cordially invited to this meeting, but recognising both that accommodation is very limited, and that this is exceptionally short notice, the Committee are more than willing to consider adjourning the meeting if there is sufficient interest to justify such a step. Further information on the AGM will be posted on the UK-TuG web site : http://uk.tug.org/ s soon as it is available. Please keep your eye in this site, as we will not be sending any more mass mailings until after the AGM. All UK TeX users are therefore kindly requested to communicate with the current UK-TuG Chairman (Jay HAMMOND : mailto:[EMAIL PROTECTED]) and/or the current UK-TuG Secretary (David OSBORNE : mailto:[EMAIL PROTECTED]) to let them know of their interest (or otherwise). It would be very helpful if e-mails could categorise interest (or otherwise) into one of four categories : 1) Not really interested in UK-TuG or its activities/AGM 2) Potentially interested in UK-TuG, but cannot make the AGM at such short notice; would consider attending an AGM in (say) a month's time or so 3) Definitely interested, and will try to make the AGM on Saturday next provided I can be guaranteed a seat at the meeting ! 4) Not only interested but also willing to serve on the Committee. Do please add anything else that you feel might be useful to the present Committee. On behalf of the TUG Board and the UK-TuG Committee, thank you in advance for reading this ! Karl BERRY, President, TeX Users Group Philip TAYLOR, UK-TuG Committee
[Fwd: Towards a UK-TuG revival]
Original Message Subject: Towards a UK-TuG revival Date: 21 Nov 2005 10:59:44 -0800 From: Karl Berry <[EMAIL PROTECTED]> Organization: http://groups.google.com Newsgroups: comp.text.tex For any TeX users in the UK -- One of the r\^oles of TUG is to encourage and support the formation of national and/or language-based user groups, one of the oldest (if not /the/ oldest) of which is UK-TuG, the UK TeX Users' Group. As with other user groups, however, the enthusiasm which surrounded UK-TuG's creation and which characterised its activities for the first decade has now begun to falter, to a point where some are beginning to ask whether UK-TuG as a TeX User Group still has any r\^ole. The present Committee, most of whom go back many years in their association with UK-TuG, recognise that this almost certainly results (at least in part) from the ever-increasing age and length of service of its own members, as well as from similar statistics for UK-TuG membership as a whole, and the Committee is very keen to try to bring about a revival of interest in UK-TuG by encouraging UK TeX Users who are /not/ currently members of UK-TuG to join the Group and (ideally) stand for membership of the Committee. Although they (and we) recognise that this is exceptionally short notice, the UK-TuG Committee have asked us to let you know that the Annual General Meeting of UK-TuG will take place at 14:00 GMT on Saturday next (Saturday 26th November) at 61 Victor Road, Kensal Green, London. All UK TeX users are cordially invited to this meeting, but recognising both that accommodation is very limited, and that this is exceptionally short notice, the Committee are more than willing to consider adjourning the meeting if there is sufficient interest to justify such a step. Further information on the AGM will be posted on the UK-TuG web site : http://uk.tug.org/ s soon as it is available. Please keep your eye in this site, as we will not be sending any more mass mailings until after the AGM. All UK TeX users are therefore kindly requested to communicate with the current UK-TuG Chairman (Jay HAMMOND : mailto:[EMAIL PROTECTED]) and/or the current UK-TuG Secretary (David OSBORNE : mailto:[EMAIL PROTECTED]) to let them know of their interest (or otherwise). It would be very helpful if e-mails could categorise interest (or otherwise) into one of four categories : 1) Not really interested in UK-TuG or its activities/AGM 2) Potentially interested in UK-TuG, but cannot make the AGM at such short notice; would consider attending an AGM in (say) a month's time or so 3) Definitely interested, and will try to make the AGM on Saturday next provided I can be guaranteed a seat at the meeting ! 4) Not only interested but also willing to serve on the Committee. Do please add anything else that you feel might be useful to the present Committee. On behalf of the TUG Board and the UK-TuG Committee, thank you in advance for reading this ! Karl BERRY, President, TeX Users Group Philip TAYLOR, UK-TuG Committee
Re: Chapters without headings..
Caspar wrote: hi, this should be easy but it is beyond me.. i am working from the book template and am dividing my work into chapters but i don't want to give them titles. i.e. Chapter 1 rather than Chapter 1 Some preliminaries etc at the moment i am just using a protected-break (command+space) but this leaves me with a blank line i'd rather do without. there must be another more elegant way to do this? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/chapter Herbert
Re: Chapters without headings..
Caspar wrote: hi, this should be easy but it is beyond me.. i am working from the book template and am dividing my work into chapters but i don't want to give them titles. i.e. Chapter 1 rather than Chapter 1 Some preliminaries etc at the moment i am just using a protected-break (command+space) but this leaves me with a blank line i'd rather do without. there must be another more elegant way to do this? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/chapter Herbert
Re: Chapters without headings..
Caspar wrote: > hi, > > this should be easy but it is beyond me.. i am working from the book > template and am dividing my work into chapters but i don't want to > give them titles. i.e. > > Chapter 1 > > rather than > > Chapter 1 > Some preliminaries > > etc > > at the moment i am just using a protected-break (command+space) but > this leaves me with a blank line i'd rather do without. > > there must be another more elegant way to do this? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/chapter Herbert
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
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
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: mtabular environment in LyX
Paul Smith wrote: On 11/7/05, Herbert Voss [EMAIL PROTECTED] wrote: As far as I can see, there is no LyX support for the nice AMS environment mtabular. Is it planned to have it in next versions of LyX? (I am using LyX 1.3.6.) To have a better understanding of what is mtabular environment, see sub-section 73.1 of http://www.tex.ac.uk/tex-archive/info/math/voss/mathmode/Mathmode.pdf it is my own definition ... and not amsmath Then I misread it. I am sorry, Herbert. Is mtabular in what package? the definition is shown on the same page and in the sources of the document. Herbert
Re: mtabular environment in LyX
Paul Smith wrote: On 11/7/05, Herbert Voss [EMAIL PROTECTED] wrote: As far as I can see, there is no LyX support for the nice AMS environment mtabular. Is it planned to have it in next versions of LyX? (I am using LyX 1.3.6.) To have a better understanding of what is mtabular environment, see sub-section 73.1 of http://www.tex.ac.uk/tex-archive/info/math/voss/mathmode/Mathmode.pdf it is my own definition ... and not amsmath Then I misread it. I am sorry, Herbert. Is mtabular in what package? the definition is shown on the same page and in the sources of the document. Herbert
Re: mtabular environment in LyX
Paul Smith wrote: > On 11/7/05, Herbert Voss <[EMAIL PROTECTED]> > wrote: >> >> As far as I can see, there is no LyX support for the nice AMS >> >> environment mtabular. Is it planned to have it in next versions of >> >> LyX? (I am using LyX 1.3.6.) >> > >> > To have a better understanding of what is mtabular environment, see >> > sub-section 73.1 of >> > >> > http://www.tex.ac.uk/tex-archive/info/math/voss/mathmode/Mathmode.pdf >> >> it is my own definition ... and not amsmath > > Then I misread it. I am sorry, Herbert. Is mtabular in what package? the definition is shown on the same page and in the sources of the document. Herbert
Re: mtabular environment in LyX
Paul Smith wrote: On 11/6/05, Paul Smith [EMAIL PROTECTED] wrote: As far as I can see, there is no LyX support for the nice AMS environment mtabular. Is it planned to have it in next versions of LyX? (I am using LyX 1.3.6.) To have a better understanding of what is mtabular environment, see sub-section 73.1 of http://www.tex.ac.uk/tex-archive/info/math/voss/mathmode/Mathmode.pdf it is my own definition ... and not amsmath Herbert
Re: mtabular environment in LyX
Paul Smith wrote: On 11/6/05, Paul Smith [EMAIL PROTECTED] wrote: As far as I can see, there is no LyX support for the nice AMS environment mtabular. Is it planned to have it in next versions of LyX? (I am using LyX 1.3.6.) To have a better understanding of what is mtabular environment, see sub-section 73.1 of http://www.tex.ac.uk/tex-archive/info/math/voss/mathmode/Mathmode.pdf it is my own definition ... and not amsmath Herbert
Re: mtabular environment in LyX
Paul Smith wrote: > On 11/6/05, Paul Smith <[EMAIL PROTECTED]> > wrote: >> As far as I can see, there is no LyX support for the nice AMS >> environment mtabular. Is it planned to have it in next versions of >> LyX? (I am using LyX 1.3.6.) > > To have a better understanding of what is mtabular environment, see > sub-section 73.1 of > > http://www.tex.ac.uk/tex-archive/info/math/voss/mathmode/Mathmode.pdf it is my own definition ... and not amsmath Herbert
Re: Using Curly Brackets in Text
Daniel Watkins wrote: The subject says it all. I'm looking to do something that'll look like this: Not blah Blah } Blah } These lines contain blah Blah } Not blah The three }s should be replaced by one big curly bracket. I have tried doing this using a Maths environment, but I could never convince it to work... http://tug.org/TeXnik/mainFAQ.cgi?file=table/Examples/examples#cases Herbert
Re: Using Curly Brackets in Text
Daniel Watkins wrote: The subject says it all. I'm looking to do something that'll look like this: Not blah Blah } Blah } These lines contain blah Blah } Not blah The three }s should be replaced by one big curly bracket. I have tried doing this using a Maths environment, but I could never convince it to work... http://tug.org/TeXnik/mainFAQ.cgi?file=table/Examples/examples#cases Herbert
Re: Using Curly Brackets in Text
Daniel Watkins wrote: > The subject says it all. I'm looking to do something that'll look like > this: > Not blah > Blah } > Blah } These lines contain blah > Blah } > Not blah > > The three }s should be replaced by one big curly bracket. I have tried > doing this using a Maths environment, but I could never convince it to > work... http://tug.org/TeXnik/mainFAQ.cgi?file=table/Examples/examples#cases Herbert
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
maarten wrote: latex - ps/eps images pdflatex - png,jpg,pdf images I know the latex basics, but I forgot to mention that also when I use logo.eps it happened. sure, LyX doesn't know, that you use \includegraphics nad did not write \usepackage{graphicx} in the preamble. When using the LyX way to insert a graphic, LyX dies the rest. in your case, you have to put the \usepackage by yourself in the preamble. In the mean time I found out logo.png in the header works for pdflatex as long as you put another image somewhere in the document. see above If you use ps2pdf you NEED logo.eps. In the rest of the document you can still use other types of images, lyx takes care about that. After some trail and error I found out: The solution is to remove \usepackage{cmap} (why?) and - off course - example file! However \usepackage{lmodern} is the better way put ps2pdf instead of pdftex in the hyperref options in the preamble. in most cases, hyperref can detect by itself, what driver is the needed. let this be done by geometry, at least by LyX Is that really needed? I try to keep the user interaction about document layout as low possible so I specified this in the layout Preamble. no, use the LyX menu Herbert
Re: How to put a box around an equation: is there a bug in Lyx?
Giorgio Zavarise wrote: still on the theme box around an equation, perhaps I found a bug in Lyx (I am using Lyx 1.3.5 for MAC OSX 10.3.9), but I found also a workaround. Yesterday I proposed the following procedure HOW TO PUT A BOX AROUND AN EQUATION 1) go to math mode with the command INSERT -- MATH -- DISPLAY FORMULA 2) type \fbox (visible box) and then press carriage return or the spacebar 3) the text \fbox disappear and a framed box appears with the cursor inside but WARNING, YOU ARE IN TEXT MODE NOW! this is one of the reason, why you should use \boxed from from amsmath. Laoding amsmath should be the default! Herbert
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
maarten wrote: latex - ps/eps images pdflatex - png,jpg,pdf images I know the latex basics, but I forgot to mention that also when I use logo.eps it happened. sure, LyX doesn't know, that you use \includegraphics nad did not write \usepackage{graphicx} in the preamble. When using the LyX way to insert a graphic, LyX dies the rest. in your case, you have to put the \usepackage by yourself in the preamble. In the mean time I found out logo.png in the header works for pdflatex as long as you put another image somewhere in the document. see above If you use ps2pdf you NEED logo.eps. In the rest of the document you can still use other types of images, lyx takes care about that. After some trail and error I found out: The solution is to remove \usepackage{cmap} (why?) and - off course - example file! However \usepackage{lmodern} is the better way put ps2pdf instead of pdftex in the hyperref options in the preamble. in most cases, hyperref can detect by itself, what driver is the needed. let this be done by geometry, at least by LyX Is that really needed? I try to keep the user interaction about document layout as low possible so I specified this in the layout Preamble. no, use the LyX menu Herbert
Re: How to put a box around an equation: is there a bug in Lyx?
Giorgio Zavarise wrote: still on the theme box around an equation, perhaps I found a bug in Lyx (I am using Lyx 1.3.5 for MAC OSX 10.3.9), but I found also a workaround. Yesterday I proposed the following procedure HOW TO PUT A BOX AROUND AN EQUATION 1) go to math mode with the command INSERT -- MATH -- DISPLAY FORMULA 2) type \fbox (visible box) and then press carriage return or the spacebar 3) the text \fbox disappear and a framed box appears with the cursor inside but WARNING, YOU ARE IN TEXT MODE NOW! this is one of the reason, why you should use \boxed from from amsmath. Laoding amsmath should be the default! Herbert
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
maarten wrote: >> latex -> ps/eps images >> pdflatex -> png,jpg,pdf images > > I know the latex basics, but I forgot to mention that also when I use > logo.eps it happened. sure, LyX doesn't know, that you use \includegraphics nad did not write \usepackage{graphicx} in the preamble. When using the LyX way to insert a graphic, LyX dies the rest. in your case, you have to put the \usepackage by yourself in the preamble. > In the mean time I found out logo.png in the header works for pdflatex > as long as you put another image somewhere in the document. see above > If you use ps2pdf you NEED logo.eps. In the rest of the document you can > still use other types of images, lyx takes care about that. > > After some trail and error I found out: > The solution is to remove \usepackage{cmap} (why?) and - off course - example file! However \usepackage{lmodern} is the better way > put ps2pdf instead of pdftex in the hyperref options in the preamble. in most cases, hyperref can detect by itself, what driver is the needed. >> let this be done by geometry, at least by LyX > > Is that really needed? I try to keep the "user" interaction about > document layout as low possible so I specified this in the layout > Preamble. no, use the LyX menu Herbert
Re: How to put a box around an equation: is there a bug in Lyx?
Giorgio Zavarise wrote: > still on the theme "box around an equation", perhaps I found a bug in > Lyx (I am using Lyx 1.3.5 for MAC OSX 10.3.9), but I found also a > workaround. > Yesterday I proposed the following procedure > > HOW TO PUT A BOX AROUND AN EQUATION > 1) go to math mode with the command INSERT --> MATH --> DISPLAY FORMULA > 2) type \fbox (visible box) and then press carriage return or the > spacebar > 3) the text "\fbox" disappear and a framed box appears with the cursor > inside > but WARNING, YOU ARE IN TEXT MODE NOW! this is one of the reason, why you should use \boxed from from amsmath. Laoding amsmath should be the default! Herbert
Re: AW: Re: Chapter with numbering but without word chapter - more questions...
[EMAIL PROTECTED] wrote: Thank you very much! I did manage to get the numbering in front of my own chapter title and also got rid of the space above the chapter title. Great! However, I still have the space at the end of a chapter before a new chapter starts. Can I somehow let a new chapter start on the same page the last one ends? chapters start by default on a new page. However, write in preamble \renewcommand\chapter{\thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} Herbert
Re: Is this possible with lyx?
ZAVARISE GIORGIO wrote: Paul Smith [EMAIL PROTECTED] Oggetto: Re: Is this possible in lyx? Data: Tue, 25 Oct 2005 12:14:54 +0100 A:lyx-users@lists.lyx.org On 10/25/05, Herbert Voss [EMAIL PROTECTED] wrote: I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. _inside_ the math mode put all in braces { ... } no need for ERT Inside math mode, just write \mbox This solution does not need ERT as well. Paul I needed it also, and it works fine, thanks, but to see the box frame I used \fbox. enable the amsmath button and then use \boxed{...} inside the math mode, it is the better way Herbert
Re: LyX and xypic
David L. Johnson wrote: On Tue, 25 Oct 2005 13:44:54 +0200 (CEST) H. Peter Gumm [EMAIL PROTECTED] wrote: Hi, is there anyone working with LyX and xypic. Is there any support, or are there any workarounds to see commutative diagrams in their full glory within LyX. I usually kludge it by using a matrix. The only problem with that is that labels on the arrows need to be finagled to keep the arrow aligned (for a horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the label on top, and a blank below). This will be somewhat short of full glory; for that you would, I presume, have to do it all in ERT. use psmatrix of the PSTricks package - http://PSTricks.tug.org Herbert
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
maarten wrote: Hi, I have some trouble when trying to getting this ERT to work correctly: \begin{psmatrix}[colsep=0.5cm] \psframebox{Yes} \psframebox{No} C \\ \psframebox{Yesy} \psframebox{No} C \\ \ncline{-}{1,1}{2,1} \end{psmatrix} I've put \usepackage{pst-node} in the document preamble. This works (ps2pdf) as long as I use the standard book layout. When I use pdflatex this does not work (as I understand obviously). PSTricks - PostScript Tricks ... this cannot be compiled with pdflatex. However, unless you didn't use character expansion, ps2pdf does the same job. On the other hand, if I generate pdf from my books (without any pstricks) with ps2pdf I get a complaint LaTex Error: Cannot determine size of graphic logo.png. But this works fine with pdflatex. you should read some basic informations about LaTeX/pdflatex Does anyone have a workaround? I run 1.4.0pre2. latex - ps/eps images pdflatex - png,jpg,pdf images % Marges \addtolength{\evensidemargin}{-22pt} \addtolength{\voffset}{-0.3in} \oddsidemargin 0.0in \textwidth 6.3in \textheight 9.0in let this be done by geometry, at least by LyX \newsavebox{\oordlogo} \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} \rhead{\usebox{\oordlogo}} why did you put this in a box? Herbert
Re: AW: Re: Chapter with numbering but without word chapter - more questions...
[EMAIL PROTECTED] wrote: Thank you very much! I did manage to get the numbering in front of my own chapter title and also got rid of the space above the chapter title. Great! However, I still have the space at the end of a chapter before a new chapter starts. Can I somehow let a new chapter start on the same page the last one ends? chapters start by default on a new page. However, write in preamble \renewcommand\chapter{\thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} Herbert
Re: Is this possible with lyx?
ZAVARISE GIORGIO wrote: Paul Smith [EMAIL PROTECTED] Oggetto: Re: Is this possible in lyx? Data: Tue, 25 Oct 2005 12:14:54 +0100 A:lyx-users@lists.lyx.org On 10/25/05, Herbert Voss [EMAIL PROTECTED] wrote: I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. _inside_ the math mode put all in braces { ... } no need for ERT Inside math mode, just write \mbox This solution does not need ERT as well. Paul I needed it also, and it works fine, thanks, but to see the box frame I used \fbox. enable the amsmath button and then use \boxed{...} inside the math mode, it is the better way Herbert
Re: LyX and xypic
David L. Johnson wrote: On Tue, 25 Oct 2005 13:44:54 +0200 (CEST) H. Peter Gumm [EMAIL PROTECTED] wrote: Hi, is there anyone working with LyX and xypic. Is there any support, or are there any workarounds to see commutative diagrams in their full glory within LyX. I usually kludge it by using a matrix. The only problem with that is that labels on the arrows need to be finagled to keep the arrow aligned (for a horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the label on top, and a blank below). This will be somewhat short of full glory; for that you would, I presume, have to do it all in ERT. use psmatrix of the PSTricks package - http://PSTricks.tug.org Herbert
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
maarten wrote: Hi, I have some trouble when trying to getting this ERT to work correctly: \begin{psmatrix}[colsep=0.5cm] \psframebox{Yes} \psframebox{No} C \\ \psframebox{Yesy} \psframebox{No} C \\ \ncline{-}{1,1}{2,1} \end{psmatrix} I've put \usepackage{pst-node} in the document preamble. This works (ps2pdf) as long as I use the standard book layout. When I use pdflatex this does not work (as I understand obviously). PSTricks - PostScript Tricks ... this cannot be compiled with pdflatex. However, unless you didn't use character expansion, ps2pdf does the same job. On the other hand, if I generate pdf from my books (without any pstricks) with ps2pdf I get a complaint LaTex Error: Cannot determine size of graphic logo.png. But this works fine with pdflatex. you should read some basic informations about LaTeX/pdflatex Does anyone have a workaround? I run 1.4.0pre2. latex - ps/eps images pdflatex - png,jpg,pdf images % Marges \addtolength{\evensidemargin}{-22pt} \addtolength{\voffset}{-0.3in} \oddsidemargin 0.0in \textwidth 6.3in \textheight 9.0in let this be done by geometry, at least by LyX \newsavebox{\oordlogo} \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} \rhead{\usebox{\oordlogo}} why did you put this in a box? Herbert
Re: AW: Re: Chapter with numbering but without word "chapter" - more questions...
[EMAIL PROTECTED] wrote: > Thank you very much! I did manage to get the numbering in front of my own > chapter title and also got rid of the space above the chapter title. > Great! However, I still have the space at the end of a chapter before a > new chapter starts. Can I somehow let a new chapter start on the same page > the last one ends? chapters start by default on a new page. However, write in preamble \renewcommand\chapter{\thispagestyle{plain}% [EMAIL PROTECTED]@ [EMAIL PROTECTED] [EMAIL PROTECTED]@schapter} Herbert
Re: Is this possible with lyx?
ZAVARISE GIORGIO wrote: >>Paul Smith <[EMAIL PROTECTED]> >>Oggetto: Re: Is this possible in lyx? >>Data: Tue, 25 Oct 2005 12:14:54 +0100 >>A:lyx-users@lists.lyx.org > > > >>On 10/25/05, Herbert Voss <[EMAIL PROTECTED]> >>wrote: >> > I just figured out how to disallow LaTeX to linebreak >> > a math inline formula that resides in the end of a >> > line. Sometimes they turn so awkward when they are >> > breaked in the end of the line. With LaTeX I just type >> > a formula in an \mbox and it solves my problem.. but >> > what about lyx? how can I perform an \mbox in Lyx? .. >> > I can of course input a latex code within lyx.. but it >> > would be great if I could do it in a "lyx" way too so >> > that I could also have the benefit of actually seeing >> > to formula. >> >> _inside_ the math mode put all in braces { ... } >> no need for ERT > >>Inside math mode, just write > >>\mbox > >>This solution does not need ERT as well. > >>Paul > > I needed it also, and it works fine, thanks, but to see > the box frame I used \fbox. enable the amsmath button and then use \boxed{...} inside the math mode, it is the better way Herbert
Re: LyX and xypic
David L. Johnson wrote: > On Tue, 25 Oct 2005 13:44:54 +0200 (CEST) > "H. Peter Gumm" > <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> is there anyone working with LyX and xypic. >> >> Is there any support, or are there any workarounds >> to see commutative diagrams in their full glory within LyX. > > I usually kludge it by using a matrix. The only problem with that is that > labels on the arrows need to be finagled to keep the arrow aligned (for a > horizontal arrow, put a 3x1 submatrix in with the arrow in the center, the > label on top, and a blank below). This will be somewhat short of "full > glory"; for that you would, I presume, have to do it all in ERT. use psmatrix of the PSTricks package -> http://PSTricks.tug.org Herbert
Re: Custom layout and psmatrix from pstricks, 1.4.0pre2
maarten wrote: > Hi, > > I have some trouble when trying to getting this ERT to work correctly: > > \begin{psmatrix}[colsep=0.5cm] > \psframebox{Yes} & \psframebox{No} & C \\ > \psframebox{Yesy} & \psframebox{No} & C \\ > \ncline{->}{1,1}{2,1} > \end{psmatrix} > > I've put \usepackage{pst-node} in the document preamble. > > This works (ps2pdf) as long as I use the standard book layout. When I > use pdflatex this does not work (as I understand obviously). PSTricks -> PostScript Tricks ... this cannot be compiled with pdflatex. However, unless you didn't use character expansion, ps2pdf does the same job. > On the other hand, if I generate pdf from my books (without any > pstricks) with ps2pdf I get a complaint "LaTex Error: Cannot determine > size of graphic logo.png". But this works fine with pdflatex. you should read some basic informations about LaTeX/pdflatex > Does anyone have a workaround? I run 1.4.0pre2. latex -> ps/eps images pdflatex -> png,jpg,pdf images > % Marges > \addtolength{\evensidemargin}{-22pt} > \addtolength{\voffset}{-0.3in} > \oddsidemargin 0.0in > \textwidth 6.3in > \textheight 9.0in let this be done by geometry, at least by LyX > \newsavebox{\oordlogo} > \savebox{\oordlogo}{\includegraphics[width=15mm]{logo.png}} > \rhead{\usebox{\oordlogo}} why did you put this in a box? Herbert
Re: Is this possible in lyx?
Jose Capco wrote: Dear List, I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. _inside_ the math mode put all in braces { ... } no need for ERT Herbert
Re: Is this possible in lyx?
Jose Capco wrote: Dear List, I just figured out how to disallow LaTeX to linebreak a math inline formula that resides in the end of a line. Sometimes they turn so awkward when they are breaked in the end of the line. With LaTeX I just type a formula in an \mbox and it solves my problem.. but what about lyx? how can I perform an \mbox in Lyx? .. I can of course input a latex code within lyx.. but it would be great if I could do it in a lyx way too so that I could also have the benefit of actually seeing to formula. _inside_ the math mode put all in braces { ... } no need for ERT Herbert
Re: Is this possible in lyx?
Jose Capco wrote: > Dear List, > > I just figured out how to disallow LaTeX to linebreak > a math inline formula that resides in the end of a > line. Sometimes they turn so awkward when they are > breaked in the end of the line. With LaTeX I just type > a formula in an \mbox and it solves my problem.. but > what about lyx? how can I perform an \mbox in Lyx? .. > I can of course input a latex code within lyx.. but it > would be great if I could do it in a "lyx" way too so > that I could also have the benefit of actually seeing > to formula. _inside_ the math mode put all in braces { ... } no need for ERT Herbert
Re: Chapter with numbering but without word chapter - more questions...
[EMAIL PROTECTED] wrote: Hi! Thanks for your advice! Eventhough I'm using the Report style, I still got rid of the word chapter by adding the command (eventhough I had to type it as Tex at the beginning of the document, it wouldn't work in the preamble). Do you by any chance also know, if it is now also possible to get the number of the chapter in front of my own chapter title instead of on top of it? And is there a possibility to get around the pagebreaks when a new chapter starts? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/examples#header Herbert
Re: Chapter with numbering but without word chapter - more questions...
[EMAIL PROTECTED] wrote: Hi! Thanks for your advice! Eventhough I'm using the Report style, I still got rid of the word chapter by adding the command (eventhough I had to type it as Tex at the beginning of the document, it wouldn't work in the preamble). Do you by any chance also know, if it is now also possible to get the number of the chapter in front of my own chapter title instead of on top of it? And is there a possibility to get around the pagebreaks when a new chapter starts? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/examples#header Herbert
Re: Chapter with numbering but without word "chapter" - more questions...
[EMAIL PROTECTED] wrote: > Hi! > > Thanks for your advice! Eventhough I'm using the Report style, I still got > rid of the word chapter by adding the command (eventhough I had to type it > as Tex at the beginning of the document, it wouldn't work in the > preamble). > > Do you by any chance also know, if it is now also possible to get the > number of the chapter in front of my own chapter title instead of on top > of it? And is there a possibility to get around the pagebreaks when a new > chapter starts? http://tug.org/TeXnik/mainFAQ.cgi?file=layouts/examples#header Herbert
Re: Drawing of polynomials
Gunnar wrote: I've written a simple C++ program that can make eepic graphs of polynomials. So if you need to do this you can get my program here: http://web.comhem.se/~u46307480/RitaGraf.tgz There is a very short postscript manual in the tgz-file for those who can't speak swedish. The code is GPLv2 if you'd like to translate it, extend it or remove my ugly codewriting. - \pspolynomial from http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-func/ Herbert
Re: Drawing of polynomials
Gunnar wrote: I've written a simple C++ program that can make eepic graphs of polynomials. So if you need to do this you can get my program here: http://web.comhem.se/~u46307480/RitaGraf.tgz There is a very short postscript manual in the tgz-file for those who can't speak swedish. The code is GPLv2 if you'd like to translate it, extend it or remove my ugly codewriting. - \pspolynomial from http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-func/ Herbert
Re: Drawing of polynomials
Gunnar wrote: > I've written a simple C++ program that can make eepic graphs of > polynomials. So if you need to do this you can get my program here: > > http://web.comhem.se/~u46307480/RitaGraf.tgz > > There is a very short postscript manual in the tgz-file for those who > can't speak swedish. The code is GPLv2 if you'd like to translate it, > extend it or remove my ugly codewriting. -> \pspolynomial from http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-func/ Herbert
Re: Multiline headers.
Frans Grotepass wrote: \lhead{Number:\newline 000 001} \chead{Type: \newline IRS} \rhead{Rev: Issue: Status: \newline 000 000 Prelim} This works fine for lhead. Works reasonable for chead and shreds rhead completely. The spacing of the second line is fine, but the spacing of the first line gets mangled. put everything in a parbox or tabular \lhead{\parbox[t]{0.3\linewidth}{% Number:\\ 000 001}} \lhead{\tabular[t]{l} Number:\\ 000 001 \endtabular} Herbert
Re: Multiline headers.
Frans Grotepass wrote: \lhead{Number:\newline 000 001} \chead{Type: \newline IRS} \rhead{Rev: Issue: Status: \newline 000 000 Prelim} This works fine for lhead. Works reasonable for chead and shreds rhead completely. The spacing of the second line is fine, but the spacing of the first line gets mangled. put everything in a parbox or tabular \lhead{\parbox[t]{0.3\linewidth}{% Number:\\ 000 001}} \lhead{\tabular[t]{l} Number:\\ 000 001 \endtabular} Herbert
Re: Multiline headers.
Frans Grotepass wrote: \lhead{Number:\newline 000 001} \chead{Type: \newline IRS} \rhead{Rev: Issue: Status: \newline 000 000 Prelim} This works fine for lhead. Works reasonable for chead and shreds rhead completely. The spacing of the second line is fine, but the spacing of the first line gets mangled. put everything in a parbox or tabular \lhead{\parbox[t]{0.3\linewidth}{% Number:\\ 000 001}} \lhead{\tabular[t]{l} Number:\\ 000 001 \endtabular} Herbert
Re: Conditional text
Sanders, Maarten (M.J.L.) wrote: I am currently setting up a documentation system for our product (we build process automation systems). We maintain about 35 installations, all installations are more or less similar but still there an numerous differences. Fot this I am looking to a nice solution for modular content. I know about the version package and about the solution from http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12544.html if(unit1) {Some text about unit 1} else {Some text about all units except unit 1} if{NOT unit 1 OR NOT unit 3} {Some text about unit 2 and 6} else {Some specific notes about unit 3 and 1} etc. this is not easy and LyX is not the right editor for this. Attached a solution using the \ifcase macro for printing only text for the units 1..20 (in the example only for 1,2,3 You can define things like \def\unitI{ ... } \def\unitII{ ... } and then \unitI inside the case part for unit I which prints the argument of unitI. Herbert #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \newcommand\firstL{2pt} \newcommand\Abstand{2pt} [EMAIL PROTECTED] [EMAIL PROTECTED]@width\headwidth \vskip\Abstand% [EMAIL PROTECTED]@width\headwidth \vskip-\headrulewidth}}% \end_preamble \language icelandic \inputencoding latin1 \fontscheme default \graphics default \paperfontsize 10 \spacing single \papersize a4paper \paperpackage \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \paperwidth 17cm \paperheight 22cm \leftmargin 1.2cm \topmargin 1.4cm \rightmargin 1.7cm \bottommargin 1.4cm \headsep 1cm \secnumdepth 4 \tocdepth 4 \paragraph_separation indent \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 2 \paperpagestyle fancy \layout Section A test with an optional case \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash def \backslash unit{2} \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash ifcase \backslash unit \backslash or% text for unit 1 \end_inset \layout Standard Some text about unit 1 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 2 \end_inset \layout Standard Some text about unit 2 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 3 \end_inset \layout Standard Some text about unit 3 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash else% text for units 3 \end_inset \layout Standard Some text about all units except 1-3} \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash fi \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash def \backslash unit{4} \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash ifcase \backslash unit \backslash or% text for unit 1 \end_inset \layout Standard Some text about unit 1 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 2 \end_inset \layout Standard Some text about unit 2 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 3 \end_inset \layout Standard Some text about unit 3 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash else% text for units 3 \end_inset \layout Standard Some text about all units except 1-3} \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash fi \end_inset \the_end
Re: Conditional text
Sanders, Maarten (M.J.L.) wrote: I am currently setting up a documentation system for our product (we build process automation systems). We maintain about 35 installations, all installations are more or less similar but still there an numerous differences. Fot this I am looking to a nice solution for modular content. I know about the version package and about the solution from http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12544.html if(unit1) {Some text about unit 1} else {Some text about all units except unit 1} if{NOT unit 1 OR NOT unit 3} {Some text about unit 2 and 6} else {Some specific notes about unit 3 and 1} etc. this is not easy and LyX is not the right editor for this. Attached a solution using the \ifcase macro for printing only text for the units 1..20 (in the example only for 1,2,3 You can define things like \def\unitI{ ... } \def\unitII{ ... } and then \unitI inside the case part for unit I which prints the argument of unitI. Herbert #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \newcommand\firstL{2pt} \newcommand\Abstand{2pt} [EMAIL PROTECTED] [EMAIL PROTECTED]@width\headwidth \vskip\Abstand% [EMAIL PROTECTED]@width\headwidth \vskip-\headrulewidth}}% \end_preamble \language icelandic \inputencoding latin1 \fontscheme default \graphics default \paperfontsize 10 \spacing single \papersize a4paper \paperpackage \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \paperwidth 17cm \paperheight 22cm \leftmargin 1.2cm \topmargin 1.4cm \rightmargin 1.7cm \bottommargin 1.4cm \headsep 1cm \secnumdepth 4 \tocdepth 4 \paragraph_separation indent \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 2 \paperpagestyle fancy \layout Section A test with an optional case \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash def \backslash unit{2} \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash ifcase \backslash unit \backslash or% text for unit 1 \end_inset \layout Standard Some text about unit 1 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 2 \end_inset \layout Standard Some text about unit 2 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 3 \end_inset \layout Standard Some text about unit 3 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash else% text for units 3 \end_inset \layout Standard Some text about all units except 1-3} \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash fi \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash def \backslash unit{4} \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash ifcase \backslash unit \backslash or% text for unit 1 \end_inset \layout Standard Some text about unit 1 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 2 \end_inset \layout Standard Some text about unit 2 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 3 \end_inset \layout Standard Some text about unit 3 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash else% text for units 3 \end_inset \layout Standard Some text about all units except 1-3} \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash fi \end_inset \the_end
Re: Conditional text
Sanders, Maarten (M.J.L.) wrote: I am currently setting up a documentation system for our product (we build process automation systems). We maintain about 35 installations, all installations are more or less similar but still there an numerous differences. Fot this I am looking to a nice solution for modular content. I know about the version package and about the solution from http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12544.html if(unit1) {Some text about unit 1} else {Some text about all units except unit 1} if{NOT unit 1 OR NOT unit 3} {Some text about unit 2 and 6} else {Some specific notes about unit 3 and 1} etc. this is not easy and LyX is not the right editor for this. Attached a solution using the \ifcase macro for printing only text for the units 1..20 (in the example only for 1,2,3 You can define things like \def\unitI{ ... } \def\unitII{ ... } and then \unitI inside the case part for unit I which prints the argument of unitI. Herbert #LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \newcommand\firstL{2pt} \newcommand\Abstand{2pt} [EMAIL PROTECTED] [EMAIL PROTECTED]@width\headwidth \vskip\Abstand% [EMAIL PROTECTED]@width\headwidth \vskip-\headrulewidth}}% \end_preamble \language icelandic \inputencoding latin1 \fontscheme default \graphics default \paperfontsize 10 \spacing single \papersize a4paper \paperpackage \use_geometry 0 \use_amsmath 0 \use_natbib 0 \use_numerical_citations 0 \paperorientation portrait \paperwidth 17cm \paperheight 22cm \leftmargin 1.2cm \topmargin 1.4cm \rightmargin 1.7cm \bottommargin 1.4cm \headsep 1cm \secnumdepth 4 \tocdepth 4 \paragraph_separation indent \defskip medskip \quotes_language german \quotes_times 2 \papercolumns 1 \papersides 2 \paperpagestyle fancy \layout Section A test with an optional case \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash def \backslash unit{2} \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash ifcase \backslash unit \backslash or% text for unit 1 \end_inset \layout Standard Some text about unit 1 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 2 \end_inset \layout Standard Some text about unit 2 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 3 \end_inset \layout Standard Some text about unit 3 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash else% text for units > 3 \end_inset \layout Standard Some text about all units except 1-3} \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash fi \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash def \backslash unit{4} \end_inset \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash ifcase \backslash unit \backslash or% text for unit 1 \end_inset \layout Standard Some text about unit 1 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 2 \end_inset \layout Standard Some text about unit 2 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash or% text for unit 3 \end_inset \layout Standard Some text about unit 3 \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash else% text for units > 3 \end_inset \layout Standard Some text about all units except 1-3} \layout Standard \begin_inset ERT status Collapsed \layout Standard \backslash fi \end_inset \the_end
Re: ligatures in the footnotes
Kevin Pfeiffer wrote: Googling has failed me. I'm trying to add the \OE ligature to a footnote using an ERT. This produces an error message an undefined control sequence error message. read your error messages carefully. It doesn't say, that \OE is unknown, but \OEwhateverfollows \OE\ or \OE{} or \OEspace Herbert
Re: problem with hyphenation of underlined text
Kevin Pfeiffer wrote: I have a document that contains transcriptions of correspondence. The text contains instances where an underscore is used for emphasis which we wish to retain. Unfortunately when such words fall at the end of the line LyX (or LaTeX) no longer seems to be able to hyphenate them. Is there something I can do about this? Or do I manually need to break these words? :-( see soul.sty Herbert
Re: ligatures in the footnotes
Kevin Pfeiffer wrote: Googling has failed me. I'm trying to add the \OE ligature to a footnote using an ERT. This produces an error message an undefined control sequence error message. read your error messages carefully. It doesn't say, that \OE is unknown, but \OEwhateverfollows \OE\ or \OE{} or \OEspace Herbert
Re: problem with hyphenation of underlined text
Kevin Pfeiffer wrote: I have a document that contains transcriptions of correspondence. The text contains instances where an underscore is used for emphasis which we wish to retain. Unfortunately when such words fall at the end of the line LyX (or LaTeX) no longer seems to be able to hyphenate them. Is there something I can do about this? Or do I manually need to break these words? :-( see soul.sty Herbert
Re: ligatures in the footnotes
Kevin Pfeiffer wrote: Googling has failed me. I'm trying to add the \OE ligature to a footnote using an ERT. This produces an error message an "undefined control sequence" error message. read your error messages carefully. It doesn't say, that \OE is unknown, but \OEwhateverfollows \OE\ or \OE{} or \OE Herbert
Re: problem with hyphenation of underlined text
Kevin Pfeiffer wrote: I have a document that contains transcriptions of correspondence. The text contains instances where an underscore is used for emphasis which we wish to retain. Unfortunately when such words fall at the end of the line LyX (or LaTeX) no longer seems to be able to hyphenate them. Is there something I can do about this? Or do I manually need to break these words? :-( see soul.sty Herbert
Re: LaTeX for the printers ?
Søren O'Neill wrote: a general question - If I set a document up in LaTeX, would one expect it to be readily accepted by professional printshops? a PDF output should be no problem. Herbert
Re: displaymath
Paul A. Rubin wrote: Geoffrey Lloyd wrote: Hi I am using displaymath environment and wondered whether it was possible, for a few equations only, to have this environment to be left aligned rather than the default centered. Geoff In Layout-Document-Packages, check the box to use the amsmath package. Then insert the following in ERT in the text prior to each equation whose placement you want to change: [EMAIL PROTECTED] to switch to left alignment; [EMAIL PROTECTED] to switch to center alignment. Be sure to include a terminal space in the ERT so that \makeatother doesn't run into whatever comes next. using the flalign environment instead of align does the trick without ERT Herbert
Re: LaTeX for the printers ?
Søren O'Neill wrote: a general question - If I set a document up in LaTeX, would one expect it to be readily accepted by professional printshops? a PDF output should be no problem. Herbert
Re: displaymath
Paul A. Rubin wrote: Geoffrey Lloyd wrote: Hi I am using displaymath environment and wondered whether it was possible, for a few equations only, to have this environment to be left aligned rather than the default centered. Geoff In Layout-Document-Packages, check the box to use the amsmath package. Then insert the following in ERT in the text prior to each equation whose placement you want to change: [EMAIL PROTECTED] to switch to left alignment; [EMAIL PROTECTED] to switch to center alignment. Be sure to include a terminal space in the ERT so that \makeatother doesn't run into whatever comes next. using the flalign environment instead of align does the trick without ERT Herbert
Re: LaTeX for the printers ?
Søren O'Neill wrote: a general question - If I set a document up in LaTeX, would one expect it to be readily accepted by professional printshops? a PDF output should be no problem. Herbert
Re: displaymath
Paul A. Rubin wrote: Geoffrey Lloyd wrote: Hi I am using displaymath environment and wondered whether it was possible, for a few equations only, to have this environment to be left aligned rather than the default centered. Geoff In Layout->Document->Packages, check the box to use the amsmath package. Then insert the following in ERT in the text prior to each equation whose placement you want to change: [EMAIL PROTECTED] to switch to left alignment; [EMAIL PROTECTED] to switch to center alignment. Be sure to include a terminal space in the ERT so that \makeatother doesn't run into whatever comes next. using the flalign environment instead of align does the trick without ERT Herbert
Re: output refresh when only graphics change?
Stephen P. Harris wrote: I was looking at the lyxport (short for lyx export) perl script and info. http://www-hep.colorado.edu/~fperez/lyxport/files/lyxport-0.1.2 http://tex2pdf.berlios.de/ is the better one ... Herbert
Re: output refresh when only graphics change?
Stephen P. Harris wrote: I was looking at the lyxport (short for lyx export) perl script and info. http://www-hep.colorado.edu/~fperez/lyxport/files/lyxport-0.1.2 http://tex2pdf.berlios.de/ is the better one ... Herbert
Re: output refresh when only graphics change?
Stephen P. Harris wrote: I was looking at the lyxport (short for lyx export) perl script and info. http://www-hep.colorado.edu/~fperez/lyxport/files/lyxport-0.1.2 http://tex2pdf.berlios.de/ is the better one ... Herbert
Re: Preventing hyphenation with justified text?
Charles de Miramon wrote: Joshua Street wrote: Hi all, Is it possible to prevent justified paragraphs from having words broken across two lines? I want to apply this on a document-wide level, not just to one or two paragraphs Preventing hyphenation will confuse the TeX paragraph algorithm and produce ugly results. You would be better with OpenOffice or MsWord. huh?? TeX will never be confused ... and there is absolutely no need for OO or MS You can try it by putting in ERT at the top of your document \begin{hyphenrules}{nohyphenation} easier: -- choose an unknown language from the LyX menu, or -- write into the preamble \usepackahe[none]{hyphenat} or -- write into the preamble \hyphenpenalty=1 \exhyphenpenalty=1\relax Herbert