Quantcast
Channel: Active questions tagged trees - TeX - LaTeX Stack Exchange
Browsing index pages (204 articles)

beamer & TikZ: gradually unveil trees

Imagine a simple tree:\begin{tikzpicture} \node {Selbstregulation} [edge from parent fork down] child {node {Kognition}} child {node {Metakognition} child {node {Planung}} child {node {Monotoring}}...

View Article


Ternary inferences in bussproofs or another prooftree package?

I'm wondering if you can do ternary inferences in bussproofs? If not, are there any other proof tree packages where you can do ternary inferences? It might be that I have to start drawing proof trees...

View Article


Image may be NSFW.
Clik here to view.

Tikz colour only the one branch of tree

Here is my tree:\begin{figure}[H] \centering \begin{tikzpicture}[ grow=right, edge from parent/.style={draw, -latex}, level distance=20mm, sibling distance=15mm, ] \node[state, thickgray]{1}...

View Article

How to draw a graph with ring in latex?

As the title tells, how to draw a graph with ring in latex?I have learned that I can use forest to draw a tree in latex. For example, using following code, I can have one simple binary tree.1->2,...

View Article

Image may be NSFW.
Clik here to view.

Using forest package, how do I code the following two trees?

I need to create a flowchart of my dissertation and it seems the forest package suits well. Though, I manage to go down the first fork, I cannot create in the same loop the inverted v. There is no math...

View Article


Rounded corners in TikZ trees.

When I use TikZ tree with nodes with rounded corners, the connecting lines do not touch the nodes (near corners) but end where would rectangle end. Is there an easy way around...

View Article

Getting file icon in forest directory structure [duplicate]

I am trying to draw a directory structure using the forest package and an adaptation of Gonzalo Medina's solution here Making a (simple) directory tree. My adaptation works, but I would .xlsx, .pl .pdf...

View Article

Drawing a directory listing a la the tree command in TikZ

Good day everyone -Is there a fast and efficient way to draw directory tree structures (aka depth-indented listings) like the unix's tree command, that is, is there a way to draw the following using...

View Article


Image may be NSFW.
Clik here to view.

decision tree with irregular position [duplicate]

I need to make a decision-tree that goes sideway, and if possible I do not want to use a diamond for the "decision" node because I need to fit a lot of text in the decision node. I have sent along a...

View Article


Image may be NSFW.
Clik here to view.

Horizontal Probability Tree using Forest with Edge Labels

I’m trying to make a horizontal probability tree as pictured below using the Forest package.Currently, I am able to get a regular forest tree using the following...

View Article

Image may be NSFW.
Clik here to view.

Game tree in Microeconomics

Can somebody help me with this code? I tried to write it. Thank you \begin{forest} el/.style={edge label={node[auto,pos=0.6]{$#1$}}}, el'/.style={edge label={node[auto,pos=0.6,swap]{$#1$}}}, for...

View Article

Making a (simple) directory tree

I'm trying to make a simple directory tree representation in LaTeX. Something like:spam |+-- ham+-- eggs |+-- more spam+-- dead parrotsThe tree won't be that long (say, 10--15 entries or so), with...

View Article

Present a list as a "tree"

I want to present an "itemize" list as a tree. I.e, the current list is:RootChild 1Child 2Child 3And I want it to look something like this (but with continuous lines):Root||-- Child 1|-- Child 2|--...

View Article


tree list in a table

I would like to put a tree list into a table environment. Smth. like:+--------------------------+---------------------------+-------------+| Heading 1 | Heading 2 | Heading 3...

View Article

Image may be NSFW.
Clik here to view.

LaTeX forest: Reorder leaves

I'm using the LaTeX package forest to render "surface grammar trees" of sentences. Using the particular grammar I'm using (Eisenberg), you can get trees where the leaves are not in natural order. E. g....

View Article


How can I programmatically generate complex TikZ graphs using symbolic...

I often need to create large-scale, publication-quality graphs (e.g., K-ary trees, neural network layers, or dense star graphs) for my documents. Writing hundreds of lines of \node and \draw commands...

View Article

Image may be NSFW.
Clik here to view.

How to prune nodes in a tree using graph syntax

I want to indicate that nodes have been removed from a tree. Lets say the code looks like...

View Article


Image may be NSFW.
Clik here to view.

TikZ forest: how to add diagonal dots to a directory tree?

How do I draw a node of diagonal dots like this, for this base directory tree style by cfr?Ideally, I want this to work with ‘vertical dots’ --- the forest keys extensible edge and extend presented...

View Article

Image may be NSFW.
Clik here to view.

TikZ forest: how to add vertical dots to the 'top' or bottom of a directory...

A while back, cfr kindly answered my question here. But I have some issues.1) I want to be able to insert vertical dots at any ‘level’ of the forest tree(Ref: cfr’s first comment)I want something like...

View Article

Image may be NSFW.
Clik here to view.

Adjust Vertical Spacing in Forest / Prooftrees

I am struggling with the vertical spacing in these truth trees. In the attached image, grouped formulas are closer together than a formula and the space created by a branch. This is particularly...

View Article
Browsing index pages (204 articles)


Latest Images