Skip to Content.
Sympa Menu

texmacs-users - Re: Inline math with display format

Subject: mailing-list for TeXmacs Users

List archive

Re: Inline math with display format


Chronological Thread 
  • From: Giovanni Piredda <address@hidden>
  • To: address@hidden
  • Subject: Re: Inline math with display format
  • Date: Thu, 28 Oct 2021 21:30:15 +0000

This worked


(kbd-map ("C C" (insert '(with "math-display" "true" (choice (tformat (table (row (cell "")))))))))


I wanted to write this in the message of the shortcut for the freehand drawing (https://lists.texmacs.org/wws/arc/texmacs-users/2021-10/msg00057.html), but I write this here. A strategy for finding these constructs is first building them with the editor, then "Copy to -> TeXmacs Scheme".

Of course in this way one obtains the "final form" of the markup, I did not try and experiment how to obtain the same construct starting from the more elegant _expression_ (make 'choice).

Giovanni

Am 28.10.2021 um 22:38 schrieb vincent douce:
about displaystyle
how can i assign displaystyle by default to choices ?
i.e. i have put this in my-init-texmacs :

("C C" (make 'choice))

 what can i change in this line to get my choices (only them, not every formula) in displaystyle ?

Vincent

Le 27 oct. 2021 à 15:37, Jeroen Wouters <address@hidden> a écrit :

On Wed, 2021-10-27 at 15:10 +0200, vincent douce wrote:



I also forgot how to format inline math in "display size" (I
remember quite faintly that is is possible). Does anyone know?

G.


i select the equation, then press \ then type displaystyle then enter
it is quite long
and i dont know, for Marc, where to parameter when one wishes to have
displaystyle by default in inline equations
Vincent

The global display style can be set by assigning true to `math-display`
(i.e. <assign|math-display|true> in the preamble).
There is also the menu item "Format->Display style" for local changes
to the style.

Best,
Jeroen





Archive powered by MHonArc 2.6.19.

Top of Page