From ff8affe2812e2af53ba0ab5c64b4d82a0b05a1c5 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 18 Jun 2023 15:21:09 +0200 Subject: [PATCH] Make the page breaking in the TeX driver a little better --- src/output/tex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output/tex.c b/src/output/tex.c index 8a88452ec8..76582c3ada 100644 --- a/src/output/tex.c +++ b/src/output/tex.c @@ -588,7 +588,8 @@ tex_output_table_layer (struct tex_driver *tex, const struct pivot_table *pt, free (marker); } - shipout (&tex->token_list, "}\n\\vskip 3ex\n\n"); + shipout (&tex->token_list, "}\n\\vskip 4ex plus 2ex minus 1ex"); + shipout (&tex->token_list, "\\penalty -300"); table_unref (title); table_unref (layers); -- 2.30.2