tex-line break and paragraph commands

Source: Internet
Author: User
line break with paragraph command 1Utf8nsung AbstractDocuments tend to require the same length for each line when they are typeset, and L A T E X will insert the necessary line breaks and empty duties in order to optimize the entire block. If necessary, for a bad word in a row, L A T E X will also separate it in two lines with a hyphen. In general, the first line of each document segment is indented in a jagged form, with no extra spaces between segments and segments. 1 line break command 1.1 \ \ and \\* commands\\[extra-space] \\*[extra-space] Sometimes it is necessary for us to explicitly insert line breaks, and we can use these two commands. At this point L a T E x will change to a new line without starting a new paragraph. The \\* same as \ \ command, except that the latter prohibits page breaks after forcing a newline. An optional extra-space indicates how much vertical distance (which can be negative) is reserved before the next line starts. 1.2 newlineThe \newline command can only be used in a paragraph so that the text starts a new line. 1.3 LineBreak\linebreak[number] This command lets L A T E X break the current line and lengthen the current line to its own text until the page edge. If number is used, the command becomes a line-break request, and the system determines whether or not to wrap the line. The value of number can only be from 0 to 4, and the greater the value, the stronger the willingness to change Huan lines. 1.4 NolinebreakNolinebreak[number] This command is just the opposite of \linebreak. 1.5 hyphenation and hyphenation commandsNormally L A T E X can be processed automatically when a hyphen is required. If the hyphenation algorithm of L A T E X cannot find a suitable hyphenation point, we can use the following command to tell the system how to handle this unexpected careless condition. Hyphenation[word List] Worl lists the lists of words that need to be considered separately, and L A T E X encounters a hyphen that requires a word in the list, only the place where we use the \-command is allowed to break. If we use the \-command in the middle of a word, L a T E X no longer uses the hyphenation algorithm to find another feasible breakpoint for that word. The listed words cannot contain Fu She characters or symbols, and the letters are handled the same way regardless of the case. The following example causes the system to hyphenate the word "hyphenation" in the specified feasible position, while prohibiting "Fortran", "Fortan" or "Fortran" from disconnecting: \hyphenation{fortran hy-phen-a-tion}
1.5.1 mboxMultiple Chekhov to be kept together in the same row, we can use the command \mbox[text] This command makes the string of multiple words in the text number not separated in two lines under any conditions. Mbox mbox, mbox, mbox, mbox, mbox, mbox, mbox, mbox mbox 1.6 Sloppy and fussy: space hyphenation ratio\sloppy \fussy By default, L A T E X in \fussy Way, the layout of the idea is to minimize the number of words in a row of empty, but the disadvantage is that there are more hyphenation. You can use \sloppy to keep the system from starting to minimize hyphenation, but there may be more space between words. The user can also use the \fussy command to end the function of the sloppy command that appears earlier, restoring the \fussy mode. 2 page Break command 2.1 newpage\newpage \newpage command ends the current page and begins a new page. 2.2 PageBreak\pagebreak[number] This command lets L A T E X End the current page from the current position of the text. If an optional number is given, the command becomes a request, and the system determines how it is handled. Number can take a value of 0 to 4, the larger the value, the stronger the desire. 2.3 Nopagebreak\nopagebreak[number] This command works just the opposite of the same order. 2.4 Enlargethispage\enlargethispage[size] \enlargethispage*[size] This command increases the \textheight parameter of the current page by the specified size. The following command will increase the height of the current page by an extra line: \enlargethispage[\baselineskip] The asterisk version of the command tries to compress the contents of the current page together, usually with an explicit page-break command \pagebreak. 3 paragraph commandsThe so-called paragraph (paragraph) is a piece of text that ends with a completely blank line (or even a blank line with no comment flag%). A blank line cannot appear when or where the Che Van is not allowed to start, such as in mathematical state or in the parameters of a section command, and so on. 3.1 Indent\indent This command produces a horizontal white space that is equal to the indent distance value of the paragraph. You can use this command if you want indentation to be ignored or forbidden where the paragraph indents. 3.2 noindent\noindent Note: It does not work if it appears in the middle of a paragraph. 3.3 par\par This command is the same as a blank line, and it is often used only to make the definition of a command or environment in a document easier to read and understand. Footnotes:1 Text collation: Virhuiai

File translated Fromtexby tth,version 4.03.
On 6 May 2012, 17:11.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.