Subject: mailing-list for TeXmacs Users
List archive
From : Basile Audoly <address@hidden>- To: Frank <address@hidden>
- Cc: address@hidden
- Subject: Re: TeXmacs: how to stretch the spaces
- Date: Fri, 28 May 2021 16:51:28 +0200
Hi Frank,
I believe you can achieve this by inserting 2 tabs and then 3 tabs,
Basile
Le 28 mai 2021 à 16:47, Frank <address@hidden> a écrit :Hi all,
I am not sure whether they correspond to the following functionality: for example, I need to put two spaces, of length 2*l and 3*l like
x (2*l spaces) x (3*l spaces) x
Then the first x and the last x are at the left margin and the right margin, and the l is calculated so that 5*l+(length of three x's) = 1par, for example.
This is realized by "x\hspace{\stretch2}x\hspace{\stretch3}x", if I am not mistaken.
I am now trying to mimic some behavior of LaTeX because I plan to understand whether it is possible to emulate this behavior in TeXmacs instead of inserting a precompiled PDF from LaTeX. These kinds of stretches are not used in main articles.
Best wishes,
Frank
On 5/28/21, TeXmacs wrote:Hi Frank,
On Fri, May 28, 2021 at 04:18:14PM +0200, Frank wrote:I wonder whether it is possible to stretch the horizontal and vertical spaces with respect to a ratio, similar to \hfill and \vfill or \hspace{\stretch 2} and \vspace{\stretch 3}, etc. in LaTeX?All spaces are stretchable in TeXmacs;
you can specify a minimum, default, and maximum space.
There are also horizontal tabs.
Contrary to LaTeX, you can also have stretchable vertical spaces by the way,
which is useful for global page breaking (which LaTeX cannot do).
Best wishes, --Joris
- TeXmacs: how to stretch the spaces, Frank, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, TeXmacs, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Frank, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Basile Audoly, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Frank, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Basile Audoly, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Frank, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Basile Audoly, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, TeXmacs, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Frank, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Basile Audoly, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Frank, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Peter Rapčan, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, TeXmacs, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Basile Audoly, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, TeXmacs, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, Frank, 05/28/2021
- Re: TeXmacs: how to stretch the spaces, TeXmacs, 05/28/2021
Archive powered by MHonArc 2.6.19.