11LaTeX学习系列之---LaTeX的特殊字符

目录

本系列是有关LaTeX的学习系列,共计19篇,本章节是第11篇。
前一篇:10LaTeX学习系列之---Latex的文档结构
后一篇:12LaTeX学习系列之---LaTex的图片插入
总目录:19LaTeX学习系列之---LaTeX的总结

前言

今天讲的是LaTeX的特殊字符,由于内容比较多,只能用到的时候,再回来查查看。

(一)源代码

\documentclass{article}
\usepackage{ctex}
%XeLaTeX标准的宏包
\usepackage{xltxtra}
\usepackage{texnames}
\usepackage{mflogo}

\begin{document}
\section{空白字符}

% 英文多个空格,当作一个空格处理
We always knew our daughter Kendall was going be a performer of some sort. She entertained people in our small town by putting on shows on our front porch when she was only three or four. Blonde-haired, blue-eyed, and beautiful, she sang like a little angel and

%中英文混合时,自动产生空格间隔
%中文空格无效
秋风用时光的旋律,andbeautiful,用桂花的芬芳、苹果的馨香、菊花的灿烂、牵牛花的奔放、一串红的艳丽,把一望无际three or four.的田野乡村,演绎得在自然中沉醉,渲染得天地间空旷而又阳刚。

% 1em(当前字体一个M的大小)
a\quad b

% 2em
a\qquad b

% 1/6的个em
a\, b 或者 a\thinspace b

% 0.5em
a\enspace b

% 输出一个空格
a\ b

% 硬空格
a~b

% 1pc=12pt=4.218mm
a\kern 5pc b
a\kern -1em b
a\hskip 5em b
a\hspace{35pt}b

% {}里字符的占位宽度,可以是多个
a\hphantom{x}b

%弹性长度
a\hfill b

\section{\LaTeX 控制符}
%转义字符 其中‘\’ 用\textbackslash
\# \$ \% \{ \} \~{} \_{} \^{} \& \textbackslash

\section{排版符号}
\S \P \dag \ddag \copyright \pounds

\section{\TeX 标志符号}
\TeX{} \LaTeX{} \LaTeXe{} 
% xltxtra宏包提供
\XeLaTeX{}
%texnames宏包提供
\AmSTeX{} \AmS- \LaTeXe{}
\BibTeX{} \LuaTeX{}

%mflogo宏包提供
\METAFONT{} \MF{} \MP{}

\section{引号}
` '  ``hello "
“你好"

\section{连续字符}
%短中长字符
- -- ---

\section{非英符号}
\oe \OE \ae \AE \aa \AA \o \O \l \L \ss \SS !` ?`


\section{重音符号(以为例子)}
\`o \'o \''o \~o \=o \.o \u{o} \v{o} \H{o} \r{o}
\t{o} \b{o} \c{o} \d{o}

\end{document}

(二)输出效果

08.png

09.png

本系列是有关LaTeX的学习系列,共计19篇,本章节是第11篇。
前一篇:10LaTeX学习系列之---Latex的文档结构
后一篇:12LaTeX学习系列之---LaTex的图片插入
总目录:19LaTeX学习系列之---LaTeX的总结

作者:Mark
日期:2019/03/05 周二

转载于:https://www.cnblogs.com/zyg123/p/10499695.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值