Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there a css' line-height in LaTeX?

Tags:

css

latex

Do you know a way to influence the line-height (distance between the lines inside a pragraph) in LaTeX? I can't find anything.

I want lines to have more space than the default.

like image 551
David 天宇 Wong Avatar asked Dec 05 '14 15:12

David 天宇 Wong


People also ask

How do you use line height in CSS?

The line-height CSS property sets the height of a line box. It's commonly used to set the distance between lines of text. On block-level elements, it specifies the minimum height of line boxes within the element. On non-replaced inline elements, it specifies the height that is used to calculate line box height.

What unit is line height in CSS?

The line-height property in CSS controls the space between lines of text. It is often set in a unitless value (e.g. line-height: 1.4; ) so that it is proportional to the font-size. It's a vital property for typographic control.

How do I set line spacing in CSS?

Use the line-height property in CSS to do so. Browsers by default will create a certain amount of space between lines to ensure that the text is easily readable. For example, for 12-point type, a browser will place about 1 point of vertical space between lines.

What is the difference between line height and height in CSS?

Height is the vertical measurement of the container, for example, height of a div. Line-height is a CSS property to specify the line height i.e. the distance from the top of the first line of text to the top of the second. It is the space between the lines of two paragraphs.


1 Answers

Put

\linespread{1.15}

in the preamble.

like image 177
Maciej Kopeć Avatar answered Sep 21 '22 08:09

Maciej Kopeć