-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathling_analysis_template.tex
78 lines (60 loc) · 1.5 KB
/
ling_analysis_template.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
\documentclass[12pt]{article}
\usepackage{nopageno}
\usepackage[letterpaper, portrait, margin=1in]{geometry}
\usepackage{newtxtext,newtxmath}
\usepackage{titlesec}
\usepackage{hanging}
\usepackage[table,xcdraw]{xcolor}
\usepackage{tipa}
\usepackage{qtree}
\setlength{\parindent}{0.5in}
\titleformat{\section}
{\normalfont\fontsize{12}{15}\bfseries}{\makebox[0.5in][l]{\thesection}}{0pt}{}
\titleformat{\subsection}
{\normalfont\fontsize{12}{15}\bfseries}{\makebox[0.5in][l]{\thesubsection}}{0pt}{}
\titleformat{\subsubsection}
{\normalfont\fontsize{12}{15}\bfseries}{\makebox[0.5in][l]{\thesubsubsection}}{0pt}{}
\titlespacing*{\section}{0pt}{12pt}{0pt}
\titlespacing*{\subsection}{0pt}{12pt}{0pt}
\titlespacing*{\subsubsection}{0pt}{12pt}{0pt}
\newcounter{data}
\newenvironment{data}{%
\refstepcounter{data}%
\setcounter{letter}{0}%
\bigskip\par\noindent%
\makebox[0.5in][l]{(\thedata)}%
\ignorespaces%
}{%
\ignorespacesafterend%
}
\newcounter{letter}
\newenvironment{letter}{%
\refstepcounter{letter}%
\makebox[0.5in][l]{\alph{letter}.}%
\ignorespaces%
}{%
\ignorespacesafterend%
}
\newcommand{\titletext}[1]
{\begin{center}
\textbf{#1}
\end{center}}
\newcommand{\headertext}[4]
{\begin{flushleft}
#1
\\ #2
\\ #3
\\ #4
\end{flushleft}}
\newenvironment{references}{%
\begin{hangparas}{0.5in}{1}
}{%
\\ \end{hangparas}%
}
\begin{document}
\headertext{Author Name}{Course Title}{Professor Name}{Date}
\titletext{My Title}
\section{References}
\begin{references}
\end{references}
\end{document}