Re: Formatting/Equation numbering
> There are two relevant document class options: > > * "fleqn" (flush left equation), which aligns the equation to the left. Used > by itself, though, it leaves the equation number on the right. > > * "leqno" (left equation number), which puts the equation number on the left. > Used by itself, it centers the equation still. > > BUT, if you use BOTH options, then you get what you want. > > How to do it in LyX? Look at Document> Settings> Document Class. The "Custom" > field allows you to enter class options. In your case, you could enter > "fleqn,leqno". Any class options can be entered here. > > However, LyX also has native support for this under Document> Settings> Math > Options. The Formula Numbering Side option is self-explanatory. You would > want "Left". This adds "leqno" behind the scenes. The other one is the Indent > Formulas checkbox. The tooltip explains what it does: It indents instead of > centering equations. So you can check that. If you leave it at "Default", > then it just adds "fleqn"; you can also, however, control the indent here by > selecting "Custom" and entering a length (which gets set as the \mathindent). > This excellent explanation was also very useful to me. Thanks, Hal -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Formatting/Equation numbering
On 12/4/22 19:57, Dan wrote: I know how I can number equations, but I would like the equations to be in the following type of format: Eq. 1.1 (equation) Eq. 1.2 (equation) indented slightly. IMO I don't like having them centered like the usual Edit, Math, NumberWholeFormula method does. I know LaTeX supports defining a user formatting code but I don't know how to do that in LyX. There are two relevant document class options: * "fleqn" (flush left equation), which aligns the equation to the left. Used by itself, though, it leaves the equation number on the right. * "leqno" (left equation number), which puts the equation number on the left. Used by itself, it centers the equation still. BUT, if you use BOTH options, then you get what you want. How to do it in LyX? Look at Document> Settings> Document Class. The "Custom" field allows you to enter class options. In your case, you could enter "fleqn,leqno". Any class options can be entered here. However, LyX also has native support for this under Document> Settings> Math Options. The Formula Numbering Side option is self-explanatory. You would want "Left". This adds "leqno" behind the scenes. The other one is the Indent Formulas checkbox. The tooltip explains what it does: It indents instead of centering equations. So you can check that. If you leave it at "Default", then it just adds "fleqn"; you can also, however, control the indent here by selecting "Custom" and entering a length (which gets set as the \mathindent). This is all in the Math manual, under Help. Riki -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Formatting/Equation numbering
I know how I can number equations, but I would like the equations to be in the following type of format: Eq. 1.1 (equation) Eq. 1.2 (equation) indented slightly. IMO I don't like having them centered like the usual Edit, Math, NumberWholeFormula method does. I know LaTeX supports defining a user formatting code but I don't know how to do that in LyX. Thanks! -Dan -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Equation
What is with all these single word subject lines? "How do I highlight an equation?" is much more informative as a subject. ("in LyX" is probably not necessary when sending to a LyX Users mailing list. In most cases I would presume you were asking about how to do it in LyX...) -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Equation
El jue, 22 sept 2022 a las 1:26, Carlos Knauer () escribió: > How do I highlight an equation in LyX? > To change the text color, just select the whole equation and Right click → Text properties → Customize. To change the background, you can either follow section 9 of the Math editor manual you find under Help, or for a quick trick insert your equation inside a "frame" (Insert → Frame) and play a bit with the frame options. Regards, Ricardo > > Carlos Fernando Knauer > -- > lyx-users mailing list > lyx-users@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-users > -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Equation
How do I highlight an equation in LyX? Carlos Fernando Knauer -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Odd behavior of \protect in equation \tag
I’m using lyx 2.631 and the tikzlings package, and put \protect\tikz\protect\panda in an equation \tag. But after saving the .lyx file and reopening it the \protect vanishes. Obviously more of an annoyance for having to retype the \protect than a serious bug, but is there a known solution? Sanford -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users
Re: Option for displaying equation labels less obstrusively?
Le 03/10/2018 à 23:35, Klaus-Dieter Bauer a écrit : Hello! As it is currently implemented, equation labels are displayed as part of the equation number in LyX's editor. Sadly, for longer, semantically meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws off the formatting in the editor buffer: Instead of centering the equation, the combination of label and equation is centered. A similar problem occurs, when left-aligned equations with left-aligned numbering I have plans to improve this, but not the required free time right now. See e.g. https://www.lyx.org/trac/ticket/10668 JMarc
Re: Option for displaying equation labels less obstrusively?
Sorry I was hopeful but I never use a numbered equation so I was just guessing. The module is handy in other places. On Thu, 4 Oct 2018 at 05:39, Klaus-Dieter Bauer < bauer.klaus.die...@gmail.com> wrote: > Insets cannot be used inside LyX equations sadly. > > On Thu, Oct 4, 2018 at 2:31 AM John Kane wrote: > >> Try the ShortInsetNames module. I have never used it with equations but >> it works well with Chapter and Section names, tables and figures. >> >> Insert the Short label from Custom Inserts and then insert the label. >> Repeat procedure with Short Ref + label to have a short label in the text >> or wherever >> >> Thanks Andrew. >> >> On Wed, 3 Oct 2018 at 17:58, Joel Kulesza wrote: >> >>> On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer < >>> bauer.klaus.die...@gmail.com> wrote: >>> >>>> Hello! >>>> >>>> As it is currently implemented, equation labels are displayed as part >>>> of the equation number in LyX's editor. Sadly, for longer, semantically >>>> meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws >>>> off the formatting in the editor buffer: Instead of centering the equation, >>>> the combination of label and equation is centered. A similar problem >>>> occurs, when left-aligned equations with left-aligned numbering are used. >>>> >>>> Is there some setting in LyX, that allows getting better alignment, >>>> without sacrifizing the ability to use long label names? >>>> >>>> - Klaus >>>> >>> >>> I do not know of such a method, but would be thrilled if such were >>> created (or explained). I wonder if mouseover tooltips could be used >>> here... >>> >>> - Joel >>> >>> >> >> >> -- >> John Kane >> Kingston ON Canada >> > -- John Kane Kingston ON Canada
Re: Option for displaying equation labels less obstrusively?
Insets cannot be used inside LyX equations sadly. On Thu, Oct 4, 2018 at 2:31 AM John Kane wrote: > Try the ShortInsetNames module. I have never used it with equations but it > works well with Chapter and Section names, tables and figures. > > Insert the Short label from Custom Inserts and then insert the label. > Repeat procedure with Short Ref + label to have a short label in the text > or wherever > > Thanks Andrew. > > On Wed, 3 Oct 2018 at 17:58, Joel Kulesza wrote: > >> On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer < >> bauer.klaus.die...@gmail.com> wrote: >> >>> Hello! >>> >>> As it is currently implemented, equation labels are displayed as part of >>> the equation number in LyX's editor. Sadly, for longer, semantically >>> meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws >>> off the formatting in the editor buffer: Instead of centering the equation, >>> the combination of label and equation is centered. A similar problem >>> occurs, when left-aligned equations with left-aligned numbering are used. >>> >>> Is there some setting in LyX, that allows getting better alignment, >>> without sacrifizing the ability to use long label names? >>> >>> - Klaus >>> >> >> I do not know of such a method, but would be thrilled if such were >> created (or explained). I wonder if mouseover tooltips could be used >> here... >> >> - Joel >> >> > > > -- > John Kane > Kingston ON Canada >
Re: Option for displaying equation labels less obstrusively?
Try the ShortInsetNames module. I have never used it with equations but it works well with Chapter and Section names, tables and figures. Insert the Short label from Custom Inserts and then insert the label. Repeat procedure with Short Ref + label to have a short label in the text or wherever Thanks Andrew. On Wed, 3 Oct 2018 at 17:58, Joel Kulesza wrote: > On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer < > bauer.klaus.die...@gmail.com> wrote: > >> Hello! >> >> As it is currently implemented, equation labels are displayed as part of >> the equation number in LyX's editor. Sadly, for longer, semantically >> meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws >> off the formatting in the editor buffer: Instead of centering the equation, >> the combination of label and equation is centered. A similar problem >> occurs, when left-aligned equations with left-aligned numbering are used. >> >> Is there some setting in LyX, that allows getting better alignment, >> without sacrifizing the ability to use long label names? >> >> - Klaus >> > > I do not know of such a method, but would be thrilled if such were created > (or explained). I wonder if mouseover tooltips could be used here... > > - Joel > > -- John Kane Kingston ON Canada
Re: Option for displaying equation labels less obstrusively?
On Wed, Oct 3, 2018 at 3:36 PM Klaus-Dieter Bauer < bauer.klaus.die...@gmail.com> wrote: > Hello! > > As it is currently implemented, equation labels are displayed as part of > the equation number in LyX's editor. Sadly, for longer, semantically > meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws > off the formatting in the editor buffer: Instead of centering the equation, > the combination of label and equation is centered. A similar problem > occurs, when left-aligned equations with left-aligned numbering are used. > > Is there some setting in LyX, that allows getting better alignment, > without sacrifizing the ability to use long label names? > > - Klaus > I do not know of such a method, but would be thrilled if such were created (or explained). I wonder if mouseover tooltips could be used here... - Joel
Option for displaying equation labels less obstrusively?
Hello! As it is currently implemented, equation labels are displayed as part of the equation number in LyX's editor. Sadly, for longer, semantically meaningful label names (e.g. "eq:maxwell-equations-in-vacuum"), this throws off the formatting in the editor buffer: Instead of centering the equation, the combination of label and equation is centered. A similar problem occurs, when left-aligned equations with left-aligned numbering are used. Screenshot (if not displayed inline: https://imgur.com/a/Y1rDmgE) Made in full-screen mode with limited text-width. Is there some setting in LyX, that allows getting better alignment, without sacrifizing the ability to use long label names? - Klaus
latex equation copied from MathType generally shows redundant { }
Dear lyx developers and usersI am new to lyx. Before using lyx, I always use Mathtype software to typeset equations which can be downloaded from www.dessci.com/en/products/mathtype/ The equations in mathtype can be copied as latex format.for example, an _expression_ looks like thishttps://pasteboard.co/HpwLYea.pngis copied as latex code as below\left( {\begin{array}{*{20}{c}}{{e^{ - i\phi /2}}}\\{{e^{i\phi /2}}}\end{array}} \right)I then paste this latex code into lyx math mode, however, it shows like thishttps://pasteboard.co/HpwKWg4.pngwith annoying redundant { and } symbolHowever, if you tried any online latex equation editors likehttps://www.codecogs.comhttps://arachnoid.com/latex/etc.You will find the latex code copied from mathtype is perfect with any redundant { }So I think the latex equation interpretation in lyx should be improved. This issue should be solved. Thank you very much! looking forward to your reply.best regards
Re: Improvements to splitting math equation for multi-line?
On Sat, 19 May 2018 18:35:25 +0200 Jean-Marc Lasgouttes <lasgout...@lyx.org> wrote: > Le 19/05/2018 à 16:08, David L. Johnson a écrit : > > I would prefer to have it go into the eqnarry environment rather > > than AMS align, or at least default to three columns rather than 2, > > with the = in the middle. That way, following lines will have the > > = sign aligned, which IMO is how it should be. > > I am not sure that I understand the argument. = signs are aligned > with "align" environment, aren't they? And the extra spacing added by > eqnarry is gone, which is a good thing IMO. > > Could you give an example of what you do not like? Attached. I have two nonsense displayed equations. The top is with align, the bottom with eqnarray. The extra spacing, as you call it, justifies the two sides of the equation consistently with eqnarray. I think it's easier to read. -- David L. Johnson Department of Mathematics Lehigh University test1.lyx Description: application/lyx
Re: Improvements to splitting math equation for multi-line?
Le 19/05/2018 à 16:08, David L. Johnson a écrit : I would prefer to have it go into the eqnarry environment rather than AMS align, or at least default to three columns rather than 2, with the = in the middle. That way, following lines will have the = sign aligned, which IMO is how it should be. I am not sure that I understand the argument. = signs are aligned with "align" environment, aren't they? And the extra spacing added by eqnarry is gone, which is a good thing IMO. Could you give an example of what you do not like? JMarc
Re: Improvements to splitting math equation for multi-line?
Le 19/05/2018 à 16:08, David L. Johnson a écrit : But LyX doesn't understand them as delimiters unless they are written as such. Since 2.3, LyX knows the class (mathopen, mathclose, matrel...) of the insets. This has been used actually to generalize the old code which only looked at = sign AFAIU. JMarc
Re: Improvements to splitting math equation for multi-line?
On Sat, May 19, 2018 at 03:23:00PM +, David L. Johnson wrote: > On Sat, 19 May 2018 11:14:16 -0400 > Scott Kostyshakwrote: > > > > I would prefer to have it go into the eqnarry environment rather > > > than AMS align, or at least default to three columns rather than 2, > > > with the = in the middle. That way, following lines will have the > > > = sign aligned, which IMO is how it should be. > > > > If you set amsmath to "Do not Load" in Document > Settings > Math > > Options, the default will be an eqnarray. > > Well, I can't do that. Sorry, I should have mentioned that it was a hack that probably wouldn't work for your setup. Scott signature.asc Description: PGP signature
Re: Improvements to splitting math equation for multi-line?
On Sat, May 19, 2018 at 01:02:05PM +, Joel Kulesza wrote: > On Fri, May 18, 2018 at 11:04 PM, Scott Kostyshak <skost...@lyx.org> wrote: > > > When in a math display equation, if you press "ctrl + return", LyX will > > turn it into a multi-line equation. I think the default is an "align" > > environment. To do this, LyX tries "split" your current equation into > > two parts. For example, if the equation is: > > > > y = 3x + 5 > > > > LyX guesses that you want "y" on the left box, and "= 3x + 5" in the > > right box. In other words, it splits on the "=" sign. > > > > Do you use this feature? > > > Yes. For an example of some of the equations I contend with, please see > the attached (particularly slides 15–20). Breaking and fine-tuning > equations has become a way of life. Also, you can see why I'm reluctant to > typeset these in raw LaTeX and prefer a utility like LyX... :-) Ah yes that is a lot. > > Are there any improvements that you can think > > of? > > > Things that aggravate me / improvements I'd propose (not necessarily in > order): > >1. I'm usually splitting equations because they are long. If I use >multiline, only one equation number is kept and kept in the bottom row of >the equation. However, if I use splitting as described here (or manually >select "align" a priori because I know the equations lend themselves to >this appearance), I have to manually toggle on/off equation numbers so that >one, multi-line aligned, equation is properly numbered. For complex/busy >equations, this can be overlooked. I don't have a good solution, but if >something better were done to handle this, I'd be *quite* happy. That does sound like it could be improved. >2. If I'm within a set of delimiters, and break the equation as >described, I'd like the break to happen at the cursor and to have the >matched set of delimiters split into two unmatched sets with the proper >open/close delimiters and a matching "None". At present, I do this >manipulation manually; however, if I have to reformat the equation, this >can lead to lots of jousting with delimiters. That is a good idea, and consistent with what JMarc suggested (of splitting at the cursor). I see there's lots of room for improvement. > If you recall, dealing with >this situation lead to my first LyX code contribution (within the Insert >delimiter dialog), so you can see that it's something I deal with >frequently. Ah I had forgotten about that. > > I haven't looked at the code yet, but I'm considering trying to > > improve the algorithm for splitting. My personal use case is that I > > often have expressions of the form > > > > P(X < 3) = 2 > > > > Currently LyX splits this on the "<". I would like to have the algorithm > > prioritize a relation character that is outside of delimiters. > > > > What happens if you use matched parenthesis (Ctrl-M, "(" in the math editor > on macOS) rather than statically written ones (individually typing "(" and > ")")? If I used matched parenthesis (on macOS, at least), the break > happens before the equal sign. Unmatched, yes, the break happens before > "<". Note that I always use matched delimiters as a matter of course > because, for me, it's highly probable that whatever is within them will > cause them to grow in height. Makes sense. I often forget to use the, but I should get in the habit. Thanks, Scott signature.asc Description: PGP signature
Re: Improvements to splitting math equation for multi-line?
On Sat, 19 May 2018 11:14:16 -0400 Scott Kostyshakwrote: > > I would prefer to have it go into the eqnarry environment rather > > than AMS align, or at least default to three columns rather than 2, > > with the = in the middle. That way, following lines will have the > > = sign aligned, which IMO is how it should be. > > If you set amsmath to "Do not Load" in Document > Settings > Math > Options, the default will be an eqnarray. Well, I can't do that. -- David L. Johnson Department of Mathematics Lehigh University
Re: Improvements to splitting math equation for multi-line?
On Sat, May 19, 2018 at 02:08:43PM +, David L. Johnson wrote: > On Sat, 19 May 2018 01:04:31 -0400 > Scott Kostyshak <skost...@lyx.org> wrote: > > > When in a math display equation, if you press "ctrl + return", LyX > > will turn it into a multi-line equation. I think the default is an > > "align" environment. To do this, LyX tries "split" your current > > equation into two parts. For example, if the equation is: > > > > y = 3x + 5 > > > > LyX guesses that you want "y" on the left box, and "= 3x + 5" in the > > right box. In other words, it splits on the "=" sign. > > > > Do you use this feature? Are there any improvements that you can think > > of? > > I would prefer to have it go into the eqnarry environment rather than > AMS align, or at least default to three columns rather than 2, with the > = in the middle. That way, following lines will have the = sign > aligned, which IMO is how it should be. If you set amsmath to "Do not Load" in Document > Settings > Math Options, the default will be an eqnarray. > I haven't looked at the code yet, but I'm considering trying to > > improve the algorithm for splitting. My personal use case is that I > > often have expressions of the form > > > > P(X < 3) = 2 > > > > Currently LyX splits this on the "<". > > Well, you could prevent that by replacing "P(X<3)=2" with > "P\left(X<3\right)=2", which is easy to do in LyX. It also looks > better. You are right. I usually just forget to use the smart parentheses. > > I would like to have > the > > algorithm prioritize a relation character that is outside of > > delimiters. > > But LyX doesn't understand them as delimiters unless they are written > as such. True. Scott signature.asc Description: PGP signature
Re: Improvements to splitting math equation for multi-line?
On Sat, 19 May 2018 01:04:31 -0400 Scott Kostyshak <skost...@lyx.org> wrote: > When in a math display equation, if you press "ctrl + return", LyX > will turn it into a multi-line equation. I think the default is an > "align" environment. To do this, LyX tries "split" your current > equation into two parts. For example, if the equation is: > > y = 3x + 5 > > LyX guesses that you want "y" on the left box, and "= 3x + 5" in the > right box. In other words, it splits on the "=" sign. > > Do you use this feature? Are there any improvements that you can think > of? I would prefer to have it go into the eqnarry environment rather than AMS align, or at least default to three columns rather than 2, with the = in the middle. That way, following lines will have the = sign aligned, which IMO is how it should be. I haven't looked at the code yet, but I'm considering trying to > improve the algorithm for splitting. My personal use case is that I > often have expressions of the form > > P(X < 3) = 2 > > Currently LyX splits this on the "<". Well, you could prevent that by replacing "P(X<3)=2" with "P\left(X<3\right)=2", which is easy to do in LyX. It also looks better. I would like to have the > algorithm prioritize a relation character that is outside of > delimiters. But LyX doesn't understand them as delimiters unless they are written as such. -- David L. Johnson Department of Mathematics Lehigh University
Re: Fwd: Improvements to splitting math equation for multi-line?
Le 19/05/2018 à 13:46, Hal Kierstead a écrit : I use this all the time. The slider would be useful as I often end up cutting and pasting. But I do not need the graphics; an easy way to insert the “&” at the right place would be great. Indeed a "split here" would be good. The automatic detection is a hack, and I am not sure it is the best solution. A solution would be to split at the point where the cursor is, but maybe not add a new line when transforming from display equation to 1-line align. JMarc
Fwd: Improvements to splitting math equation for multi-line?
>>> When in a math display equation, if you press "ctrl + return", LyX will >>> turn it into a multi-line equation. I think the default is an "align" >>> environment. To do this, LyX tries "split" your current equation into >>> two parts. For example, if the equation is: >>> >>> y = 3x + 5 >>> >>> LyX guesses that you want "y" on the left box, and "= 3x + 5" in the >>> right box. In other words, it splits on the "=" sign. >>> >>> Do you use this feature? Are there any improvements that you can think >>> of? I haven't looked at the code yet, but I'm considering trying to >>> improve the algorithm for splitting. My personal use case is that I >>> often have expressions of the form >>> >>> P(X < 3) = 2 >>> >>> Currently LyX splits this on the "<". I would like to have the algorithm >>> prioritize a relation character that is outside of delimiters. >>> >>> Before I look at the code, I want to see if anyone else has a desired >>> improvement to how LyX currently splits. >>> >>> Scott > Begin forwarded message: > > From: Scott Kostyshak <skost...@lyx.org> > Subject: Re: Improvements to splitting math equation for multi-line? > Date: May 18, 2018 at 10:44:12 PM MST > To: lyx-users@lists.lyx.org > > On Sat, May 19, 2018 at 05:39:09AM +, Baris Erkus wrote: > >> I may recommend to develop a tool where you can slide the location of "&" in >> the equation. Something like tab sign in Word. > > I can see how that would be useful, especially for when there are many > lines. I think it is too ambitious for what I'm planning on working on > (hopefully I can limit my edits to the function that does the > splitting), but I think I would like the feature you mention also. > > Thanks, > > Scott I use this all the time. The slider would be useful as I often end up cutting and pasting. But I do not need the graphics; an easy way to insert the “&” at the right place would be great.
Re: Improvements to splitting math equation for multi-line?
On Sat, May 19, 2018 at 05:39:09AM +, Baris Erkus wrote: > I may recommend to develop a tool where you can slide the location of "&" in > the equation. Something like tab sign in Word. I can see how that would be useful, especially for when there are many lines. I think it is too ambitious for what I'm planning on working on (hopefully I can limit my edits to the function that does the splitting), but I think I would like the feature you mention also. Thanks, Scott signature.asc Description: PGP signature
Re: Improvements to splitting math equation for multi-line?
On 5/19/2018 8:04 AM, Scott Kostyshak wrote: When in a math display equation, if you press "ctrl + return", LyX will turn it into a multi-line equation. I think the default is an "align" environment. To do this, LyX tries "split" your current equation into two parts. For example, if the equation is: y = 3x + 5 LyX guesses that you want "y" on the left box, and "= 3x + 5" in the right box. In other words, it splits on the "=" sign. Do you use this feature? Are there any improvements that you can think of? I haven't looked at the code yet, but I'm considering trying to improve the algorithm for splitting. My personal use case is that I often have expressions of the form P(X < 3) = 2 Currently LyX splits this on the "<". I would like to have the algorithm prioritize a relation character that is outside of delimiters. Before I look at the code, I want to see if anyone else has a desired improvement to how LyX currently splits. Scott I may recommend to develop a tool where you can slide the location of "&" in the equation. Something like tab sign in Word. [cid:part1.162D0226.BA5075C5@hotmail.com]
Improvements to splitting math equation for multi-line?
When in a math display equation, if you press "ctrl + return", LyX will turn it into a multi-line equation. I think the default is an "align" environment. To do this, LyX tries "split" your current equation into two parts. For example, if the equation is: y = 3x + 5 LyX guesses that you want "y" on the left box, and "= 3x + 5" in the right box. In other words, it splits on the "=" sign. Do you use this feature? Are there any improvements that you can think of? I haven't looked at the code yet, but I'm considering trying to improve the algorithm for splitting. My personal use case is that I often have expressions of the form P(X < 3) = 2 Currently LyX splits this on the "<". I would like to have the algorithm prioritize a relation character that is outside of delimiters. Before I look at the code, I want to see if anyone else has a desired improvement to how LyX currently splits. Scott signature.asc Description: PGP signature
Re: Equation Center Alignment Relative to Beamer Frame
On Thu, Apr 6, 2017 at 8:32 AM, Paul A. Rubinwrote: > So it's true: great minds think alike! Indeed, I played with negative spaces previously but didn't get anything useful. I was hoping there might be a more elegant, e.g., preamble-only, approach to redefine spacings for equations. Regardless, I hadn't tried inserting into the following item but rather before the restart of the itemization. If switching environments and negative spacing is the agreed upon approach I'll see what I can cobble together into a module. Thanks again, Joel
Re: Equation Center Alignment Relative to Beamer Frame
On 04/06/2017 10:23 AM, Rich Shepard wrote: On Thu, 6 Apr 2017, Joel Kulesza wrote: A minor complaint (and why I didn't go this route originally), the vertical spacing before/after the second equation is not consistent because of going between "standard" and "itemize". It's subtle, but is there a known fix? Joel, What I would do is insert \vspace{Nmm} between the two lines, using a negative value to decrease the space if necessary. Rich So it's true: great minds think alike! Paul
Re: Equation Center Alignment Relative to Beamer Frame
On Thu, 6 Apr 2017, Joel Kulesza wrote: A minor complaint (and why I didn't go this route originally), the vertical spacing before/after the second equation is not consistent because of going between "standard" and "itemize". It's subtle, but is there a known fix? Joel, What I would do is insert \vspace{Nmm} between the two lines, using a negative value to decrease the space if necessary. Rich
Re: Equation Center Alignment Relative to Beamer Frame
On Wed, Apr 5, 2017 at 2:55 PM, Paul A. Rubin <parubi...@gmail.com> wrote: > I don't know if there's a module for this, but it's not hard to do. The > first key is that you'll want the display mode math in a Standard, rather > then Itemize (or Enumerate), environment to get it to center properly. > > As to what comes next, if it's the last thing in the last item, just > soldier on. If it's the last thing in what is not the last item, just start > a new Itemize environment. Where it gets interesting is if the math is in > the middle of an item. In that case, get out of the item and into a > standard environment, do the math, and then to resume the item start a new > Itemize environment, do Insert > Custom Item, and leave the Custom Item > inset empty (which suppresses the unwanted bullet). I've attached a small > example. > > For math in the middle of an enumeration, the story is almost the same, > the difference being that you will need to load the Beamer Resumable > Enumerate module and use an Enumerate-Resume environment after itemize with > the custom inset to resume enumerating with the next number. > > If this is a frequent issue, you might consider writing either a module or > a macro for it (unless, of course, one already exists). > Thank you for your explanation and worked example (I really appreciate it when people take the time to demonstrate a fix). A minor complaint (and why I didn't go this route originally), the vertical spacing before/after the second equation is not consistent because of going between "standard" and "itemize". It's subtle, but is there a known fix? I'm reluctant to get into playing with hard-coded spacings in the preamble, but I'm willing to if that's what it takes. Once these types of items are hammered out, I'll create a submodule (and will submit it to be considered for inclusion in future versions). Thanks again (for this and your help to others that is very useful to learn from). Best regards, Joel
Re: Equation Center Alignment Relative to Beamer Frame
On 04/05/2017 04:20 PM, Joel Kulesza wrote: Colleagues: My goal is to have equations on a Beamer frame center-aligned relative to the frame and not the indent level of the current environment. This issue is surprisingly hard to search for (e.g., most discussion addresses equation alignment with things such as \align). One approach I located is described at: http://tex.stackexchange.com/questions/11606/how-can-i-center-text-math-inside-a-list-environment Is there built-in (or a suggested implementation of) functionality to produce the desired behavior? Thank you, Joel I don't know if there's a module for this, but it's not hard to do. The first key is that you'll want the display mode math in a Standard, rather then Itemize (or Enumerate), environment to get it to center properly. As to what comes next, if it's the last thing in the last item, just soldier on. If it's the last thing in what is not the last item, just start a new Itemize environment. Where it gets interesting is if the math is in the middle of an item. In that case, get out of the item and into a standard environment, do the math, and then to resume the item start a new Itemize environment, do Insert > Custom Item, and leave the Custom Item inset empty (which suppresses the unwanted bullet). I've attached a small example. For math in the middle of an enumeration, the story is almost the same, the difference being that you will need to load the Beamer Resumable Enumerate module and use an Enumerate-Resume environment after itemize with the custom inset to resume enumerating with the next number. If this is a frequent issue, you might consider writing either a module or a macro for it (unless, of course, one already exists). Paul item_math.lyx Description: application/lyx
Equation Center Alignment Relative to Beamer Frame
Colleagues: My goal is to have equations on a Beamer frame center-aligned relative to the frame and not the indent level of the current environment. This issue is surprisingly hard to search for (e.g., most discussion addresses equation alignment with things such as \align). One approach I located is described at: http://tex.stackexchange.com/questions/11606/how-can-i-center-text-math-inside-a-list-environment Is there built-in (or a suggested implementation of) functionality to produce the desired behavior? Thank you, Joel
Re: How can one box a equation with a specified color?
Thanks, Edu. Meanwhile, I found out a solution with \fcolorbox Paul On Tue, Oct 11, 2016 at 10:44 PM, edu Gpl <mandrivagn...@gmail.com> wrote: > add this code in Document setting > local layou: > > Style Law > > Category MainText > > Margin Static > > LatexType Environment > > LatexName bluec > > NextNoIndent 1 > > LeftMargin MMM > > RightMargin MMM > > ParIndent MM > > ParSkip 0 > > ItemSep 0 > > TopSep 0.5 > > BottomSep 0.5 > > ParSep 0 > > Align Block > > AlignPossible Block, Left, Right, Center > > Preamble > > \usepackage{mdframed} > > \usepackage{xcolor} > > \newenvironment{bluec} > > {\begin{mdframed}[backgroundcolor=blue!10,linecolor=blue!10,roundcorner=10pt]\quotation} > > {\endquotation\end{mdframed}} > > EndPreamble > > End > > % > > > > regards > > 2016-10-12 0:17 GMT+03:00 Paul Smith <phh...@gmail.com>: >> >> Dear All, >> >> How can one box a equation with a specified color? >> >> Thanks in advance, >> >> Paul > >
Re: How can one box a equation with a specified color?
whith my solution you put the code 1 time, but with your solution you add the code every time. regards 2016-10-12 0:54 GMT+03:00 Paul Smith <phh...@gmail.com>: > Thanks, Edu. > > Meanwhile, I found out a solution with > > \fcolorbox > > Paul > > > On Tue, Oct 11, 2016 at 10:44 PM, edu Gpl <mandrivagn...@gmail.com> wrote: > > add this code in Document setting > local layou: > > > > Style Law > > > > Category MainText > > > > Margin Static > > > > LatexType Environment > > > > LatexName bluec > > > > NextNoIndent 1 > > > > LeftMargin MMM > > > > RightMargin MMM > > > > ParIndent MM > > > > ParSkip 0 > > > > ItemSep 0 > > > > TopSep 0.5 > > > > BottomSep 0.5 > > > > ParSep 0 > > > > Align Block > > > > AlignPossible Block, Left, Right, Center > > > > Preamble > > > > \usepackage{mdframed} > > > > \usepackage{xcolor} > > > > \newenvironment{bluec} > > > > {\begin{mdframed}[backgroundcolor=blue!10,linecolor=blue!10,roundcorner= > 10pt]\quotation} > > > > {\endquotation\end{mdframed}} > > > > EndPreamble > > > > End > > > > % > > > > > > > > regards > > > > 2016-10-12 0:17 GMT+03:00 Paul Smith <phh...@gmail.com>: > >> > >> Dear All, > >> > >> How can one box a equation with a specified color? > >> > >> Thanks in advance, > >> > >> Paul > > > > >
Re: How can one box a equation with a specified color?
add this code in Document setting > local layou: Style Law Category MainText Margin Static LatexType Environment LatexName bluec NextNoIndent 1 LeftMargin MMM RightMargin MMM ParIndent MM ParSkip 0 ItemSep 0 TopSep 0.5 BottomSep 0.5 ParSep 0 Align Block AlignPossible Block, Left, Right, Center Preamble \usepackage{mdframed} \usepackage{xcolor} \newenvironment{bluec} {\begin{mdframed}[backgroundcolor=blue!10,linecolor=blue!10,roundcorner=10pt]\quotation} {\endquotation\end{mdframed}} EndPreamble End % regards 2016-10-12 0:17 GMT+03:00 Paul Smith <phh...@gmail.com>: > Dear All, > > How can one box a equation with a specified color? > > Thanks in advance, > > Paul >
How can one box a equation with a specified color?
Dear All, How can one box a equation with a specified color? Thanks in advance, Paul
Re: Bad equation renderings
On Fri, 15 Apr 2016 10:07:06 -0700 Tim Wescottwrote: > A reader contacted me asking why I left out the equals signs in the > equations. It turned out that the equals signs did not render > correctly in his web reader plug-in, but did render correctly in the > related stand-alone reader. Tim, Whenever something like this happens I immediately wonder about whether all the fonts are embedded in the PDF. If I check with Image Viewer (I'm using Linux Mint), I get the reassuring message "All fonts are either standard or embedded", with ten unexceptional Type 1 fonts, all with Embedded subsets. And one Type 3 "No name" font described as Embedded, not Embedded subset. The equations do render correctly with this viewer, and with the Chrome viewer. If I open the downloaded file with Acrobat Reader 9, it renders correctly, but the Type 3 font is described as" F56 Type: Type 3 Encoding: Custom Actual Font: F56 Actual Font Type: Type 3 There is no mention of it being embedded. I don't know where this font is coming from in your document, but it may be the problem. None of the viewers I tried had any problems with correctly displaying your PDF. Les -- L. R. Denham
Re: Bad equation renderings
On 2016-04-15, Tim Wescott wrote: > [-- Type: text/plain, Encoding: 7bit --] > I posted this paper to my website yesterday: > http://wescottdesign.com/articles/pid/pidWithoutAPhd.pdf. > A reader contacted me asking why I left out the equals signs in the > equations. It turned out that the equals signs did not render correctly > in his web reader plug-in, but did render correctly in the related > stand-alone reader. Here's what he said: > "Hi, > I'm attaching bmps of screenshots to this message, showing the bad > rendering. This is through the Foxit add-on to the Firefox browser. > I just downloaded the file, rather than looking at it in the browser, > and when the file is opened by Foxit, the equals signs show up just > fine." > This isn't a problem with Lyx per se., but (likely) some interaction > between tex2pdf, the Foxit software, and possibly the guy's screen > resolution. But -- you guys are smart, so I'm asking you if you (A) > know what's going on, and (B) have any suggestions for how I could work > around this for Foxit users without making my pdf files too ugly for > normal humans to want to read. I assume you are speaking about LyX-produced PDF output, right? My guess is, that the user used a resolution/magnification so small, that the thickness of the lines in = was rounded to 0 by the software. There is no easy cure, some suggestions: * whenever details are missing, magnify the document and see whether they turn up. * use a font with bolder symbols (e.g. newtxmath) * use a larger font size (Document>Settings>Fonts>Base Size) Günter
Re: Bad equation renderings
The equal sign shows up well for me in both Chrome and Safari. I've had good luck with Foxit on Windows; however, I suspect this is can be blamed on it. It might be interesting to force embedding the fonts in the PDF and see if the user can see the equal signs then. On Fri, Apr 15, 2016 at 4:29 PM, Scott Kostyshakwrote: > On Fri, Apr 15, 2016 at 11:40:24PM +0530, Madhusudan Singh wrote: > > Have you considered the use of MathJax? > > > > If your math is web only, that is a compelling alternative. > > On Apr 15, 2016 10:37 PM, "Tim Wescott" wrote: > > > > > I posted this paper to my website yesterday: > > > http://wescottdesign.com/articles/pid/pidWithoutAPhd.pdf. > > > > > > A reader contacted me asking why I left out the equals signs in the > > > equations. It turned out that the equals signs did not render > correctly > > > in his web reader plug-in, but did render correctly in the related > > > stand-alone reader. Here's what he said: > > > > > > "Hi, > > > > > > I'm attaching bmps of screenshots to this message, showing the bad > > > rendering. This is through the Foxit add-on to the Firefox browser. > > > I just downloaded the file, rather than looking at it in the browser, > > > and when the file is opened by Foxit, the equals signs show up just > > > fine." > > > > > > This isn't a problem with Lyx per se., but (likely) some interaction > > > between tex2pdf, the Foxit software, and possibly the guy's screen > > > resolution. But -- you guys are smart, so I'm asking you if you (A) > > > know what's going on, and (B) have any suggestions for how I could work > > > around this for Foxit users without making my pdf files too ugly for > > > normal humans to want to read. > > I don't have an idea of how to fix the problem, but in case it helps: > the equals signs show fine for me in Chromium. > > Scott >
Re: Bad equation renderings
On Fri, Apr 15, 2016 at 11:40:24PM +0530, Madhusudan Singh wrote: > Have you considered the use of MathJax? > > If your math is web only, that is a compelling alternative. > On Apr 15, 2016 10:37 PM, "Tim Wescott"wrote: > > > I posted this paper to my website yesterday: > > http://wescottdesign.com/articles/pid/pidWithoutAPhd.pdf. > > > > A reader contacted me asking why I left out the equals signs in the > > equations. It turned out that the equals signs did not render correctly > > in his web reader plug-in, but did render correctly in the related > > stand-alone reader. Here's what he said: > > > > "Hi, > > > > I'm attaching bmps of screenshots to this message, showing the bad > > rendering. This is through the Foxit add-on to the Firefox browser. > > I just downloaded the file, rather than looking at it in the browser, > > and when the file is opened by Foxit, the equals signs show up just > > fine." > > > > This isn't a problem with Lyx per se., but (likely) some interaction > > between tex2pdf, the Foxit software, and possibly the guy's screen > > resolution. But -- you guys are smart, so I'm asking you if you (A) > > know what's going on, and (B) have any suggestions for how I could work > > around this for Foxit users without making my pdf files too ugly for > > normal humans to want to read. I don't have an idea of how to fix the problem, but in case it helps: the equals signs show fine for me in Chromium. Scott signature.asc Description: PGP signature
Re: Bad equation renderings
Have you considered the use of MathJax? If your math is web only, that is a compelling alternative. On Apr 15, 2016 10:37 PM, "Tim Wescott"wrote: > I posted this paper to my website yesterday: > http://wescottdesign.com/articles/pid/pidWithoutAPhd.pdf. > > A reader contacted me asking why I left out the equals signs in the > equations. It turned out that the equals signs did not render correctly > in his web reader plug-in, but did render correctly in the related > stand-alone reader. Here's what he said: > > "Hi, > > I'm attaching bmps of screenshots to this message, showing the bad > rendering. This is through the Foxit add-on to the Firefox browser. > I just downloaded the file, rather than looking at it in the browser, > and when the file is opened by Foxit, the equals signs show up just > fine." > > This isn't a problem with Lyx per se., but (likely) some interaction > between tex2pdf, the Foxit software, and possibly the guy's screen > resolution. But -- you guys are smart, so I'm asking you if you (A) > know what's going on, and (B) have any suggestions for how I could work > around this for Foxit users without making my pdf files too ugly for > normal humans to want to read. > > Thanks! > > -- > > Tim Wescott > www.wescottdesign.com > Control & Communications systems, circuit & software design. > Phone: 503.631.7815 > Cell: 503.349.8432 > >
Re: Equation numbering variants
Paul A. Rubin msu.edu> writes: > I'm going to assume that you want the marked equations not to interrupt the > equation numbering scheme. In other words, you want (2.3.3)DELTA consecutive > between (2.3.2) and (2.3.4), rather than having both a (2.3.3) and a > (2.3.3)DELTA. > > Create a math macro (Insert > Math > Macro), name it something like \mytag, > and fill the TeX code slot with > > \stepcounter{equation}\tag{\theequation\Delta} > > and the LyX display slot with ?\Delta?. There's nothing sacred about what > goes in the LyX slot; feel free to change it at will. More about that in a > second. > > Then, in any equation you want to flag, just type \mytag in the equation > body. LyX will display ?\Delta? (or whatever you substituted) in the > equation, and will annotate the equation number correctly in the output. If > you leave the LyX portion of the macro empty, LyX will expand the macro > inside the equation. That still works, but it makes for some remarkably ugly > equations in the LyX GUI. > > Paul > Thank you Paul! I tried it and it works good. I see what you mean with the Lyx portion of the macro - it is only for my reference. But the DELTA is inside the round brackets. Is there a way to have it outside the brackets? Franci
Re: Equation numbering variants
Le 16/12/2015 23:05, Franci Žižek a écrit : Paul A. Rubin msu.edu> writes: I'm going to assume that you want the marked equations not to interrupt the equation numbering scheme. In other words, you want (2.3.3)DELTA consecutive between (2.3.2) and (2.3.4), rather than having both a (2.3.3) and a (2.3.3)DELTA. Create a math macro (Insert > Math > Macro), name it something like \mytag, and fill the TeX code slot with \stepcounter{equation}\tag{\theequation\Delta} and the LyX display slot with ?\Delta?. There's nothing sacred about what goes in the LyX slot; feel free to change it at will. More about that in a second. Then, in any equation you want to flag, just type \mytag in the equation body. LyX will display ?\Delta? (or whatever you substituted) in the equation, and will annotate the equation number correctly in the output. If you leave the LyX portion of the macro empty, LyX will expand the macro inside the equation. That still works, but it makes for some remarkably ugly equations in the LyX GUI. Paul Thank you Paul! I tried it and it works good. I see what you mean with the Lyx portion of the macro - it is only for my reference. But the DELTA is inside the round brackets. Is there a way to have it outside the brackets? Use \tag* instead: \stepcounter{equation}\tag*{(\theequation)\Delta} Guillaume
Re: Equation numbering variants
> Use \tag* instead: \stepcounter{equation}\tag*{(\theequation)\Delta} > > Guillaume > Beautiful! Thank you Guillaume! Best regards
Re: Equation numbering variants
Franci Žižek gmail.com> writes: > > Hi > > Can someone give me a hint how I could create a different equation numbering > variant? > > Currently all my equations are numbered like: (2.3.2) > > For some select equations I would like this to change to: (2.3.3)Δ > The counting is continuous, some equations just have an additional DELTA at > the end. > > Any help is appreciated. > > Franci Žižek I'm going to assume that you want the marked equations not to interrupt the equation numbering scheme. In other words, you want (2.3.3)DELTA consecutive between (2.3.2) and (2.3.4), rather than having both a (2.3.3) and a (2.3.3)DELTA. Create a math macro (Insert > Math > Macro), name it something like \mytag, and fill the TeX code slot with \stepcounter{equation}\tag{\theequation\Delta} and the LyX display slot with ?\Delta?. There's nothing sacred about what goes in the LyX slot; feel free to change it at will. More about that in a second. Then, in any equation you want to flag, just type \mytag in the equation body. LyX will display ?\Delta? (or whatever you substituted) in the equation, and will annotate the equation number correctly in the output. If you leave the LyX portion of the macro empty, LyX will expand the macro inside the equation. That still works, but it makes for some remarkably ugly equations in the LyX GUI. Paul
Equation numbering variants
Hi Can someone give me a hint how I could create a different equation numbering variant? Currently all my equations are numbered like: (2.3.2) For some select equations I would like this to change to: (2.3.3)Δ The counting is continuous, some equations just have an additional DELTA at the end. Any help is appreciated. Franci Žižek
how can i set up a shortcut for equation label?
Hi there, I need to use the function of equation labelling everyday. How can i set up a shortcut for it? I google a lot and fail to find a solution. Thanks a lot! Best, Chen
Re: how can i set up a shortcut for equation label?
On Mon, Aug 10, 2015 at 12:58 PM, Chen Lian zplg...@gmail.com wrote: Hi there, I need to use the function of equation labelling everyday. How can i set up a shortcut for it? I google a lot and fail to find a solution. Thanks a lot! Best, Chen Hi Chen, See the answer here. It is written in a general way so that you can find out how to make shorcuts for many different LyX actions. http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531 Best, Scott
Re: how can i set up a shortcut for equation label?
Dear Chen, See in Preferences Keyboard shortcuts. The action is label-insert and you can define a shortcut of your choice for it. In your case you will find label-copy-as-reference useful too, to later paste the reference. GM Le 10/08/2015 17:58, Chen Lian a écrit : Hi there, I need to use the function of equation labelling everyday. How can i set up a shortcut for it? I google a lot and fail to find a solution. Thanks a lot! Best, Chen
how can i set up a shortcut for equation label?
Hi there, I need to use the function of equation labelling everyday. How can i set up a shortcut for it? I google a lot and fail to find a solution. Thanks a lot! Best, Chen
Re: how can i set up a shortcut for equation label?
On Mon, Aug 10, 2015 at 12:58 PM, Chen Lian <zplg...@gmail.com> wrote: > Hi there, > > I need to use the function of equation labelling everyday. How can i set up a > shortcut for it? I google a lot and fail to find a solution. Thanks a lot! > > Best, > Chen Hi Chen, See the answer here. It is written in a general way so that you can find out how to make shorcuts for many different LyX actions. http://tex.stackexchange.com/questions/208510/lyx-commands-to-insert-wysiwyg-horizontal-line-for-keyboard-shortcut/208531#208531 Best, Scott
Re: how can i set up a shortcut for equation label?
Dear Chen, See in Preferences > Keyboard shortcuts. The action is label-insert and you can define a shortcut of your choice for it. In your case you will find label-copy-as-reference useful too, to later paste the reference. GM Le 10/08/2015 17:58, Chen Lian a écrit : Hi there, I need to use the function of equation labelling everyday. How can i set up a shortcut for it? I google a lot and fail to find a solution. Thanks a lot! Best, Chen
Re: Copy LaTeX source of an equation
On Tue, May 26, 2015 at 8:13 PM, Marduk Bolaños mardu...@mac.com wrote: I would like to copy the LaTeX source of an equation to the clipboard without having to open the source pane. This should work from within LyX. Simply select the math inset and copy it. Then you should get the LaTeX code on the clipboard (minus the $$ signs). Liviu If this is not possible without modification to the source code of LyX, at least I would like to know how to call an arbitrary external script myscript with math-extern. I already tried adding the path of myscript to the PATH prefix of LyX and also tried putting it in ~/.lyx/scripts. I also used lyx -dbg gui and it complained that there is no converter called myscript. Thank you! -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
Copy LaTeX source of an equation
I would like to copy the LaTeX source of an equation to the clipboard without having to open the source pane. If this is not possible without modification to the source code of LyX, at least I would like to know how to call an arbitrary external script myscript with math-extern. I already tried adding the path of myscript to the PATH prefix of LyX and also tried putting it in ~/.lyx/scripts. I also used lyx -dbg gui and it complained that there is no converter called myscript. Thank you!
Re: Copy LaTeX source of an equation
It works now. Last time I checked (a few months ago) it did not. Thank you!
Copy LaTeX source of an equation
I would like to copy the LaTeX source of an equation to the clipboard without having to open the source pane. If this is not possible without modification to the source code of LyX, at least I would like to know how to call an arbitrary external script myscript with math-extern. I already tried adding the path of myscript to the PATH prefix of LyX and also tried putting it in ~/.lyx/scripts. I also used lyx -dbg gui and it complained that there is no converter called myscript. Thank you!
Re: Copy LaTeX source of an equation
On Tue, May 26, 2015 at 8:13 PM, Marduk Bolaños mardu...@mac.com wrote: I would like to copy the LaTeX source of an equation to the clipboard without having to open the source pane. This should work from within LyX. Simply select the math inset and copy it. Then you should get the LaTeX code on the clipboard (minus the $$ signs). Liviu If this is not possible without modification to the source code of LyX, at least I would like to know how to call an arbitrary external script myscript with math-extern. I already tried adding the path of myscript to the PATH prefix of LyX and also tried putting it in ~/.lyx/scripts. I also used lyx -dbg gui and it complained that there is no converter called myscript. Thank you! -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
Re: Copy LaTeX source of an equation
It works now. Last time I checked (a few months ago) it did not. Thank you!
Copy LaTeX source of an equation
I would like to copy the LaTeX source of an equation to the clipboard without having to open the source pane. If this is not possible without modification to the source code of LyX, at least I would like to know how to call an arbitrary external script "myscript" with math-extern. I already tried adding the path of "myscript" to the PATH prefix of LyX and also tried putting it in ~/.lyx/scripts. I also used lyx -dbg gui and it complained that there is no converter called "myscript". Thank you!
Re: Copy LaTeX source of an equation
On Tue, May 26, 2015 at 8:13 PM, Marduk Bolaños <mardu...@mac.com> wrote: > I would like to copy the LaTeX source of an equation to the clipboard > without having to open the source pane. > This should work from within LyX. Simply select the math inset and copy it. Then you should get the LaTeX code on the clipboard (minus the $$ signs). Liviu > If this is not possible without > modification to the source code of LyX, at least I would like to know > how to call an arbitrary external script "myscript" with math-extern. I > already tried adding the path of "myscript" to the PATH prefix of LyX > and also tried putting it in ~/.lyx/scripts. I also used lyx -dbg gui > and it complained that there is no converter called "myscript". > > Thank you! -- Do you think you know what math is? http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02 Or what it means to be intelligent? http://www.ideasroadshow.com/issues/john-duncan-2013-08-30 Think again: http://www.ideasroadshow.com/library
Re: Copy LaTeX source of an equation
It works now. Last time I checked (a few months ago) it did not. Thank you!
Bad auto-splitting when switching to equation array
In a math environment (display or environment), you can switch to an EqnArray environment with Ctrl Enter or Shift Enter. If there is already an equation, it will be automatically split into columns on particular symbols, including = and a few other operators and arrows. Unfortunately, it passes right over some symbols (such as \coloneqq or \dblcolon). It also splits on the first symbol, so a = b \Leftrightarrow c = d will become a=b\Leftrightarrow c=d rather than a=b \Leftrightarrow c=d, but at least that can be avoided with parentheses. Is there some way to add operators like \coloneqq and \dblcolon to the list of symbols that equations will be split on?
Bad auto-splitting when switching to equation array
In a math environment (display or environment), you can switch to an EqnArray environment with Ctrl Enter or Shift Enter. If there is already an equation, it will be automatically split into columns on particular symbols, including = and a few other operators and arrows. Unfortunately, it passes right over some symbols (such as \coloneqq or \dblcolon). It also splits on the first symbol, so a = b \Leftrightarrow c = d will become a=b\Leftrightarrow c=d rather than a=b \Leftrightarrow c=d, but at least that can be avoided with parentheses. Is there some way to add operators like \coloneqq and \dblcolon to the list of symbols that equations will be split on?
Bad auto-splitting when switching to equation array
In a math environment (display or environment), you can switch to an EqnArray environment with Ctrl Enter or Shift Enter. If there is already an equation, it will be automatically split into columns on particular symbols, including "=" and a few other operators and arrows. Unfortunately, it passes right over some symbols (such as \coloneqq or \dblcolon). It also splits on the first symbol, so "a = b \Leftrightarrow c = d" will become "a&=\Leftrightarrow c=d" rather than "a=b & \Leftrightarrow & c=d", but at least that can be avoided with parentheses. Is there some way to add operators like \coloneqq and \dblcolon to the list of symbols that equations will be split on?
Re: resize equation output
On Tue, Apr 22, 2014 at 1:39 PM, Neal Becker ndbeck...@gmail.com wrote: Neal Becker wrote: I have the misfortune to be commanded to produce ppt. So I took one of my equations, in lyx. I chose beamer so I get something that'll look good on a slide. I put \beamertemplatenavigationsymbolsempty so crop will work. When exported export/pdf(crop), it looks OK, but it's too small. I import to M$ PPT by opening in acroread and copy file to clipboard. So I need something that'll resize the pdf (or convince lyx/beamer to output something bigger in the first place). Not so much a real solution as another hack, but one thing I sometimes have to do which I see as similar is to import tables and figures produced in LyX into MS Word or the like. What I do is split the .pdf into separate pages using pdftk (i.e., $pdftk figures.pdf burst ). Then, I convert the resulting pages into high res images with convert. I use a command such as: $convert -colorspace RGB -interlace none -density 800 -quality 100 pg_0003.pdf figure01.jpg Then, I crop the images as needed. That way, I have the separate images saved, and they are in a format that plays well with MS. -Jacob
Re: resize equation output
On Tue, Apr 22, 2014 at 1:39 PM, Neal Becker ndbeck...@gmail.com wrote: Neal Becker wrote: I have the misfortune to be commanded to produce ppt. So I took one of my equations, in lyx. I chose beamer so I get something that'll look good on a slide. I put \beamertemplatenavigationsymbolsempty so crop will work. When exported export/pdf(crop), it looks OK, but it's too small. I import to M$ PPT by opening in acroread and copy file to clipboard. So I need something that'll resize the pdf (or convince lyx/beamer to output something bigger in the first place). Not so much a real solution as another hack, but one thing I sometimes have to do which I see as similar is to import tables and figures produced in LyX into MS Word or the like. What I do is split the .pdf into separate pages using pdftk (i.e., $pdftk figures.pdf burst ). Then, I convert the resulting pages into high res images with convert. I use a command such as: $convert -colorspace RGB -interlace none -density 800 -quality 100 pg_0003.pdf figure01.jpg Then, I crop the images as needed. That way, I have the separate images saved, and they are in a format that plays well with MS. -Jacob
Re: resize equation output
On Tue, Apr 22, 2014 at 1:39 PM, Neal Beckerwrote: > Neal Becker wrote: > > > I have the misfortune to be commanded to produce ppt. So I took one of > my > > equations, in lyx. I chose beamer so I get something that'll look good > on a > > slide. I put > > \beamertemplatenavigationsymbolsempty > > > > so crop will work. > > > > When exported export/pdf(crop), it looks OK, but it's too small. I > import to > > M$ PPT by opening in acroread and copy file to clipboard. > > > > So I need something that'll resize the pdf (or convince lyx/beamer to > output > > something bigger in the first place). > Not so much a "real" solution as another hack, but one thing I sometimes have to do which I see as similar is to import tables and figures produced in LyX into MS Word or the like. What I do is split the .pdf into separate pages using pdftk (i.e., $pdftk figures.pdf burst ). Then, I convert the resulting pages into high res images with convert. I use a command such as: $convert -colorspace RGB -interlace none -density 800 -quality 100 pg_0003.pdf figure01.jpg Then, I crop the images as needed. That way, I have the separate images saved, and they are in a format that plays well with MS. -Jacob
resize equation output
I have the misfortune to be commanded to produce ppt. So I took one of my equations, in lyx. I chose beamer so I get something that'll look good on a slide. I put \beamertemplatenavigationsymbolsempty so crop will work. When exported export/pdf(crop), it looks OK, but it's too small. I import to M$ PPT by opening in acroread and copy file to clipboard. So I need something that'll resize the pdf (or convince lyx/beamer to output something bigger in the first place). I tried the latter without success. Putting in preamble \geometry{paper=a4paper} didn't seem help. Finally, I found this magic incantation: gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage - dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf Then run through pdfcrop Finally, not a bad result (oh, did you want that centered on the slide?) Any better ideas?
Re: resize equation output
Neal Becker wrote: I have the misfortune to be commanded to produce ppt. So I took one of my equations, in lyx. I chose beamer so I get something that'll look good on a slide. I put \beamertemplatenavigationsymbolsempty so crop will work. When exported export/pdf(crop), it looks OK, but it's too small. I import to M$ PPT by opening in acroread and copy file to clipboard. So I need something that'll resize the pdf (or convince lyx/beamer to output something bigger in the first place). I tried the latter without success. Putting in preamble \geometry{paper=a4paper} didn't seem help. Finally, I found this magic incantation: gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage - dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf Then run through pdfcrop Finally, not a bad result (oh, did you want that centered on the slide?) Any better ideas? I found another solution: \usepackage{pgfpages} \pgfpagesuselayout{resize to}[a4paper,landscape,border shrink=5mm] although this is not quite as large as I'd like. Maybe I can learn the pdfpages options and improve it.
resize equation output
I have the misfortune to be commanded to produce ppt. So I took one of my equations, in lyx. I chose beamer so I get something that'll look good on a slide. I put \beamertemplatenavigationsymbolsempty so crop will work. When exported export/pdf(crop), it looks OK, but it's too small. I import to M$ PPT by opening in acroread and copy file to clipboard. So I need something that'll resize the pdf (or convince lyx/beamer to output something bigger in the first place). I tried the latter without success. Putting in preamble \geometry{paper=a4paper} didn't seem help. Finally, I found this magic incantation: gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage - dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf Then run through pdfcrop Finally, not a bad result (oh, did you want that centered on the slide?) Any better ideas?
Re: resize equation output
Neal Becker wrote: I have the misfortune to be commanded to produce ppt. So I took one of my equations, in lyx. I chose beamer so I get something that'll look good on a slide. I put \beamertemplatenavigationsymbolsempty so crop will work. When exported export/pdf(crop), it looks OK, but it's too small. I import to M$ PPT by opening in acroread and copy file to clipboard. So I need something that'll resize the pdf (or convince lyx/beamer to output something bigger in the first place). I tried the latter without success. Putting in preamble \geometry{paper=a4paper} didn't seem help. Finally, I found this magic incantation: gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage - dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf Then run through pdfcrop Finally, not a bad result (oh, did you want that centered on the slide?) Any better ideas? I found another solution: \usepackage{pgfpages} \pgfpagesuselayout{resize to}[a4paper,landscape,border shrink=5mm] although this is not quite as large as I'd like. Maybe I can learn the pdfpages options and improve it.
resize equation output
I have the misfortune to be commanded to produce ppt. So I took one of my equations, in lyx. I chose beamer so I get something that'll look good on a slide. I put \beamertemplatenavigationsymbolsempty so crop will work. When exported export/pdf(crop), it looks OK, but it's too small. I import to M$ PPT by opening in acroread and copy file to clipboard. So I need something that'll resize the pdf (or convince lyx/beamer to output something bigger in the first place). I tried the latter without success. Putting in preamble \geometry{paper=a4paper} didn't seem help. Finally, I found this magic incantation: gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage - dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf Then run through pdfcrop Finally, not a bad result (oh, did you want that centered on the slide?) Any better ideas?
Re: resize equation output
Neal Becker wrote: > I have the misfortune to be commanded to produce ppt. So I took one of my > equations, in lyx. I chose beamer so I get something that'll look good on a > slide. I put > \beamertemplatenavigationsymbolsempty > > so crop will work. > > When exported export/pdf(crop), it looks OK, but it's too small. I import to > M$ PPT by opening in acroread and copy file to clipboard. > > So I need something that'll resize the pdf (or convince lyx/beamer to output > something bigger in the first place). > > I tried the latter without success. > > Putting in preamble > \geometry{paper=a4paper} > > didn't seem help. > > Finally, I found this magic incantation: > > gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage - > dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf > > Then run through > pdfcrop > > Finally, not a bad result (oh, did you want that centered on the slide?) > > Any better ideas? I found another solution: \usepackage{pgfpages} \pgfpagesuselayout{resize to}[a4paper,landscape,border shrink=5mm] although this is not quite as large as I'd like. Maybe I can learn the pdfpages options and improve it.
automatic equation numbering
Hello, Is there an option to have all the equations automatically numbered if I only label some of them ? Thank. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===
Re: automatic equation numbering
On 2013-12-20, Patrick Dupre wrote: Hello, Is there an option to have all the equations automatically numbered if I only label some of them ? For this, I have in my latex preamble: % Gleichungen % --- % Alle Gleichungen nummerieren \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} And additionally to number by chapter (do not add this if you want consecutive numbering over the whole document): % Starte Gleichungsnummern für jedes Kapitel neu (mit AMS mathe) \numberwithin{equation}{chapter} Günter
automatic equation numbering
Hello, Is there an option to have all the equations automatically numbered if I only label some of them ? Thank. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===
Re: automatic equation numbering
On 2013-12-20, Patrick Dupre wrote: Hello, Is there an option to have all the equations automatically numbered if I only label some of them ? For this, I have in my latex preamble: % Gleichungen % --- % Alle Gleichungen nummerieren \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} And additionally to number by chapter (do not add this if you want consecutive numbering over the whole document): % Starte Gleichungsnummern für jedes Kapitel neu (mit AMS mathe) \numberwithin{equation}{chapter} Günter
automatic equation numbering
Hello, Is there an option to have all the equations automatically numbered if I only label some of them ? Thank. === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===
Re: automatic equation numbering
On 2013-12-20, Patrick Dupre wrote: > Hello, > Is there an option to have all the equations automatically numbered if > I only label some of them ? For this, I have in my "latex preamble": % Gleichungen % --- % Alle Gleichungen nummerieren \renewcommand\[{\begin{equation}} \renewcommand\]{\end{equation}} And additionally to number by chapter (do not add this if you want consecutive numbering over the whole document): % Starte Gleichungsnummern für jedes Kapitel neu (mit AMS mathe) \numberwithin{equation}{chapter} Günter
Re: Error compilating equation on PDF
On 04/02/2012 08:38 PM, Kenedy Torcatt wrote: Hello... Idon't know why when I'm trying to compile the pdf after creating a formula or equation in lyx I'm getting an error and I can't see the pdf. The description i attached in txt file. Thankyou in advance! It'd be more helpful to see the LyX file. Better yet, a LyX file with nothing but the offending equation in it. I can't tell anything from that. Richard
Re: Error compilating equation on PDF
On 04/02/2012 08:38 PM, Kenedy Torcatt wrote: Hello... Idon't know why when I'm trying to compile the pdf after creating a formula or equation in lyx I'm getting an error and I can't see the pdf. The description i attached in txt file. Thankyou in advance! It'd be more helpful to see the LyX file. Better yet, a LyX file with nothing but the offending equation in it. I can't tell anything from that. Richard
Re: Error compilating equation on PDF
On 04/02/2012 08:38 PM, Kenedy Torcatt wrote: Hello... Idon't know why when I'm trying to compile the pdf after creating a formula or equation in lyx I'm getting an error and I can't see the pdf. The description i attached in txt file. Thankyou in advance! It'd be more helpful to see the LyX file. Better yet, a LyX file with nothing but the offending equation in it. I can't tell anything from that. Richard
Error compilating equation on PDF
Hello... Idon't know why when I'm trying to compile the pdf after creating a formula or equation in lyx I'm getting an error and I can't see the pdf. The description i attached in txt file. Thankyou in advance! This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2011.11.6) 2 APR 2012 20:03 entering extended mode **archivo_nuevo1.tex (C:\Users\Kenedy\AppData\Local\Temp\lyx_tmpdir.p50616\lyx_tmpbuf2\archivo_nuevo 1.tex LaTeX2e 2011/06/27 Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u senglishmax, welsh, loaded. (C:\Program Files\MiKTeX 2.9\tex\latex\base\report.cls Document Class: report 2007/10/19 v1.4h Standard LaTeX document class (C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@chapter=\count80 \c@section=\count81 \c@subsection=\count82 \c@subsubsection=\count83 \c@paragraph=\count84 \c@subparagraph=\count85 \c@figure=\count86 \c@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (C:\Program Files\MiKTeX 2.9\tex\latex\psnfss\helvet.sty Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS) (C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks14 )) (C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.def File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 43. )) (C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty Package: inputenc 2008/03/30 v1.1d Input encoding file \inpenc@prehook=\toks15 \inpenc@posthook=\toks16 (C:\Program Files\MiKTeX 2.9\tex\latex\base\latin9.def File: latin9.def 2008/03/30 v1.1d Input encoding file )) (C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.sty Package: geometry 2010/09/12 v5.6 Page Geometry (C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) Package ifpdf Info: pdfTeX in PDF mode is detected. ) (C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO) Package ifvtex Info: VTeX not detected. ) (C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional ) \Gm@cnth=\count88 \Gm@cntv=\count89 \c@Gm@tempcnt=\count90 \Gm@bindingoffset=\dimen103 \Gm@wd@mp=\dimen104 \Gm@odd@mp=\dimen105 \Gm@even@mp=\dimen106 \Gm@layoutwidth=\dimen107 \Gm@layoutheight=\dimen108 \Gm@layouthoffset=\dimen109 \Gm@layoutvoffset=\dimen110 \Gm@dimlist=\toks17 (C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.cfg)) (C:\Program F iles\MiKTeX 2.9\tex\generic\babel\babel.sty Package: babel 2008/07/08 v3.8m The Babel package * * Local config file bblopts.cfg used * (C:\Users\Kenedy\AppData\Roaming\MiKTeX\2.9\tex\latex\arabi\bblopts.cfg File: bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to declared options of babel ) (C:\Program Files\MiKTeX 2.9\tex\generic\babel\spanish.ldf Language: spanish.ldf 2009/01/02 v5.0h Spanish support from the babel system (C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.def File: babel.def 2008/07/08 v3.8m Babel common definitions \babel@savecnt=\count91 \U@D=\dimen111 ) \es@datefmt=\count92 \es@quottoks=\toks18 \es@quotdepth=\count93 Package babel Info: Making an active character on input line 492. Package babel Info: Making . an active character on input line 585. Package babel Info: Making an active character on input line 630. Package babel Info: Making an active character on input line 630. )) (C:\Program Files\MiKTeX 2.9\tex\latex\float\float.sty Package: float 2001/11/08 v1.3d Float enhancements (AL) \c@float@type=\count94 \float@exts=\toks19 \float@box=\box26 \@float@everytoks=\toks20 \@floatcapt=\box27 ) (C:\Users\Kenedy\AppData\Roaming\MiKTeX\2.9\tex\latex\esint\esint.sty Package: esint \symlargesymbolsA=\mathgroup4 ) (C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty Package: hyperref 2012/02/06 v6.82o Hypertext links for LaTeX (C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\hobsub-hyperref.sty Package
Error compilating equation on PDF
Hello... Idon't know why when I'm trying to compile the pdf after creating a formula or equation in lyx I'm getting an error and I can't see the pdf. The description i attached in txt file. Thankyou in advance! This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2011.11.6) 2 APR 2012 20:03 entering extended mode **archivo_nuevo1.tex (C:\Users\Kenedy\AppData\Local\Temp\lyx_tmpdir.p50616\lyx_tmpbuf2\archivo_nuevo 1.tex LaTeX2e 2011/06/27 Babel v3.8m and hyphenation patterns for english, afrikaans, ancientgreek, ar abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u senglishmax, welsh, loaded. (C:\Program Files\MiKTeX 2.9\tex\latex\base\report.cls Document Class: report 2007/10/19 v1.4h Standard LaTeX document class (C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@chapter=\count80 \c@section=\count81 \c@subsection=\count82 \c@subsubsection=\count83 \c@paragraph=\count84 \c@subparagraph=\count85 \c@figure=\count86 \c@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (C:\Program Files\MiKTeX 2.9\tex\latex\psnfss\helvet.sty Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS) (C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks14 )) (C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.def File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 43. )) (C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty Package: inputenc 2008/03/30 v1.1d Input encoding file \inpenc@prehook=\toks15 \inpenc@posthook=\toks16 (C:\Program Files\MiKTeX 2.9\tex\latex\base\latin9.def File: latin9.def 2008/03/30 v1.1d Input encoding file )) (C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.sty Package: geometry 2010/09/12 v5.6 Page Geometry (C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) Package ifpdf Info: pdfTeX in PDF mode is detected. ) (C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO) Package ifvtex Info: VTeX not detected. ) (C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional ) \Gm@cnth=\count88 \Gm@cntv=\count89 \c@Gm@tempcnt=\count90 \Gm@bindingoffset=\dimen103 \Gm@wd@mp=\dimen104 \Gm@odd@mp=\dimen105 \Gm@even@mp=\dimen106 \Gm@layoutwidth=\dimen107 \Gm@layoutheight=\dimen108 \Gm@layouthoffset=\dimen109 \Gm@layoutvoffset=\dimen110 \Gm@dimlist=\toks17 (C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.cfg)) (C:\Program F iles\MiKTeX 2.9\tex\generic\babel\babel.sty Package: babel 2008/07/08 v3.8m The Babel package * * Local config file bblopts.cfg used * (C:\Users\Kenedy\AppData\Roaming\MiKTeX\2.9\tex\latex\arabi\bblopts.cfg File: bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to declared options of babel ) (C:\Program Files\MiKTeX 2.9\tex\generic\babel\spanish.ldf Language: spanish.ldf 2009/01/02 v5.0h Spanish support from the babel system (C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.def File: babel.def 2008/07/08 v3.8m Babel common definitions \babel@savecnt=\count91 \U@D=\dimen111 ) \es@datefmt=\count92 \es@quottoks=\toks18 \es@quotdepth=\count93 Package babel Info: Making an active character on input line 492. Package babel Info: Making . an active character on input line 585. Package babel Info: Making an active character on input line 630. Package babel Info: Making an active character on input line 630. )) (C:\Program Files\MiKTeX 2.9\tex\latex\float\float.sty Package: float 2001/11/08 v1.3d Float enhancements (AL) \c@float@type=\count94 \float@exts=\toks19 \float@box=\box26 \@float@everytoks=\toks20 \@floatcapt=\box27 ) (C:\Users\Kenedy\AppData\Roaming\MiKTeX\2.9\tex\latex\esint\esint.sty Package: esint \symlargesymbolsA=\mathgroup4 ) (C:\Program Files\MiKTeX 2.9\tex\latex\hyperref\hyperref.sty Package: hyperref 2012/02/06 v6.82o Hypertext links for LaTeX (C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\hobsub-hyperref.sty Package
Error compilating equation on PDF
Hello... Idon't know why when I'm trying to compile the pdf after creating a formula or equation in lyx I'm getting an error and I can't see the pdf. The description i attached in txt file. Thankyou in advance! This is pdfTeX, Version 3.1415926-2.3-1.40.12 (MiKTeX 2.9) (preloaded format=pdflatex 2011.11.6) 2 APR 2012 20:03 entering extended mode **archivo_nuevo1.tex (C:\Users\Kenedy\AppData\Local\Temp\lyx_tmpdir.p50616\lyx_tmpbuf2\archivo_nuevo 1.tex LaTeX2e <2011/06/27> Babel and hyphenation patterns for english, afrikaans, ancientgreek, ar abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u senglishmax, welsh, loaded. ("C:\Program Files\MiKTeX 2.9\tex\latex\base\report.cls" Document Class: report 2007/10/19 v1.4h Standard LaTeX document class ("C:\Program Files\MiKTeX 2.9\tex\latex\base\size12.clo" File: size12.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@chapter=\count80 \c@section=\count81 \c@subsection=\count82 \c@subsubsection=\count83 \c@paragraph=\count84 \c@subparagraph=\count85 \c@figure=\count86 \c@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) ("C:\Program Files\MiKTeX 2.9\tex\latex\psnfss\helvet.sty" Package: helvet 2005/04/12 PSNFSS-v9.2a (WaS) ("C:\Program Files\MiKTeX 2.9\tex\latex\graphics\keyval.sty" Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks14 )) ("C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty" Package: fontenc 2005/09/27 v1.99g Standard LaTeX package ("C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.def" File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file LaTeX Font Info:Redeclaring font encoding T1 on input line 43. )) ("C:\Program Files\MiKTeX 2.9\tex\latex\base\inputenc.sty" Package: inputenc 2008/03/30 v1.1d Input encoding file \inpenc@prehook=\toks15 \inpenc@posthook=\toks16 ("C:\Program Files\MiKTeX 2.9\tex\latex\base\latin9.def" File: latin9.def 2008/03/30 v1.1d Input encoding file )) ("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.sty" Package: geometry 2010/09/12 v5.6 Page Geometry ("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty" Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) Package ifpdf Info: pdfTeX in PDF mode is detected. ) ("C:\Program Files\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty" Package: ifvtex 2010/03/01 v1.5 Switches for detecting VTeX and its modes (HO) Package ifvtex Info: VTeX not detected. ) ("C:\Program Files\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty" Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional ) \Gm@cnth=\count88 \Gm@cntv=\count89 \c@Gm@tempcnt=\count90 \Gm@bindingoffset=\dimen103 \Gm@wd@mp=\dimen104 \Gm@odd@mp=\dimen105 \Gm@even@mp=\dimen106 \Gm@layoutwidth=\dimen107 \Gm@layoutheight=\dimen108 \Gm@layouthoffset=\dimen109 \Gm@layoutvoffset=\dimen110 \Gm@dimlist=\toks17 ("C:\Program Files\MiKTeX 2.9\tex\latex\geometry\geometry.cfg")) ("C:\Program F iles\MiKTeX 2.9\tex\generic\babel\babel.sty" Package: babel 2008/07/08 v3.8m The Babel package * * Local config file bblopts.cfg used * (C:\Users\Kenedy\AppData\Roaming\MiKTeX\2.9\tex\latex\arabi\bblopts.cfg File: bblopts.cfg 2005/09/08 v0.1 add Arabic and Farsi to "declared" options of babel ) ("C:\Program Files\MiKTeX 2.9\tex\generic\babel\spanish.ldf" Language: spanish.ldf 2009/01/02 v5.0h Spanish support from the babel system ("C:\Program Files\MiKTeX 2.9\tex\generic\babel\babel.def" File: babel.def 2008/07/08 v3.8m Babel common definitions \babel@savecnt=\count91 \U@D=\dimen111 ) \es@datefmt=\count92 \es@quottoks=\toks18 \es@quotdepth=\count93 Package babel Info: Making " an active character on input line 492. Package babel Info: Making . an active character on input line 585. Package babel Info: Making < an active character on input line 630. Package babel Info: Making > an active character on input line 630. )) ("C:\Program Files\MiKTeX 2.9\tex\latex\float\float.sty" Package: float 2001/11/08 v1.3d Float enhancements (AL) \c@float@type=\count94 \float@exts=\toks19 \float@box=\box26 \@float@everytoks=\toks20 \@floatcapt=\box27 ) (C:\Users\Kenedy\AppData\Roaming\MiKTeX\2.9\tex\latex\esint\esint.sty Package: esint \
Re: Inserting Space in Mathematical Equation
On Wed, 28 Mar 2012, David L. Johnson wrote: You have several options. When in math-mode, you might have a menubar on the bottom of the window. One option looks like \_/ in red. That gives various spaces. Ctrl-Shift-Space should also give you a medium space. Thank you, David. I prefer the keyboard to the pointy thing so C-S-space will work for me. While I tried C-space I didn't think of adding another modifying key. Much appreciated, Rich
Re: Inserting Space in Mathematical Equation
On 03/29/2012 09:20 AM, Rich Shepard wrote: On Wed, 28 Mar 2012, David L. Johnson wrote: You have several options. When in math-mode, you might have a menubar on the bottom of the window. One option looks like \_/ in red. That gives various spaces. Ctrl-Shift-Space should also give you a medium space. Thank you, David. I prefer the keyboard to the pointy thing so C-S-space will work for me. While I tried C-space I didn't think of adding another modifying key. Well, this does give you a space, but it doesn't conform to typesetting conventions, because the text is treated as a bunch of variables. You can enter math-text mode by hitting Ctrl-M, then type normally. The font choices are also availalbe under Edit MathText Style. And you can also just enter the LaTeX directly: \mbox or, if you prefer, \textnormal. Richard
Re: Inserting Space in Mathematical Equation
On Thu, 29 Mar 2012, Richard Heck wrote: Well, this does give you a space, but it doesn't conform to typesetting conventions, because the text is treated as a bunch of variables. You can enter math-text mode by hitting Ctrl-M, then type normally. The font choices are also availalbe under Edit MathText Style. And you can also just enter the LaTeX directly: \mbox or, if you prefer, \textnormal. Richard, OK. Thanks, Rich
Re: Inserting Space in Mathematical Equation
On Wed, 28 Mar 2012, David L. Johnson wrote: You have several options. When in math-mode, you might have a menubar on the bottom of the window. One option looks like \_/ in red. That gives various spaces. Ctrl-Shift-Space should also give you a medium space. Thank you, David. I prefer the keyboard to the pointy thing so C-S-space will work for me. While I tried C-space I didn't think of adding another modifying key. Much appreciated, Rich
Re: Inserting Space in Mathematical Equation
On 03/29/2012 09:20 AM, Rich Shepard wrote: On Wed, 28 Mar 2012, David L. Johnson wrote: You have several options. When in math-mode, you might have a menubar on the bottom of the window. One option looks like \_/ in red. That gives various spaces. Ctrl-Shift-Space should also give you a medium space. Thank you, David. I prefer the keyboard to the pointy thing so C-S-space will work for me. While I tried C-space I didn't think of adding another modifying key. Well, this does give you a space, but it doesn't conform to typesetting conventions, because the text is treated as a bunch of variables. You can enter math-text mode by hitting Ctrl-M, then type normally. The font choices are also availalbe under Edit MathText Style. And you can also just enter the LaTeX directly: \mbox or, if you prefer, \textnormal. Richard
Re: Inserting Space in Mathematical Equation
On Thu, 29 Mar 2012, Richard Heck wrote: Well, this does give you a space, but it doesn't conform to typesetting conventions, because the text is treated as a bunch of variables. You can enter math-text mode by hitting Ctrl-M, then type normally. The font choices are also availalbe under Edit MathText Style. And you can also just enter the LaTeX directly: \mbox or, if you prefer, \textnormal. Richard, OK. Thanks, Rich
Re: Inserting Space in Mathematical Equation
On Wed, 28 Mar 2012, David L. Johnson wrote: You have several options. When in math-mode, you might have a menubar on the bottom of the window. One option looks like \_/ in red. That gives various spaces. Ctrl-Shift-Space should also give you a medium space. Thank you, David. I prefer the keyboard to the pointy thing so C-S-space will work for me. While I tried C-space I didn't think of adding another modifying key. Much appreciated, Rich
Re: Inserting Space in Mathematical Equation
On 03/29/2012 09:20 AM, Rich Shepard wrote: On Wed, 28 Mar 2012, David L. Johnson wrote: You have several options. When in math-mode, you might have a menubar on the bottom of the window. One option looks like \_/ in red. That gives various spaces. Ctrl-Shift-Space should also give you a medium space. Thank you, David. I prefer the keyboard to the pointy thing so C-S-space will work for me. While I tried C-space I didn't think of adding another modifying key. Well, this does give you a space, but it doesn't conform to typesetting conventions, because the text is treated as a bunch of variables. You can enter math-text mode by hitting Ctrl-M, then type normally. The font choices are also availalbe under Edit> Math>Text Style. And you can also just enter the LaTeX directly: \mbox or, if you prefer, \textnormal. Richard
Re: Inserting Space in Mathematical Equation
On Thu, 29 Mar 2012, Richard Heck wrote: Well, this does give you a space, but it doesn't conform to typesetting conventions, because the text is treated as a bunch of variables. You can enter math-text mode by hitting Ctrl-M, then type normally. The font choices are also availalbe under Edit> Math>Text Style. And you can also just enter the LaTeX directly: \mbox or, if you prefer, \textnormal. Richard, OK. Thanks, Rich
Inserting Space in Mathematical Equation
I have an equation that contains words, such as '0.75 * Total Stream Length'. I looked in Herbert's Typesetting Mathematics with LaTeX and found a single index reference to 'space' that referred to something different. Ctrl-space does nothing. How do I insert a space within an equation? Rich
Re: Inserting Space in Mathematical Equation
On 03/28/2012 08:03 PM, Rich Shepard wrote: I have an equation that contains words, such as '0.75 * Total Stream Length'. I looked in Herbert's Typesetting Mathematics with LaTeX and found a single index reference to 'space' that referred to something different. Ctrl-space does nothing. How do I insert a space within an equation? You have several options. When in math-mode, you might have a menubar on the bottom of the window. One option looks like \_/ in red. That gives various spaces. Ctrl-Shift-Space should also give you a medium space. But, while you are in math-mode, you can enter a text box by clicking on the insert math icon again. You see a blue-outlined rectangle, and what you type in that is regular, upright, text. Including spaces. So you can get Total Stream Length by just typing that, in this text box inside of math-mode. -- David L. Johnson It is probable that television drama of high caliber and produced by first-rate artists will materially raise the level of dramatic taste in the nation. -- David Sarnoff, 1939
Inserting Space in Mathematical Equation
I have an equation that contains words, such as '0.75 * Total Stream Length'. I looked in Herbert's Typesetting Mathematics with LaTeX and found a single index reference to 'space' that referred to something different. Ctrl-space does nothing. How do I insert a space within an equation? Rich
Re: Inserting Space in Mathematical Equation
On 03/28/2012 08:03 PM, Rich Shepard wrote: I have an equation that contains words, such as '0.75 * Total Stream Length'. I looked in Herbert's Typesetting Mathematics with LaTeX and found a single index reference to 'space' that referred to something different. Ctrl-space does nothing. How do I insert a space within an equation? You have several options. When in math-mode, you might have a menubar on the bottom of the window. One option looks like \_/ in red. That gives various spaces. Ctrl-Shift-Space should also give you a medium space. But, while you are in math-mode, you can enter a text box by clicking on the insert math icon again. You see a blue-outlined rectangle, and what you type in that is regular, upright, text. Including spaces. So you can get Total Stream Length by just typing that, in this text box inside of math-mode. -- David L. Johnson It is probable that television drama of high caliber and produced by first-rate artists will materially raise the level of dramatic taste in the nation. -- David Sarnoff, 1939
Inserting Space in Mathematical Equation
I have an equation that contains words, such as '0.75 * Total Stream Length'. I looked in Herbert's "Typesetting Mathematics with LaTeX" and found a single index reference to 'space' that referred to something different. Ctrl-space does nothing. How do I insert a space within an equation? Rich