templates/acl/acl_lualatex.tex
templates/acl/acl_lualatex.texBrowse 56 files
814 tokens
3,050 bytes
Token encoding: o200k_base
Snapshot 24fd22b
← Back to SKILL.md
1% This file compiles with both LuaLaTeX and XeLaTeX2\documentclass[11pt]{article}3 4% Change "review" to "final" to generate the final (sometimes called camera-ready) version.5% Change to "preprint" to generate a non-anonymous version with page numbers.6\usepackage[review]{acl}7 8% This is not strictly necessary, and may be commented out,9% but it will improve the layout of the manuscript,10% and will typically save some space.11 \usepackage{microtype}12 13% If the title and author information does not fit in the area allocated, uncomment the following14%15%\setlength\titlebox{<dim>}16%17% and set <dim> to something 5cm or larger.18 19% These font selection commands work with20% LuaLaTeX and XeLaTeX, but not pdfLaTeX.21\usepackage[english,bidi=default]{babel} % English as the main language.22\babelfont{rm}{TeXGyreTermesX} % similar to Times23%%% include whatever languages you need below this line24\babelprovide[import]{hindi}25\babelfont[*devanagari]{rm}{Lohit Devanagari}26\babelprovide[import]{arabic}27\babelfont[*arabic]{rm}{Noto Sans Arabic}28 29 30%\usepackage{polyglossia}31%\setdefaultlanguage{english}32%\setotherlanguages{arabic,russian,thai,hindi,kannada}33 34%%%%%35 36 37\title{LuaLaTeX and XeLaTeX Template for *ACL Style Files}38 39% Author information can be set in various styles:40% For several authors from the same institution:41% \author{Author 1 \and ... \and Author n \\42% Address line \\ ... \\ Address line}43% if the names do not fit well on one line use44% Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\45% For authors from different institutions:46% \author{Author 1 \\ Address line \\ ... \\ Address line47% \And ... \And48% Author n \\ Address line \\ ... \\ Address line}49% To start a separate ``row'' of authors use \AND, as in50% \author{Author 1 \\ Address line \\ ... \\ Address line51% \AND52% Author 2 \\ Address line \\ ... \\ Address line \And53% Author 3 \\ Address line \\ ... \\ Address line}54 55\author{First Author \\56 Affiliation / Address line 1 \\57 Affiliation / Address line 2 \\58 Affiliation / Address line 3 \\59 \texttt{email@domain} \\\And60 Second Author \\61 Affiliation / Address line 1 \\62 Affiliation / Address line 2 \\63 Affiliation / Address line 3 \\64 \texttt{email@domain} \\}65 66\begin{document}67 68\maketitle69\begin{abstract}70This document provides an example showing how71to use the *ACL style files with either72LuaLaTeX or XeLaTeX.73\end{abstract}74 75 76\section{Introduction}77 78Please see the general instructions79in the file \verb|acl_latex.tex|.80 81Here are some examples of text in various languages.82 83Hindi: \foreignlanguage{hindi}{मानव अधिकारों की सार्वभौम घोषणा}84 85Arabic: \foreignlanguage{arabic}{الإعلان العالمي لحقوق الإنسان}86 87Here is an example citation:88\citet{Gusfield:97} argues that...89 90 91% Entries for the entire Anthology, followed by custom entries92\bibliography{custom}93 94\appendix95 96\section{Example Appendix}97\label{sec:appendix}98 99This is an appendix.100 101\end{document}102