This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{amsmath} | |
\begin{document} | |
\begin{align} | |
a = &b+c\\ | |
= &c+d\\ | |
&+e+f | |
\end{align} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{tikz} | |
\usetikzlibrary{decorations.pathmorphing, decorations.text} | |
\begin{document} | |
\begin{tikzpicture} | |
\path decorate [decoration={text along path, | |
text={some text along a path}}]{ (0,2) .. controls (2,2) and (1,0) .. (3,0) }; | |
\draw (0,2) .. controls (2,2) and (1,0) .. (3,0); | |
\end{tikzpicture} | |
\end{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[UTF8,a4paper]{ltxdoc} | |
\usepackage{amsmath,amssymb}%数学必备宏包 | |
\usepackage{amsthm}%定理和证明环境,如果想要更自由的定制,建议改用ntheorem包 | |
\usepackage{array}%调用表格宏包 | |
\usepackage{ctex} | |
\usepackage{multirow}%合并单元格 | |
\usepackage{diagbox} | |
\begin{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@article{bar, | |
author = {baz}, | |
title = {qux}, | |
journal = {quz}, | |
year = {1970}, | |
volume = {0}, | |
number = {1}, | |
pages = {2}, | |
month = {3}, | |
note = {4}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\newtheorem{theorem}{Theorem} | |
\renewcommand{\thetheorem}{\Alph{theorem}} | |
\usepackage{mwe} | |
\begin{document} | |
\begin{theorem} | |
\blindtext | |
\end{theorem} | |
\end{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/projects/bae/.git$ tree . | |
. | |
├── HEAD | |
├── config | |
├── description | |
├── hooks | |
│ ├── applypatch-msg.sample | |
│ ├── commit-msg.sample | |
│ ├── post-update.sample | |
│ ├── pre-applypatch.sample |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{tikz} | |
\begin{document} | |
\begin{tikzpicture} | |
\draw[domain = 0:2.2, smooth, variable=\x, blue, samples = 221] | |
plot ({\x}, {sqrt(\x)}) | |
node[anchor = west] {$ y = \sqrt x $}; | |
\end{tikzpicture} | |
\end{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{graphicx} | |
\usepackage{picinpar} | |
\usepackage{amsthm} | |
\usepackage{mwe} | |
\usepackage{xpatch} | |
\AtBeginEnvironment{figwindow}{\xpatchcmd{\proof}{\par}{\relax}{}{}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{graphicx} | |
\usepackage{picinpar} | |
\usepackage{amsthm} | |
\usepackage{mwe} | |
\begin{document} | |
\begin{figwindow}[5,r, | |
\includegraphics[width=0.25\textwidth]{example-image.jpg},Fake Figure\label{fig:fake}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{graphicx} | |
\begin{document} | |
\newlength{\tmplen} | |
\settowidth{\tmplen}{III} | |
\newcommand{\iiiwidthbox}[1]{\resizebox{\tmplen}{\height}{#1}} | |
\iiiwidthbox{I} |