web-apps/apps/documenteditor/main/resources/help/en/UsageInstructions/LineSpacing.htm
2021-04-30 16:51:49 +03:00

42 lines
3.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Set paragraph line spacing</title>
<meta charset="utf-8" />
<meta name="description" content="Set paragraph line spacing in your document" />
<link type="text/css" rel="stylesheet" href="../editor.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../search/js/page-search.js"></script>
</head>
<body>
<div class="mainpart">
<div class="search-field">
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
</div>
<h1>Set paragraph line spacing</h1>
<p>In the <a href="https://www.onlyoffice.com/document-editor.aspx" target="_blank" onclick="onhyperlinkclick(this)"><b>Document Editor</b></a>, you can set the line height for the text lines within the paragraph as well as the margins between the current paragraph and the previous one or the subsequent paragraphs.</p>
<p>To do that,</p>
<ol>
<li>place the cursor within the required paragraph, or select several paragraphs with the mouse or the whole text by pressing the <b>Ctrl+A</b> key combination,</li>
<li>use the corresponding fields on the right sidebar to achieve the desired results:
<ul>
<li><b>Line Spacing</b> - set the line height for the text lines within the paragraph. You can select among three options: <b>at least</b> (sets the minimum line spacing that is needed to fit the largest font or graphic in the line), <b>multiple</b> (sets line spacing that can be expressed in numbers greater than 1), <b>exactly</b> (sets fixed line spacing). You can specify the necessary value in the field on the right.</li>
<li><b>Paragraph Spacing</b> defines the amount of spacing between paragraphs.
<ul>
<li><b>Before</b> defines the amount of spacing before the paragraph.</li>
<li><b>After</b> defines the amount of spacing after the paragraph.</li>
<li>
<b>Don't add interval between paragraphs of the same style</b> - please check this box if you don't need any spacing between paragraphs of the same style.
<p><img alt="Right Sidebar - Paragraph Settings" src="../images/right_paragraph.png" /></p>
</li>
</ul>
</li>
</ul>
</li>
</ol>
<p>These parameters can also be found in the <b>Paragraph - Advanced Settings</b> window. To open the <b>Paragraph - Advanced Settings</b> window, right-click the text and choose the <b>Paragraph Advanced Settings</b> option from the menu or use the <b>Show advanced settings</b> option on the right sidebar. Then switch to the <b>Indents &amp; Spacing</b> tab and go to the <b>Spacing</b> section.</p>
<p><img alt="Paragraph Advanced Settings - Indents &amp; Spacing" src="../images/paradvsettings_indents.png" /></p>
<p>To quickly change the current paragraph line spacing, you can also use the <b>Paragraph line spacing</b> <img alt="Paragraph line spacing" src="../images/linespacing.png" /> icon on the <b>Home</b> tab of the top toolbar selecting the required value from the list: 1.0, 1.15, 1.5, 2.0, 2.5, or 3.0 lines.</p>
</div>
</body>
</html>