LyXFrames

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
diazdeus
Posts: 32
Joined: Fri Sep 28, 2018 9:34 pm

Frames

Post by diazdeus »

I have an multiline equation and I want to do a frame around all the equation, that have two lines. I don't know what's the method to do it without code.

\dfrac{\sen(l'+l)}{\sen(l'-l)}=\dfrac{2\,\sen\nicefrac{1}{2}(L'+L-2\alphaup)\cdot\cos\nicefrac{1}{2}(L'-L)}{2\,\cos\nicefrac{1}{2}(L'+L-2\alphaup)\cdot\sen\nicefrac{1}{2}(L'-L)}=
=\dfrac{\sen[\nicefrac{1}{2}(L'+L)-\alphaup]\cdot\cos\nicefrac{1}{2}(L'-L)}{\cos[\nicefrac{1}{2}(L'+L)-\alphaup]\cdot\sen\nicefrac{1}{2}(L'-L)}=\dfrac{\tg[\nicefrac{1}{2}(L'+L)-\alphaup]}{\tg\nicefrac{1}{2}(L'-L)}

Thank you.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Frames

Post by Bartman »

I don't know how that could be automated, but the tcolorbox package is able to frame equations.

Load at least the theorems library and add

Code: Select all

\tcbset{ams nodisplayskip}

to the preamble, if you want to avoid the larger space in the upper part of the box and there is no other type of box.

If you have already done a lot with the nicefrac package, then I'd like to draw your attention to xfrac, if you can use it for further documents.

You will have to create a Infominimal working example, if my advices could not help you.
Post Reply