diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-26 21:28:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-26 21:28:39 +0000 |
commit | 53821330eacaf8f45f79b1a7644c72aa10ecd9fa (patch) | |
tree | c98ca8fcede629142d5ab1404b929427719cdb06 /Master/texmf-dist/doc/latex/tikz-lake-fig | |
parent | 8fe3d71a4ac82c3ee6b34f2ffa9705cec7f3ccbd (diff) |
tikz-lake-fig (26may20)
git-svn-id: svn://tug.org/texlive/trunk@55288 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikz-lake-fig')
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-lake-fig/README.md | 40 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-lake-fig/tikz-lake-fig-doc.pdf | bin | 0 -> 61521 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-lake-fig/tikz-lake-fig-doc.tex | 157 |
3 files changed, 197 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-lake-fig/README.md b/Master/texmf-dist/doc/latex/tikz-lake-fig/README.md new file mode 100644 index 00000000000..5d641352493 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikz-lake-fig/README.md @@ -0,0 +1,40 @@ +# tikz-lake-fig + +[![GitHub](https://img.shields.io/github/license/jsta/tikz-lake-fig.svg?color=blue)](http://www.latex-project.org/lppl.txt) +[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/jsta/tikz-lake-fig.svg?label=current%20version)](https://github.com/jsta/tikz-lake-fig/releases/latest) +[![CTAN](https://img.shields.io/ctan/v/tikz-lake-fig.svg)](https://ctan.org/pkg/tikz-lake-fig) + +A collection of schematic diagrams of lakes for use in LaTeX documents. Diagrams include representations of material budgets, fluxes, and connectivity arrangements. + +## Usage + +Call diagram commands in your document by setting `tikz-lake-fig.sty` as an input (e.g. `\usepackage{tikz-lake-fig}`). Each command takes a single argument specifiying the scale of the diagram (optionally a second argument for fill color): + +```latex +\documentclass{standalone} +\usepackage{tikz-lake-fig} + +\begin{document} + +\secondarywireframe[1] + +\end{document} +``` + +![tikz lakes](example.png) + +## Prerequsites + +### LaTeX packages + +| import | pbox | relsize | +| --------------- | ------------ | ------- | +| __pgfplots__ | __subfiles__ | | + +## Gallery + +See [tikz-lake-fig-doc.pdf](https://github.com/jsta/tikz-lake-fig/blob/master/tikz-lake-fig-doc.pdf) + +## Links + +This collection inspired by [JLDiaz](https://tex.stackexchange.com/questions/95044/create-diagrams-in-latex-with-tikz) diff --git a/Master/texmf-dist/doc/latex/tikz-lake-fig/tikz-lake-fig-doc.pdf b/Master/texmf-dist/doc/latex/tikz-lake-fig/tikz-lake-fig-doc.pdf Binary files differnew file mode 100644 index 00000000000..ad66c4b7f3f --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikz-lake-fig/tikz-lake-fig-doc.pdf diff --git a/Master/texmf-dist/doc/latex/tikz-lake-fig/tikz-lake-fig-doc.tex b/Master/texmf-dist/doc/latex/tikz-lake-fig/tikz-lake-fig-doc.tex new file mode 100644 index 00000000000..ac52ed101c6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikz-lake-fig/tikz-lake-fig-doc.tex @@ -0,0 +1,157 @@ +\documentclass[bigger]{beamer} +\usepackage[utf8]{inputenc} +\usepackage{graphicx} +\usepackage{pgfplots} +\usepackage{tabularx} + +\setbeamertemplate{navigation symbols}{}%remove navigation symbols +\setbeamertemplate{caption}{\raggedright\insertcaption\par} + +\usepackage{tikz-lake-fig} + +\begin{document} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{2D inputs outputs} + \begin{frame}{2D inputs outputs} + + \begin{tabular}{c|c} + \begin{minipage}{0.65\textwidth}\lakediagramblue[0.6]\end{minipage} & lake diagram blue\\ + \begin{minipage}{0.65\textwidth}\lakediagramgreen[0.6]\end{minipage} & lake diagram green + \end{tabular} + + \end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{3D profile blue} + \begin{frame}{3D profile blue} + + \begin{tabular}{c|c} + {Isolated} + \begin{minipage}{0.55\textwidth}\isolatedprofile[0.4]{cyan}\end{minipage} & isolated profile\\ + {Headwater} + \begin{minipage}{0.55\textwidth}\headwaterprofile[0.6]{cyan}\end{minipage} & headwater profile\\ + {Primary} + \begin{minipage}{0.55\textwidth}\primaryprofile[0.6]{cyan}\end{minipage} & primary profile\\ + {Secondary} + \begin{minipage}{0.55\textwidth}\secondaryprofile[0.8]{cyan}\end{minipage} & secondary profile + \end{tabular} + + \end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{3d profile green} + \begin{frame}{3d profile green} + + \begin{tabular}{c|c} + {Isolated} + \begin{minipage}{0.55\textwidth}\isolatedprofile[0.4]{green}\end{minipage} & isolated profile\\ + {Headwater} + \begin{minipage}{0.55\textwidth}\headwaterprofile[0.6]{green}\end{minipage} & headwater profile\\ + {Primary} + \begin{minipage}{0.55\textwidth}\primaryprofile[0.6]{green}\end{minipage} & primary profile\\ + {Secondary} + \begin{minipage}{0.55\textwidth}\secondaryprofile[0.8]{green}\end{minipage} & secondary profile + \end{tabular} + + \end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{2D Connectivity Diagram} + \begin{frame}{2D Connectivity Diagram} + \begin{minipage}[c]{\paperwidth} + \connectivitydiagram[1] + \end{minipage} + \end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Isolated Budget} + \begin{frame}{Isolated Budget} + \begin{center} + \isolatedwireframe[1.2] + \end{center} + \end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Secondary Budget} + \begin{frame}{Secondary Budget} + \begin{center} + \secondarywireframe[1] + \end{center} + \end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{Secondary Shaded} + \begin{frame}{Secondary Shaded} + \begin{center} + \secondaryprofileflatequal[0.8]{gray} + \definecolor{halfgrey}{HTML}{aaaaaa} + \secondaryprofileflatequal[0.8]{halfgrey} + \secondaryprofileflatequal[0.8]{white} + \end{center} + \end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\section{3D Connectivity Diagram} +\begin{frame}{3D Connectivity Diagram} + \begin{center} + \secondaryprofileflatequal[0.8]{white} + \primaryprofileflatequal[0.8]{white} \\ + \isolatedprofileflatequal[0.8]{white} + \end{center} + \end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section{2D Watershed Connectivity} +\begin{frame} +\begin{columns}[t] +\begin{column}{0.7\textwidth} +\begin{figure}\flushleft + \watershedconnectivity[0.73] +\end{figure} +\end{column} +\begin{column}{0.3\textwidth} +\end{column} +\end{columns} +\end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section{Incremental versus Cumulative Loading} +\begin{frame}{Incremental versus Cumulative Loading} + \begin{center} + \incrementalcumulativeloads[1.1] + \end{center} +\end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section{Retention vs Trapping} +\begin{frame}{Retention vs Trapping} + \begin{center} + \retentiontrapping[1.1] + \end{center} +\end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\section{Isolated vs Ecological Context} +\begin{frame}{Isolated vs Ecological Context} + + \begin{minipage}[b]{0.28\paperwidth} + \isolated[0.96] + \vspace{0.7em} + \end{minipage} + \begin{minipage}[b]{0.22\paperwidth} + \secondary[1.3] + \end{minipage} + \begin{minipage}[b]{0.24\paperwidth} + \secondarypluswatershed[1.3] + \end{minipage} + +\end{frame} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\end{document} |