# Tag Info

16

Some advice: \tikzstyle is deprecated, use \tikzset instead: Should \tikzset or \tikzstyle be used to define TikZ styles? the same for arrows library, use arrows.meta and the same also for right of=..., use right=... of: Difference between "right of=" and "right=of" in PGF/TikZ If you set the text width of the nodes you don't need ...

11

I suggest to use tikz. \documentclass[border=2mm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}% [data/.style= {draw,minimum height=0.7cm,minimum width=2cm,align=center}, filter/.style= {draw,minimum height=1.3cm,minimum width=3cm,align=center}, database/.style= {draw,minimum height=1.5cm,...

10

With basic tools (mathtools, \raisebox) and some trial and error (not sure of the final circle arrow): \documentclass{article} \usepackage{mathtools, amssymb} \begin{document} \[ \begin{rcases} \mathrm{A}\\[1ex]\mathrm{B} \end{rcases}\implies \raisebox{-0.34\height}{$\begin{rcases}\mathrm{C}\\[1ex]\mathrm{D} \end{rcases}\implies \raisebox{0.53\height}{$...

8

An alternative ... with concise (optimized) code and with frame as part of TikZ image: \documentclass[11pt]{article} \usepackage{tikz} \usetikzlibrary{arrows.meta, chains, fit} \usepackage{lipsum} \usepackage[showframe]{geometry} \begin{document} \lipsum[2] \begin{figure}[hbt] \centering \begin{tikzpicture}[ node distance= 5mm, start chain = A ...

8

Like this? \documentclass[12pt,a4paper,titlepage,twoside,openright]{article} \usepackage{tikz} \usetikzlibrary{intersections} \usetikzlibrary{shapes,arrows,chains} \tikzstyle{line}=[draw] % here %%%< \usepackage{verbatim} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{cite} \usepackage{enumerate} \...

8

The FTC node is easily added by naming the Differential and Integral nodes, and then drawing a line from one to the other. The diagrams aren't positioned in an elegant way, just shifted to a reasonable place, using trial and error to find the values. The caption package is added for the \captionof macro. \documentclass[border=10pt]{standalone} \usepackage{...

8

This is just to spell out my above comment. As I said, you need three layers, as in this post. I indicate the steps in the code, where they are in separate scopes. You arrange the nodes you want to arrange with a matrix (or chains or just positioning). You fit and fill the white nodes on a layer that is behind main, called background here. You fit and fill ...

7

a new package (on ctan this week) is called flowchart; the package itself provides shapes for objects used in flowcharts, and the docs show how to build a flow chart with the shapes and pgf/tikz. i don't do flowcharts any more, but this package looked a contender. for details, see http://www.ctan.org/pkg/flowchart

7

I have attached my complete answer and image obtained by the code. \documentclass{article} \usepackage{tikz} %%%< \usepackage{verbatim} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{10pt}% %%%> %usepackage{threeparttable} \usepackage{...

7

For a flow chart a node style might be useful: \documentclass{article} \usepackage{tikz} \definecolor{FlowChartBlue}{rgb}{.3,.5,.75} \tikzset{ summing junction/.style={ circle, draw=FlowChartBlue!50!black, fill=FlowChartBlue, minimum size=2cm, path picture={ \draw [FlowChartBlue!50!black] (path picture bounding box....

7

Virtually every of your subquestions can be addressed with every: The need for \parboxes can be replaced by giving every node the appropriate options: nodes={text width=2cm,align=center} (nodes is a short-hand for every node/.append style), which also has been used in leandriis nice answer, and math mode=false spares you from switching manually to text mode....

6

Placing the tikzpicture inside a figure-environment will fix problem 1 and 4. Remember that \label needs to be placed after \caption. For the arrows, you could have a look at Ignasi's answer inIs it possible to change the size of an arrowhead in TikZ/PGF? using the tikz-library arrows.meta. You can set a style for all >-arrows in the following way: \...

6

As suggested by the comments, you can do this with the tikz drawing package: \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[node distance=1cm] \node (1) {1}; \node (2) [right of=1] {2}; \node (4) [above right of=2] {4}; \node (5) [below right of=2] {5}; \node (6) [below right of=4] {6}; \node (7) [right of=6] {7}; \node (16) ...

6

I allowed myself to redesign your nice solution. In this I make the following changes: use of the recent TikZ syntax (\tikzset instead \tikzstyle) exploit library positioning and use its syntax (=of ... instead `of= ...) move labels no and yes to decision block for all lines made common style definition slightly rearrange lines After this your flowchart ...

6

I have created a couple of pics for the multicolored nodes: twocolors with 4 args respectively {first color/second color/proportion of the node colored with the first color/node text} threecolors with 6 args respectively {first color/second color/third color/proportion of the node colored with the first color/proportion of the node colored with the second ...

6

I guess that you looking for something like this: (red lines indicate text borders) \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \usepackage{tabularx} \usepackage[export]{adjustbox} \usepackage[font=footnotesize,labelfont=bf]{caption} %---------------- show page layout. don't use in a real document! \usepackage{showframe} \...

6

Edit As starting point (extended and simplified from the first version my answer). \documentclass[12pt, tikz, margin=3mm]{standalone} \usetikzlibrary{arrows.meta, backgrounds, chains, fit, positioning} \begin{document} \begin{tikzpicture}[ node distance = 3mm and 0mm, start chain = ...

5

I don't understand all the desiderata. I also don't know if an alternative approach is an option. But, for whatever it is worth, here's a forest solution. This satisfies the first 3 desiderata, in addition to applying the defined styles correctly. Whether it satisfies the fourth of the desiderata I cannot say. Since I don't understand that one, if it ...

5

On CTAN exists a package nassflow. The documentation contains an example on page 5. The package is from 1997, but I was able to use it without problems with TeXLive 2012. It is not part of the TeXLive distribution (wrong license), so you must install it manual. For a quick test, just download everything in a directory and try it.

5

You can start trying to understand this one: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{positioning} \begin{document} \begin{tikzpicture}[block/.style={rounded corners, minimum width=3cm, minimum height=2cm, draw}] \node[block] (1) {1}; \node[block, above right=-.5 and 2 of 1] (3) {3}; \node[block, above right=-.5 and 2 of 3] (5) {5}; \...

5

As starting point since from your question is not clear to me when some part of image should appear: \documentclass{beamer} \usepackage[latin1]{inputenc} \usepackage{times} \usepackage{tikz} \usepackage{verbatim} \usetikzlibrary{arrows, positioning, quotes, shapes} \begin{document} \begin{frame}[fragile] \frametitle{flowchart} \begin{figure} \begin{...

5

Edited with the new style and added shadows: All you need is here: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta, positioning} \usetikzlibrary{decorations.markings,calc} \tikzset{ process/.style={ inner sep=0, text width=2.5cm, draw, minimum height=1.6cm, text centered, }, process1/....

5

like this: edit: in comparison to your code i made the following changes, which make code more clear, easy to understand and concise: to tikzlibrary are added libraries fit, positioning, quotes, shapes.misc and removed not used in this images used is decent tikz syntax used are document class article in combination with package geometry instead of ctexart. ...

5

addendum: with use of forest and stolen and slightly adopted images from Torbjørn T. answer: \documentclass[tikz, border=10pt]{standalone} \usetikzlibrary{arrows.meta, decorations.markings, patterns, positioning} \usepackage[font=footnotesize, skip=1ex]{caption} \usepackage{forest} \begin{document} \newcommand\INT{ \tikz[...

5

You have a matrix of math nodes, so the content of the matrix is already set in math mode, and adding the $confuses things. Remove all the$ from the nodes in the matrix, and things work fine. \documentclass[a4paper,12pt]{article} \usepackage{geometry} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[spanish]{babel} \usepackage{chemformula} ...

5

I would use tikz-cd which has a simpler syntax. \documentclass[a4paper,12pt]{article} \usepackage{geometry} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[spanish]{babel} \usepackage{chemformula,siunitx} \usepackage{tikz-cd} \usetikzlibrary{babel} \begin{document} \begin{tikzcd} \ch{H2O_s}\SI{-20}{\celsius} \arrow[r,"Q_T"] \arrow[d,...

5

\documentclass[a4paper,12pt]{article} \usepackage{mathtools} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} H_2O_s-20^{\circ}\, C \arrow[d, "Q_1"'] \arrow[rr, "Q_T"'] & & H_2O_150^{\circ}\, C \arrow[d] \\ H_2O_s 0^{\circ}\, C \arrow[rru, no head, dashed] \arrow[rr,"\exists","Q_2" swap] & & H_2O_1 0^{\circ}\, C \end{tikzcd} \end{...

Only top voted, non community-wiki answers of a minimum length are eligible