philosophy.sty

Philosophy.sty is designed to set any LaTeX2e article document class file according to current formatting conventions within philosophy. It is ideally suited for submitting manuscripts to conferences or journals, where only a printable pdf is required. The output is designed to make your manuscript appear as though it was prepared with standard word processing software.

There are two parts to this solution. The first part handles the general layout and typesetting (e.g., the margins, justification, spacing) instructions for the body of the paper. This is managed by the file philosophy.sty, which is a modification of Allin Cottrell's aptly named brain_damage.sty. The main difference is that brain_damage.sty sets text in typewriter font, whereas philosophy.sty uses roman for both mathematics and text.

The second issue concerns how the references and citations appear. I use the tools provided by natbib and the bibilographic style provided by apalike. I also include one line of code to get rid of the comma between author and year in the default setting for citations. And that's it.

The idea is that by keeping these two pieces separate, the formatting for the text and the formatting for your references, you may then 'comment out' philosophy.sty to quickly turn it off, which allows you to switch between typesetting a double-spaced manscript and typesetting according to the style of your preferred article class. Installation instructions are given below.

Bug reports are welcome, but beware that this is unsupported software. It works for my limited purposes, but I make no warranties or guarantees that it will work for your own.

-Gregory Wheeler

Files to Download

You will need to install the following in your texmf tree


Instructions

On Mac OS X, your local texmf tree is in the Library folder.

You will need to use this line of code in each of your source (.tex) files after all of these packages are called:

\bibpunct{(}{)}{,}{a}{}{,}

which changes the punctuation of citations to conform to current philosophy manuscript conventions.

Some example citation keys and their outputs:

citation key
output
\citet{Glymour:2007} Glymour (2007)
\citep{Glymour:2007} (Glymour 2007)
\citep[see][194]{Glymour:2007} (see Glymour 2007, 194)
\citeyearpar{Glymour:2007} (2007)

See this reference page for natbib for more citation keys. Finally, you need to use the endnotes package, which is part of the standard distribution, or turn off (comment out) endnotes within philosophy.sty. To use endnotes, you will need to insert:

\noteshere

in your source file at the location where you would like the notes to appear.

Example

Compiling the example code below yields an example typeset in philosophy.sty. Placing a '%' sign in front of \usepackage{endnotes,philosophy} and a '%' sign in front of \noteshere turns off philosophy.sty and endnotes, which allows you to compile a normal typeset article.

 

%%LaTeX for Philosophers Example August 27, 2009
%
\documentclass[a4paper,11pt]{article} %options: [a4paper, leqno, 11pt]
%\documentclass{amsart}
\usepackage{endnotes,philosophy}

% -----Page Style-------------
\pagestyle{plain}

% -----Symbols----------------

\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{graphicx}

% -----Bibliography----------

\usepackage{natbib}
%\bibliographystyle{OUPnum}
\bibliographystyle{apalike}
%\bibliographystyle{plain}
% \citet{Smith:2005} ==> Smith (2005)
% \citep{Smith:2005} ==> (Smith, 2005)
% \citep[see][ ]{Smith:2005} ==> (see Smith, 1990)
% \citeyearpar{Smith:2005} ==> (2005)
\bibpunct{(}{)}{,}{a}{}{,}

% -----Text styles------------
\hyphenation{Bayes-ian}
\hyphenation{Bayes-ian-ism}

%\renewcommand{\labelenumi}{(\alph{enumi})} % enumerate in alpha characters

% -----Environments--------

\newtheorem{proposition}{\textbfb{Proposition}}[section]
\newtheorem{theorem}[proposition]{\textbf{Theorem}}
\newtheorem{lemma}[proposition]{\textbf{Lemma}}
\newtheorem{definition}[proposition]{\textbf{Definition}}
\newtheorem{example}[proposition]{\textbf{Example}}
\newtheorem{corollary}[proposition]{\textbf{Corollary}}
\newtheorem{principle}[proposition]{\textbf{Principle}}
\newtheorem{remark}[proposition]{\textbf{Remark}}
\newtheorem{algorithm}[proposition]{\textbf{Algorithm}}
\newtheorem{observation}[proposition]{\textbf{Observation}}

%%% TITLE %%

\title{\LaTeX \ for Philosophers Example}
\author{Professor You \\ {\small Department of \ldots} \\ {\small University of \ldots}}
\date{}

%%%%%%%%%%%%%
%%% DOCUMENT %%
%%%%%%%%%%%%%

\begin{document}
%\pagestyle{empty}
\pagestyle{plain}

\maketitle
\thispagestyle{empty}
%\begin{abstract}

%\end{abstract}

%\tableofcontents

 

\section{}
According to Ramsey \citeyearpar{Ramsey:1929}, you are willing to accept or assert a conditional `If $p$, then $q$' just when, if you were to add $p$ to your store of knowledge, your posterior probability for $q$ would be sufficiently high to warrant you to accept or assert $q$. But Glymour's aliens \citep[194]{Glymour:2007} maintain that\footnote
{See Numlock (1983) for a full account.

} \ldots

\section{}
Foi we a uoisf wlk goda asw qweoij sd aoij as wefoi asd as aoijgf h. Ojka sdf k alkj. Oiafg welk sd woij fd voa wen iuh sdv oik a a iojdf iajsdf as s oiw awoiu a sdfoiu a,
\begin{equation}
f(x) = \frac{A(x + h) - A(x)}{h}.
\end{equation} asdoiul. bhios:

\begin{theorem}
asdf oiu asdf: jp $[\![ A ]\!] \subsetneq [\![ B ]\!]$ rhin $A \prec B$.
\end{theorem}

 

\noteshere

\begin{thebibliography}{}

\bibitem[Glymour, 2007]{Glymour:2007}
Glymour, C. (2007).
\newblock Bayesian {P}tolemaic psychology.
\newblock In Harper, W. and Wheeler, G., editors, {\em Probability and
Inference: Essays in Honor of {H}enry {E}. {K}yburg, {J}r.}, pages 181--200.
King's College Publications.

\bibitem[Ramsey, 1929]{Ramsey:1929}
Ramsey, F.~P. (1990 (1929)).
\newblock General propositions and causality.
\newblock In Mellor, D.~H., editor, {\em Philosophical Papers}, pages 145--63.
Cambridge University Press.

\end{thebibliography}

%
% end
\end{document}

updated August 28, 2009