Creating a new textbox would be the "quick and dirty" solution, i already had this in mind. But then you have to twiddle with the position of the new text box to get the right space between. Not to mention that the size of the letters differ in inkscape and in Latex. This would be a real Sysiphusian struggle.
I also tested the \linebreak command, that's why I suggested the separate textbox solution.
Do you know that you can change the positions of the of the text afterwards, when opening the .pdf_tex file in your TeX editor? It is mentioned here.
I know it's a quick and dirty way, but apparently the other linebreak commands don't work.
Does someone came with a solution to this problem ?
neither \\ or \linebreak works in inkscape
I tried to manually edit the pdf_tex file but still generates an error. (and even if it worked, it is not a good solution since I automatized pdf_tex export from svg)
It would be nice to be able to have two lines in one text box in inkscape and keep two lines after latex compiles.
Found a solution by myself (and it was pretty easy)
When inserting a textbox in inkscape, I usually click once on my draw area, enter text with or without a manual line break (which didn't work)
Instead, take the "A" tool, click and drag to make a bigger area, then put text in.
To get text on two lines, simply double click on the text area. A square appears with a little square at the bottom right.Use this square to resize the box so that text adjusts on two lines.
When exporting in pdf+tex, text keeps on two lines.
The reason : the second methods puts the text in a "minipage" environment, which accepts line breaks.