Skip to content

Commit

Permalink
修改选题来源填写位置
Browse files Browse the repository at this point in the history
  • Loading branch information
note286 committed Jan 1, 2022
1 parent 51ac74f commit 0a716ab
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 19 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ xdupgtp-Xidian University Postgraduate Thesis Proposal

# 版本记录

- `2022-01-01` [`v0.2.2`](https://github.com/note286/xdupgtp/releases/tag/v0.2.2) 修改选题来源填写位置。
- `2021-12-31` [`v0.2.1`](https://github.com/note286/xdupgtp/releases/tag/v0.2.1) 增加不同学位类型示例文件。
- `2021-12-31` [`v0.2.0`](https://github.com/note286/xdupgtp/releases/tag/v0.2.0) 新增学术学位硕士研究生模板。
- `2021-12-31` [`v0.1.0`](https://github.com/note286/xdupgtp/releases/tag/v0.1.0) 新增专业学位博士研究生模板。
Expand Down
5 changes: 2 additions & 3 deletions examples/xdupgtp-da.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@
\newcommand\school{电子工程学院}
% 开题日期
\newcommand\submitDate{2021年12月31日}
% 选题来源
\newcommand\subjectSource{国家自然科学基金}

\begin{document}

\section{论文概况}
\begin{xtly}
% 在这里撰写选题来源
\end{xtly}
\begin{zwzy}
% 在这里撰写中文摘要
\end{zwzy}
Expand Down
5 changes: 2 additions & 3 deletions examples/xdupgtp-dp.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@
\newcommand\school{电子工程学院}
% 开题日期
\newcommand\submitDate{2021年12月31日}
% 选题来源
\newcommand\subjectSource{国家自然科学基金}

\begin{document}

\section{论文概况}
\begin{xtly}
% 在这里撰写选题来源
\end{xtly}
\begin{zwzy}
% 在这里撰写中文摘要
\end{zwzy}
Expand Down
5 changes: 2 additions & 3 deletions examples/xdupgtp-ma.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@
\newcommand\school{电子工程学院}
% 开题日期
\newcommand\submitDate{2021年12月31日}
% 选题来源
\newcommand\subjectSource{国家自然科学基金}

\begin{document}

\section{论文概况}
\begin{xtly}
% 在这里撰写选题来源
\end{xtly}
\begin{zwzy}
% 在这里撰写中文摘要
\end{zwzy}
Expand Down
12 changes: 5 additions & 7 deletions xdupgtp.cls
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{xdupgtp}[2021/12/31 Xidian University Postgraduate Thesis Proposal class, v0.2.0, created by @note286, published in https://note286.github.io/xdupgtp/]
\ProvidesClass{xdupgtp}[2022/01/01 Xidian University Postgraduate Thesis Proposal class, v0.2.2, created by @note286, published in https://note286.github.io/xdupgtp/]

% 学术学位博士研究生 Doctor of Academic
\newif\ifda\datrue
Expand Down Expand Up @@ -352,13 +352,11 @@
before upper={\parindent 2em \linespread{1}\fontsize{12}{20}\selectfont}
}

\newenvironment{xtly}
{\begin{mybox1}
选题来源:}
{\end{mybox1}}

\newenvironment{zwzy}
{\vspace*{-\baselineskip-\boxrule}
{\begin{mybox1}
选题来源:\subjectSource
\end{mybox1}
\vspace*{-\baselineskip-\boxrule}
\begin{mybox1}
中文摘要:
\end{mybox1}
Expand Down
5 changes: 2 additions & 3 deletions xdupgtp.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@
\newcommand\school{电子工程学院}
% 开题日期
\newcommand\submitDate{2021年12月31日}
% 选题来源
\newcommand\subjectSource{国家自然科学基金}

\begin{document}

\section{论文概况}
\begin{xtly}
% 在这里撰写选题来源
\end{xtly}
\begin{zwzy}
% 在这里撰写中文摘要
\end{zwzy}
Expand Down

0 comments on commit 0a716ab

Please sign in to comment.