0

This question already has an answer here:

I want to draw a tree but I want the nodes to be able to have multiple lines and specific width. I have searched about trees but all of them consist of a single line in each node. From what I have found Tikz seems nice but I have no idea about tree packages. How can I achieve what I want?

marked as duplicate by cfr, Jesse, egreg, Malipivo, user31729 Jun 10 '14 at 15:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    RelatedL tex.stackexchange.com/questions/169796/… – Torbjørn T. Jun 10 '14 at 14:07
  • See also tex.stackexchange.com/a/176649/39222 for very fancy multi-line nodes. – cfr Jun 10 '14 at 14:24
  • I had already see those answers but they didn't help me – Adam Jun 10 '14 at 17:08
  • Why not? You said you couldn't find any examples with multiline nodes and fixed width. @TorbjørnT. pointed you to an answer showing how to use multiple lines in tree nodes. I pointed you to one which uses multiple lines and specifies the width of nodes. Since those are just the things you said you couldn't find, I don't understand why they didn't help. If you are still having trouble, please ask a new question which includes a complete, small document which people can compile and which demonstrates the problem you are having. – cfr Jun 10 '14 at 23:08
  • @cfr I will study those examples thoroughly. Thank you. – Adam Jun 11 '14 at 13:32
0

The multiline nodes require align option (align=center, align=left or similar).

Specific width of the nodes is specified in minimum width, you can use pt or em units or any other unit of your liking (read on the LaTeX units).

Example: minimum width=14em

HTH

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