Skip to content

Commit

Permalink
readme: 修改了 README.md 里部分文字表述
Browse files Browse the repository at this point in the history
  • Loading branch information
Huanyu Shi committed Oct 27, 2024
1 parent f811020 commit 2b27311
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 30 deletions.
26 changes: 12 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,19 @@
</p>
</div>

大家好,我是来自于物理与天文学院2019级物理系的本科生 Huanyu Shi。
大家好,我是中山大学物理与天文学院 2019 级物理系本科生 Huanyu Shi。

本模板源于我大二一时兴起所做。对于撰写实验报告,学院只提供了简陋的 word 模板,使用 word 效率低下且排版效果不甚理想。于是我仿照学院提供的模板格式,在其基础上完成了此 LaTeX 模板。
这份模板源于我大二一时兴起所做。学院当时提供的实验报告模板仅限于简单的 Word 文件,而 Word 在编辑效率和排版美观方面都存在一定的不足。基于学院模板的基本格式,我设计并完成了这个 LaTeX 模板,以提高报告的撰写效率和呈现效果

临近毕业,我发现此模板在学院内部仍有流传,但毕竟当时写就并不规范,且功能有诸多缺失。考虑到种种原因,**我决定将此模板进行更新完善并打包公布在 GitHub 和知乎上**希望有助于后辈学子,同时也希望对其他兄弟院校的同学有一定参考和帮助作用
临近毕业,我偶然发现此模板在学院内部仍有流传,但毕竟当时制作中并不规范,功能上也有不足之处。考虑到种种原因,**我决定将此模板进行更新完善并打包公布在 GitHub 和知乎上**方便有需要的同学参考使用。希望它不仅能为本学院的后辈学子提供帮助,也能为其他院校的同学提供一些参考借鉴

