...

Text file src/github.com/alecthomas/chroma/lexers/testdata/tex.actual

Documentation: github.com/alecthomas/chroma/lexers/testdata

     1\documentclass[12pt]{article}
     2\usepackage{lingmacros}
     3\usepackage{tree-dvips}
     4\begin{document}
     5
     6\section*{Notes for My Paper}
     7
     8Don't forget to include examples of topicalization.
     9They look like this:
    10
    11{\small
    12\enumsentence{Topicalization from sentential subject:\\ 
    13\shortex{7}{a John$_i$ [a & kltukl & [el & 
    14  {\bf l-}oltoir & er & ngii$_i$ & a Mary]]}
    15{ & {\bf R-}clear & {\sc comp} & 
    16  {\bf IR}.{\sc 3s}-love   & P & him & }
    17{John, (it's) clear that Mary loves (him).}}
    18}
    19
    20\subsection*{How to handle topicalization}
    21
    22I'll just assume a tree structure like (\ex{1}).
    23
    24{\small
    25\enumsentence{Structure of A$'$ Projections:\\ [2ex]
    26\begin{tabular}[t]{cccc}
    27    & \node{i}{CP}\\ [2ex]
    28    \node{ii}{Spec} &   &\node{iii}{C$'$}\\ [2ex]
    29        &\node{iv}{C} & & \node{v}{SAgrP}
    30\end{tabular}
    31\nodeconnect{i}{ii}
    32\nodeconnect{i}{iii}
    33\nodeconnect{iii}{iv}
    34\nodeconnect{iii}{v}
    35}
    36}
    37
    38\subsection*{Mood}
    39
    40Mood changes when there is a topic, as well as when
    41there is WH-movement.  \emph{Irrealis} is the mood when
    42there is a non-subject topic or WH-phrase in Comp.
    43\emph{Realis} is the mood when there is a subject topic
    44or WH-phrase.
    45
    46\end{document}

View as plain text