mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
used standalone
This commit is contained in:
parent
e085c38e97
commit
27d23d0535
7 changed files with 14 additions and 48 deletions
|
@ -1,13 +1,9 @@
|
|||
\documentclass{article}
|
||||
\usepackage[pdftex,active,tightpage]{preview}
|
||||
\setlength\PreviewBorder{2mm}
|
||||
\documentclass[varwidth=true, border=2pt]{standalone}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{positioning, calc}
|
||||
|
||||
\begin{document}
|
||||
\begin{preview}
|
||||
\begin{tikzpicture}[scale=0.8]
|
||||
|
||||
\begin{tikzpicture}[scale=0.8]
|
||||
% draw the background
|
||||
\draw [line width=1.5pt, fill=gray!2] (0,0) -- (60:4) -- (4,0) -- cycle;
|
||||
|
||||
|
@ -38,5 +34,4 @@
|
|||
% the triangle
|
||||
\draw [line width=1.5pt] (A) -- (B) -- (C) -- cycle;
|
||||
\end{tikzpicture}
|
||||
\end{preview}
|
||||
\end{document}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue