【Latex | 您所在的位置:网站首页 › word文档怎么调整页面边距大小 › 【Latex |
字体
● 常见字体: 黑体 {\heiti 内容} 宋体 {\songti 内容} 黑斜体 (矩阵,矢量/向量) $内容$ 斜体 (变量) $内容$ 宋体粗体 \textbf{内容} 新罗体:Times New Roman 默认 字号【注】磅 = pt 字体字号磅数大小对照表 在看代码之前,先看看效果图:
题目+摘要+关键词 %提供参考的字号定义代码部分如下 定义22pt: \newcommand{\erhao}{\fontsize{22pt}{\baselineskip}\selectfont} 定义16pt: \newcommand{\sanhao}{\fontsize{16pt}{\baselineskip}\selectfont} 定义14pt: \newcommand{\sihao}{\fontsize{14pt}{\baselineskip}\selectfont} 定义10.5pt: \newcommand{\wuhao}{\fontsize{10.5pt}{\baselineskip}\selectfont} 定义9pt: \newcommand{\xiaowu}{\fontsize{9pt}{\baselineskip}\selectfont} 定义7.5pt: \newcommand{\liuhao}{\fontsize{7.5pt}{\baselineskip}\selectfont} 中文2号(22pt) 黑体(题目) {\erhao\heiti 二号黑体} 小5(9pt) 宋体(摘要+关键词) {\xiaowu\songti 小五宋体} 英文三号(16pt) 新罗体(题目:首词首字母大写, 余小写){\sanhao 16pt sanhao English} 小5(9pt) 新罗体(摘要+关键词) {\xiaowu 9pt xiaowu English} 正文【注】中文用宋体,西文用新罗体 Times New Roman 4号 粗体 一级标题 \textbf{\sihao\songti 四号宋体加粗} 5号 粗体 二级标题 \textbf{\wuhao\songti 五号宋体加粗} 5号 白体 三级标题+正文 {\wuhao\songti 宋体五号} 正文行距15.7pt 在正文最前端加入\setlength{\baselineskip}{15.7pt} 效果如下 【注】中文用宋体,西文用新罗体 Times New Roman 6号(8pt) 白体 字体无限制 图内部 {\liuhao\songti 宋体六号} 小5(9pt) 粗体 字体无限制 图题 \textbf{\xiaowu\songti 宋体小5加粗} 不过图片最好是在本地做成pdf传到云端。 原因:pdf是矢量图,随便你怎么放大都不会破坏图片的分辨率。 表格(用三线表)【注】中文用宋体,西文用新罗体 Times New Roman 表题(表上居中) 小5(9pt) 粗体 表内文字 小5(9pt) 白体(标题行粗体) 修改页边距 \documentclass[a4paper,12pt]{article} \usepackage{xeCJK} \usepackage{geomentry} \geomentry={left=1cm,right=1cm,top=3.90cm,bottom=3.09cm} 要实现首行进也很简单, 在导言区加入宏包首行\usepackagef{indentirst} 就可以了. 使用命令设置进的距高\setlength{\parindent}{2em}. 这里的2em表示缩进2个字符位置 Latex支持的长度单位有: in-英寸(inch) mm-毫米(millimeters) cm- 米(centimeters) pt - points (t 1/72 inch) em-接近当前字体的字符M"的密度(approximately the width of an "M" in the current font) ex.接近当前字件的字符x的高度approximately the height of an x in the current font) \usepackagef{indentirst} \setlength{\parindent}{2em}
|
CopyRight 2018-2019 实验室设备网 版权所有 |