🔧Chore: 清理冗余内容

This commit is contained in:
2026-01-14 10:07:00 +08:00
parent 1a3a7f5a23
commit 8c2d53371d
7 changed files with 0 additions and 206 deletions
-79
View File
@@ -1,79 +0,0 @@
%================================
% beamer-setup-console.tex
% fenglielie@qq.com 2025-11-12
%================================
\usetheme{default}
\useoutertheme{default}
\usefonttheme[onlymath]{serif}
\definecolor{simplebeamercolor}{RGB}{255,216,80}
\usecolortheme[named=simplebeamercolor]{structure}
\setbeamertemplate{title page}[default][colsep=-4bp,rounded=true,shadow=true]
\setbeamertemplate{section in toc}[sections numbered]
\setbeamertemplate{subsection in toc}[subsections numbered]
\addtobeamertemplate{subsection in toc}{\hspace{2em}}{}
\setbeamertemplate{itemize items}[circle]
\setbeamertemplate{enumerate items}[default]
\setbeamertemplate{caption}[numbered]
\setbeamertemplate{footline}[frame number]{}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{frametitle}{\hspace*{-1em}{\usebeamercolor[fg]{normal text}\texttt{\mdseries>\hbox{}>\hbox{}> }}\boldmath\insertframetitle}
\setbeamercolor{background canvas}{bg=black!80}
\setbeamercolor{normal text}{fg=white}
% \setbeamercolor{title}{use=structure}
\setbeamercolor{section in head/foot}{fg=white,bg=black!85}
\setbeamercolor{block body}{fg=structure!10,bg=black!70}
\setbeamercolor{block title}{fg=structure!50,bg=black!60}
\setbeamercolor{block body alerted}{fg=alerted text.fg!10,bg=black!70}
\setbeamercolor{block title alerted}{fg=alerted text.fg!60,bg=black!60}
\setbeamercolor{block body example}{fg=green!10,bg=black!70}
\setbeamercolor{block title example}{fg=green!50,bg=black!60}
% fonts
\usepackage[T1]{fontenc}
\usepackage{mathrsfs}
\usepackage{calligra}
\usepackage{bm}
% math
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{extarrows}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{multicol}
\usepackage[most]{tcolorbox}
\tcbset{
highlight math style={enhanced, colframe=blue!40,colback=yellow!20,arc=4pt,boxrule=1pt}
}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,linkcolor=,urlcolor=cyan
}
\usepackage{graphicx}
\graphicspath{
{./figure/}{./figures/}{./image/}{./images/}{./graphic/}{./graphics/}{./picture/}{./pictures/}
}
\usepackage{subcaption}
\usepackage[ruled,linesnumbered,noline]{algorithm2e}
\usepackage{listings}
\lstdefinestyle{simpleStyle}{
basicstyle=\ttfamily\small\color{white!90},
breaklines=true,
keywordstyle=\color{cyan!70!white},
identifierstyle=\color{white},
stringstyle=\color{yellow!80!orange},
commentstyle=\color{green!60!black},
showstringspaces=false,
frame=single,
rulecolor=\color{white!30},
framesep=1em,
}
\lstset{style=simpleStyle}
Binary file not shown.
-13
View File
@@ -1,13 +0,0 @@
# example.py
def factorial_generator(n):
result = 1
for i in range(1, n + 1):
result *= i
yield result
gen = factorial_generator(5)
for value in gen:
print(value)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

-114
View File
@@ -1,114 +0,0 @@
%!TEX program = xelatex
\documentclass{article}
\usepackage[UTF8,scheme=plain]{ctex}
\usepackage[a4paper,left=1.25in,right=1.25in,top=1in,bottom=1in]{geometry}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{graphicx}
\usepackage{float}
\usepackage{subcaption}
\usepackage{booktabs,multirow,multicol}
\usepackage{indentfirst}
\usepackage{hyperref}
\usepackage{setspace}
\usepackage{listings}
\usepackage[ruled,noline]{algorithm2e}
\usepackage{bm}
\usepackage{xcolor}
\graphicspath{
{./figure/}{./figures/}{./image/}{./images/}{./graphic/}{./graphics/}{./picture/}{./pictures/}
}
\lstdefinestyle{simpleStyle}{
basicstyle=\ttfamily\small,
breaklines=true,
keywordstyle=\color{blue},
identifierstyle=\color{black},
stringstyle=\color{violet},
commentstyle=\color[RGB]{34,139,34},
showstringspaces=false,
numbers=left,
numbersep=2em,
numberstyle=\footnotesize,
frame=single,
framesep=1em,
}
\lstset{style=simpleStyle}
\title{Lab Report Template}
\author{Author}
\date{\today}
\begin{document}
\maketitle
\section{Introduction}
xxxx.
\section{Method}
xxxx.
\section{Results}
xxxx.
\begin{table}[ht]
\centering
\caption{Error and Order Table}\label{tab:demo0}
\begin{tabular}{c|ccccc}
\hline
& 10 & 20 & 40 & 80 & 160 \\
\hline
$L^{\infty}$~error & 0.283284 & 0.0758226 & 0.0192964 & 0.00484029 & 0.00121093 \\
order & - & 1.90 & 1.97 & 2.00 & 2.00 \\
\hline
\end{tabular}
\end{table}
\begin{figure}[htbp]
\centering
\includegraphics[width=.8\textwidth]{demo1.png}
\caption{Figure}\label{fig:demo1}
\end{figure}
\begin{figure}[htbp]
\centering
\begin{subfigure}[b]{0.47\textwidth}
\centering
\includegraphics[width=\textwidth]{demo2-1.png}
\caption{Subplot 1}
\label{fig:demo2-a}
\end{subfigure}
\begin{subfigure}[b]{0.47\textwidth}
\centering
\includegraphics[width=\textwidth]{demo2-2.png}
\caption{Subplot 2}
\label{fig:demo2-b}
\end{subfigure}
\caption{Subplots}
\label{fig:demo2}
\end{figure}
\section{Conclusion}
xxxx.
\section{Code Demo}
\begin{lstlisting}[style=simpleStyle, caption=Demo (C++), language=c++, label=lst:cpp]
#include <iostream>
int main(){
std::cout << "Hello World!" << std::endl;
return 0;
}
\end{lstlisting}
\lstinputlisting[style=simpleStyle, caption=Demo (Python), language=python, label=lst:python]{example.py}
\end{document}