确定讲义模板

确定讲义模板

非常简单,但是有人知道这些是哪个 LaTeX 模板吗?演讲笔记做完了吗?

答案1

这是一个相当容易复制的模板,你可以从这样的内容开始,然后根据需要进一步调整:

\documentclass[20pt]{extarticle}
\usepackage[left=1in,right=1in]{geometry}

\begin{document}
\raggedright

\section{Markov Chains}

\begin{itemize}
\item The Markov property is common in probability
models because, by assumption, one supposes
that the important variables for the system being
modeled are all included in the state space.
\item The Markov property is common in probability
models because, by assumption, one supposes
that the important variables for the system being
modeled are all included in the state space.
\end{itemize}

\end{document}

在此处输入图片描述

答案2

将此代码保存为 satz.sty 并导入到 amsart 类中。代码灵感来源于数学中的一些基本定理,顺便说一句,这是一本非常值得一读的书。

%% inpired and code borrowed from
%% https://arxiv.org/abs/1807.08416 by Oliver Knill
%% E-mail: [email protected]
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%% Use with amsart class
\NeedsTeXFormat{LaTeX2e}[2017/04/15]%
\ProvidesPackage{satz}[2019/2/13 v1.0 Math lecture notes (YL)]%
%%
%% Geometry
\setlength{\parindent}{1em} 
\setlength{\topmargin}{-1.0cm} \setlength{\headheight}{0.5cm} \setlength{\textheight}{23cm}
\setlength{\oddsidemargin}{0cm} \setlength{\evensidemargin}{0.0cm} \setlength{\textwidth}{17.0cm}
%% Packages
\RequirePackage{latexsym}
\RequirePackage{fancyhdr}
\RequirePackage{amssymb}
\RequirePackage{color}
\RequirePackage{amsmath,amsthm}
\RequirePackage{graphicx}
\RequirePackage{listings}
\RequirePackage{comment}
\RequirePackage[section]{placeins}
%% theorems
\newtheorem{thm}{Theorem} \newtheorem{propo}{Proposition}
\newtheorem{lemma}{Lemma}
\newtheorem*{satz}{Theorem}
\newtheorem{coro}{Corollary}
%% colors
\definecolor{red1}{rgb}{1,0.9,0.9} \definecolor{blue1}{rgb}{0.9,0.9,1} \definecolor{green1}{rgb}{0.9,1,0.9}
\definecolor{yellow1}{rgb}{1,1,0.8} \definecolor{yellow2}{rgb}{1,1,0.8}
\definecolor{color11}{rgb}{1,0.9,0.6}
%% sectioning
\def\chapter#1{ \vspace{2mm} \begin{center} \fcolorbox{green1}{green1}{ \parbox{16.2cm}{{\Large {\bf #1}}}} \vspace{2mm} \end{center} }
%% miscellaneous
\def\idea#1{ \vspace{2mm} \begin{center} \fcolorbox{yellow2}{yellow2}{ \parbox{14.0cm}{{\bf Idea:} #1}} \vspace{2mm} \end{center} }
\def\question#1{ \vspace{2mm} \begin{center} \fcolorbox{blue1}{blue1}{ \parbox{14.0cm}{{\bf Question:} #1}} \vspace{2mm} \end{center} }
\def\conjecture#1{ \vspace{2mm} \begin{center} \fcolorbox{green1}{green1}{ \parbox{14.0cm}{{\bf Conjecture:} #1}} \vspace{2mm} \end{center} }
\def\remark#1{ \vspace{2mm} \begin{center} \fcolorbox{yellow1}{yellow1}{ \parbox{14.0cm}{{\bf Remark:} #1}} \vspace{2mm} \end{center} }
\def\satz#1{ \vspace{2mm} \begin{center} \fcolorbox{yellow1}{yellow1}{ \parbox{14.0cm}{{\bf Theorem:} #1}} \vspace{2mm} \end{center} }
\def\coro#1{ \vspace{2mm} \begin{center} \fcolorbox{yellow1}{yellow1}{ \parbox{14.0cm}{{\bf Corollary:} #1}} \vspace{2mm} \end{center} }
\def\definition#1{ \vspace{2mm} \begin{center} \fcolorbox{red1}{red1}{ \parbox{14.0cm}{{\bf Definition:} #1}} \vspace{2mm} \end{center} }
%% shorthand math commands
\newcommand{\NN}{\mathbb{N}} \newcommand{\ZZ}{\mathbb{Z}} \newcommand{\RR}{\mathbb{R}} \newcommand{\CC}{\mathbb{C}}
\newcommand{\HH}{\mathbb{H}} \newcommand{\OO}{\mathbb{O}} \newcommand{\QQ}{\mathbb{Q}}
\newcommand{\A}{\mathcal{A}} \newcommand{\G}{\mathcal{G}} \newcommand{\R}{\mathcal{R}}
\newcommand{\B}{\mathcal{B}} \newcommand{\C}{\mathcal{C}}
\newcommand{\Sphere}{\mathcal{S}}
\def\osquare{\mbox{\ooalign{$\times$\cr\hidewidth$\square$\hidewidth\cr}} }
\def\Bin#1#2{{#1\choose #2}}
\def\h#1{\fcolorbox{blue1}{blue1}{\begin{large}#1\end{large}}}
\newcounter{example}
\def\example#1{ \item \fontsize{12}{15} \selectfont #1 \fontsize{12}{15} \selectfont }
\definecolor{yellow2}{rgb}{1,1,0.9}
\def\tweet#1{ \vspace{2mm} \begin{center} \fcolorbox{yellow2}{yellow2}{ \parbox{11.2cm}{#1}} \vspace{2mm} \end{center} }
\fancyhead{}
\fancyhf{}
\cfoot{\vspace*{0.5\baselineskip}\thepage}
\fancyhead[LO]{\fontsize{9}{9} \selectfont OLIVER KNILL}
\fancyhead[LE]{\fontsize{9}{9} \selectfont FUNDAMENTAL THEOREMS}
\renewcommand{\headrulewidth}{0pt}
\endinput
%% end add anythigng more you need

在显示的 arxiv.org 链接中,您还可以将论文下载为 .tex 并查看其使用方式。

相关内容