# How to draw industry schematic diagram in LaTeX?

Is it possible to create the following diagram in LaTeX ? I am interested in the main body, any colour inside the box is fine.

-
Hi giannis :) and welcome to TeX.sx. In its current form, your question might not receive many answers. Please take a look at the How to Ask-page and try to improve your question according to the guidance found there. This may require you to show some effort on your part in terms of attempting a solution. If you have questions about what to do or if you don't quite understand what this means, please ask for clarification using the add comment function. posting MWE may satisfy the downvoter. –  texenthusiast Apr 2 '13 at 15:19
Usually, we don't put a greeting or a "thank you" in our posts too keep question very concise. Accepting and upvoting answers is the preferred way here to say "thank you" to users who helped you.. I have rephrased question and its tone to get noticed. –  texenthusiast Apr 2 '13 at 15:41
I'm gonna really consider all the above. Thanks for your comments. –  giannis Apr 2 '13 at 20:26

## 1 Answer

\documentclass{standalone}
\usepackage{tikz}

\usetikzlibrary{positioning}
\usetikzlibrary{decorations.pathreplacing}

\begin{document}

\begin{tikzpicture} [align=left]
\node [draw] (home) {Home\\(capital-abundant)};
\draw (home.east) -- ++(2,0) node [above] (cloth) {Cloth}
-- ++(2,0) node [above] (food) {Food} -- ++(1,0) node [coordinate] (topend) {};
\node[below=of home] (mid) {};
\draw[dashed] (cloth |- mid) -- (topend |- mid);
\node [draw, below=of mid] (foreign) {Foreign\\(labor-abundant)};
\draw (foreign.east) -- (topend |- foreign);
\draw[->] (cloth) -- (cloth |- foreign);
\draw[->] (food |- mid) -- (food);
\node [coordinate,right=0.1cm of cloth] (c1) {};
\draw[->] (c1 |- foreign) -- (c1 |- mid);
\draw[decorate,decoration={brace, amplitude=4pt}]
(topend) -- (topend |- mid) node[midway, right=3pt]{Interindustry};
\draw[decorate,decoration={brace, amplitude=4pt}]
(topend |- mid) -- (topend |- foreign) node[midway, right=3pt]{Intraindustry};
\end{tikzpicture}

\end{document}


-
Welcome to TeX.SX. Nice answer, but it is better to turn the code snippet into minimal working example (MWE) starting with \documentclass{...} and ending with \end{document}. Also showing the result helps in making the answer clearer. :) –  Claudio Fiandrino Apr 2 '13 at 15:54
Would be lovely if we could integrate tex previews directly into the site. –  u0b34a0f6ae Apr 2 '13 at 20:15
@u0b34a0f6ae It's work in progress thru online compiler –  texenthusiast Apr 2 '13 at 20:19
@u0b34a0f6ae thank you very much. I'm gonna try it! –  giannis Apr 2 '13 at 20:25
giannis, it should be easy to use the line widths and background colors you'd like. –  u0b34a0f6ae Apr 2 '13 at 20:27