independentbion.blogg.se

Lyx insert math shortcut
Lyx insert math shortcut




  1. #Lyx insert math shortcut pdf
  2. #Lyx insert math shortcut full

Admittedly, this does require more upfront effort than using the LaTeX package directly but I think the payoff can be worth it. \myfoo), map its real LaTeX to \foo and its LyX display to whatever LyX-recognised features look vaguely like the real thing and then use that macro in your equations. \foo) then you can make your own name for it (e.g. That means that if there's some command in a package that LyX doesn't recognise (e.g. These are a lot like LaTeX's \newcommand, except that in LyX a math macro has three parts: the command name (plus any arguments), what literal LaTeX should be output, and a visual approximation to show up in equations that you're editing. * Another useful well-hidden feature is math macros.

#Lyx insert math shortcut pdf

Apart from that, it makes it feel like you're really editing the PDF directly. In both cases, when you actually edit the equation or ERT you'll still get the classic editor. You can also manually make preview environments to wrap around ERTs like your TikZ diagrams. This runs each individual equation through LaTeX so the equations you see are not some rough approximation of the PDF but very literally what you'll see. * A critical and unfortunately very well hidden feature of LyX is "instant preview" (disabled by default, you have to enable it in preferences). Sounds like you would've benefited from a couple of useful LyX features:

lyx insert math shortcut

But I also want to say to those who struggle with LyX, it may be worth the investment to write LaTeX directly.

lyx insert math shortcut

No knock on LyX - it does serve a certain niche.

lyx insert math shortcut

I was also using TikZ a lot for diagrams and working with TikZ via ERTs wasn't ideal. This mattered to me because I was writing long mathematical arguments with complicated expressions, which I had to inspect for correctness. The latter actually looked beautiful and I'd rather be able to see the actual final product than a WYSIWYM approximation of it (LyX does produce a PDF but it always felt like there was an additional abstraction layer separating the writing and the output, whereas LaTeX was more straightforward). The LyX rendering was an approximation of the final output (WYSIWYM), whereas the LaTeX generated PDF was actually the final output.

#Lyx insert math shortcut full

I eventually just settled on full LaTeX - there's a slight learning curve, but ironically LaTeX felt easier to use and slightly more predictable than LyX because I didn't have to work around a bunch of limitations around displaying the final output (through ERTs).Īlso, aesthetics mattered to me. LyX's preview rendered simple math expressions alright, but it couldn't really render the custom math expressions (which required LaTeX math packages) that I needed for my dissertation. I think I tried LyX at least 5 times during grad school, but I couldn't quite get into it.






Lyx insert math shortcut