1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
7 % Margin par to the left
10 % \markline command which puts an arrow next to the line number
11 \newcommand*\markline{\marginpar{\begin{picture}(0,0)\put(77,0){$\mathtt{\rightarrow}$}\end{picture}}}
13 % Leading zeros to numbers below 10
15 \renewcommand*\thelstnumber{\makebox[3em][r]{\ifnum\value{lstnumber}<10 0\fi\the\value{lstnumber}}}%
18 % Some macros (for GAT notation)
20 \newcommand\pitchrise{\ensuremath{\mathtt{\uparrow}}}
21 \newcommand\pitchfall{\ensuremath{\mathtt{\downarrow}}}
23 \newcommand\Pitchrise{\ensuremath{\mathtt{\uparrow\uparrow}}}
24 \newcommand\Pitchfall{\ensuremath{\mathtt{\downarrow\downarrow}}}
25 % pitch does not change at turn end
26 \newcommand\pitchconst{-\kern-0.4em-\kern-0.4em-}
27 % accent pitch movement
28 \newcommand\accfall{\`{}}
29 \newcommand\accrise{\'{}}
30 \newcommand\accsame{\raisebox{.7ex}{\pitchconst}}
31 \newcommand\accfallrise{\v{}}
32 % breathing in/out (three degrees, respectively)
33 \newcommand\breathin{\textdegree h}
34 \newcommand\Breathin{\textdegree hh}
35 \newcommand\BREATHIN{\textdegree hhh}
36 \newcommand\breathout{h\textdegree}
37 \newcommand\Breathout{hh\textdegree}
38 \newcommand\BREATHOUT{hhh\textdegree}
40 \use_default_options true
41 \maintain_unincluded_children false
43 \language_package default
48 \font_typewriter beramono
50 \font_default_family default
51 \use_non_tex_fonts false
57 \default_output_format default
59 \bibtex_command default
60 \index_command default
61 \paperfontsize default
65 \pdf_bookmarksnumbered false
66 \pdf_bookmarksopen false
67 \pdf_bookmarksopenlevel 1
75 \use_package amsmath 1
76 \use_package amssymb 1
79 \use_package mathdots 1
80 \use_package mathtools 1
82 \use_package stackrel 1
83 \use_package stmaryrd 1
84 \use_package undertilde 1
86 \cite_engine_type default
90 \paperorientation portrait
94 \index Stichwortverzeichnis
100 \paragraph_separation indent
101 \paragraph_indentation default
102 \quotes_language english
105 \paperpagestyle default
106 \listings_params "numbers=left,basicstyle={\small\ttfamily},breaklines=true,tabsize=4,escapechar={|},xleftmargin=4em,breakautoindent=false,breakatwhitespace=true,breakindent=33pt,numberstyle={\small\ttfamily}"
107 \tracking_changes false
108 \output_changes false
111 \html_be_strict false
121 package for Conversation Analysis (CA)
128 \begin_layout Section
132 \begin_layout Standard
133 Unfortunately, there is no LaTeX package available for writing transcripts
134 in conversation analysis.
135 Transcripts usually use some kind of parallel notation in order to represent
137 \begin_inset Quotes els
141 \begin_inset Quotes ers
145 Within LyX, this can be somewhat achieved by using tables or the tabbing
146 environment (for the latter, see
147 \begin_inset Flex URL
150 \begin_layout Plain Layout
152 http://wiki.lyx.org/LyX/LinguistLyX#ca
158 This document introduces another approach: the use of the
163 \begin_inset CommandInset citation
172 \begin_layout Standard
177 package (interface in LyX:
179 Insert\SpecialChar \menuseparator
182 ) is a package for displaying program listings (computer source code).
183 However, it can also be (mis)used for CA transcription, although there
184 are severe limitations:
187 \begin_layout Itemize
192 package cannot deal yet with unicode.
193 This severely limits the use of multiple scripts.
194 The following approach should work if the script used is the same (or a
195 subset) than the surrounding text.
199 \begin_layout Itemize
200 \begin_inset Argument item:1
203 \begin_layout Plain Layout
204 \begin_inset Formula $\Rightarrow$
212 If you need multiple scripts, you can try the
217 \begin_inset CommandInset citation
223 , which however requires that you write your listings in an external editor
226 Insert\SpecialChar \menuseparator
227 File\SpecialChar \menuseparator
228 Child Document\SpecialChar \menuseparator
234 \begin_layout Itemize
235 \begin_inset Argument item:1
238 \begin_layout Plain Layout
239 \begin_inset Formula $\Rightarrow$
247 You can also manually extend the range of characters known to listings.
249 \begin_inset Flex URL
252 \begin_layout Plain Layout
254 http://tex.stackexchange.com/questions/25391/the-listings-package-and-utf-8
263 \begin_layout Itemize
264 The display of the tabbing indentation in LyX's work area is not always
265 adequate, so you need to check the output.
268 \begin_layout Section
272 \begin_layout Standard
277 for CA, we need to do several modifications.
280 \begin_layout Itemize
281 We chose (paradoxically)
282 \begin_inset Quotes eld
286 \begin_inset Quotes erd
289 in the listings settings (since
290 \begin_inset Quotes eld
294 \begin_inset Quotes erd
297 here refers to computer languages)
300 \begin_layout Itemize
303 Document\SpecialChar \menuseparator
304 Settings\SpecialChar \ldots{}
305 \SpecialChar \menuseparator
312 \begin_layout Plain Layout
313 This could also be done at each listing individually, via
315 Edit\SpecialChar \menuseparator
316 Listings Settings\SpecialChar \ldots{}
319 while the cursor is inside the listing, but it is more convenient to set
320 it once an for all (individual settings can then just be changed in the
326 , we enter the following:
383 breakautoindent=false
389 breakatwhitespace=true
398 \begin_layout Standard
399 You probably will have to adjust some of these settings for your own needs.
400 Please refer to the listings manual
401 \begin_inset CommandInset citation
407 for details about the options.
411 \begin_layout Itemize
414 Document\SpecialChar \menuseparator
415 Settings\SpecialChar \ldots{}
416 \SpecialChar \menuseparator
419 , we define a command that lets us mark individual lines of the transcript
420 by an inwards pointing arrow.
421 Since we use the margin note for this, we need to tell LaTeX first to swap
422 the margin (we want the arrow to be in the left margin):
427 \begin_inset listings
428 lstparams "language={[LaTeX]TeX},numbers=none,xleftmargin=0pt"
432 \begin_layout Plain Layout
434 % Margin par to the left
437 \begin_layout Plain Layout
444 \begin_layout Plain Layout
448 markline command which puts an arrow
451 \begin_layout Plain Layout
453 % next to the line number
456 \begin_layout Plain Layout
465 \begin_layout Plain Layout
476 \begin_layout Plain Layout
487 \begin_layout Plain Layout
492 \begin_layout Plain Layout
503 \begin_layout Itemize
504 Since this is common style in the transcription system we use here, we furthermo
505 re need to modify the line numbers in order to add leading zeros to lines
507 This is done by the following preamble code:
512 \begin_inset listings
513 lstparams "language={[LaTeX]TeX},numbers=none,xleftmargin=0pt"
517 \begin_layout Plain Layout
519 % Leading zeros to numbers below 10
522 \begin_layout Plain Layout
529 \begin_layout Plain Layout
538 \begin_layout Plain Layout
546 value{lstnumber}<10 0
555 \begin_layout Plain Layout
560 \begin_layout Plain Layout
571 \begin_layout Itemize
572 For convenience, we also define some macros for the transcription symbols
573 we use (especially for those which need LaTeX macros anyway).
574 Since we use the GAT convention
575 \begin_inset CommandInset citation
581 here, the definitions look like this:
586 \begin_inset listings
587 lstparams "language={[LaTeX]TeX},numbers=none,xleftmargin=0pt"
591 \begin_layout Plain Layout
593 % Some macros (for GAT notation)
596 \begin_layout Plain Layout
598 % minor pitch changes
601 \begin_layout Plain Layout
616 \begin_layout Plain Layout
631 \begin_layout Plain Layout
633 % major pitch changes
636 \begin_layout Plain Layout
653 \begin_layout Plain Layout
670 \begin_layout Plain Layout
672 % pitch does not change at turn end
675 \begin_layout Plain Layout
688 \begin_layout Plain Layout
690 % accent pitch movement
693 \begin_layout Plain Layout
704 \begin_layout Plain Layout
715 \begin_layout Plain Layout
728 \begin_layout Plain Layout
739 \begin_layout Plain Layout
741 % breathing in/out (three degrees, respectively)
744 \begin_layout Plain Layout
755 \begin_layout Plain Layout
766 \begin_layout Plain Layout
777 \begin_layout Plain Layout
788 \begin_layout Plain Layout
799 \begin_layout Plain Layout
815 \begin_layout Standard
816 Of course, this is not a complete set, but it should suffice to demonstrate
817 how you could add more macros or alter them for a different transcription
819 By the way, you can easily switch between basic and fine transcript by
820 simply changing those definition to empty (e.
821 \begin_inset space \thinspace{}
836 \begin_layout Standard
837 \begin_inset Newpage clearpage
843 \begin_layout Section
848 \begin_layout Standard
849 Here are some example transcripts.
851 \begin_inset CommandInset citation
857 and consequently use the GAT transcription conventions.
860 \begin_layout Standard
861 Note that LaTeX commands need to be embraced in |\SpecialChar \ldots{}
862 |, as done in example (1)
870 \begin_inset VSpace defskip
876 \begin_layout Standard
881 Beispiel (1): ((fiktives Gespräch, 1:04-2:05 Sek.))
885 \begin_layout Plain Layout
887 \begin_inset CommandInset citation
902 \begin_layout Standard
903 \begin_inset listings
904 lstparams "numbers=left,basicstyle={\small\ttfamily},breaklines=true,tabsize=4,escapechar={|},xleftmargin=4em,breakautoindent=false,breakatwhitespace=true,breakindent=33pt,numberstyle={\ttfamily}"
908 \begin_layout Plain Layout
910 A: hier fängt der transkripttext an
913 \begin_layout Plain Layout
918 \begin_layout Plain Layout
923 \begin_layout Plain Layout
925 A: wenn du mir ins wort fä[llst]
928 \begin_layout Plain Layout
930 B: [ich ] fall dir ja |
935 \begin_layout Plain Layout
940 \begin_layout Plain Layout
945 \begin_layout Plain Layout
950 \begin_layout Plain Layout
955 \begin_layout Plain Layout
957 du hast (.) mich grade unterbrochen
960 \begin_layout Plain Layout
965 \begin_layout Plain Layout
975 \begin_layout Standard
976 \begin_inset VSpace defskip
982 \begin_layout Standard
987 Beispiel (2): Der widerliche Kerl
991 \begin_layout Plain Layout
993 \begin_inset CommandInset citation
1008 \begin_layout Standard
1009 \begin_inset listings
1013 \begin_layout Plain Layout
1019 accfall|VIERziger genera|
1024 \begin_layout Plain Layout
1030 accfall|!WA:HN!sinnig viele die sich da ham|
1039 \begin_layout Plain Layout
1043 linebreak| lasse[n.=
1046 \begin_layout Plain Layout
1053 \begin_layout Plain Layout
1057 accsame|schEiden lassen |
1064 \begin_layout Plain Layout
1071 \begin_layout Plain Layout
1076 \begin_layout Plain Layout
1078 S1: <<pp> heute noch|
1083 \begin_layout Plain Layout
1089 \begin_layout Plain Layout
1098 \begin_layout Plain Layout
1104 accfall|GUtes beispiel das warn mal unsere |
1111 \begin_layout Plain Layout
1116 \begin_layout Plain Layout
1121 \begin_layout Plain Layout
1127 accfall|DREIßig jahre ver|
1134 \begin_layout Plain Layout
1136 das letzte kind (.) |
1138 accfall|Endlich aus_m |
1143 \begin_layout Plain Layout
1150 \begin_layout Plain Layout
1154 accrise|WEGgegangen,=|
1161 \begin_layout Plain Layout
1170 \begin_layout Plain Layout
1174 accfall|Ältere tochter is |
1176 accrise|AUCH in berlin|
1178 linebreak| gewesen? |
1183 \begin_layout Plain Layout
1194 \begin_layout Plain Layout
1196 <<t> das war aber ein pene>|
1206 accfall|!W:I!derling.=also |
1211 \begin_layout Plain Layout
1213 der hat (.) äh sein |
1217 accfall|GARten wie (.) |
1227 accfallrise|PFLEGT,=|
1232 \begin_layout Plain Layout
1245 \begin_layout Plain Layout
1252 \begin_layout Plain Layout
1256 accfall|Englischer |
1263 \begin_layout Plain Layout
1273 accrise|heit hat er|
1284 \begin_layout Plain Layout
1286 <<all> und sich mit den |
1299 \begin_layout Plain Layout
1301 S1: [<<pp>phhh hohoho>]
1304 \begin_layout Plain Layout
1312 accfall|jEmand zum |
1314 accfall|Abschied ge|
1323 \begin_layout Plain Layout
1327 accfall|wAr der in <<all> |
1329 accfall|NULL komma nix> |
1334 \begin_layout Plain Layout
1338 accfall|RUMgeschrien;=
1341 \begin_layout Plain Layout
1347 accsame|ZEI: und [so|
1354 \begin_layout Plain Layout
1370 accfall|GIBS doch wohl nich.>
1373 \begin_layout Plain Layout
1379 accfall|V:OLLkommen |
1381 accfall|WIderlich.=|
1388 \begin_layout Plain Layout
1392 accfall|hAtte er do son (.) son|
1411 \begin_layout Plain Layout
1413 <<all> und ham wir immer gesagt> |
1420 \begin_layout Plain Layout
1427 \begin_layout Plain Layout
1434 \begin_layout Plain Layout
1441 \begin_layout Plain Layout
1443 S1: [((lacht verstohlen, ca.
1448 \begin_layout Plain Layout
1450 S2: [((lacht verstohlen, ca.
1455 \begin_layout Plain Layout
1461 accfall|PLÖTZlich (-) is seine |
1465 newline| abgehaun;=|
1470 \begin_layout Plain Layout
1484 \begin_layout Plain Layout
1491 \begin_layout Plain Layout
1498 \begin_layout Plain Layout
1502 accrise|KINdern, (.)
1505 \begin_layout Plain Layout
1517 newline| <<all> praktisch angefangen |
1522 \begin_layout Plain Layout
1535 \begin_layout Plain Layout
1546 \begin_layout Plain Layout
1552 accrise|LEIne, (---)
1555 \begin_layout Plain Layout
1559 accfall|kOnnte das |
1561 accrise|HAUS nich mehr (.) |
1566 \begin_layout Plain Layout
1574 accrise|glaub ich, |
1579 \begin_layout Plain Layout
1581 <<all> dass er das ver|
1585 accfall|KAUFT hat;> (.)
1588 \begin_layout Plain Layout
1601 \begin_layout Plain Layout
1612 \begin_layout Plain Layout
1623 \begin_layout Plain Layout
1625 =<<all> irgendwie so richtig> |
1640 \begin_layout Plain Layout
1646 accfall|HAUPT nich: (.) vk (.)
1649 \begin_layout Plain Layout
1655 accfall|LEIne <<all> wär er |
1657 accfall|nIe wieder auf e |
1661 accfall|bEine gekommen;=
1664 \begin_layout Plain Layout
1673 \begin_layout Plain Layout
1677 accrise|jEtzt wohnt er <<all> nämlich mit seiner>|
1683 accfall|SCHW:ESter zusa[mmen.
1687 \begin_layout Plain Layout
1692 \begin_layout Plain Layout
1697 \begin_layout Plain Layout
1701 accfall|LAUfen: (.) |
1711 accfall|Ehe[paar.]=|
1716 \begin_layout Plain Layout
1721 \begin_layout Plain Layout
1726 \begin_layout Plain Layout
1738 \begin_layout Plain Layout
1742 breathin| und aber a was aus der |
1744 accfall|FRAU geworden is |
1748 accfall|wEißt du nich.=|
1753 \begin_layout Plain Layout
1760 \begin_layout Plain Layout
1769 \begin_layout Plain Layout
1771 aber die is nach ber|
1775 accfall|LIN gegang[en; ]
1778 \begin_layout Plain Layout
1785 \begin_layout Plain Layout
1787 S2: und da hat die ihre |
1796 \begin_layout Plain Layout
1803 \begin_layout Plain Layout
1809 accfall|GANZ neues |
1813 accfall|LEben wahrscheinli[ch; ]=|
1818 \begin_layout Plain Layout
1825 \begin_layout Plain Layout
1830 \begin_layout Plain Layout
1835 \begin_layout Plain Layout
1845 \begin_layout Bibliography
1846 \begin_inset CommandInset bibitem
1847 LatexCommand bibitem
1852 Carsten Heinz/Brooks Moses/Jobst Homann.
1856 The Listings Package
1860 \begin_inset CommandInset href
1862 name "ftp://mirrors.ctan.org/tex-archive/macros/latex/contrib/listings/listings.pdf"
1863 target "ftp://mirrors.ctan.org/tex-archive/macros/latex/contrib/listings/listings.pdf"
1870 \begin_layout Bibliography
1871 \begin_inset CommandInset bibitem
1872 LatexCommand bibitem
1881 The listingsutf8 Package
1885 \begin_inset CommandInset href
1887 name "http://mirrors.ctan.org/macros/latex/contrib/oberdiek/listingsutf8.pdf"
1888 target "http://mirrors.ctan.org/macros/latex/contrib/oberdiek/listingsutf8.pdf"
1895 \begin_layout Bibliography
1896 \begin_inset CommandInset bibitem
1897 LatexCommand bibitem
1904 Margret Selting et al.
1906 Gesprächsanalytisches Transkriptionssystem 2 (GAT 2).
1909 Gesprächsforschung -- Online-Zeitschrift zur verbalen Interaktion
1914 \begin_inset CommandInset href
1916 name "http://www.gespraechsforschung-ozs.de/heft2009/px-gat2.pdf"
1917 target "http://www.gespraechsforschung-ozs.de/heft2009/px-gat2.pdf"