Subject: mailing-list for TeXmacs Users
List archive
From : Gennady Uraltsev <address@hidden>- To: Frank <address@hidden>
- Cc: TeXmacs <address@hidden>
- Subject: Re: TeXmacs: How to use \mathcal and \mathscr in the same time?
- Date: Wed, 28 Jul 2021 16:47:09 -0400
Here are some options:
1)
In math mode
write: \with
press: enter
press: meta-leftarrow
write: math-font
press:leftarrow
write:cal* (the * will be invisible
press:leftarrow
write: whatever you want to be in mathsrc
press: enter
2) Define the following macro in the preamble:
<assign|mathscr|<macro|body|<with|math-font|cal*|<arg|body>>>>
To do this do to the menu-> Source -> New macro
in the field enter-name
write: mathscr
press: meta-leftarrow (to add a parameter to the macro
select: "text" in the drop down menu below
position yourself after the := sign
write: \with
press: enter
press: meta-leftarrow
write: math-font
press:leftarrow
write:cal* (the * will not be invisible on account of "text" mode)
press:leftarrow
write: \body (backslash makes it reference the argument body and not be literally the word "body")
press: enter
press: apply button
3) Define macros that use mathscr for the recurring objects e.g.
here is a macro that uses mathscr:
<assign|Bor|<macro|<with|math-font|cal*|B>>>
misc1)
the figuring out of the key sequences to insert arguments and such is a bit of a hassle but after you do it once or twice it becomes intuitive (I am using Texmacs since 3 weeks)
misc2)
to copy paste Texmacs code you can always use menu->edit->paste from -> texmacs
misc3)
to make texmacs do something that you know how to do in latex copy the latex code to the clipboard and then use
menu->edit->paste from -> latex
then, if you want,
go to menu->document->source->edit source tree
and see how all that is supposed to look like
misc4)
Make a post with this question on forum.texmacs.cn so it remains easier to reference for posterity.
Also, there one can copy-paste screenshots (or images in general) and there are better formatting options for code.
Best,
Gennady
--
Gennady UraltsevOn Wed, Jul 28, 2021 at 3:58 PM Frank <address@hidden> wrote:
Dear all,
I wonder how to use \mathscr along with \mathcal? The current TeXmacs default setup only uses \mathcal, not \mathscr. I look for the possibility to use both in the same time.
Best,
Frank
- TeXmacs: How to use \mathcal and \mathscr in the same time?, Frank, 07/28/2021
- Re: TeXmacs: How to use \mathcal and \mathscr in the same time?, Gennady Uraltsev, 07/28/2021
- Re: TeXmacs: How to use \mathcal and \mathscr in the same time?, Frank, 07/29/2021
- Re: TeXmacs: How to use \mathcal and \mathscr in the same time?, Gennady Uraltsev, 07/29/2021
- Re: TeXmacs: How to use \mathcal and \mathscr in the same time?, Frank, 07/29/2021
- Re: TeXmacs: How to use \mathcal and \mathscr in the same time?, Gennady Uraltsev, 07/28/2021
Archive powered by MHonArc 2.6.19.