Questions tagged [dirtree]

This package is designed to emulate the way Windows Explorer displays directory and file trees, with the root at top left, and each level of subtree displaying one step in to the right.

Filter by
Sorted by
Tagged with
0 votes
0 answers
71 views

Set font size of dirtree

Is there a mean to set the font size of a dirtree to a different value than default? MWE \documentclass[a4paper,12pt]{article} \usepackage{dirtree} \begin{document} Some text on 12pt font. \...
user avatar
1 vote
1 answer
75 views

Reformatting the directory tree style

I have a directory tree that almost looks like this: The above image is what I am trying to achieve. Here's my one which I took help and slightly modified from Making a (simple) directory tree I ...
user avatar
  • 1,167
0 votes
1 answer
126 views

Disconnected lines, spacing and sizing down dirtree

I am using dirtree to make a tree but I have noticed that adding numbers between parentheses at the end of some elements causes the tree's lines to disconnect. Is there any way to keep them connected? ...
user avatar
1 vote
1 answer
75 views

How to use a dirtree inside an enumerate environment?

I'm trying to use a dirtree inside an enumerate environment. However, the root will be at a strange location. My code is as below. \documentclass{article} \usepackage{dirtree} \begin{document} \begin{...
user avatar
  • 13
2 votes
1 answer
76 views

How can I present a project/directory structure when presenting code? [duplicate]

When preparing a presentation for a coding camp, I would like to display my directory structure as the following Could anyone suggest any existing templates may help, or the correct latex package ...
user avatar
  • 75
0 votes
1 answer
547 views

Words with special characters using dirtree package

I am using dirtree to generate the tree structure for a directory. The problem is I cannot use special characters such as the underscore (_) or the dash (-) between words of a file or directory name. ...
user avatar
1 vote
1 answer
122 views

Make itemize look like dirtree - spanning around page breaks

