Newcommand -- make symbol independent of font size

Bernt Lie Bernt.Lie at usn.no
Sun Jul 30 08:35:35 UTC 2023


I'm trying to define the "plimsoll" symbol (used to indicate thermodynamic standard condition). I found on the internet the following suggestion:



\newcommand\plimsoll{{\circ\kern-0.495em-}}



Seems like a good number ("0.495" -- I've also tried with "0.415") depends on the font size... Here is what it looks like in a Section heading (ok with "0.415"):

[cid:image001.png at 01D9C2D1.91829D70]



And here is what it looks like in displayed equation (ugly):

[cid:image002.png at 01D9C2D1.91829D70]



  *   How can I make the definition so that it looks fine in any font size?



BL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230730/d3b38417/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2415 bytes
Desc: image001.png
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230730/d3b38417/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 5333 bytes
Desc: image002.png
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230730/d3b38417/attachment-0003.png>


More information about the lyx-users mailing list