fancy font generator(如何在 Mac 下的 LaTeX 中使用中文字体)
本文目录
如何在 Mac 下的 LaTeX 中使用中文字体
\documentclass{article}
% \documentclass{report}
% \documentclass{book}
\def\mathfamilydefault{\rmdefault}
% 设置页面
%==================================================
\linespread{1} %行距
% \usepackage{geometry}
% \headsep=2cm
% \textwidth=16cm \textheight=24.2cm
%==================================================
% 使用中文xe**K宏包耐世
%==================================================
\usepackage{fontspec,xltxtra,xunicode}
\usepackage{xe**K}
%==================================================
% 其它需要使用的宏包
%==================================================
\usepackage{hyperref}
\手亩斗usepackage{tabularx}
\usepackage{authblk} % 作者信息
\usepackage{algorithm} % 算法排版
\usepackage{am**ath} % 数学符号与公式
\usepackage{amsfonts} % 数学符号与字体
\usepackage{graphics}
\usepackage{color}
\usepackage{fancyhdr} % 设置页眉页脚
\usepackage{fancyvrb} % 抄录环境
\usepackage{float} % 管理浮动体
\usepackage{geometry} % 定制毕磨页面格式
\usepackage{hyperref} % 为PDF文档创建超链接
\usepackage{lineno} % 生成行号
\usepackage{listings} % 插入程序源代码
\usepackage{multicol} % 多栏排版
\usepackage{natbib} % 管理文献引用
\usepackage{rotating} % 旋转文字,图形,表格
\usepackage{subfigure} % 排版子图形
\usepackage{titlesec} % 改变章节标题格式
\usepackage{moresize} % 更多字体大小
\usepackage{anysize}
\usepackage{indentfirst} % 首段缩进
\usepackage{booktabs} % 使用\multicolumn
\usepackage{multirow} % 使用\multirow
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{xcolor}
\usepackage{titlesec} % 改变标题样式
\usepackage{enumitem}
%==================================================
% 将默认的英文目录等改为中文,设置图号和公式号与章节对应,缩进大小
%==================================================
% \titleformat{\part}{\centering\Huge}{\textbf{第~\thepart~部分}}{0.2cm}{\textbf}
% \titleformat{\chapter}{\huge}{\textbf{第~\thechapter~章}}{0.2cm}{\textbf}
% \renewcommand{\contentsname}{目 \quad 录}
% \renewcommand{\abstractname}{摘 \quad 要}
% \renewcommand{\appendixname}{附 \quad 录}
% \renewcommand{\theequation}{\arabic{section}.\arabic{equation}} %公式号与章节对应
% \renewcommand{\figurename}{\normalsize{图 \arabic{section}.\arabic{figure}}} %改figure为图
% \renewcommand{\refname}{参考文献}
% \renewcommand{\bibname}{参考文献}
% \makeatletter
% \renewcommand{\fnum@figure}{\textbf{\figurename~}\hspace{10pt} \sffamily} %图号与章节对应
% \makeatother
\setlength{\parindent}{2em} %设置缩进为两个大写M的宽度,大约为两个汉字的宽度
%==================================================
% 设置页眉页脚
%==================================================
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\pagestyle{headings}
% \pagestyle{fancy}
% \lhead{}
% \chead{}
% \rhead{}
% \lfoot{}
% \cfoot{}
% \rfoot{}
%==================================================
% 加入VBA代码高亮
%==================================================
\lstdefinelanguage{VBA}{morekeywords={And, As, Byte, Call, Case, Compare, CDbl, Datebase, Date, Dim, Else, ElseIf, End, Error, Exit, Explicit, False, Function, GoTo, If, IIF, Integer, Not, Nothing, Null, Object, On, Option, Or, Private, Resume, String, Single, Select, Set, Static, Sub, Then, True, To,},
sensitive=false,
morecomment=Rem,
morecomment=’,
morestring=",
emph={acFormBar, acEditMenu, acCurrent, acEntire, acMenuVer70, acSaveYes, acViewNormal, acForm, acDataErrAdded, acNewRec, acDataErrContinue, Cancel, CancelEvent, Close, CurrentDb, DefaultValue, DateValue, DAO, Description, DoCmd, DoMenuItem, Err, Error, Error$, $, Execute, FindRecord, Forms, FindFirst, IsNull, Me, MsgBox, GoToControl, GoToRecord, NewData, Nz, Maximize, Number, OpenForm, Parent, Recordset, Requery, Resp***e, SetFocus, stDocName, stLinkCriteria, Value, vbExc****tion, vbOK, vbOKCancel, vbInformation, vbYes, vbNo, vbYesNo, vbCancel, vbQuestion, vbYesNoCancel, Visible,},
emphstyle=\color{blue!100!}}
%==================================================
\lstset{basicstyle=\ttfamily,breaklines,numberstyle=\tiny,
keywordstyle=\color{red}, stringstyle=\color{green!100!},commentstyle=\color{red!20!green!20!blue!20},
frame=single,
rulesepcolor=\color{red!20!green!20!blue!20},numbers=left, numberstyle=\tiny}
%==================================================
% 设置中文字体
%==================================================
%\set**Kmainfont{SimSun}
\set**Kmainfont{Adobe Song Std}
%\set**Kmainfont{STSong}
%\set**Ksansfont{SimHei}
\set**Ksansfont{Adobe Heiti Std}
%\set**Ksansfont{STHeiti}
%\set**Kmonofont{FangSong}
\set**Kmonofont{Adobe Fangsong Std}
%\set**Kmonofont{STFangsong}
%-------------------------------------------------
%\set**Kfamilyfont{zhsong}{SimSun}
\set**Kfamilyfont{zhsong}{Adobe Song Std}
%\set**Kfamilyfont{zhsong}{STSong}
%\set**Kfamilyfont{zhhei}{SimHei}
\set**Kfamilyfont{zhhei}{Adobe Heiti Std}
%\set**Kfamilyfont{zhhei}{STHeiti}
%\set**Kfamilyfont{zhfs}{FangSong}
\set**Kfamilyfont{zhfs}{Adobe FangSong Std}
%\set**Kfamilyfont{zhfs}{STSong}
%\set**Kfamilyfont{zhkai}{KaiTi}
\set**Kfamilyfont{zhkai}{Adobe Kaiti Std}
%\set**Kfamilyfont{zhkai}{STKaiti}
%-------------------------------------------------
\newcommand*{\songti}{\**Kfamily{zhsong}} % 宋体
\newcommand*{\heiti}{\**Kfamily{zhhei}} % 黑体
\newcommand*{\kaishu}{\**Kfamily{zhkai}} % 楷书
\newcommand*{\fangsong}{\**Kfamily{zhfs}} % 仿宋
% !使用如下命令:{\songti 宋体} 可以临时使用宋体(要加大括号)
%==================================================
% 设置英文字体
%==================================================
%\defaultfontfeatures{Scale=MatchLowercase} % 这个参数保证 serif、sans-serif 和 monospace 字体在小写时大小匹配
\setmainfont{CMU Serif} % 使用 XeTeX 的 text-mapping 方案,正确显示 LaTeX 样式的双引号(`` ’’)
% \setmainfont{Palatino Linotype}
\setsansfont{CMU Sans Serif}
% \setsansfont{DejaVu Sans YuanTi}
\setmonofont{Courier New}
% \setmonofont{Monaco}
% \setmonofont{DejaVu Sans YuanTi}
%==================================================
% 题目,作者,日期
%==================================================
\title{}
% Style 1
% -------------------------------
\author{author1}
\affil{affil1}
\author{author2}
\affil{affil2}
% Style 2
% -------------------------------
%\author{author1}
%\affil{affil1}
%\author{author2}
%\affil{affil2}
\date{}
%==================================================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 正文
%==================================================
\begin{document}
% \pagenumbering{Roman} %页码为大写罗马数字
% \pagenumbering{arabic} %页码为阿拉伯数字
\maketitle
\newpage
\tableofcontents
\newpage
\end{document}
%==================================================
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
css中fancy与Sidebar分别指什么在css中起什么作用
Sidebar与fancy要对应HTML:
《div id="sidebar"》《/div》
《div class="fancy"》《/div》
"css中fancy与Sidebar分轮胡型别指什么?在css中起什么作用?"
你这样问很多人看不明白,fancy与Sidebar只是你自己定义的ID选择腊猜器和类别选择器的名称,不是固有的,你想怎么命名就怎么做敬命名。
你要让他们互用?“把sidebar换为fancy,把fancy换为Sidebar。”
要换的话对应html里面也得换,因为他们是不同的种类:
《div id="fancy"》《/div》
《div class="sidebar"》《/div》
你应该去了解“CSS选择器的种类”
MERROW EDGE 是什么意思
merrow stitch 是3线钑骨; merrow edge 是3线钑骨边. The basic elements of embroidery are the size
thread coverage
edging and backing.With your patch design facing its intended presentation
its size is measured by taking the length plus the width and then dividing by o (Example: 4”+3”=7” 7”2=3 1/2”). Thread coverage refers to the amount of threading that covers the base ill material. Favor-IT Emblems uses a three tier system (50%
75%
100%). Obviously
if the ill is pletely covered
this is 100% coverage. On the opposite extreme
50% coverage or less is best described by having straight-line text. This minimum coverage does not incorporate a logo
fancy font/lettering style or multiple thread colors. Once a logo is used or plexity is involved
the thread coverage falls into a 75% level. When a geometric design is involved
a traditional merrow edge is used. This merrow edge is easier to attach to clothing
hats
e Stitched or laser-cut edging is applied when following an unusual shape. While this can be sewn-down
it is remended to have a special backing such as iron-on material. Since any patch can be applied by sewing
optional backings provide the end-user with application choices such as; plastic
heat-seal (iron-on)
adhesive (like double-side tape)
or a safety pin.
参考: other
本文相关文章:
understand什么意思英语(understand什么意思中文翻译)
2026年4月8日 18:20
reactive的翻译(reactive torque中文翻译)
2026年4月8日 17:40
python编程入门 输入与输出与(python如何输入输出中文)
2026年4月5日 11:20
assembled翻译(lte mobile phone assebled in china翻译中文什么意思)
2026年4月4日 23:20
asses**ent test的意思(请问SAT考试的中文名是什么怎么读)
2026年4月1日 23:00
on java中文版 pdf下载(onjava中文版值得买吗)
2026年3月26日 11:00
更多文章:
停止接种第一剂次(新乡暂停第一剂次新冠疫苗接种(新乡暂停第一剂次新冠疫苗接种的时间))
2026年4月19日 18:20
如何打开json文件怎么打开(pycharm怎么加载json文件)
2026年4月19日 18:00
linux虚拟机怎么删除文件(虚拟机LINUX的硬盘空间为什么总是无端端消失)
2026年4月19日 17:40
nodejs安装在哪个盘好(你好,我在安装nodejs时,进度条会自己回退,导致安装不上,有什么解决)
2026年4月19日 17:20
如何查看mysql环境是否配置成功(my**L装好需不需要在环境变量里配置,如何配置)
2026年4月19日 16:20



