TransWikia.com

Absolute Value Symbols in LyX

TeX - LaTeX Asked by Izo Sakallah on September 29, 2021

I’ve been looking for a way to use the abs command in LyX (Version 2.3.0, using MikTex) but unfortunately I didn’t find a solution.

For a reason I’m not aware of, this command does not appear as an option in a math box. I tried defining it as a macro:

enter image description here

with lvert and rvert, which is ok except for the fact that it doesn’t scale. I read that there is something called a “starred” version of a command, which should solve the scaling problem ,but I didn’t manage to define the macro as such.

Would appreciate any help!

2 Answers

Include the package AND declaration in your preamble

Insert your TeX compile and enjoy!

enter image description here

Correct answer by user170109 on September 29, 2021

Simply click on "[blue box]" (the blue box is actual blue box) at the bottom, i.e., last one in the series () [] {} [blue box]. It is the "insert delimiters" option. A pop up as "math delimiter" will appear. Use it (for absolute sign | & |). It will resize automatically.

Answered by rishabh kumar bhalavi on September 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP