[PATCH] use yellow background for math comments

Scott Kostyshak skostysh at lyx.org
Wed Jun 19 14:57:35 UTC 2024


On Wed, Jun 19, 2024 at 04:23:45PM GMT, Jean-Marc Lasgouttes wrote:
> I can't find the place where math comments appearance was discussed
> recently, so here is is.
> 
> This trivial patch uses a yellow (Note) background to mark comments. While
> the result is not the same as Notes (the output actually goes to LaTeX) it
> seems to me that this conveys the intent of the comment.
> 
> Another possibility would be to prepend a % on screen and maybe output with
> a different color (or a more explicit 'comment: ' label?).
> 
> What would you prefer? Comments are not understandable on screen right now.

I haven't tested, but my brain currently thinks "this is not going to
LaTeX output" when it sees yellow. If I understand what you are
suggesting, isn't the functionality more similar to
Insert > Note > Comment ? Is the issue that we can't make the math
comment look like Insert > Note > Comment for some reason?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240619/cd68238a/attachment-0001.asc>


More information about the lyx-devel mailing list