Skip to Content.
Sympa Menu

texmacs-users - Re: Space between two paragraphs

Subject: mailing-list for TeXmacs Users

List archive

Re: Space between two paragraphs


Chronological Thread 
  • From: Richard gomez <address@hidden>
  • To: Basile Audoly <address@hidden>
  • Cc: TeXmacs <address@hidden>, "address@hidden" <address@hidden>
  • Subject: Re: Space between two paragraphs
  • Date: Fri, 28 May 2021 17:04:48 +0200

Thank you Joris and everyone,

I have tried this :

     Focus -> Preferences

but it did not work.

I am happy with the change i have made in the interparagraph interspace, but it has generated few problems :

— the vspace between items in a list as mentioned ; 

— the bad appearence of my Python scripts inside the document.

I have attached 5 files for you to understand the issue (the MASTER file is called ‘0_GROS_LIVRE.tm’)

Every script i write in my document is written in ‘code’ environment put inside a ‘marked’ environment (or the inverse, i don’t remember). I have changed the yellow color of the ‘marked’ environment with 

        <assign | marked-color | light grey>

for a better result. It gave me a good result with my first book.


In the same way, every algorithm (in french) is written in a ‘code’ environment.


Now, the problem is :

1) the vertical space between 2 lines of code is too large ;

2) the ‘light grey’ colored lines are now separated by a thin white line. Thus any script in my document looks like a bunch of grey lines…



I don’t know how to fix this…


Thank you for reading,

Richard Gomez



Attachment: 0_GROS_LIVRE.tm
Description: Binary data

Attachment: 01chap_generalites.tm
Description: Binary data

Attachment: conventions.tm
Description: Binary data

Attachment: dedicace.tm
Description: Binary data

Attachment: prologue.tm
Description: Binary data










Le 28 mai 2021 à 15:12, Basile Audoly <address@hidden> a écrit :

Hi everyone,
Am I understanding correctly that it is not possible to set the vertical spacing between list elements to be less than the inter-paragraph spacing?
Personally, I tend to set up lists within paragraphs (and even sometimes within sentences), so I do not see really the reason for this.
I am asking mostly out of curiosity, this is not a big issue.
Basile


Le 28 mai 2021 à 14:10, TeXmacs <address@hidden> a écrit :

Hi Richard,

Inside a list, go to 'Focus -> Preferences' and
you will be able to set the spacing properties for your lists.

Best wishes, --Joris


On Fri, May 28, 2021 at 01:24:15PM +0200, Richard gomez wrote:
Hello Jeroen,

i have already wrote a book with Texmacs (édition Ellipse, it’s a french editor), and i like Texmacs a lot.

I will try to read all the information about fn, fns, etc. but i have first to fix a new problem, a consequence of my change of interparagraph space.

I have made this choice :

       Document > Paragraph
       interparagraph space : 0.5 fn

and i like the effect, but now, the vertical space between the items in the lists has changed !

Before the interparagraph space change, I have changed the vpace in lists like this :

      (in the bar there is a tool) > (item vspep) > (other) > 0.1 fn

Unfortunately, when i change the interparagraph space, it changes the vsep in the lists too ! I would like to keep 0.1 fn in the lists, instead of 0.5 fn…

I hope that my explanation is clear (i am not sure).

Thank you for reading,

Richard Gomez






Le 28 mai 2021 à 12:53, Jeroen Wouters <address@hidden> a écrit :

Hi Richard,

Good to hear you've found the problem! I've tried to use the "Search and replace" tool to remove such spaces between paragraphs, but haven't had any luck.

There's a description in Section 8 of Help -> Reference Guide -> The TeXmacs format of length units. It may be hard to find in the extensive documentation, but by pressing F1 you can search it, e.g. searching for "units" takes you there.

Nice to see you've made such a substantial piece of work in TeXmacs. Congratulations!

Best wishes,
Jeroen

On Fri, 28 May, 2021 at 12:39, Richard gomez <address@hidden> wrote:
Jeroen wrote : 

"
Hi Richard,
Massimiliano's suggestion works for me. Perhaps we are not understanding properly what the desired effect is. It would be helpful if you could attach a small example document (together with any non-standard style files, if necessary) and a screenshot where the spacing is indicated that you would like to reduce.
Best,
Jeroen
"

Thank you Jeroen.

I have just understood my mistake (few seconds before your email). I am so stupid. 

Here is my mistake : when i writed few blocs of text, like below :
________________________________________
This is block 1, block 1 , block 1, block 1, block 1
block 1, block 1, block 1, block 1.

