Skip to content

Commit

Permalink
re-indent with latest yaml settings
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkChou committed May 17, 2024
1 parent 53cf198 commit 543c3b2
Show file tree
Hide file tree
Showing 10 changed files with 49 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
*.xdv

# latexindent
**__latexindent*
**latexindent*
*.bak*

# pdf
Expand Down
19 changes: 13 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 山东第二医科大学指南【简称:321指南
# 山东第二医科大学指南【简称:321 指南

曾用名:《潍坊医学院新生入学指南》《山东第二医科大学入学与生活指南》等

Expand All @@ -7,22 +7,29 @@
2. 采用 `CC BY-SA 4.0` 许可证。

## 下载

### 文档

#### 正式版

- **在“[腾讯文档](https://docs.qq.com/s/ETcQ-ZFSrSsh6MK9bm773q)”中在线查看与下载**(推荐)
> **注意**:需要 `Google Chrome``Firefox``Edge` 等现代化的浏览器,`IE11` 等老旧浏览器可能无法正常显示。
- 在Gitee仓库的“[发行版](https://gitee.com/LinkChou/sdsmu_welcome_tex/releases/latest)”下载
- 在GitHub仓库的“[Releases](https://github.com/Mikachu2333/sdsmu_welcome_tex/releases/latest)”下载
> **注意**:需要 `Google Chrome``Firefox``Edge` 等现代化的浏览器,`IE11` 等老旧浏览器可能无法正常显示。
- 在 Gitee 仓库的“[发行版](https://gitee.com/LinkChou/sdsmu_welcome_tex/releases/latest)”下载
- 在 GitHub 仓库的“[Releases](https://github.com/Mikachu2333/sdsmu_welcome_tex/releases/latest)”下载

#### Preview 版(实际内容以最新正式版为准)

#### Preview版(实际内容以最新正式版为准)
- 在GitHub仓库的“[Actions](https://github.com/Mikachu2333/sdsmu_welcome_tex/actions)”中下载最新自动编译的版本(仅含部分Preview版本)
- 在 GitHub 仓库的“[Actions](https://github.com/Mikachu2333/sdsmu_welcome_tex/actions)”中下载最新自动编译的版本(仅含部分 Preview 版本)
- 自行运行 `git clone` 后本地编译

### 地图

#### 百度网盘(电脑推荐)

[https://pan.baidu.com/s/1cZpGGFIABB50u-3lst44iQ?pwd=46pa](https://pan.baidu.com/s/1cZpGGFIABB50u-3lst44iQ?pwd=46pa)

#### 阿里云网盘(手机推荐)

[https://www.alipan.com/s/dZMvgXwkxGp](https://www.alipan.com/s/dZMvgXwkxGp)

## 编写目的
Expand Down
3 changes: 2 additions & 1 deletion before_school/military_training.tex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@

\subsection[军训作息时间表]{军训作息时间表\footnotemark}
\footnotetext{以往届作息为例,具体以各学院安排为准。}
\begin{tblr}[long,theme = {no-caption}]{
\begin{tblr}[
long,theme = {no-caption}]{
cells = {c,m},
hlines,
vlines,
Expand Down
2 changes: 1 addition & 1 deletion doc_related/preface.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{\Huge\textbf{山东第二医科大学指南}}\\[10pt]
(简称:\colored{0.67}{0.31}{0.14}{321指南})\\[30pt]
%{\large\textbf{\colored{0.28}{0.33}{0.56}{3.0.4}}}\vspace*{-25pt}}
{\large\colored{1}{0}{0}{315-Preview}}\vspace*{-25pt}}
{\large\colored{1}{0}{0}{316-Preview}}\vspace*{-25pt}}
\author{LinkChou\thanks{Compiled by \LaTeXe, CC BY-SA 4.0 LICENSE.\qquad%
\uline{\href{Mailto:[email protected]}{Mailto: [email protected]}}\\
\textbf{敬告:}\\
Expand Down
27 changes: 18 additions & 9 deletions in_school/life/school_life_fuyanshan.tex
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ \subsubsection*{注意}
\subsubsection[杏林餐厅]{杏林餐厅}

杏林餐厅全部三层均有大量食物,大多物美价廉。
\begin{tblr}[long,
\begin{tblr}[
long,
theme = {no-caption},
note{1} = {除餐厅东南侧楼梯外均可到达。},
]
Expand All @@ -54,7 +55,8 @@ \subsubsection*{注意}
\subsubsection[大服]{大服}
大服有大量商家提供多种食物,大部分的价格较食堂稍高。

\begin{tblr}[long,theme = {no-caption}]{
\begin{tblr}[
long,theme = {no-caption}]{
cells = {c,m},
cell{1}{1} = {r=3}{},
cell{1}{2} = {r=2}{},
Expand All @@ -76,7 +78,8 @@ \subsubsection*{注意}
\subsubsection[汇金街]{汇金街}
出学校南门,往东一个路口。有大量的饭店,价格大多较市里相对高昂,部分味道一般。
\pagebreak[4]
\begin{tblr}[long,theme = {no-caption}]
\begin{tblr}[
long,theme = {no-caption}]
{
cells = {c,m},
hline{1,3}= {-}{1pt},
Expand All @@ -88,7 +91,8 @@ \subsubsection*{注意}
\end{tblr}

\subsubsection[水果店]{水果店}
\begin{tblr}[long,theme = {no-caption}]
\begin{tblr}[
long,theme = {no-caption}]
{
cells = {c,m},
hline{1-2,6}= {-}{1pt},
Expand All @@ -104,7 +108,8 @@ \subsubsection*{注意}
\end{tblr}

\subsubsection[奶茶/咖啡店]{奶茶/咖啡店}
\begin{tblr}[long,theme = {no-caption}]
\begin{tblr}[
long,theme = {no-caption}]
{
cells = {c,m},
cell{1}{1}={r=2}{},
Expand All @@ -122,7 +127,8 @@ \subsubsection*{注意}
\end{tblr}

\subsection[]{}
\begin{tblr}[long,theme = {no-caption},
\begin{tblr}[
long,theme = {no-caption},
label= {market_fuyanshan}]{
cells = {c,m},
hline{1-2,5}= {-}{1pt},
Expand All @@ -145,7 +151,8 @@ \subsubsection*{注意}
\end{enumerate}

\pagebreak[4]
\begin{tblr}[long,
\begin{tblr}[
long,
caption = {文体中心开放时间},
label = {sports_center_operating_hours},
note{1} = {仅限校内,校外政策详见公众号或咨询工作人员;具体政策请以学校通知为准。},
Expand Down Expand Up @@ -194,7 +201,8 @@ \subsubsection*{注意}
\end{enumerate}

\subsection[自提点]{自提点}
\begin{tblr}[long,theme = {no-caption}]
\begin{tblr}[
long,theme = {no-caption}]
{
cells = {c,m},
cell{2}{1} = {r=2}{},
Expand All @@ -213,7 +221,8 @@ \subsubsection*{注意}

\newpage
\subsection[其他生活常用地点]{其他生活常用地点}
\begin{tblr}[long,
\begin{tblr}[
long,
theme = {no-caption},
label = {common_locations_fuyanshan},
note{1} = {清晰度较“学生印务”略高,少量打印时价格略高。},
Expand Down
3 changes: 2 additions & 1 deletion in_school/summary/summary_fuyanshan.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

\section[常用位置]{常用位置}
\label{common_lab_department_fuyanshan}
\begin{tblr}[long,
\begin{tblr}[
long,
theme=no-caption]{
vlines,hlines,
rowhead = 1,
Expand Down
4 changes: 3 additions & 1 deletion in_school/tutorial/common_websites_apps.tex
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ \section*{特别说明}

\subsection[常用课程表对比]{常用课程表对比}
\label{schedule}
\begin{tblr}[long,theme =no-caption]{
\begin{tblr}[
long,
theme = no-caption]{
cells = {c,m},
rowhead=1,
hlines,
Expand Down
6 changes: 5 additions & 1 deletion latexindent.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
modifyLineBreaks:
optionalArguments:
tblr:
OptArgBodyStartsOnOwnLine: 1 # -1,0,1,2,3,4
fineTuning:
keyEqualsValuesBracesBrackets:
name: |-
Expand All @@ -9,4 +13,4 @@ fineTuning:
[a-zA-Z@\*0-9_\/.\h:\#-,]+?
\}
)*?
defaultIndent: " "
defaultIndent: " "
1 change: 1 addition & 0 deletions latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
$ENV{'TZ'}='Asia/Shanghai';
5 changes: 3 additions & 2 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
\usepackage{enumitem}%列表排版
\usepackage[a4paper, hmargin=1.5cm, top=1.2cm, bottom=1.5cm, headheight=0pt, ignorehead]{geometry}%页边距与排版
\usepackage[final=true, colorlinks, hidelinks, bookmarks, bookmarksnumbered=true]{hyperref}%超链接
\usepackage{datetime2}%扉页时间
\usepackage{texosquery}%获取秒数及时间
\usepackage{datetime2}%扉页基本时间及格式

% 重设定标题与正文间距
\ctexset{
Expand Down Expand Up @@ -120,4 +121,4 @@

\input{doc_related/epilogue.tex}%后记

\end{document}
\end{document}

0 comments on commit 543c3b2

Please sign in to comment.