CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
1
\documentclass{minimal}
2
\usepackage{amsmath}
3
\usepackage[active,tightpage]{preview}
4
\setlength\PreviewBorder{1pt}
5
\usepackage{pgf}
6
\usepackage{tikz}
7
\usepgfmodule{plot}
8
\usepgflibrary{plothandlers}
9
\usetikzlibrary{shapes.geometric}
10
\usetikzlibrary{shadings}
11
\begin{document}
12
\begin{preview}
13
%tikz
14
\begin{tikzpicture}[every node/.style={draw,scale=1pt,minimum width=15pt,inner sep=3pt,line width=1pt,draw=black!20}]
15
\matrix[row sep=2pt,column sep=2pt]
16
{\node[fill=-red]{1};&
17
\node[fill=-red!50]{2};&
18
\node[fill=-red!20]{3};&
19
\node[fill=-red!80!green!50]{4};&
20
\node[fill=-red!80!blue!60]{5};\\
21
};
22
\end{tikzpicture}
23
\end{preview}
24
\end{document}
25