TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

enter image description here

share|improve this question
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
up vote 5 down vote accepted



\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};



share|improve this answer
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.