Demo 请见 [PDF](https://huanyushi.github.io/assets/pdf/SYSU-SPA-LabReport-Template.pdf) ,源码可在 [release](https://github.com/huanyushi/SYSU-SPA-Labreport-Template/releases) 上下载。
模板 Demo 请见 [PDF](https://huanyushi.github.io/assets/pdf/SYSU-SPA-LabReport-Template.pdf) ,源码可在 [release](https://github.com/huanyushi/SYSU-SPA-Labreport-Template/releases) 上下载。

## 1. 模板功能说明

同时,也欢迎访问我的 [blog](https://huanyushi.github.io/)
### 1.1. 更新内容

## 模板功能说明

### 更新内容
本模板经过本次更新后,除几个必要的实验报告部分:
这份模板经过本次更新后,除几个必要的实验报告部分:
* 扉页
* 预习报告
* 实验记录
Expand All @@ -39,9 +37,9 @@ Demo 请见 [PDF](https://huanyushi.github.io/assets/pdf/SYSU-SPA-LabReport-Temp

* **常用命令展示**,鉴于部分学生初次接触 LaTeX,本模板也给出了相应的常用命令展示以方便查阅。

### 注意事项
### 1.2. 注意事项
1. 参考文献应导入 `bib` 文件中,编译顺序请按 `xelatex` -> `bibtex` -> `xelatex` -> `xelatex`, 若要调整参考文献的格式在 `main.tex` 中修改 `\bibliographystyle{}` 即可;
2. `lstlisting` 代码环境配置如下,导入的是 `Python` 语言,可手动更改或添加其他程序语言,其他相关配置可参考 `listings` 宏包的手册,
2. `lstlisting` 代码环境配置示例如下,其中导入的是 `Python` 语言,可手动更改或添加其他程序语言,其他相关配置可参考 `listings` 宏包的手册,
```latex
\usepackage{listings}
\definecolor{c1}{HTML}{2752C9} % 定义的颜色
Expand Down Expand Up @@ -100,13 +98,13 @@ rulesepcolor=\color{gray!30!white}
}
```
![](images/readme2.jpg)
4. TikZ 是一个知名的绘图宏包(其文档说明高达1000多页,超乎常人想象),在此补充了一些 TikZ 实例
1. TikZ 是一个知名的绘图宏包(不过它的文档说明高达 1000 多页,学习成本略高),在此补充了一些 TikZ 实例
![](images/readme3.JPG)

## 声明
## 2. 声明
* 本模板仅供学习交流所用,非学院官方模板。
* 本模板不再进行更新维护,若有任何额外需求请自行设计更改。
* **欢迎报考中山大学物理与天文学院**

## 许可证
## 3. 许可证
该项目是在 MIT 许可下发布的。
20 changes: 9 additions & 11 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,18 @@
</p>
</div>

Hello everyone, I am Huanyu Shi, an undergraduate student majoring in physics from School of Physics and Astronomy, class of 2019.
Hi, I am Huanyu Shi, an undergraduate student majoring in physics from School of Physics and Astronomy at Sun Yat-sen university, class of 2019.

The inspiration for this template came to me during my sophomore year when I found the Word template provided by the college for writing lab reports to be rudimentary, inefficient, and aesthetically unpleasing. Therefore, I decided to create this LaTeX template based on the format provided by the college, but with improvements.

As graduation approaches, I've realized that this template is still in circulation within the college. However, it was not standardized when I initially created it, and it lacked many features. **Taking all this into consideration, I have decided to update and improve this template and publish it on GitHub and Zhihu**. My hope is that it will be helpful to future students and also serve as a reference for students from other colleges."

You can find the [demo PDF here](https://huanyushi.github.io/assets/pdf/SYSU-SPA-LabReport-Template.pdf) and download the source code from the [release page](https://github.com/huanyushi/SYSU-SPA-Labreport-Template/releases).

Also, welcome to visit my [blog](https://huanyushi.github.io/).
As graduation approaches, I've realized that this template is still in circulation within the college. However, since the initial version was rather rudimentary and lacked certain features, **I have decided to refine and enhance it, making it available on GitHub and Zhihu for anyone who may find it useful.** I hope it will not only benefit students in our department but also provide a helpful reference for students from other institutions.

You can find the [demo PDF here](https://huanyushi.github.io/assets/pdf/SYSU-SPA-LabReport-Template.pdf) and download the source code from the [release page](https://github.com/huanyushi/SYSU-SPA-Labreport-Template/releases).

## Template Functionality Overview
## 1. Template Functionality Overview

### Updates
### 1.1. Updates
After updating and improving the template, in addition to the essential sections of a lab report:

- Cover Page
Expand All @@ -40,7 +38,7 @@ I have added the following content:
- **Common Commands Display**: Since some students may be new to LaTeX, this template also includes a display of commonly used commands for easy reference.


### Notes
### 1.2. Notes
1. References should be imported into the `bib` file, and the compilation sequence should follow `xelatex `-> `bibtex` -> `xelatex` -> `xelatex`. If you want to adjust the style of the references, you only need to modify the `\bibliography{}` command in `main.tex`.
2. The configuration for the lstlisting code environment is as follows, with code imported in the Python language. You can manually change or add other programming languages, and consult the listings package manual for further configurations.
```latex
Expand Down Expand Up @@ -101,13 +99,13 @@ rulesepcolor=\color{gray!30!white}
}
```
![](images/readme2.jpg)
4. TikZ is a well-known drawing macro package (its documentation reaches more than 1,000 pages, which is beyond ordinary people's imagination). Here are some TikZ examples.
1. TikZ is a well-known drawing package (though its documentation is over 1,000 pages long, making it somewhat challenging to learn). Here, I have included some TikZ examples as a supplement.
![](images/readme3.JPG)

## Statement
## 2. Statement
* This template is for learning and communication only and is not the official template of the college.
* This template will no longer be updated and maintained. If you have any additional needs, please design and change it yourself.
* **Welcome to apply to the School of Physics and Astronomy, Sun Yat-sen University**.

## License
## 3. License
This project is released under the MIT license.
3 changes: 1 addition & 2 deletions Settings.tex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
\newtcolorbox{tbox}[2][]{
colframe=black!70!,
breakable,
enhanced,
enhanced, % 跨页后不会显示下边框
boxrule =0.5pt,
title = {#2},
fonttitle = \large\bfseries,
Expand Down Expand Up @@ -76,7 +76,6 @@
\crefformat{equation}{#2{(\textcolor{c2}{#1})}#3} % 公式的引用格式
\crefformat{table}{#2{\textcolor{c2}{表 #1}}#3} % 表格的引用格式


% ---------------------------------------------------------------------
% 页眉页脚设置
\fancypagestyle{plain}{\pagestyle{fancy}}
Expand Down
Binary file added main.pdf
Binary file not shown.
6 changes: 3 additions & 3 deletions main.tex
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
%!TEX program = xelatex
% 如果你有参考文献(myref.bib),请按 xelatex -> bibtex -> xelatex*2 的顺序进行编译
\documentclass[dvipsnames, svgnames,a4paper,11pt]{article}
% ----------------------------------------------------
% 中山大学物理与天文学院本科实验报告模板
% 作者:Huanyu Shi,2019级
% Blog: https://huanyushi.github.io
% Github:https://github.com/huanyushi/SYSU-SPA-Labreport-Template
% 知乎:https://www.zhihu.com/people/za-ran-zhu-fu-liu-xing
% Last update : 2024.4.16
% Last update : 2024.10.27
% ----------------------------------------------------

\input{Settings} % 导入模板的相关设置
\input{settings} % 导入模板的相关设置
\usepackage{lipsum}


Expand Down

0 comments on commit 2b27311

Please sign in to comment.