Highlighting Math Equations in LyX/LaTeX

  • Context: LaTeX 
  • Thread starter Thread starter rynlee
  • Start date Start date
Click For Summary
SUMMARY

This discussion focuses on methods to highlight math equations in LyX using LaTeX code. The primary techniques discussed include the use of the \framebox command to box entire paragraphs and the \boxed command specifically for equations. Users confirmed that the \boxed command effectively highlights equations without including additional elements like numbering. This solution is particularly useful for those looking to enhance the presentation of mathematical content in LyX.

PREREQUISITES
  • Familiarity with LyX document preparation system
  • Basic understanding of LaTeX typesetting
  • Knowledge of mathematical notation in LaTeX
  • Experience with LaTeX commands for formatting
NEXT STEPS
  • Research the use of \framebox for paragraph formatting in LaTeX
  • Explore advanced LaTeX packages for enhanced equation formatting
  • Learn about custom commands in LaTeX for repeated formatting tasks
  • Investigate the integration of LaTeX code within LyX for complex documents
USEFUL FOR

Mathematicians, educators, students, and anyone using LyX or LaTeX for document preparation who seeks to improve the visual presentation of mathematical equations.

rynlee
Messages
44
Reaction score
0
Hi All,

I was wondering if anyone is familiar with a nice way to box or highlight a math equation in LyX. LaTeX code would work as well.

Thanks,
Darin
 
Physics news on Phys.org
I don't know LyX, but since you are happy with LaTeX code...
You can use \framebox to box a whole paragraph, e.g.
Code:
\framebox{\[ E = mc^2. \]}

Or you can use \boxed to box just the equation (i.e. not the numbering etc.)
Code:
\[ \boxed{E = mc^2.} \]

For highlighting equations in a text, I would prefer the latter.
 
thanks! I tried that code in just LyX mathematical format and it worked perfectly, just use the \boxed command.

Hopefully this will help anyway else out there that looks for this type of thing.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K