When trying to make the hirachical structure of an itemize environment more "visible" I found this nice answer from @schtandard to the original question Make itemize look like dirtree: \documentclass{...
user avatar
0 votes
1 answer
276 views

Empty line after dirtree?

I have a dirtree in my latex file, followed by a block of text. However, between the end of the diretree and the start of the textblock there is no space. I want to add an empty line in between, but I ...
user avatar
  • 257
1 vote
0 answers
348 views

Problem drawing dirtree

I am trying to draw a dir tree using IEEE Access template but I keep getting errors. The problem is I have several papers only cited within the dir tree and I cannot take a snapshot as a result of ...
user avatar
2 votes
1 answer
118 views

Add a description to file structure

I would like to add a file structure to my document and be able to add a description to each directory/file. From another Question I got the file structure like this: \usepackage{forest} \begin{...
user avatar
  • 169
3 votes
1 answer
603 views

Changing the font of dirtree

How can I change the font of dirtree to the roman family (i.e. \textrm{}) MWE \documentclass[a4paper,12pt]{article} \usepackage{dirtree} \begin{document} \dirtree{% .1 Hardware. .2 Devices. .3 ...
user avatar
  • 341
0 votes
1 answer
72 views

dirtree clashes with dtx-file

The following error occurs when I try to generate my documentation of a dtx file. ! Use of \next doesn't match its definition. <argument> .1 \meta {Catalog’s ID}\DTcomment {This ...
user avatar
2 votes
1 answer
824 views

LaTeX dirtree - Paragraph ended before \next was complete

As title suggests, I am having problem with creating a dirtree. Currently the problematic part is: \section{Use Cases} \par Some entry explaining why I will be writing this dirtree. \begin{figure}% \...
user avatar
  • 123
0 votes
0 answers
53 views

Shifted first item in the output of package dirtree

I used the dirtree package to display a directory structure, like in the example below \dirtree{% .1 /. .2 Directory1. .3 Directory2. .2 Directory3. } In the PDF output the first item is strangely ...
user avatar
0 votes
3 answers
443 views

Make itemize look like dirtree

I have the following itemized list: but I would like the indentation to be generated as this: I have tried what is in this link as follows \dirtree{% .1 Gas ideal (partículas idénticas que no ...
user avatar
1 vote
1 answer
169 views

Align vertically subfigures containing dirtrees

I want to align two dirtrees to the top and their respective subcaptions to the bottom. What's more, height of the both frameboxes should be equal (see image below). How can I achieve that? Here is ...
user avatar
4 votes
2 answers
1k views

How to print a dot followed by a space inside a DirTree node?

The dirtree package uses a . followed by a whitespace as a sign to end a node. See documentation, page 2 This usually works pretty good, but I'd like to print correct format e.g. DD.MM.YYYY as a node ...
user avatar
  • 342
2 votes
1 answer
207 views

figure created by dirtree in one of the tabular cell

I wish to put a text-list and a figure made using dirtree side-by-side. So I am using tabular environment, in one cell I am putting itemized list and in other the figure environment. It does not work. ...
user avatar
3 votes
2 answers
735 views

Add tree command output into LyX document

I need to add the following listing into LyX, but instead of having the following result, I obtain the one at bottom of this page. What can I do? How it should be: $ tree . ├── AndroidManifest....
user avatar
2 votes
1 answer
2k views

Adding style files

My question is related to Where do I place my own .sty or .cls files, to make them available to all my .tex files? but the solutions don't work and the comments are very cluttered with not all comment ...
user avatar
  • 17.9k
5 votes
1 answer
578 views

LyX: Paragraphs ignored in PDF output

I have a document with article class. Here's the minimal example: #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass article \...
user avatar
  • 161
4 votes
1 answer
711 views

Dirtree and lstset side by side

A \dirtree and a \lstset should be shown side by side. With the code below the \dirtree is vertically not on the same level as the \lstset (above the \dirtree is some empty space). How can I fix that? ...
user avatar
2 votes
1 answer
2k views

How to scale a dirtree inside a figure?

I drew a tree structure with \dirtree. This tree is located in a {figure} environment. It is possible to adjust the size of the figure? With \includegraphics one can do it with scale. Is there a ...
user avatar
7 votes
2 answers
3k views

Centering a dirtree

I would like to center a directory tree produced by the package dirtree but the following code fails. Just look at the 2nd tree... All the texts are centered. :-( M(not)WE \documentclass{scrartcl} ...
user avatar
  • 11.4k
4 votes
1 answer
4k views

Framebox and subfigure with dirtree package

I've integrated dirtree package in my manuscript but having issues with the following. Framebox: I consistently frame all figures in my manuscript using \framebox, however, applying this to dirtree ...
user avatar
4 votes
1 answer
995 views

floatrow and dirtree clash

I am using dirtree to visualize a directory structure. It needs to be embedded into a float as to avoid problems when a pagebreak occours. This works fine except when loading floatrow which i use to ...
user avatar
  • 1,143
6 votes
1 answer
1k views

How to use macros in command \dirtree of package dirtree?

I want to print a tree structure and started using the package dirtree (v0.32, see Making a (simple) directory tree). Following calls work smooth: \dirtree{.1 root. .2 child1. .2 child2. .3 ...
user avatar
  • 4,313
3 votes
1 answer
1k views

dirtree Template Formatting Changed

I've integrated dirtree package into a LaTeX document I am working on, but it appears to be interfering with the document format (see image here 1). How do I tell LaTeX to maintain original formatting ...
user avatar
4 votes
1 answer
2k views

file extensions in dirtree [closed]

I am using dirtree to generate the tree structure for a directory. The problem is I cannot use . between file name and file extension as it is acting as delimiter between two nodes in a tree. ...
user avatar
  • 41
8 votes
1 answer
6k views

Easiest way of having directory tree with hyperref links

I would like to have a dirtree like structure which allows me to have hyperrefs for sections labeled as the file nodes. Something like this: root | |--- dir1 | | | |-- \hyperref[dir1-...
user avatar
1 vote
1 answer
628 views

A more see-through Tex distribution for Mac?

I know everybody like Mactex (I like it too). I'm looking for a distribution that sets up a a simpler tex tree. Since Maxtex is designed to be able to have multiple distributions on one computer, tex ...
user avatar
  • 8,702
5 votes
2 answers
3k views

Recommended directory structure for separating presentation and content

For my bachelor thesis I am going to structure the files for my LaTeX document in a more sophisticated way, which means I would like to use different folders for different file types. Is there a ...
user avatar
9 votes
3 answers
3k views

tree list in a table

I would like to put a tree list into a table environment. Smth. like: +--------------------------+---------------------------+-------------+ | Heading 1 | Heading 2 | ...
user avatar
  • 143
12 votes
1 answer
3k views

Dirtree pagebreak issue

I have a (rather long-ish) hierarchical structure, typeset with the dirtree package. However, I have some issues when breaking the tree over to a new page -- the line may protrude up to the very top ...
user avatar