Why LyX formats digits as small font size
ehud.behar at protonmail.com
ehud.behar at protonmail.com
Fri Feb 25 08:19:00 UTC 2022
I have created a module that creates a custom inset for marginal paragraphs. This inset is typed inside the Marginal Note inset.
When I type Hebrew text inside this inset, digits are converted to small font size:
instead of 1, it is formatted as `{\small{}1}`. Why is it?
This is the module:
#\DeclareLyXModule{Parbox}
#DescriptionBegin
#Adds custom inset to be inserted inside Marginal Note.
#DescriptionEnd
Format 66
InsetLayout Flex:MarginalRemark
Requires amssymb
LyXType custom
LabelString "MarginalRemark"
LatexType Command
LatexName parbox{\dimexpr\marginparwidth-2\fboxsep}
Decoration classic
NeedProtect 0
LeftDelim "$\vartriangleleft$ "
End
And a MWE file is attached.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220225/6646490e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: small digit.lyx
Type: application/octet-stream
Size: 2301 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220225/6646490e/attachment.obj>
More information about the lyx-users
mailing list