2

When preparing a presentation for a coding camp, I would like to display my directory structure as the following

enter image description here

Could anyone suggest any existing templates may help, or the correct latex package that does the job?

TobiBS
  • 5,240
cpp123
  • 75
  • 4

1 Answers1

0

Using the proposed package dirtree, a solution would look like this:

\documentclass{article}

\usepackage{dirtree}

\begin{document} \dirtree{% .1 project_name/. .2 CMakeLists.txt. .2 build/. .2 bin/. .3 tools_demo. .2 lib/. .3 libtools.a. .2 src/. .3 ....+ } \end{document}

and compiled:

enter image description here

TobiBS
  • 5,240