Improve snippets
This commit is contained in:
parent
0765b250fa
commit
a4be679c4b
@ -63,19 +63,18 @@
|
|||||||
|
|
||||||
\usepackage{tikz}
|
\usepackage{tikz}
|
||||||
\usetikzlibrary{3d,arrows,backgrounds,calc,patterns,plotmarks}
|
\usetikzlibrary{3d,arrows,backgrounds,calc,patterns,plotmarks}
|
||||||
|
% https://tex.stackexchange.com/a/55849 answers:
|
||||||
|
% How to reveal a tikzpicture step by step?
|
||||||
|
\usetikzlibrary{overlay-beamer-styles} % known as aobs-tikz by texdoc
|
||||||
\usepackage{pgfplots}
|
\usepackage{pgfplots}
|
||||||
\pgfplotsset{compat=newest}
|
\pgfplotsset{compat=newest}
|
||||||
\def\axisdefaultwidth{57.5mm}
|
\def\axisdefaultwidth{57.5mm}
|
||||||
\def\axisdefaultheight{40mm}
|
\def\axisdefaultheight{40mm}
|
||||||
|
|
||||||
\graphicspath{
|
\graphicspath{
|
||||||
{../2015-03-09/TEX/}
|
{./floats/}
|
||||||
{../2015-04-13/TEX/}
|
|
||||||
{./float/}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
\newcommand{\cmark}{{\color{Green} \ding{52}}}%
|
\newcommand{\cmark}{{\color{Green} \ding{52}}}%
|
||||||
\newcommand{\omark}{{\color{Orange} \ding{43}}}%
|
\newcommand{\omark}{{\color{Orange} \ding{43}}}%
|
||||||
\newcommand{\xmark}{{\color{Red} \ding{56}}}%
|
\newcommand{\xmark}{{\color{Red} \ding{56}}}%
|
||||||
|
@ -29,6 +29,12 @@
|
|||||||
linkcolor=blue,
|
linkcolor=blue,
|
||||||
urlcolor=blue,
|
urlcolor=blue,
|
||||||
}
|
}
|
||||||
|
% Create fake beamer commands for standalone pictures.
|
||||||
|
% https://xuc.me/blog/reuse-tikz-figures-in-articles-and-slides/
|
||||||
|
\usepackage{xparse}
|
||||||
|
\NewDocumentCommand{\onslide}{s t+ d<>}{}
|
||||||
|
\NewDocumentCommand{\only}{d<>}{}
|
||||||
|
\NewDocumentCommand{\uncover}{d<>}{}
|
||||||
|
|
||||||
\usepackage{siunitx}
|
\usepackage{siunitx}
|
||||||
\sisetup{
|
\sisetup{
|
||||||
@ -45,24 +51,20 @@
|
|||||||
|
|
||||||
\usepackage{tikz}
|
\usepackage{tikz}
|
||||||
\usetikzlibrary{3d,arrows,backgrounds,calc,decorations.pathmorphing,patterns,plotmarks}
|
\usetikzlibrary{3d,arrows,backgrounds,calc,decorations.pathmorphing,patterns,plotmarks}
|
||||||
|
\tikzset{
|
||||||
|
invisible/.style={opacity=1},
|
||||||
|
visible on/.style={opacity=1},
|
||||||
|
}
|
||||||
\usepackage{pgfplots}
|
\usepackage{pgfplots}
|
||||||
|
\pgfplotsset{compat=newest}
|
||||||
|
|
||||||
\newcommand{\cmark}{{\color{Green} \ding{52}}}%
|
\newcommand{\cmark}{{\color{Green} \ding{52}}}%
|
||||||
\newcommand{\omark}{{\color{Red} \ding{44}}}%
|
\newcommand{\omark}{{\color{Red} \ding{44}}}%
|
||||||
\newcommand{\xmark}{{\color{Red} \ding{56}}}%
|
\newcommand{\xmark}{{\color{Red} \ding{56}}}%
|
||||||
|
|
||||||
\newcommand{\Knudsen}{\mbox{\textit{Kn}}}
|
\newcommand{\Knudsen}{\operatorname{\mathit{Kn}}}
|
||||||
\newcommand{\Nusselt}{\mbox{\textit{Nu}}}
|
\newcommand{\Nusselt}{\operatorname{\mathit{Nu}}}
|
||||||
\newcommand{\Reynolds}{\mbox{\textit{Re}}}
|
\newcommand{\Reynolds}{\operatorname{\mathit{Re}}}
|
||||||
|
|
||||||
% Create fake beamer commands for standalone pictures.
|
|
||||||
% https://xuc.me/blog/reuse-tikz-figures-in-articles-and-slides/
|
|
||||||
\usepackage{xparse}
|
|
||||||
\NewDocumentCommand{\onslide}{s t+ d<>}{}
|
|
||||||
\NewDocumentCommand{\only}{d<>}{}
|
|
||||||
\NewDocumentCommand{\uncover}{d<>}{}
|
|
||||||
\NewDocumentCommand{\visible}{d<>}{}
|
|
||||||
\NewDocumentCommand{\invisible}{d<>}{}
|
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
$0
|
$0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user