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.

Attachment: small digit.lyx
Description: Binary data

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to