Displays nicely for me. I also use backslash, empirically found, to quickly create Mathematica lists in \example{}. >From what I have seen \verb is only used here and other uses are for "literate" sections.
- Greg Le mar. 22 oct. 2024 à 06:37, Qian Yun <notificati...@github.com> a écrit : > > The intention of \verb is to print \[ and \] verbatimly. > > In > https://github.com/fricas/fricas/blob/c39b7dea46db0cd3635205cb36378d4da31296af/src/doc/ht/HTXFormatPage1.ht#L5-L6 > > it says we can simply use the backslash char to escape. > > So the following patch will fix this issue. > > diff --git a/src/algebra/tex.spad b/src/algebra/tex.spad > index 5083875f..13d34596 100644 > --- a/src/algebra/tex.spad > +++ b/src/algebra/tex.spad > @@ -18,7 +18,7 @@ > ++ The other parts can be set (\spadfun{setPrologue!}, > ++ \spadfun{setEpilogue!}) so that contain the appropriate tags for > ++ printing. For example, the prologue and epilogue might simply > -++ contain ``\verb+\[+'' and ``\verb+\]+'', respectively, so that > +++ contain ``\\\['' and ``\\\]'', respectively, so that > ++ the TeX section will be printed in LaTeX display math mode. > > TexFormat() : public == private where > > — > Reply to this email directly, view it on GitHub, or unsubscribe. > You are receiving this because you authored the thread.Message ID: > <fricas/fricas/issues/185/2428228...@github.com> -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/fricas-devel/CAHnU2dY4dJ7kZf16Qc_DThA%2BGN6S-za9mn5nSNMnZCRuUw9wPg%40mail.gmail.com.