3 ms·
Amazingly functional site for working with Latex documents! For example, I am working on screencast re: containers/docker right now, and created several diagram
by WestCoastJustin 12y ago
Amazingly functional site for working with Latex documents! For example, I am working on screencast re: containers/docker right now, and created several diagrams using their editor, see: http://i.imgur.com/NlYuaXp.png http://i.imgur.com/NlYuaXp.png
If this type of stuff interests you, make sure you check out http://texample.net/tikz/examples/all/ http://texample.net/tikz/examples/all/ & http://tex.stackexchange.com http://tex.stackexchange.com too. Also, if you want to try and play around with it, use the "Create A New Paper" link @ https://www.writelatex.com/docs?template=paper https://www.writelatex.com/docs?template=paper
Here's the code I'm using:
\documentclass[12pt]{article}
\usepackage{tikz}
\usepackage{verbatim}
\usetikzlibrary{positioning}
\begin{document}
\pagestyle{empty}
\begin{tikzpicture}[scale=.9,every node/.style={minimum size=1cm},on grid]
\begin{scope}[
yshift=-83,every node/.append style={
yslant=0.5,xslant=-1},yslant=0.5,xslant=-1
]
\fill[white,fill opacity=.9] (0,0) rectangle (5,5);
\draw[black,very thick] (0,0) rectangle (5,5);
\end{scope}
\begin{scope}[
yshift=0,every node/.append style={
yslant=0.5,xslant=-1},yslant=0.5,xslant=-1
]
\fill[white,fill opacity=.9] (0,0) rectangle (5,5);
\draw[black,very thick] (0,0) rectangle (5,5);
\end{scope}
\begin{scope}[
yshift=90,every node/.append style={
yslant=0.5,xslant=-1},yslant=0.5,xslant=-1
]
\fill[white,fill opacity=0.9] (0,0) rectangle (5,5);
\draw[black,dashed] (0,0) rectangle (5,5);
\end{scope}
\draw[-latex,thick] (6.2,2) node[right]{$\mathsf{Web\ Server}$}
to[out=180,in=90] (3,2);
\draw[-latex,thick](5.9,5)node[right]{$\mathsf{Your\ App}$}
to[out=180,in=90] (2,5);
\draw[-latex,thick,red](4.3,-1.9)node[right]{$\mathsf{rootfs}$}
to[out=180,in=90] (2,-.5);
\end{tikzpicture}
\end{document}
- dfc 12y agoI am a little confused. Did you use a tikz editor/assistant that they have? Or did you type your tikz just like you would with ed/vim/emacs? I did not see anything that would assist with creating tikz illustrations when I was poking around. Lowering the tikz bar would be awesome.