[Latex entry] 05. line feed, segment change, page change, first line indent, and other commands

Source: Internet
Author: User
Line feed command \: line feed. \ [Offset]: line feed. The line spacing between the line and the next line is the original line spacing + offset. \ Newline: Same. \ Linebreak: force line feed. The difference from \ newline is that the current line of \ linebreak is scattered and alignment. Segmentation command \ par: segmentation. Paging command\ Newpage: Paging command. \ Clearpage: similar to \ Newpage. When we use the CJK environment, \ clearpage will be added at the end of the environment. The simplest way to indent the first line is to set the length of \ parindent: \ setlength {\ parindent} {length}. If you want to indent the first line with two Chinese characters, then \ setlength {\ parindent} {2em }. In the CJK environment, the first line of indentation can be implemented immediately after \ begin {CJK} {GBK} {SONG} followed by \ cjkindent. By default, the first line is not indented. to indent the first line, you can use \ usepackage {indentfirst }. If you want to indent a segment without the first line, you can add \ noindent before the segment. If you want to keep the entire article from indent in the first line, note: \ setlength {\ parindent} {0pt}: in latex, a carriage return represents a space, and two carriage returns represent a segment.
In practice, we expand according to the following template:
\ Documentclass [12pt, a4paper] {Article} \ usepackage {CJK} % import CJK macro package \ setlength {\ parskip} {10pt} % set part of Section interval \ begin {document} \ begin {CJK *} {GBK} {SONG} % start CJK environment \ cjktilde % redefinition "~ "\ Cjkindent % sets the first indent
This paper reflects on the history and development of the latex Project Public License (lppl). \ PAR % is segmented here
\ Noindent (no first line indent here) in late June, the tug 2010 Conference was held in San Francisco to great success.
\ Clearpage \ end {CJK *} % end CJK environment \ end {document}

\ Setlength {\ parskip} {10pt}: The section interval is the sum of \ lineskip and \ parskip. Here, the value of \ parskip is set to increase the section interval.
\ Cjkindent: indent the first line in the CJK environment.

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.