Make a shallow record for later use
Article Directory
1. Formula
Online formula editor: https://www.latexlive.com/
1. Simple formula
\begin{
equation*}
f(x,key)=\begin{
cases}
1 & \text{
if } key=1 \\
0 & \text{
if } key=0
\end{
cases}
\end{
equation*}
2.Conditional formula
\begin{
equation*}
f(x,key)=\begin{
cases}
1 & \text{
if } key=1 \\
0 & \text{
if } key=0
\end{
cases}
\end{
equation*}
3. Planning questions
\begin{
equation}
\max \quad m_2=m_1-\frac{
\int Fdt}{
v_e}
\label{
111}
\nonumber
\end{
equation}
\begin{
equation}%多目标规划
s.t.\left\{
\begin{
array}{
l}
a_r=\frac{
dv_r}{
dt}=-\frac{
Fsin\psi}{
m}+\frac{
GM}{
r^2}+\omega^2r\\
a_\tau=\frac{
dv_\tau}{
dt}=\frac{
Fcos\psi}{
m}+2\omega v_\tau\\
s_2=\int v_{
2r}dt\\
\frac{
d\omega}{
dt}=\frac{
a_\tau}{
r}\\
v_{
2r}=v_1+\int a_r dt\\
w_2=w_1-\int \frac{
a_{
\tau}}{
r} dt\\
w_2=0\\
s_2=600
\end{
array} \right.
\label{
duoyueshuguihua1}
\end{
equation}
2. Form
1. Experiment form
\begin{
table}[H]
\begin{
center}
\setlength{
\tabcolsep}{
0.17cm}{
\begin{
tabular}{
|l|l|l|l|l|l|l|l|l|l|l|l|l|l|}
\hline
探头衰减 & \multicolumn{
3}{
|c|}{
幅度} & \multicolumn{
3}{
|c|}{
高电平电压} & \multicolumn{
3}{
|c|}{
低电平电压} & \multicolumn{
3}{
|c|}{
周期} & 频率 \\
\hline
\multirow{
2}*{
$\times$1} & 档位& 格数 &计数值 & 档位& 格数 &计数值& 档位& 格数 &计数值& 档位& 格数 &计数值 &频率\\
\cline{
2-14}
& 500 & 6 & 3.0 & 500 & 6 & 3.0 &500 & 0&0 &200 & 5 &$10^3$ & $10^3$ \\
\hline
\end{
tabular}}
\end{
center}
\caption{
示波器补偿(校准)信号测量}
\label{
fig:dist}
\end{
table}
3. Pictures
1. Single image
\begin{
figure}[H]
\centering
\includegraphics[width=0.6\linewidth]{
figure/figure1.png}
\caption{
补偿信号测量}
\label{
fig:dist}
\end{
figure}
2. Double image
\begin{
figure}[H]
\centering
\subfigure[峰峰值]{
\label{
fig:subfig:onefunction}
\includegraphics[width=0.4\linewidth]{
figure/figure1.png}}
\hspace{
0.5in} % 两图片之间的距离
\subfigure[周期]{
\label{
fig:subfig:twofunction}
\includegraphics[width=0.4\linewidth]{
figure/figure1.png}}
\label{
fig:dist}
\end{
figure}
4. List
1. List of symbols
\begin{
itemize}
\item[$\blacksquare$] 代价一致(UCS)
\begin{
itemize}
\item 边缘为优先队列
\item 优先探索路径成本最低的结点
\begin{
equation*}
g(n)=g(n.parent)+c(n.parent.status->n.status)
\end{
equation*}
\end{
itemize}
\item[$\blacksquare$] 贪婪算法
\begin{
itemize}
\item 算法框架与代价一致算法完全相同,也是优先选择成本低的节点进行搜索。只是评估节点成本的函数不相同。
\begin{
equation*}
f(n)=h(n)
\end{
equation*}
\end{
itemize}
\item[$\blacksquare$] A*算法
\begin{
itemize}
\item 算法框架与代价一致算法完全相同,也是优先选择成本低的节点进行搜索。只是评估节点成本的函数不相同。
\begin{
equation*}
f(n)=h(n)+g(n)
\end{
equation*}
\end{
itemize}
\item[$\blacksquare$] 图搜素与树搜索
\begin{
itemize}
\item 树搜索允许重复探索同一个状态。
\item 图搜索必须保证一个状态只能被探索一次。
\end{
itemize}
\end{
itemize}
2. (num) list
\begin{
enumerate}
\renewcommand{
\labelenumi}{
(\theenumi)}
\item 工作原理:
\item 设定任务环境:
\item 求出决策函数:
\end{
enumerate}
5. Processing of uncommon characters
When I used overleaf to write a report before, Zhao Mengfu couldn't type out the word "overleaf". I searched for some solutions on CSDN, such as importing the simsum.ttf package from the computer's font library, and replacing it word by word. But I tried all the Chinese packs in the C drive of my computer, but none of them solved the problem. In the end, I felt that the package of my computer might not be compatible with overleaf, so I found another package and solved the problem.
Download link: https://www.overleaf.com/project/6354b2954269fe75fc6ccf5c/file/6372225385dfc479312a9ffb
and then directly where needed, such as Zhao Mengfu, become Zhao Meng{\CJKfontspec{SimSun.ttf}over}.
6. Join the directory
Add the following code directly where the directory needs to be inserted.
\tableofcontents
Sometimes the connection will be labeled red, as shown below:
At this point, add the following code before begin{document}:
\hypersetup{
colorlinks=true,
linkcolor=black
}