Latex font setting Summary

Source: Internet
Author: User

The txfonts macro package should be used when the Times New Roman font is used.
BM macro packages should be used in bold characters.

/BF
Turn to the Roman family, upright shape, font attributes of the simhei series.
/It to Roman family, italic shape, font properties of medium weight series.
/RM
Turn to the Roman family, upright shape, medium-weight family font properties, which is the default font.
/SC to Roman family, small capital shape, medium width family font attributes.
/SF
Transform to the unlined family, upright shape, font properties of medium weight series.
/SL to Roman family, slanted italic shape, font properties of medium weight series.
/TT
Converted to a typewriter family, standing upright, font properties of medium weight series.

/Em
The statement selects the emphasized font, which is in the same family and series as the current font, but in different shapes. It is usually converted between the upright font and italic.
/Emph {text}
Print text by emphasizing the font. It is in the same family and family as the current font, but in different shapes. It is usually converted between the upright font and italic. This command is equivalent to {/em
Text //}. That is to say, the Italic appending is automatically inserted and left blank.
/Nocorr
Use it with the font command/emph,/textsl,/textit to cancel Automatic italic correction.

/Normalfont
This statement converts a font to a default family, shape, and family.

/Bfseries this statement does not change the family and shape of the current font, but converts it to the bold sequence.
/Mdseries
This statement does not change the family and shape of the current font, but converts it to a medium sequence of medium weight.

/Itshape
This statement changes the font shape attribute to italic, but the family and series remain unchanged.
/Scshape this statement changes the font shape attribute to small uppercase, but the family and series remain unchanged.
/Slshape
This statement changes the font shape attribute to slanted italic, but the family and series remain unchanged.
/Upshape
This statement changes the font shape attribute to upright, but retains the family and series unchanged.

/Rmfamily
This command keeps the font family and shape attributes, but changes them to the Roman family attributes.
/Sffamily
This command keeps the font family and shape attributes, but changes them to the inlined family attributes.
/Ttfamily
Maintain the current family and shape attributes for the font, but convert them to the typewriter family attributes.

/Mathbf {text}
Print text in bold (/bfseries) in mathematical mode, where spaces are ignored.
/Mathcal {text}
Print the text with the writing body in the mathematical mode.
/Mathit {text} print text in italic (/itshape) in mathematical mode.
/Mathnormal {text}
Print text in a mathematical font.
/Mathrm {text}
In math mode, print the text with the Rome (/rmfamily), and the spaces are ignored.
/Mathsf {text}
In mathematical mode, the text is printed in the unlined font (/sffamily), where spaces are ignored.
/Mathtt {text}
Print text in a Printer Font (/ttfamily) in mathematical mode, where spaces are ignored.

/Textbf {text} is equivalent to {/bfseries
Text}
/Textit {text} is equivalent to {/itshape text}
/Textmd {text} is equivalent to {/mdseries
Text}
/Textnormal {text} is equivalent to {/normalfont text}
/Textrm {text} is equivalent to {/rmfamily
Text}
/Textsc {text} is equivalent to {/scshape text}
/Textsf {text} is equivalent to {/sffamily
Text}
/Textsl {text} is equivalent to {/slshape text}
/Texttt {text} is equivalent to {/ttfamily
Text}
/Textup {text} is equivalent to {/upshape text}

 

From http://lilacbbs.com/forum.php? MoD = viewthread & tid = 246981 & page = 1

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.