mailing-list for TeXmacs Users

Text archives Help


Re: Inline math with display format


Chronological Thread 
  • From: vincent douce <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: Re: Inline math with display format
  • Date: Mon, 1 Nov 2021 06:12:30 +0100

thanks  a lot Giovanni that helps me so much
now, ctrlD let me draw what i want, this is very very fluid
also CC works well
i have tried your method to get a shortcut for centered blocks :
 ("T T" (concat (block* (tformat (table (row (cell ""))))) ""))
but it doesn"t work…

Vincent


Le 28 oct. 2021 à 23:30, Giovanni Piredda <address@hidden> a écrit :

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