This is block 2, block 2 , block 2, block 2, block 2
block 2, block 2, block 2, block 2.
_______________________________________

i used to press twice ENTER (you can see this in the example or in my first email), instead of pressing once ENTER, like here :

________________________________________
This is block 1, block 1 , block 1, block 1, block 1
block 1, block 1, block 1, block 1
This is block 2, block 2 , block 2, block 2, block 2
block 2, block 2, block 2, block 2
_______________________________________

This is why the solutions given by Massimiliano and Giovanni did not work with me. But they were right !

Now, it works.

I am looking for some documentation about the menu 

     DOCUMENT > PARAGRAPH > Interparagraph space

because i feel quite lost with the different units : fn, fns, fs, etc. 

My document is a "book style" (more than 800 pages) and my editor have made some requests about vertical spaces, etc.

Thank you for your help,

Richard Gomez










Le 28 mai 2021 à 12:25, Jeroen Wouters <address@hidden <mailto:address@hidden>> a écrit :

Hi Richard,

Massimiliano's suggestion works for me. Perhaps we are not understanding properly what the desired effect is. It would be helpful if you could attach a small example document (together with any non-standard style files, if necessary) and a screenshot where the spacing is indicated that you would like to reduce.

Best,
Jeroen

On Fri, 28 May, 2021 at 12:13, Richard gomez <address@hidden <mailto:address@hidden>> wrote:
Thank you Massimiliano.

I have tried with the menu 

           Document -> Paragraph

           Interparagraph space : *** fn

but it did not work.

I have tried with negative values…

By the way, what does « fn » mean ?


I have also tried with negative values in 

        <assign|par-par-sep|…> 

but it didn’t work (thak you Giovanni by the way).

So, i ask once again (for new readers) : is there any way to change the height of the vertical spaces between the « blocks » of the text in my book ?

Best regard,

Richard Gomez




Le 26 mai 2021 à 20:34, Massimiliano Gubinelli <address@hidden <mailto:address@hidden>> a écrit :

You may want to make these changes in Document->Paragraph

where you have all the global settings. You have a spacing for lines and another for paragraphs, I think you can use negative values.

m


On 26. May 2021, at 20:28, Giovanni Piredda <address@hidden <mailto:address@hidden>> wrote:

Perhaps it depends on the style. I tested it with the "generic" style (and gotten the tighter spacing), which style are you using?

Giovanni

Am 26.05.2021 um 20:22 schrieb Richard gomez:
Thank you Giovanni.

I have tried <assign|par-par-sep|0.2fn>, and this what i get :

— if i try with a big size, like 1fn :  <assign|par-par-sep|1fn>, it works ! Every vertical space is bigger, but this is not what i want.

— if i try with 0.2fn or 0.1fn, it does not work. The vertical space i get is bigger (just a little bit bigger) and i want it smaller...

It seems impossible to me to reduce the actual vertical spaces…


I remember that i got the same result with the menu : FORMAT —> WHITE SPACE —> (..)

Maybe someone knows how to change the vertical space obtained pressing ENTER…



Best regards,

Richard Gomez





Le 26 mai 2021 à 19:31, Giovanni Piredda <address@hidden <mailto:address@hidden>> a écrit :

The environment variable that controls the spacing between two successive paragraphs is par-par-sep.

This assigns it to a tight spacing

<assign|par-par-sep|0.2fn>

and you can adjust to the liking of your editor.

I hope that I am not missing important things, in case I hope someone else can correct or complete what I wrote.

Giovanni

Am 26.05.2021 um 18:43 schrieb Richard gomez:
###############
### French version

Bonjour,

Je sépare les différents paragraphes d’une section d’un chapitre de mon livre en sautant la ligne, comme par exemple ci-dessous :

<<

1 Titre de la section

Bloc 1 bla bla bla bla bla ceci cela et
bla bla et bla bla bla.

Bloc 2. La suite bla bla bla et bla

Est-il possible de réduire l’espace entre les deux blocs ?

(C’est une demande faite par mon éditeur qui trouve l’espace entre les deux blocs trop grand).

Merci de votre aide,

Richard Gomez

#################
###English version

Hello,


i am writing several blocs in the same section and i separate them with a << line break >> (pressing ENTER). Here is an example :

<<

1 Titre de la section

Block 1 bla bla bla bla bla ceci cela et
bla bla et bla bla bla.

Block 2. La suite bla bla bla et bla

My editor wants the vertical separation (vertical space) between the 2 blocks to be shorter. How can i change the length of this vertical space ?

Best regards,

Richard Gomez





Archive powered by MHonArc 2.6.19.

Top of Page