13.11.2015 Views

my Latex and Tex4ht cheat sheet

my Latex cheat sheet - 12000.org

my Latex cheat sheet - 12000.org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

\documentclass{st<strong>and</strong>alone}<br />

\usepackage{tikz}<br />

\begin{document}<br />

\begin{tikzpicture}<br />

\draw [very thin] (1,1) rectangle (2,2);<br />

\draw [] (3,0) -- (0,0) -- (0,3);<br />

\end{tikzpicture}<br />

\end{document}<br />

\documentclass{st<strong>and</strong>alone}<br />

\usepackage{tikz}<br />

\begin{document}<br />

\begin{tikzpicture}<br />

\draw [] (3,0) -- (0,0) -- (0,3);<br />

\draw [very thin] (1,1) rectangle (2,2);<br />

\draw [fill=lightgray] (1,1)--(1.5,1)--(1,1.5);<br />

\end{tikzpicture}<br />

\end{document}<br />

\documentclass{st<strong>and</strong>alone}<br />

\usepackage{tikz}<br />

\begin{document}<br />

\begin{tikzpicture}<br />

\def\x{0}%<br />

\def\y{0}%<br />

\draw [very thin] (\x,\y) rectangle (\x+2,\x+2);<br />

\draw [fill=lightgray] (\x,\y)--(\x+1.75,\y+0)--(\x+0,\y+1.75);<br />

\node[font=\Huge] at (\x+1.25,\y+1.25) {$0$};<br />

\node at (\x+2.25,\y+1) {$+$};<br />

A<br />

=<br />

L<br />

0<br />

+<br />

0<br />

\end{tikzpicture}<br />

\end{document}<br />

86

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!