Friday, January 6, 2012

Typing/Typesetting Korean with xelatex (unicode latex)

The following is a link to the PDF file generated by the xelatex source below:
http://www.mediafire.com/?4w382gzlk9kry04">82gzlk9kry04

 Xelatex Source:  
 %XELATEX DOCUMENT  
 \documentclass[12pt]{extreport}  
 \usepackage[top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm]{geometry}  
 %\usepackage[margin=1in, paperwidth=5.5in, paperheight=8.5in]{geometry}  
 \usepackage{fancyhdr}  
 \pagestyle{fancy}  
 \lhead{\textsc{Jonathan Komar}} \chead{\textsc{Koreanisch}} \rhead{\textsc{Seite\hspace{.2cm}-\thepage-}}   
 \lfoot{\textsc{Version 2}} \cfoot{\textsc{}} \rfoot{\textsc{erstellt mit XeLatex am 06. Jänner 2012}}  
 \renewcommand{\headrulewidth}{0.1pt}   
 \renewcommand{\footrulewidth}{0.1pt}  
 \usepackage{xcolor}%add color support for text  
 \usepackage{xltxtra}  
 \usepackage{fontspec}%included in xltxtra allows for switching fonts in document with \fontspec{fontname} command  
 \usepackage{xunicode}%included in xltxtra  
 \setmainfont[Mapping=tex-text]{Linux Libertine O}%set main global font  
 \newfontfamily{\korean}{Batang}%creates custom command to temporarily change to korean font.  
 \definecolor{red}{RGB}{255,0,0}  
 \definecolor{blue}{RGB}{27,0,55}  
 \definecolor{orange}{RGB}{255,68,0}  
 \begin{document}  
 ㅈ  
 %%  
 \begin{table}[htdp]  
 \caption{Selbstlaute \textsc{(Einzellaute)}}  
 \begin{center}  
 \begin{tabular}{|c|c|c|}  
 Vokale & IPA \\\hline  
 \korean{{\Huge ㅇㅏ}} & /a/ or /ɐ/ \\  
 \korean{{\Huge ㅇㅓ}} & /ə/\\  
 \korean{{\Huge ㅇㅗ}} & /o/\\  
 \korean{{\Huge ㅇㅜ}} & /u/\\  
 \korean{{\Huge ㅇㅡ}} & /ɯ/\\  
 \korean{{\Huge ㅇㅣ}} & /i/\\  
 \korean{{\Huge ㅇㅔ}}&/e/\\  
 \korean{{\Huge ㅇᅢ}}&/ɛ/\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 %%  
 \begin{table}[htdp]  
 \caption{Selbstlaute \textsc{(Doppellaute)}}  
 \begin{center}  
 \begin{tabular}{|c|c|}  
 \korean{{\Huge ㅇㅑ}} & /ja/ or /jɐ/ \\  
 \korean{{\Huge ㅇㅕ}} & /jə/\\  
 \korean{{\Huge ㅇㅛ}} & /jo/\\  
 \korean{{\Huge ㅇㅠ}} & /ju/\\  
 \korean{{\Huge ㅇㅖ}}&/je/ \\   
 \korean{{\Huge ㅇㅒ}}& /jɛ/\\   
 \korean{{\Huge ㅇㅟ}}&/wi/ \\   
 \korean{{\Huge ㅇㅞ}}&/we/\\   
 \korean{{\Huge ㅇㅙ}}&/wɛ/\\  
 \korean{{\Huge ㅇㅘ}}&/wa/\\  
 \korean{{\Huge ㅇㅢ}}&/ɰi/\\  
 \korean{{\Huge ㅇㅝ}}&/wʌ/\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 %%  
 \begin{table}[htdp]  
 \caption{Konsonanten}  
 \begin{center}  
 \begin{tabular}{|c|c|c|c|}  
 Phonem&IPA\\\hline  
 \korean{{\Huge ㅂ}}&/b/ or /p/\tiny{or /m/ (vor \korean{ㅁ,ㄴ,ㄹ})}\\  
 \korean{{\Huge ㅃ}}&/p͈ʰ/\\  
 \korean{{\Huge ㅍ}}&/pʰ/\\  
 \korean{{\Huge ㅁ}}&/m/\\  
 \korean{{\Huge ㄷ}}&/d/ or /t/\\  
 \korean{{\Huge ㄸ}}&/t͈ʰ/\\  
 \korean{{\Huge ㅌ}}&/tʰ/\\  
 \korean{{\Huge ㄴ}}&/n/\\  
 \korean{{\Huge ㅈ = [  ]}}&/ʤ/ or /ʧ/\\%problem here prints like a diff character  
 \korean{{\Huge ㅉ}}&/ʤ͈ʰ/\\  
 \korean{{\Huge ㅊ = [  ]}}&/ʧʰ/\\%problem here prints like a diff character  
 \korean{{\Huge ㄱ}}&/g/ or /k/\\  
 \korean{{\Huge ㄲ}}&/k͈ʰ/\\  
 \korean{{\Huge ㅋ}}&/kʰ/\\  
 \korean{{\Huge ㅇ}}&/ŋ/{\tiny (Endsilbe)}\\  
 \korean{{\Huge ㅅ}}&/s/ or /ʃ/\\  
 \korean{{\Huge ㅆ}}&/s͈ʰ/\\  
 \korean{{\Huge ㄹ}}&/l/ oder /ɾ/\\  
 \korean{{\Huge ㅎ}}&/h/\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 See footnotes for ⟨◌͈⟩\footnote{The IPA symbol ⟨◌͈⟩ (a subscript double straight quotation mark, shown here with a placeholder circle) is used to denote the tensed consonants /p͈/, /t͈/, /k͈/, /t͈ɕ/, /s͈/. Its official use in the Extensions to the IPA is for 'strong' articulation, but is used in the literature for faucalized voice.}  
 \footnote{Faucalized voice, also called hollow or yawny voice, is the production of speech sounds with an expanded laryngeal cavity. It contrasts with harsh voice, in which the larynx is compressed.  
 There is no symbol for faucalized voice in the standard IPA. Diacritics seen in the literature include the strong articulation diacritic ([a͈]) of the Extensions to the IPA. I}  
 %%  
 \begin{table}[htdp]  
 \caption{Ich studiere Sprachwissenschaft.}  
 \begin{center}  
 \begin{tabular}{|c|c|c|}  
 Sprachwissenschaft & studieren & Höfflichkeitsform\\  
 \korean{{\Huge 언어학}} & \korean{{\Huge 공부}} & \korean{{\Huge 합니다}}\\  
 /ɛn ɛ hak & go bu & hap ni da/\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 %%  
 \begin{table}[htdp]  
 \caption{Am Morgen esse ich Reis.}  
 \begin{center}  
 \begin{tabular}{|c|c|c|c|c|c|}  
 Morgen&am&Reis&Objmarke&esse&Höfflichkeitsform\\  
 \korean{{\Huge 아침}}&\korean{{\Huge 에}}&\korean{{\Huge 밥}}&\korean{{\Huge {\color{red}{을}}}}&\korean{{\Huge 먹}}&\korean{{\Huge {\color{red}{습}}니다}}\\  
 /a tʃim & e & bap & ɯl & mɯk & ʃɯm ni da/\\  
 &&&&& sɯm ni da/\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 %%  
 \begin{table}[htdp]  
 \caption{Am Wochenende kaufe ich Alkohol.}  
 \begin{center}  
 \begin{tabular}{|c|c|c|c|c|c|}  
 Wochenende&am&Alkohol&Objmarke&kaufe&Höfflichkeitsform\\  
 \korean{{\Huge 주말}}&\korean{{\Huge ㅇㅔ}}&\korean{{\Huge 술}}&\korean{{\Huge {\color{red}{을}}}}&\korean{{\Huge 사}}&\korean{{\Huge {\color{red}{ㅂ}}니다}}\\  
 &&&&\korean{{\Huge(삽)}}&\korean{{\Huge(니다)}}\\  
 /tʃu mal & e & sul & ɯl & ʃa & m ni da/\\  
 &immer mit Objekt&&&\\  
 & eines anderes Wortes  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 %%  
 \begin{table}[htdp]  
 \caption{Am Abend esse ich Schinkenbrot.}  
 \begin{center}  
 \begin{tabular}{|c|c|c|c|c|c|}  
 Abend&am&Schinkenbrot&Objmarke&esse&Höfflichkeitsform\\  
 \korean{{\Huge 저녁}}&\korean{{\Huge 에}}&\korean{{\Huge 햄뻥}}&\korean{{\Huge {\color{red}{을}}}}&\korean{{\Huge 먹}}&\korean{{\Huge {\color{red}{슴}}니다}}\\  
 /ʤə njəg & e & hɛm p͈ʰɯɳ & ɯl & mək & ʃɯm ni da/\\  
 &&&&&sɯm ni da\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 %%  
 \begin{table}[htdp]  
 \caption{Im Sommer treffe ich am Mittag normalerweise einen Freund.}  
 \begin{center}  
 \begin{tabular}{|c|c|c|c|c|c|c|c|c|}  
 Sommer&im&Mittag&am&normalerweise&einen Freund&Objmarke&treffe&Höfflichkeitsform\\  
 \korean{여름}&\korean{에}&\korean{점심}&\korean{에}&\korean{보통}&\korean{친구}&\korean{ {\color{red}{를}}}&\korean{만 나}&\korean{ {\color{red}{ㅂ}}니다}\\  
 &&&&&&&\korean{(만남)}&\korean{(니다)}\\  
 /jə rɯm & e & ʤɛm sim & e & bo to & ʧʰin gul & rɯl & man na & m ni da/\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 %%  
 \begin{table}[htdp]  
 \caption{Ich bin ein Mann}  
 \begin{center}  
 \begin{tabular}{|c|c|c|c|c|c|c}  
 ich&ein Mann&bin&Höfflichkeitsform\\  
 \korean{{\Huge 저는}}&\korean{{\Huge 남자}}&\korean{{\Huge 이}}&\korean{{\Huge {\color{red}{ㅂ}}니다}}\\  
 &&\korean{{\Huge {(입)}}}&\korean{{\Huge (니다)}}\\  
 /ʤə nɯn & nam ʤa & i & m ni da/\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 %%  
 \section*{Haben + \korean{{\Huge 이 가}}}  
 %%  
 \begin{table}[htdp]  
 \caption{Ich habe ein Handy.}  
 \begin{center}  
 \begin{tabular}{|c|c|c|c|c|c|c}  
 Handy&habe ich&Objmarke&Höfflichkeitsform\\  
 \korean{{\Huge (학디)?}}&\korean{{\Huge {\color{red}{가}}}}&\korean{{\Huge 이}}&\korean{{\Huge {\color{red}{릅}}니다}}\\  
 &&\korean{{\Huge {}}}&\korean{{\Huge }}\\  
 /? & da & i & sɯm ni da/\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 %%  
 \begin{table}[htdp]  
 \caption{Ich habe Wasser.}  
 \begin{center}  
 \begin{tabular}{|c|c|c|c|c|c|c}  
 Wasser&habe ich&Objmarke&Höfflichkeitsform\\  
 \korean{{\Huge 물}}&\korean{{\Huge {\color{red}{이}}}}&\korean{{\Huge 이}}&\korean{{\Huge {\color{red}{릅}}니다}}\\  
 &&\korean{{\Huge {}}}&\korean{{\Huge }}\\  
 /mul & i & i & sɯm ni da/\\  
 \end{tabular}  
 \end{center}  
 \label{default}  
 \end{table}%  
 \end{document}  

No comments:

Post a Comment