-
Notifications
You must be signed in to change notification settings - Fork 5
/
chap1excerpts.tex
146 lines (100 loc) · 5.1 KB
/
chap1excerpts.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
\documentclass{article}
%\documentclass[twoside, openright]{book}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% This is a standalone reading covering the basic ideas in argument for classes that aren't logic or CT %
% %
% It is based on the January 2019 version of For All X LC Remix %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%glossary and indexing stuff
\usepackage[toc, nopostdot, numberedsection]{glossaries}
\usepackage{datatool}
%\newglossary*{catstatements}{Chapter \ref{chap:catstatements} Key Terms}
%\newglossary*{catsyllogisms}{Key Terms}
\renewcommand{\glsnamefont}[1]{\makefirstuc{#1}}
\makeglossaries
%General packages
\usepackage{answers}
\usepackage{textcomp}
\usepackage{anyfontsize}
\usepackage{geometry}
\usepackage{url}
\usepackage{changepage}
\usepackage{syntonly}
\usepackage{enumitem}
\usepackage{turnstile}
\usepackage[normalem]{ulem}
\usepackage{fixltx2e}
\usepackage{wasysym}
\usepackage{tocloft}
\usepackage{fancyhdr}
\usepackage{fancyref}
\usepackage{etoolbox}
\usepackage[utf8]{inputenc}
%\usepackage{amsthm} for some reason, this conflicts with the fitch.sty part of openlogic.sty.
%%% Bibstuff
\usepackage[authordate,autocite=inline,backend=biber, natbib]{biblatex-chicago}
\bibliography{tex/z-openlogic}
% To typeset the bibliography, you need to run "biber --output-safechars chap1excerpts" from the command line. You can't use the function within TeXworks, because it doen't have the --output-safechars flag. Without that flag, biber is unable to handle many characters used for Sanskrit words, like the n with a dot under it.
%%% graphics packages %%%
\usepackage{tikz}
\usetikzlibrary{shapes,backgrounds,matrix,arrows,decorations,positioning}
\usepgflibrary{arrows.new}
\usepackage{graphicx}
\usepackage{xcolor}
%%% Table and figure packages %%%
\usepackage{float}
\usepackage[singlelinecheck=false, skip=0pt]{caption} %left aligns captions for tables, moves them closer to table.
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{tabu}
\usepackage[framemethod=1]{mdframed}
\usepackage{wrapfig} %I used this to put a frame around tables.
\tabulinesep=.75ex
\usepackage{colortbl}
\floatstyle{plain}
\restylefloat{figure}
\usepackage[export]{adjustbox}
\usepackage{multirow}
\usepackage{rotating}
\usepackage{booktabs}
%linking and bookmarks in the pdf.
\usepackage{hyperref}
\hypersetup{pdftex,colorlinks=true,allcolors=blue}
\usepackage{hypcap}
\usepackage{openintroduction-exp}
\pdfinfo{
/Title (An Open Introduction to Logic)
/Author (J. Robert Loftis, Cathal Woods, and P.D. Magnus)
/Subject (An open access introductory textbook in logic and critical thinking)
)
}
\begin{document}
%\label{showanswers} %uncomment this tag and typeset twice to show answers
%\label{blank_prob_set} %uncomment this tag and typeset twice to create a blank problem set sheet. Don't use with \label{showanswers} uncommented
\raggedright
\setlength{\parindent}{1em}
\setlength{\parskip}{1em}
{
\setlength{\parskip}{0em}
\cftpagenumbersoff{part}
%\cftpagenumbersoff{chapter}
\renewcommand{\cftpartpresnum}{\sf\Large\partname\ }
}
\setlength{\parindent}{1em}
\pagestyle{headings} % puts the running heads back.
\label{full_version} %Include this label to make cross references work right when typesetting full text
\include{excerpts-tex/ch01-excerpts}
%Bibstuff
%If the {part:CT} label is found, LaTeX will typeset separate bibliographies for sample passages and logical sources.
\iflabelexists{part:CT}{%text for CT version}
\defbibnote{sample}{\textit{ \large This bibliography includes all sources except for those that were used as examples for logical analysis, either in the main text or problem sets}}
\printbibliography [keyword=samplepassage, title=Bibliography of Sample Passages, prenote=sample, heading=bibnumbered] %for separate bibs sample passages and general citations
\printbibliography [notkeyword=samplepassage, title=General Bibliography, heading=bibnumbered] %for separate bibs sample passages and general citations
}% End CT version
{\printbibliography[heading=bibnumbered]} %single bib for non-CT version
%%The way I’ve set this up now is that there is one bib for sample passages and one bib for everything else. This means that it would not be possible to put one entry in both bibliographies. (This might be needed for Aristotle.) To do that, you will need to define a separate logicsource category
\setglossarysection{chapter}
\printglossaries
\end{document}