Inkscape.org
Beginners' Questions Tabs in tekst/paragraaf
  1. #1
    JesseVictoor JesseVictoor @JesseVictoor

    Is er een mogelijkheid om in Inkscape in paragrafen gebruik te maken van tabs (links, rechts, gecentreerd, uitgevuld uitgelijnd)?
    Ik zou tabellen moeten maken maar wil dat doen in tekstkader in combinatie met tabs in plaats van allemaal losse tekstkaders.

  2. #2
    Paddy_CAD Paddy_CAD @Paddy_CAD

    My tables are usually small and simple so I can use a very manual workflow. I start with [Text > Flow into Frame] and then [Edit > Group], [Edit > Clone > Create Tiled Clones...] and finally [Edit > Clone > Unlink Clone] so that I can edit the text in each "cell". Flowed text remains linked to the original parent shape.

    For more complicated layouts and formatting I use a spreadsheet. For example, LibreOffice Calc to build the table, then copy to LibreOffice Draw and export as svg. Or you could use Excel, print to pdf and import to Inkscape.

    Do you have any LaTeX experience? If so, maybe one of these extensions will work for you. If not, be warned: the learning curve is steep.
    https://inkscape.org/~jcwinkler/★textext
    https://inkscape.org/~longqi/★writetex
    Overleaf has a guide for building tables in LaTeX and the online editor is free for personal projects. 
    https://www.overleaf.com/learn/latex/Tables#Creating_a_simple_table_in_LaTeX
    You'll also need to install a LaTeX back-end such as pdfTex or luaTeX.

  3. #3
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Maybe I didn't answer the original question. 

    Inkscape treats Tab characters as ordinary spaces. This is not a reflection of the developers' talents, but a limitation of the svg specification, which does not recognise tab characters. Consequently, tabular layouts need "hacky" workarounds like those above.

    There is one notable WWW3-approved solution. The SVG <foreignObject> Element can embed a html table structure inside your svg file. Inkscape will ignore this element, but web browsers should render it correctly. You'll need a text or code editor to build this Frankenstein's monster.
    https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
    https://codebeautify.org/html-table-generator