Tag Info

New answers tagged

2

You can use adjustbox package and its adjustbox environment and to get a caption, use a figure environment: \begin{figure}[htbp] \begin{adjustbox}{max height=0.9\textheight,center} %% adjust max height your tikz code \end{adjustbox} \caption{This is my flow chart} \end{figure} Full code: \documentclass[a4paper,10pt]{article} ...


0

One can add the cuts externally to the picture after the fact with \stackinset \documentclass{article} \usepackage[margin=2cm]{geometry} \usepackage{tkz-graph} \usetikzlibrary{calc} \usepackage{graphicx} \usepackage{stackengine} % DASHED LINE OF SPECIFIED LENGTH % From morsburg at http://tex.stackexchange.com/questions/12537/ % ...


7

Using the calc library you can say something like \draw[dashed] ([yshift=60pt]$ (s)!0.5!(v1) $ ) -- ([yshift=-60pt]$ (s)!0.5!(v2) $ ); A complete example: \documentclass{article} \usepackage{tkz-graph} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture} [scale=.8,auto=left,every node/.style={circle,fill=blue!20}] \tikzset{vertex/.style = ...



Top 50 recent answers are included