Skip to content

Commit

Permalink
升级模版,兼容ustcthesis V3.1.03
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcui committed Jan 30, 2019
1 parent 8258a52 commit a220a75
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 12 deletions.
3 changes: 2 additions & 1 deletion Main.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
% \ensecretlevel{Secret} % Top secret|Highly secret|Secret


%
% load packages
\usepackage{bibentry,natbib}
\usepackage{hyperref}

%%图、表的格式化引用
\newrefformat{fig}{\hyperref[#1]{图\ref*{#1}\,}}
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,21 @@
```
````bash
# windows 系统用 -c core.symlinks=true 选项, 保证链接正确
git clone -c core.symlinks=true  --recursive https://github.com/jmcui/USTC-Lyx.git
git clone -c core.symlinks=true  --recursive https://git.lug.ustc.edu.cn/jmcui/ustclyx.git
````



Note: 不要使用github 网页上code中“Clone or download” 按钮下载。这样方法不能下载子项目,导致文件缺失。

Note:git子模块更新命令

```bash
git submodule update --recursive --remote
```



## 使用 ##

* 下载安装 Texlive, 参考 [ustcthesis 新手指南](https://github.com/ustctug/ustcthesis/wiki/新手指南)。
Expand Down
15 changes: 14 additions & 1 deletion chapters/Appendix.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
\textclass USTCthesis
\begin_preamble
%Created by jmcui
%\graphicspath{{C:/Users/jmcui/Desktop/Lyxthesis/USTCthesis}}

\usepackage{xcolor}
\usepackage{hyperref}
%\graphicspath{{figures/}}
\end_preamble
\options doctor,twoside
\use_default_options false
Expand Down Expand Up @@ -107,6 +110,16 @@ NoStyle EnglishAbstract
修改记录
\end_layout

\begin_layout Itemize
1/30-2019
\end_layout

\begin_deeper
\begin_layout Itemize
升级模版兼容 ustcthesis V3.1.03
\end_layout

\end_deeper
\begin_layout Itemize
10/20-2018
\end_layout
Expand Down
8 changes: 4 additions & 4 deletions chapters/FrontMatter.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -369,10 +369,10 @@ chapter{主要符号对照表}
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="2">
<features tabularvalignment="middle">
<column alignment="center" valignment="top">
<column alignment="left" valignment="top">
<column alignment="left" valignment="top">
<row>
<cell alignment="center" valignment="top" usebox="none">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Expand All @@ -392,7 +392,7 @@ HPC
</cell>
</row>
<row>
<cell alignment="center" valignment="top" usebox="none">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Expand All @@ -412,7 +412,7 @@ CLS
</cell>
</row>
<row>
<cell alignment="center" valignment="top" usebox="none">
<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Expand Down
4 changes: 3 additions & 1 deletion chapters/Introduction.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
\textclass USTCthesis
\begin_preamble
%Created by jmcui
%\graphicspath{{C:/Users/jmcui/Desktop/Lyxthesis/USTCthesis}}


\usepackage{xcolor}
\usepackage{hyperref}
%\graphicspath{{figures/}}
\end_preamble
\options doctor,twoside
\use_default_options false
Expand Down
3 changes: 2 additions & 1 deletion chapters/Publication.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
\textclass USTCthesis
\begin_preamble
%Created by jmcui
%\graphicspath{{C:/Users/jmcui/Desktop/Lyxthesis/USTCthesis}}

\usepackage{bibentry,natbib}
\usepackage{hyperref}
%\graphicspath{{figures/}}
\end_preamble
\options doctor,twoside
\use_default_options false
Expand Down
4 changes: 3 additions & 1 deletion chapters/Skills.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
\textclass USTCthesis
\begin_preamble
%Created by jmcui
%\graphicspath{{C:/Users/jmcui/Desktop/Lyxthesis/USTCthesis}}

\usepackage{xcolor}
\usepackage{hyperref}
%\graphicspath{{figures/}}
\end_preamble
\options doctor,twoside
\use_default_options false
Expand Down
5 changes: 4 additions & 1 deletion chapters/thanks.lyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
\textclass USTCthesis
\begin_preamble
%Created by jmcui
%\graphicspath{{C:/Users/jmcui/Desktop/Lyxthesis/USTCthesis}}

\usepackage{xcolor}
\usepackage{hyperref}
%\graphicspath{{figures/}}
\end_preamble
\options doctor,twoside
\use_default_options false
Expand Down
2 changes: 1 addition & 1 deletion ustcthesis
Submodule ustcthesis updated 75 files
+0 −0 .ci/texlive.profile
+6 −6 .ci/texlive.sh
+7 −6 .github/ISSUE_TEMPLATE/bug_report.md
+0 −17 .github/ISSUE_TEMPLATE/feature_request.md
+21 −0 .gitignore
+1 −1 .travis.yml
+25 −15 Makefile
+2 −2 README.md
+22 −69 chapters/citations.tex
+6 −0 chapters/complementary.tex
+24 −7 chapters/math.tex
+21 −6 chapters/notation.tex
+6 −0 latexmkrc
+7 −4 main.tex
+28 −0 test/build-bib.lua
+28 −0 test/build-nomencl.lua
+3 −5 test/build-toc.lua
+22 −0 test/build.lua
+12 −0 test/testfiles-bib/bib-authoryear.lvt
+1,890 −0 test/testfiles-bib/bib-authoryear.tlg
+12 −0 test/testfiles-bib/bib-bachelor.lvt
+1,771 −0 test/testfiles-bib/bib-bachelor.tlg
+12 −0 test/testfiles-bib/bib-numbers.lvt
+1,705 −0 test/testfiles-bib/bib-numbers.tlg
+12 −0 test/testfiles-bib/bib-super.lvt
+1,784 −0 test/testfiles-bib/bib-super.tlg
+25 −0 test/testfiles-bib/support/citations.tex
+117 −0 test/testfiles-bib/support/refs.bib
+25 −0 test/testfiles-nomencl/package-nomencl.lvt
+473 −0 test/testfiles-nomencl/package-nomencl.tlg
+1 −3 test/testfiles-toc/main-bachelor-arabic.lvt
+1,718 −0 test/testfiles-toc/main-bachelor-arabic.tlg
+1 −3 test/testfiles-toc/main-bachelor-english.lvt
+1,699 −0 test/testfiles-toc/main-bachelor-english.tlg
+1 −3 test/testfiles-toc/main-bachelor.lvt
+1,738 −0 test/testfiles-toc/main-bachelor.tlg
+1 −3 test/testfiles-toc/main-english.lvt
+1,766 −0 test/testfiles-toc/main-english.tlg
+43 −0 test/testfiles-toc/main-lof.lvt
+954 −0 test/testfiles-toc/main-lof.tlg
+43 −0 test/testfiles-toc/main-lot.lvt
+874 −0 test/testfiles-toc/main-lot.tlg
+1 −3 test/testfiles-toc/main.lvt
+1,915 −0 test/testfiles-toc/main.tlg
+0 −0 test/testfiles-toc/support/chapters-bachelor.tex
+4 −0 test/testfiles-toc/support/chapters.tex
+26 −0 test/testfiles/package-siunitx.lvt
+428 −0 test/testfiles/package-siunitx.tlg
+1 −1 test/testfiles/statement-secret.lvt
+1,051 −0 test/testfiles/statement-secret.tlg
+1 −1 test/testfiles/statement.lvt
+1,048 −0 test/testfiles/statement.tlg
+0 −0 test/testfiles/support/info-secret.tex
+0 −0 test/testfiles/support/info.tex
+1 −1 test/testfiles/titlepage-bachelor.lvt
+758 −0 test/testfiles/titlepage-bachelor.tlg
+1 −1 test/testfiles/titlepage-master.lvt
+809 −0 test/testfiles/titlepage-master.tlg
+1 −1 test/testfiles/titlepage-secret.lvt
+782 −0 test/testfiles/titlepage-secret.tlg
+1 −1 test/testfiles/titlepage.lvt
+758 −0 test/testfiles/titlepage.tlg
+0 −2,410 testfiles/main-bachelor-arabic.tlg
+0 −2,387 testfiles/main-bachelor-english.tlg
+0 −2,431 testfiles/main-bachelor.tlg
+0 −2,558 testfiles/main-english.tlg
+0 −2,714 testfiles/main.tlg
+0 −1,117 testfiles/statement-secret.tlg
+0 −1,114 testfiles/statement.tlg
+0 −856 testfiles/titlepage-bachelor.tlg
+0 −907 testfiles/titlepage-master.tlg
+0 −880 testfiles/titlepage-secret.tlg
+0 −856 testfiles/titlepage.tlg
+361 −194 ustcthesis.cls
+619 −377 ustcthesis.dtx

0 comments on commit a220a75

Please sign in to comment.