How can I add spacing between a table and the paragraph immediately after it?
Solution 1
- Right click the table and select table properties.
- On the Table Tab under text wrapping select 'Around' and click 'Positioning. . . '
- Under 'Distance from surrounding text' click the 'Bottom' option and enter the value of spacing you want beneath the table.
Solution 2
I tried the solution by Adam today (May 5th 2020), but I found important problems: If the paragraph before does not include space below, it moves after the table. In last month's trial, if I added a line anywhere before a table located at the end of the page, the table jumped to the next page, which is nice, but the paragraph after the table jumped to the page before, with was not nice. I found an alternative solution that I describe below.
Create a new style named SpaceAfterTable with the following characteristics:
Line spacing: 0.7
Spacing After: 6 points (for example)
The syles used in the table must include Paragraph - Line and Page Breaks: Keep with next.
For a solution for indented paragraphs without special inter-paragraph spacing, check How can I have spacing between tables and text when regular body paragraphs are not space separated (just indented)?
Related videos on Youtube
einpoklum
Made my way from the Olympus of Complexity Theory, Probabilistic Combinatorics and Property Testing to the down-to-earth domain of Heterogeneous and GPU Computing, and now I'm hoping to bring the gospel of GPU and massive-regularized parallelism to DBMS architectures. I've post-doc'ed at the DB architecture group in CWI Amsterdam to do (some of) that. I subscribe to most of Michael Richter's critique of StackOverflow; you might want to take the time to read it. If you listen closely you can hear me muttering "Why am I not socratic again already?"
Updated on September 18, 2022Comments
-
einpoklum over 1 year
My Body Text style has space below, but not above, and I want it to stay that way. Now, when I insert a table between two paragraphs of Body Text, I get no space between the table and the subsequent paragraph, and it seems like the only thing I can do about it is change that specific paragraph's spacing, manually adding about the same space as it has below*. There's no apparent setting for space before and after a table (like we have in LibreOffice).
What do I do?
* - I actually use a Body-Text-based style for post-table paragraphs, but that still doesn't cut it.
-
Rodolfo Oviedo about 4 yearsHey! I posted an alternative answer. Please let me know your opinion.
-
-
TecMan over 8 yearsWhat if the table width is less than the page width? We get text wrapping around the cell...
-
Adam over 8 years@TecMan, if you want to mimic an inline table then set the 'Left' and 'Right' option of distance from surrounding text both to be a large value.
-
pateksan about 4 yearsNaturally any workaround is better than none and FWIM I did upvote, but this still seems like just that - a workaround, not a solution. There must be a better way to do this.
-
einpoklum about 4 yearsWhat is "today's trial"?
-
Rodolfo Oviedo almost 4 years@einpoklum It is the date when I wrote my answer and tried Adam's suggestion for the second time.
-
einpoklum almost 4 yearsEdited your answer slightly to clarify.