"Latex Primer" 07, horizontal interval, vertical interval and other command settings

Source: Internet
Author: User
Horizontal interval
\hspace{Length}: Inserts a horizontal white space interval for the specified distance. \hphantom{text}: Inserts a horizontal space that specifies the width of the text. \hfill: Padding blank. \dotfill: Fills blanks with dashed lines. \hrulefill: Fills the blanks with a straight line.
Example:
1. Center text
\mbox{}\hfill Centered Text \hfill\mbox{}

\mbox{} is treated as a wall support spring, and \hfill is treated as a spring.
2, insert "I am xiazdong" length of Blank
\hphantom{I'm Xiazdong}


Vertical interval
\vspace{Length}: Inserts a vertical interval of the specified length below the current line.
Like what:
First paragraph \vspace{100pt}\par% specify \VSPACE{100PT} to indicate that the current line is 100pt away from the following line. Second paragraph

At this point the first paragraph is more than 100pt away from the second paragraph.


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.