4/28/2023 0 Comments Latex xlist vertical spaceThere might be a slight difference in a real document if \topsep in the inner list is not set to zero (the nolistsep key sets it to 0pt plus 0.1pt), but not with the article class which does \raggedbottom. Managing spaces with Latex is not simple, in this tutorial, we will see how to manage horizontal spaces. The height of the "Item A" line is 6.83331pt, which added to 3.16669pt gives 10pt. the list can be input as \beginĬhecking the output with \showbox proves that the spacing is the same: between the "List 1" line and the "Item A" line, TeX inserts 3.16669pt glue, exactly the same as the glue inserted between the "Item A" and the "Item B" lines (and the others as well), which is right, since those lines have no descenders. Unless you want to redefine the sectioning commands yourself, it's worth looking at the titlesec package, which offers space-saving alternatives to the standard sectioning commands (especially \chapter ). For example, something like this might look better. Remember also that LaTeX doesn't like putting a heading right at the bottom of a page - it would rather leave space. Thats why the line 'Text at the bottom of the page. ![]() ![]() Based on the answer to this other question, here is a solution that preserves even distance between baselines. The -0.9 value just happens to look right for compensating for the bullet and the space so that subsequent lines look like they're matched up with the first line. Inserts a blank space that will stretch accordingly to fill the vertical space available.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |