2020-12-29 17:03:05 +00:00
|
|
|
|
#LyX 2.4 created this file. For more info see https://www.lyx.org/
|
2024-01-11 16:06:40 +00:00
|
|
|
|
\lyxformat 620
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\begin_document
|
|
|
|
|
\begin_header
|
2016-01-12 21:30:37 +00:00
|
|
|
|
\save_transient_properties true
|
2019-03-25 15:32:27 +00:00
|
|
|
|
\origin /systemlyxdir/templates/Articles/
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\textclass ctex-article
|
|
|
|
|
\begin_preamble
|
2011-11-29 19:58:29 +00:00
|
|
|
|
% 如果没有这一句命令,XeTeX会出错,原因参见
|
|
|
|
|
% http://bbs.ctex.org/viewthread.php?tid=60547
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\DeclareRobustCommand\nobreakspace{\leavevmode\nobreak\ }
|
|
|
|
|
\end_preamble
|
2015-05-26 11:43:25 +00:00
|
|
|
|
\options UTF8
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\use_default_options true
|
2020-12-29 17:03:05 +00:00
|
|
|
|
\maintain_unincluded_children no
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\language chinese-simplified
|
2011-11-24 22:16:20 +00:00
|
|
|
|
\language_package none
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\inputencoding utf8-plain
|
2020-12-29 17:03:05 +00:00
|
|
|
|
\fontencoding auto
|
2015-11-13 18:14:45 +00:00
|
|
|
|
\font_roman "default" "default"
|
|
|
|
|
\font_sans "default" "default"
|
|
|
|
|
\font_typewriter "default" "default"
|
|
|
|
|
\font_math "auto" "auto"
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\font_default_family default
|
|
|
|
|
\use_non_tex_fonts false
|
|
|
|
|
\font_sc false
|
2022-12-11 16:12:05 +00:00
|
|
|
|
\font_roman_osf false
|
2020-12-29 17:03:05 +00:00
|
|
|
|
\font_sans_osf false
|
|
|
|
|
\font_typewriter_osf false
|
2015-11-13 18:14:45 +00:00
|
|
|
|
\font_sf_scale 100 100
|
|
|
|
|
\font_tt_scale 100 100
|
2017-04-24 04:03:19 +00:00
|
|
|
|
\use_microtype false
|
|
|
|
|
\use_dash_ligatures false
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\graphics default
|
|
|
|
|
\default_output_format pdf4
|
|
|
|
|
\output_sync 0
|
|
|
|
|
\bibtex_command default
|
|
|
|
|
\index_command default
|
|
|
|
|
\paperfontsize default
|
|
|
|
|
\spacing single
|
|
|
|
|
\use_hyperref false
|
|
|
|
|
\papersize default
|
|
|
|
|
\use_geometry false
|
2014-03-23 16:32:50 +00:00
|
|
|
|
\use_package amsmath 1
|
|
|
|
|
\use_package amssymb 1
|
2017-10-19 12:47:51 +00:00
|
|
|
|
\use_package cancel 1
|
2014-03-23 16:32:50 +00:00
|
|
|
|
\use_package esint 1
|
|
|
|
|
\use_package mathdots 1
|
2017-10-19 12:47:51 +00:00
|
|
|
|
\use_package mathtools 1
|
2014-03-23 16:32:50 +00:00
|
|
|
|
\use_package mhchem 1
|
2017-10-19 12:47:51 +00:00
|
|
|
|
\use_package stackrel 1
|
|
|
|
|
\use_package stmaryrd 1
|
|
|
|
|
\use_package undertilde 1
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\cite_engine basic
|
2014-03-23 16:32:50 +00:00
|
|
|
|
\cite_engine_type default
|
|
|
|
|
\biblio_style plain
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\use_bibtopic false
|
|
|
|
|
\use_indices false
|
|
|
|
|
\paperorientation portrait
|
|
|
|
|
\suppress_date false
|
2014-03-23 16:32:50 +00:00
|
|
|
|
\justification true
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\use_refstyle 1
|
2017-11-20 01:33:28 +00:00
|
|
|
|
\use_minted 0
|
2020-12-29 17:03:05 +00:00
|
|
|
|
\use_lineno 0
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\index Index
|
|
|
|
|
\shortcut idx
|
|
|
|
|
\color #008000
|
|
|
|
|
\end_index
|
|
|
|
|
\secnumdepth 3
|
|
|
|
|
\tocdepth 3
|
|
|
|
|
\paragraph_separation indent
|
|
|
|
|
\paragraph_indentation default
|
2017-04-24 04:03:19 +00:00
|
|
|
|
\is_math_indent 0
|
2017-08-14 06:31:24 +00:00
|
|
|
|
\math_numbering_side default
|
2017-04-24 04:03:19 +00:00
|
|
|
|
\quotes_style english
|
2017-11-20 01:33:28 +00:00
|
|
|
|
\dynamic_quotes 0
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\papercolumns 1
|
|
|
|
|
\papersides 1
|
|
|
|
|
\paperpagestyle default
|
2022-12-11 16:12:05 +00:00
|
|
|
|
\tablestyle default
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\tracking_changes false
|
|
|
|
|
\output_changes false
|
2022-12-11 16:12:05 +00:00
|
|
|
|
\change_bars false
|
|
|
|
|
\postpone_fragile_content false
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\html_math_output 0
|
|
|
|
|
\html_css_as_file 0
|
|
|
|
|
\html_be_strict false
|
2022-12-11 16:12:05 +00:00
|
|
|
|
\docbook_table_output 0
|
|
|
|
|
\docbook_mathml_prefix 1
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\end_header
|
|
|
|
|
|
|
|
|
|
\begin_body
|
|
|
|
|
|
2011-11-24 22:16:20 +00:00
|
|
|
|
\begin_layout Standard
|
|
|
|
|
\begin_inset Note Note
|
|
|
|
|
status open
|
|
|
|
|
|
2015-05-05 06:13:31 +00:00
|
|
|
|
\begin_layout Plain Layout
|
2015-05-26 11:43:25 +00:00
|
|
|
|
The below text refers to if we add
|
2015-05-05 06:13:31 +00:00
|
|
|
|
\begin_inset Quotes eld
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
adobefonts
|
|
|
|
|
\begin_inset Quotes erd
|
|
|
|
|
\end_inset
|
|
|
|
|
|
2015-05-26 11:43:25 +00:00
|
|
|
|
to the custom class options.
|
2015-05-05 06:13:31 +00:00
|
|
|
|
The text is outdated and will be updated to reflect this change soon.
|
2022-12-11 16:12:05 +00:00
|
|
|
|
The change was made because we no longer need proprietary fonts to compile this document.
|
|
|
|
|
For example,
|
|
|
|
|
it can be compiled with out-of-the-box TeX Live 2015.
|
2015-05-05 06:13:31 +00:00
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
\begin_inset Note Note
|
|
|
|
|
status open
|
|
|
|
|
|
2011-11-24 22:16:20 +00:00
|
|
|
|
\begin_layout Plain Layout
|
2022-12-11 16:12:05 +00:00
|
|
|
|
这是一份文章模板,
|
|
|
|
|
如果要使用书籍或报告,
|
|
|
|
|
请设置文档类为
|
2011-11-24 22:16:20 +00:00
|
|
|
|
\family sans
|
2015-05-05 06:06:54 +00:00
|
|
|
|
book (C\SpecialChar TeX
|
|
|
|
|
)
|
2011-11-24 22:16:20 +00:00
|
|
|
|
\family default
|
2011-11-28 23:30:29 +00:00
|
|
|
|
或者
|
2011-11-24 22:16:20 +00:00
|
|
|
|
\family sans
|
2015-05-05 06:06:54 +00:00
|
|
|
|
report (C\SpecialChar TeX
|
|
|
|
|
)
|
2011-11-24 22:16:20 +00:00
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\end_layout
|
|
|
|
|
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\begin_layout Title
|
2015-05-05 06:06:54 +00:00
|
|
|
|
基于C\SpecialChar TeX
|
|
|
|
|
的\SpecialChar LyX
|
|
|
|
|
文档模板
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\begin_layout Author
|
|
|
|
|
作者
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\begin_layout Abstract
|
|
|
|
|
这里是摘要内容。
|
2022-12-11 16:12:05 +00:00
|
|
|
|
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\begin_layout Standard
|
|
|
|
|
下面开始正文。
|
2022-12-11 16:12:05 +00:00
|
|
|
|
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\begin_layout Section
|
|
|
|
|
简介
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
|
本文档基于ctex宏包。
|
|
|
|
|
它使用UTF8编码,
|
|
|
|
|
因为UTF8是比较通用的编码。
|
|
|
|
|
设置编码有两处注意(都可以在菜单中设置):
|
|
|
|
|
ctex文档类的选项中需要设置UTF8,
|
|
|
|
|
语言编码也需要改为UTF8。
|
|
|
|
|
本文档默认输出类型为Xe\SpecialChar TeX
|
|
|
|
|
,
|
|
|
|
|
也就是用Xe\SpecialChar LaTeX
|
|
|
|
|
编译为PDF文档,
|
|
|
|
|
使用Adobe字体,
|
|
|
|
|
在Ubuntu系统下可成功编译生成PDF。
|
|
|
|
|
如果系统中没有Adobe字体,
|
|
|
|
|
当然也可以使用普通article类配合任意中文字体,
|
|
|
|
|
只需要用Xe\SpecialChar LaTeX
|
|
|
|
|
编译即可;
|
|
|
|
|
如果需要引用ctex所做的术语翻译和大量其它为了适应中文文档的调整(比如缩进),
|
|
|
|
|
那么可以在导言区(preamble)中调用:
|
|
|
|
|
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\family typewriter
|
|
|
|
|
|
|
|
|
|
\backslash
|
|
|
|
|
usepackage[UTF8,nofonts]{ctexcap}
|
|
|
|
|
\family default
|
2022-12-11 16:12:05 +00:00
|
|
|
|
;
|
|
|
|
|
这样,
|
|
|
|
|
“Section X”就会变成“第X节”。
|
|
|
|
|
非Windows用户可以尝试用这种方法写中文\SpecialChar LyX
|
|
|
|
|
文档(比如用文泉驿字体,
|
|
|
|
|
注意中英字体可以分别设置,
|
|
|
|
|
参见xeCJK包)。
|
|
|
|
|
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\begin_layout Section
|
|
|
|
|
获取帮助
|
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\begin_layout Standard
|
2022-12-11 16:12:05 +00:00
|
|
|
|
本模板来自谢益辉,
|
|
|
|
|
若有任何疑问,
|
|
|
|
|
请发邮件至xie@yihui.name或到
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\begin_inset Flex URL
|
|
|
|
|
status collapsed
|
|
|
|
|
|
|
|
|
|
\begin_layout Plain Layout
|
|
|
|
|
|
2024-10-17 11:51:53 +00:00
|
|
|
|
https://yihui.name
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\end_inset
|
|
|
|
|
|
2022-12-11 16:12:05 +00:00
|
|
|
|
留言。
|
|
|
|
|
注意前面已经声明,
|
|
|
|
|
本文档默认设置为使用Adobe中文字体,
|
|
|
|
|
如果你是Linux用户,
|
|
|
|
|
这些字体很可能不存在,
|
|
|
|
|
这种情况下请使用任意可用的非\SpecialChar TeX
|
2015-05-05 06:06:54 +00:00
|
|
|
|
中文字体。
|
2022-12-11 16:12:05 +00:00
|
|
|
|
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\begin_layout Section
|
|
|
|
|
小结
|
|
|
|
|
\end_layout
|
|
|
|
|
|
2011-11-24 22:16:20 +00:00
|
|
|
|
\begin_layout Standard
|
2015-05-05 06:06:54 +00:00
|
|
|
|
本文档使用article (C\SpecialChar TeX
|
2022-12-11 16:12:05 +00:00
|
|
|
|
)文档类,
|
|
|
|
|
语言设置为简体中文,
|
|
|
|
|
编码使用UTF8,
|
|
|
|
|
字体用Adobe中文字体,
|
|
|
|
|
输出类型设置为Xe\SpecialChar TeX
|
|
|
|
|
。
|
|
|
|
|
编译的时候中文与英文之间会自动加上空格,
|
|
|
|
|
方便阅读。
|
|
|
|
|
|
2011-11-24 15:45:31 +00:00
|
|
|
|
\end_layout
|
|
|
|
|
|
|
|
|
|
\end_body
|
|
|
|
|
\end_document
|