-
Notifications
You must be signed in to change notification settings - Fork 0
/
standalone-main.tex
95 lines (75 loc) · 2.47 KB
/
standalone-main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
%% TimmLiTeX
%% Version: v0.9.1
%% Last modified: 2024-02-16 09:32:26
\documentclass[
%pstricks=true
,crop=true
,varwidth=\maxdimen
]{standalone}
%% PDFLATEX SETTINGS
%==============================
% Font & Encoding
%------------------------------
%% Basic font
% \usepackage{libertine} % libertine tends to cause problems, e.g. when using tipa
% \usepackage[libertine]{newtxmath}
\usepackage{times}
%% Basic font for specific classes
\makeatletter
\@ifclassloaded{beamer}{
\usepackage{libertine} % libertine tends to cause problems, e.g. when using tipa
\usepackage[libertine]{newtxmath}}{}
\@ifclassloaded{tikzposter}{
\usepackage{DejaVuSans}
\renewcommand*{\familydefault}{\sfdefault}}{}
\makeatother
%% Monospaced font
\usepackage[scaled=0.8]{beramono}
%% Micro-typographic aspects of the fonts
\usepackage{microtype}
%% Output encoding: mapping of character codes to glyphs
\usepackage[T1]{fontenc}
%% Input encoding: the encoding of characters in a source file
\usepackage[utf8]{inputenc}% compatible with BibLaTeX
% \usepackage{ucs}\usepackage[utf8x]{inputenc}% incompabtible with BibLaTeX
%% Additional symbols
\usepackage{latexsym,amsmath,amssymb,wasysym}
\usepackage{marvosym} % for thunderbolt symbol
\usepackage{ulem} % highlight text with lines
\normalem % do not overwrite \emph
\usepackage{url}
\urlstyle{tt} % tt,rm,sf,same
\usepackage{tipa} % for phonetic symbols; has to appear before fontspec (FIXME: really?)
%% Language
\usepackage[german,english]{babel} % the last language in the options is loaded; the other one can be chosen with \selectlanguage
\usepackage{iflang} % for checking the current language name
%==============================
% Optional packages & settings
%------------------------------
%% Tables
\usepackage{booktabs} % Nicer tables
%% Graphics
\input{packages/tikz-settings}
\input{packages/forest-settings}
%% Linguistics
\input{packages/linguex-settings}
\input{packages/langsci-avm-settings}
% \usepackage[inference]{semantic} % for CCG
% \usepackage{packages/ccg}
%% Listings settings
\usepackage{listings}
\lstset{basicstyle=\ttfamily,tabsize=2,breaklines=true}
\RequirePackage{color}
\definecolor{lightgray}{gray}{0.7}
%% Add syntax highlighting for specific programming languages
% \input{packages/listings-xmg-settings.tex}
% \input{TLmacros}
\begin{document}
\Forest{
[S
[NP]
[VP
[V [\textit{eats}] ]
[NP] ]]
}
\end{document}