summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex
blob: 9fa7f1ce83fc5236a41dba5eeda29848c24e7673 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
\documentclass[twocolumn]{article}

\usepackage{lua-visual-debug}
\usepackage{tikzscale}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{currfile}
\usepackage{lmodern}

% \usepgfplotslibrary{external}
% \tikzexternalize
% \tikzexternalize[mode=list and make]

\begin{document}
	\section*{Tests}
	\begin{itemize}
		\item Normal input command\\%
			\input{testRectangle.tikz}%
		\item Use includegraphics with file ending\\%
			\includegraphics{testRectangle.tikz}%
		\item Use includegraphics without file ending\\%
			\includegraphics{testRectangle}%
		\item Use includegraphics with scaling to the column's width\\%
			\includegraphics[width=\linewidth]{testRectangle}%
		\item Use includegraphics with scaling while having column width already\\%
			\includegraphics[width=\linewidth]{linewidth}%
		\item Use includegraphics with jpg\\%
			\includegraphics{example-grid-100x100bp.jpg}%
		\item Use includegraphics with pdf\\%
			\includegraphics{example-grid-100x100bp.pdf}%
		\item Use includegraphics with png\\%
			\includegraphics{example-grid-100x100bp.png}%
% 		\item Use includegraphics with eps%
% 			\includegraphics{example-grid-100x100bp.eps}%
		\item Use includegraphics with pdf and scaling\\%
			\includegraphics[width=0.3\linewidth]{example-grid-100x100bp.pdf}%
		\item Use includegraphics with column width\\%
			\includegraphics[width=\linewidth]{example-grid-100x100bp.jpg}%
		\item Use \texttt{input} with pgfplots\\%
			\input{pgfplots-test.tikz}%
		\item Use pgfplots without optional parameter\\%
			\includegraphics{pgfplots-test}%
		\item Use pgfplots with given width and height\\%
			\includegraphics[width=\linewidth,height=0.3\linewidth]{pgfplots-test}%
		\item Use includegraphics with only a node\\%
			\includegraphics{testNode.tikz}%
% 		\item Use includegraphics with scaling only a node results in an error\\%
% 			\includegraphics[width=\linewidth]{testNode.tikz}%
		\item Use includegraphics with a two dimensional plot\\%
			\includegraphics{testgraphic2D.tikz}%
		\item Use includegraphics with a scaled two dimensional plot with line width and an axis ratio of 1\\%
			\includegraphics[width=\linewidth,axisratio=1]{testgraphic2D.tikz}%
		\item Use includegraphics with a scaled two dimensional plot with given height and an axis ratio of 0.5\\%
			\includegraphics[height=1\linewidth,axisratio=0.5]{testgraphic2D.tikz}%
		\item Use includegraphics with a scaled two dimensional plot with line width and a default axis ratio\\%
			\includegraphics[width=\linewidth]{testgraphic2D.tikz}%
	\end{itemize}
\end{document}