Document directory
- 1.1 \ and \ * commands
- 1.2 newline
- 1.3 linebreaccesskey
- 1.4 nolinebreaccesskey
- 1.5 connected and disconnected commands
- 1.6 sloppy to fussy: Percentage of Space-breaking characters
- 2.1 Newpage
- 2.2 pagebreak
- 2.3 nopagebreak
- 2.4 enlargethispage
- 3.1 indent
- 3.2 noindent
- 3.3 par
- Footnotes:
Line feed and paragraph command 1
Utf8n.pdf
Abstract
Each line of a document is usually required to have the same length during formatting. To optimize the entire text block, latex inserts necessary line breaks and blank la S. If necessary, latex
It will also be separated by a hyphen in two rows. Under normal conditions, the first line of each document segment is indented in serticdb, and there is no extra space between the segment and segment.
1 line feed command
1.1 \ and \ * commands
\ [Extra-space]
\ * [Extra-space]
Sometimes it is necessary for us to explicitly insert line breaks out of some need. We can use these two commands. At this time, latex will change to a new line without starting a new paragraph.
\ * Is the same as \ command. The difference is that the latter cannot change pages after force line breaks. Optional parameter extra-space indicates the number of vertical distances reserved before the start of the next row (which can be negative values ).
1.2 newline
\ NewlineThe command can only be used in paragraphs to make the text
Start a new line.
1.3 linebreaccesskey
\ Linebreak [number]
This command causes latex to interrupt the current line and lengthen the text of the current line until the page edge. If the number option parameter is used, this command becomes a line feed request. The value of number can only be from 0 to 4. A larger value indicates a stronger willingness to change the number row.
1.4 nolinebreaccesskey
Nolinebreak [number]
This command corresponds\ LinebreakThe opposite is true.
1.5 connected and disconnected commands
Generally, latex can be automatically processed when a hyphen is required. If Latex
We can use the following command to tell the system how to deal with this unexpected situation.
Hyphenation [word list]
The worl list lists the words that need to be considered separately. Latex only uses\-Command can be disconnected. If we use\-Command, then Latex
The word breaking algorithm is no longer used to find another feasible breakpoint for the word. The listed words cannot contain special characters or symbols. The letters are the same regardless of case. In the following example, the system disconnects "hyphenation" words based on the specified feasible position, and disconnects "Fortran", "fortan" or "Fortran:
\ Hyphenation {Fortran hy-phen-a-tion}
1.5.1 mbox
To keep multiple single shards in the same line, run the following command:
\ Mbox [text]
This command makes a string consisting of multiple words in the text parameter no matter which one is separated in two lines.
Mbox
1.6 sloppy to fussy: Percentage of Space-breaking characters
\ Sloppy
\ Fussy
Lack of time-saving LATEX\ FussyIn this way, the typographical idea is to minimize the number of empty tokens between words in a row, but the disadvantage is that there are many broken words. Available\ SloppyThis allows the system to minimize the number of broken words from the beginning, but there may be more spaces between words. You can also use\ FussyCommand to end the previousSloppyCommand to restore\ FussyMethod.
2. Form feed command
2.1 Newpage
\ Newpage
\ NewpageCommand to end the current page and start a new page.
2.2 pagebreak
\ Pagebreak [number]
This command causes LATEX to end the current page from the current position of the text. If an optional parameter number is provided, the command is changed to a request. The system determines how to handle the request. Number can be 0 to 4. A greater value indicates a stronger willingness.
2.3 nopagebreak
\ Nopagebreak [number]
This command is the opposite of the previous command.
2.4 enlargethispage
\ Enlargethispage [size]
\ Enlargethispage * [size]
This command increases the size of the current page according to the specified size\ TextheightParameters. The following command will increase the height of the current page by an additional line:
\ Enlargethispage [\ baselineskip]
The asterisk version of the command tries to compress the content on the current page.\ Pagebreak.
3. Paragraph commands
The so-called paragraph (paragraph) is a piece of text that ends with a completely blank line (or even a blank line with a comment mark %. Empty rows cannot appear at the time or place where the segment fan is not allowed, such as in a mathematical state or in a parameter of a segmentation command.
3.1 indent
\ Indent
This command generates a horizontal blank area with the width equal to the indent distance value of the paragraph. If you want to indent a paragraph, you can use this command.
3.2 noindent
\ Noindent
Note: It does not work if it appears in the middle of a paragraph.
3.3 par
\ Par
This command has the same effect as a blank line. It is often used only to make the definition of commands or environments in the document easier to read and understand.
Footnotes:
1. Text sorting: virhuiai
File translated fromtexby
Tth, version 4.03.
On 6 May 2012.