Diagrams in LaTeX - Parse tree - Linguistic trees
Автор: Federico Tartarini
Загружено: 2022-07-03
Просмотров: 2945
In this video, I will show you how to draw parse trees, also known as linguistic trees or diagrams, in LaTeX using the forest package. Forest is a powerful package that allows you to create very compact trees using a few commands. You can also decorate the tree using PGF and TikZ.
I will start by explaining what parse trees are and why they are useful in linguistics. Then, I will show you how to install and load the forest package. I will explain how to create nodes and edges to build the basic structure of the tree. Next, I will show you how to label nodes, change the font, color, and shape of the nodes, and how to add captions.
After that, I will explain how to decorate the tree using TikZ. You can add arrows, circles, lines, and other shapes to make the tree more appealing and informative. You can also customize the placement of the nodes to fit your needs.
Finally, I will show you some examples of how to draw different types of parse trees, such as constituency trees and dependency trees. I will also explain how to export the tree as a PDF and how to include it in your LaTeX document.
By the end of the video, you will have learned how to draw parse trees in LaTeX using the forest package and how to customize them to fit your needs.
Keywords: parse tree, linguistic tree, diagram, forest package, LaTeX, PGF, TikZ, nodes, edges, decoration, constituency tree, dependency tree, PDF.
Hashtags: #parsetree #linguistictree #forestpackage #LaTeX #PGF #TikZ #constituencytree #dependencytree #PDF.
⚠️ Join my channel to get access to perks: / @federicotartarini
🙏 Support my channel on Patreon at / federicotartarini
☕ Support my channel by buying me a coffee - https://www.buymeacoffee.com/FedericoT
✅ Let's connect:
🌍 My website - https://federicotartarini.github.io/
💻 GitHub - https://github.com/FedericoTartarini
Twitter - / federicotartar1
LinkedIn – / federico-tartarini
📝 Useful notes:
https://ctan.org/pkg/forest?lang=en
👨💻 Source code:
https://gist.github.com/FedericoTarta...
🎥 Content of this video:
00:00 - What you will learn
02:00 - Basic example
05:45 - Align children
09:00 - Center diagram on the page
10:00 - Align children
11:38 - Decorate elements
13:50 - Use conditions
15:20 - Set defaults
18:35 - Decorations using TikZ
22:20 - Horizontal layout
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: