summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2016-10-23 16:01:46 +0200
committerCamil Staps2016-10-23 16:01:46 +0200
commit62a8e11741ca6d5dcbcb164fc23606278240e10c (patch)
tree98eb522f8b432b647d0d1ca7c509ee5586109f03
parentFinish Kemmer (diff)
Switch to XeLaTeX
-rw-r--r--Makefile2
-rw-r--r--benton-handout.tex16
-rw-r--r--evans-green-handout.tex16
-rw-r--r--handouts.sty15
-rw-r--r--hopper-thompson-handout.tex16
-rw-r--r--kemmer-handout.tex16
6 files changed, 54 insertions, 27 deletions
diff --git a/Makefile b/Makefile
index a97500f..0b8d6a1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-TEX=pdflatex
+TEX=xelatex
TEXFLAGS=-file-line-error -halt-on-error
FULL=$(subst .tex,.pdf,$(wildcard *.tex))
diff --git a/benton-handout.tex b/benton-handout.tex
index 5e26e4b..384c43a 100644
--- a/benton-handout.tex
+++ b/benton-handout.tex
@@ -1,15 +1,21 @@
\documentclass[9pt,twocolumn,a4paper]{extarticle}
\usepackage[top=2cm]{geometry}
-\usepackage[british]{babel}
-\usepackage{stfloats}
-
-\usepackage{handouts}
-
\usepackage[hidelinks]{hyperref}
\usepackage{tikz}
\usepackage[font=small]{caption}
+\usepackage{polyglossia}
+\setdefaultlanguage{british}
+\setotherlanguage{hebrew}
+\newfontfamily\dutchfont[Mapping=tex-text]{Latin Modern Roman}
+\newfontfamily\hebrewfont[Scale=MatchLowercase]{Ezra SIL}
+\DeclareTextFontCommand{\ez}{\hebrewfont}
+
+\usepackage{stfloats}
+
+\usepackage{handouts}
+
\newcommand{\situationtransition}[7]{%
\begin{tikzpicture}[node distance=4em,scale=0.9,every node/.style={scale=0.9}]
\node[ label={below:$x_{-3}$},label={above:#1}] (xm3) {};
diff --git a/evans-green-handout.tex b/evans-green-handout.tex
index bf056dc..5410986 100644
--- a/evans-green-handout.tex
+++ b/evans-green-handout.tex
@@ -1,15 +1,21 @@
\documentclass[twocolumn,a4paper]{article}
\usepackage[top=2cm]{geometry}
-\usepackage[british]{babel}
-\usepackage{stfloats}
-
-\usepackage{handouts}
-
\usepackage[hidelinks]{hyperref}
\usepackage{tikz}
\usepackage[font=small]{caption}
+\usepackage{polyglossia}
+\setdefaultlanguage{british}
+\setotherlanguage{hebrew}
+\newfontfamily\dutchfont[Mapping=tex-text]{Latin Modern Roman}
+\newfontfamily\hebrewfont[Scale=MatchLowercase]{Ezra SIL}
+\DeclareTextFontCommand{\ez}{\hebrewfont}
+
+\usepackage{handouts}
+
+\usepackage{stfloats}
+
\title{\Large Handout of selected passages from ``Cognitive Linguistics: an Introduction''\footnote{V. Evans and M. Green (2006).}}
\author{Camil Staps}
diff --git a/handouts.sty b/handouts.sty
index d514362..78d2afe 100644
--- a/handouts.sty
+++ b/handouts.sty
@@ -1,3 +1,7 @@
+\RequirePackage{xcolor}
+\definecolor{ideacolor}{HTML}{d1713e}
+\definecolor{criticismcolor}{HTML}{d1713e}
+
% Define ifsolutions only if it is not defined yet (see Makefile)
\@ifundefined{ifshowpagenrs}{%
\newif\ifshowpagenrs
@@ -23,18 +27,15 @@
\newcommand{\pagenrStyle}{\small\color{darkgray}}
\newcommand{\criticismStart}{\emph{Criticism:} }
-\newcommand{\criticismStyle}{\color{RedOrange}}
+\newcommand{\criticismStyle}{\color{criticismcolor}}
\newcommand{\ideaStart}{\emph{Idea:} }
-\newcommand{\ideaStyle}{\color{RedOrange}}
+\newcommand{\ideaStyle}{\color{ideacolor}}
\newcommand{\noteStyle}{\color{gray}}
\newcommand{\termStyle}{\it}
-\PassOptionsToPackage{dvipsnames}{xcolor}
-\RequirePackage{xcolor}
-
\newcommand{\pagenr}[1]{%
\ifshowpagenrs\begingroup\pagenrStyle\enspace(p. #1)\endgroup\fi}
\newcommand{\pagenrs}[1]{%
@@ -47,7 +48,9 @@
\parnote{\enspace(#1)}}
\newcommand{\criticism}[1]{%
\ifshowcriticism\begingroup\criticismStyle\criticismStart{}#1\endgroup\fi}
+\newcommand{\plainIdea}[1]{%
+ \ifshowideas\begingroup\ideaStyle#1\endgroup\fi}
\newcommand{\idea}[1]{%
- \ifshowideas\begingroup\ideaStyle\ideaStart{}#1\endgroup\fi}
+ \ifshowideas\plainIdea{\ideaStart{}#1}\fi}
\newcommand{\term}[1]{%
\begingroup\termStyle #1\endgroup}
diff --git a/hopper-thompson-handout.tex b/hopper-thompson-handout.tex
index 8d15c6d..169feeb 100644
--- a/hopper-thompson-handout.tex
+++ b/hopper-thompson-handout.tex
@@ -1,15 +1,21 @@
\documentclass[a4paper]{article}
\usepackage[top=2cm]{geometry}
-\usepackage[british]{babel}
-\usepackage{stfloats}
-
-\usepackage{handouts}
-
\usepackage[hidelinks]{hyperref}
\usepackage{tikz}
\usepackage[font=small]{caption}
+\usepackage{polyglossia}
+\setdefaultlanguage{british}
+\setotherlanguage{hebrew}
+\newfontfamily\dutchfont[Mapping=tex-text]{Latin Modern Roman}
+\newfontfamily\hebrewfont[Scale=MatchLowercase]{Ezra SIL}
+\DeclareTextFontCommand{\ez}{\hebrewfont}
+
+\usepackage{handouts}
+
+\usepackage{stfloats}
+
\title{\Large Handout of ``Transitivity in Grammar and Discourse''\footnote{Paul J. Hopper and Sandra A. Thompson (1980).}}
\author{Camil Staps}
diff --git a/kemmer-handout.tex b/kemmer-handout.tex
index 337a663..d98572e 100644
--- a/kemmer-handout.tex
+++ b/kemmer-handout.tex
@@ -1,15 +1,21 @@
\documentclass[9pt,a4paper,twocolumn]{extarticle}
\usepackage[top=2cm]{geometry}
-\usepackage[british]{babel}
-\usepackage{stfloats}
-
-\usepackage{handouts}
-
\usepackage[hidelinks]{hyperref}
\usepackage{tikz}
\usetikzlibrary{arrows,fit,calc,shapes,positioning}
\usepackage[font=small]{caption}
+
+\usepackage{polyglossia}
+\setdefaultlanguage{british}
+\setotherlanguage{hebrew}
+\newfontfamily\dutchfont[Mapping=tex-text]{Latin Modern Roman}
+\newfontfamily\hebrewfont[Scale=MatchLowercase]{Ezra SIL}
+\DeclareTextFontCommand{\ez}{\hebrewfont}
+
+\usepackage{handouts}
+
+\usepackage{stfloats}
\usepackage{subcaption}
\title{\Large Handout of ``The Middle Voice''\footnote{Suzanne Kemmer (1993).}}