-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocument.tex
133 lines (119 loc) · 4.42 KB
/
document.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
\documentclass[a4paper,12pt]{article}
\usepackage[UTF8]{ctex}
\usepackage{tocloft}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{hyperref}
\usepackage{amsmath}
\setlength{\parindent}{2em}%全局段落缩进并空两格
%定义图片位置
\graphicspath{{./Figure}}
%重定义图注
\captionsetup[figure]{name=Figure, labelsep=colon}
% 重定义目录命令,以居中显示目录标题
\renewcommand{\contentsname}{\hfill\bfseries\Large 目录\hfill}
\renewcommand{\cftaftertoctitle}{\hfill}
%调整红框
\hypersetup{
colorlinks=false,% 使用边框而不是颜色链接
pdfborderstyle={/S/U/W 0} % 无边框
}
% 定义一个用于图表引用的命令,仅为引用添加红色边框
\newcommand{\figref}[1]{%
\begingroup
\hypersetup{pdfborderstyle={/S/S/W 1}, linkbordercolor={1 0 0}} % 方框样式,红色
\ref{#1}%
\endgroup
}
\begin{document}
% 更改封面的字体样式
\title{\huge My Test Document}
\author{{\large knight-zzm}}
\date{\today}
\maketitle
\thispagestyle{empty} % 封面页无页码
\newpage
\tableofcontents
\thispagestyle{empty} % 无页码
\newpage
\pagenumbering{arabic}
\section{练习latex 论文写作}
This is the introduction.
\subsection{图表的创建和引用}
The above data is combined to form a correlation heat map bettween features,as show in Fig.\figref{fig:time-freq}
\begin{figure}[h]
\centering
\includegraphics[width=1\textwidth]{时频图和PBC分布图.png}
\caption{时频图和PBC分布图}
\label{fig:time-freq}
\end{figure}
\subsection{公式编辑和引用}
1. 太阳高度角 \(\alpha_{s}\) [3]
%单独显示公式要加\[\]
\[\sin \alpha_s=\cos \delta \cos \varphi \cos \omega+\sin \delta \sin \varphi\]
太阳方位角 \(\gamma_{s}[4]\)
\[\cos \gamma_{s}=\frac{\sin \delta-\sin \alpha_{s} \sin \varphi}{\cos \alpha_{s} \cos \varphi}\]
其中 \(\varphi\) 为当地纬度, 北纬为正; \(\omega\) 为太阳时角
\[\omega=\frac{\pi}{12}(S T-12)\]
其中 \(D\) 为以春分作为第 0 天起算的天数, 例如, 若春分是 3 月 21 日, 则 4 月 1 日对应 \(D=11\) 。
2. 法向直接辐射辐照度 DNI (单位: \(\mathrm{kW} / \mathrm{m}^{2}\) ) 是指地球上垂直于太阳光线的平面单位面积
上、单位时间内接收到的太阳辐射能量, 可按以下公式近似计算[6]
\begin{align*}%align加上*可以不显示公式标号
\mathrm{DNI} &= G_{0}\left[a + b \exp\left(-\frac{c}{\sin\alpha_{e}}\right)\right],\\
a &= 0.4237 - 0.00821(6-H)^{2},\\
b &= 0.505 + 0.00566(6.5 - H)^{2},\\
c &= 0.271 + 0.01858(2.57 - H)^{2}
\end{align*}
其中
$G_{\mathrm{0}}$
为太阳常数,其值取为1.366 kW/m?, H 为海拔高度(单位:km).
3.定日镜场的输出热功率
$E_{\mathrm{field}} = \mathcal{N}_{J}$
\begin{align*}
E_{\mathrm{field}} &= \mathrm{DN}\Lambda\sum_{i}^{N}A_{i}\eta_{i},
\end{align*}
其中 DNI 为法向直接辐射辐照度;N为定日镜总数(单位:面);A为第i面定日镜采光面积(单位:$m^{2}$);
$\eta_{i}$ 为第i面镜子的光学效率。
4.定日镜的光学效率,为
\begin{align*}
\eta &= \eta_{s\mathrm{b}}\eta_{\mathrm{cos}}\eta_{\mathrm{at}}\eta_{\mathrm{trunc}}\eta_{\mathrm{ref}},
\end{align*}
其中法向辐照度表示地球上垂直于太阳光线的平面单位面积上、单位时间内接收到的太阳辐射能量,计算公式(14)如下:
\begin{equation}
\begin{aligned}
D N I &= G_{0}\left[a + b \exp\left(\frac{-c}{\sin \alpha_{s}}\right)\right], \\
a &= 0.4237 - 0.00821(6 - H)^{2}, \\
b &= 0.505 + 0.00566(6.5 - H)^{2}, \\
c &= 0.271 + 0.01858(2.57 - H)^{2}
\end{aligned}
\tag{14}
\end{equation}
\subsection{表格编辑和引用}
\begin{tabular}{|c|c|c|c|}
\hline
\multicolumn{2}{|c|}{MCM} & \multicolumn{2}{|c|}{ICM} \\
\hline
A & 连续型 & D & 运筹学/网络科学\\
\hline
B & 离散型 & E & 环境科学\\
\hline
C & 大数据 & F & 政策\\
\hline
\end{tabular}
\begin{tabular}{rc}
Apples & Green\\
\hline
Strawberries & Red \\
\cline{1-1}
Oranges & Orange \\
\end{tabular}
\begin{tabular}{|r|l|}
\hline
8 & here's \\
\cline{2-2}
86 & stuff\\
\hline \hline
2008 & now \\
\hline
\end{tabular}
\end{document}