Skip to Content.
Sympa Menu

texmacs-users - Re: Statement tag and displayed formula tag

Subject: mailing-list for TeXmacs Users

List archive

Re: Statement tag and displayed formula tag


Chronological Thread 
  • From: Richard gomez <address@hidden>
  • To: Giovanni Piredda <address@hidden>
  • Cc: "address@hidden" <address@hidden>
  • Subject: Re: Statement tag and displayed formula tag
  • Date: Sat, 10 Jul 2021 18:49:25 +0200

Hello Giovanni, hello TeXmac users,


i have tested your solution, Giovanni, setting


<assign|large-padding-above|0fn>
<assign|large-padding-below|0fn>

in both files : richard-book.ts and richard-bigbook.ts, and it works !

Spaces above and below any statement and any displayed formula has been
changed.





I have made this experience in a copy of my folder << Richard_book >>, i tell
you why.



Actually, i want :

— 0.5fn above and below any statement

— and 0fn above and below any displayed formula.


So, in the original folder << Richard_book >> i have made the changes by
hand, with :

— 'preferences for tag’ menu, 'large padding above’ and the 'large padding
below’ in one statement (0.5fn) ;

— 'preferences for tag’ menu, 'eqn short above' and 'eqn short below’ in one
displayed formula (0fn) ;

— 'preferences for tag’ menu, 'eqn long above’ and 'eqn long below’ in one
''displayed several formulas'' (0fn).

It was long and boring (40 chapters), but it works !


Nevertheless, i would like to know if there is a setting like <assign|…> to
get the same result, because :

— if you return to an old document, changes made by hand like i did are not
visible in the ts file ;

— if i make a new document with the same style, it would be borring to do it
again.

I will try to ‘extract’ or ‘edit’ the style from my book, maybe the answer is
here.

Thank you,

Richard











> Le 7 juil. 2021 à 12:06, Giovanni Piredda <address@hidden> a écrit :
>
>
> Am 07.07.2021 um 11:10 schrieb Frank:
>> Hello,
>>
>> I did not test, but I believe that it is reasonable to make the change in
>> the master file for that kind of global changes.
>>
>> I don't know how to do that in the GUI, but you could copy and paste the
>> code (search "padding" in the tm file).
>>
>> Best,
>> Frank
>>
>
> The variables to set are
>
> <assign|large-padding-above|0fn>
>
> <assign|large-padding-below|0fn>
>
> If setting them in the preamble of the master file does not modify the
> settings in the chapters as well, you could try setting
>
> <assign|large-padding-above|0fn>
>
> <assign|large-padding-below|0fn>
>
> in both style files (richard-bigbook.ts and richard-book.ts)
>
>
> In my tests it did not work, but it might be because of a bug (there is an
> error that comes up in the debug console and none of the environment
> variables of the style file are picked up in the test document). Because of
> this, I think it is still worth trying it out.
>
> Giovanni
>
>
>
>
>
>> On 7/7/21, Richard gomez wrote:
>>> Hello Giovanni, hello Texmacs users,
>>>
>>> here is a copy of
>>>
>>> — richard-book.ts which is attached to any chapter ;
>>>
>>> — richard-bigbook.ts which is attached to the master file.
>>>
>>>
>>> Best regards,
>>>
>>> Richard
>>>
>>> P.-S. When i make the change in one chapter, it does not work in the
>>> others. Maybe i have to apply the change to all chapters. The problem is
>>> that i have 40 chapters.
>>>
>>>
>>>




Archive powered by MHonArc 2.6.19.

Top of Page