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
更多文章:
fancy font generator(如何在 Mac 下的 LaTeX 中使用中文字体)
2026年4月17日 23:20
javascript数组奇数在左偶数在右(将一维数组A[1:n]中所有奇数移到数组的左边,所有偶数移到数组的右边请写出该操作的算法)
2026年4月17日 22:40
groupbox是什么控件(在winforms程序中,什么控件可以将其他控件分组)
2026年4月17日 22:20
maven导入本地jar包(M**EN如何引入或者编译本地的jar包)
2026年4月17日 21:20
c语言改错题要改哪里(c语言改错题 有一个位置不知道怎么改)
2026年4月17日 21:00
request对象获取数据的方法(如何利用ASP的Request对象取得表单中的数据)
2026年4月17日 20:20


![javascript数组奇数在左偶数在右(将一维数组A[1:n]中所有奇数移到数组的左边,所有偶数移到数组的右边请写出该操作的算法)](/static/images/nopic/11.jpg)

