Skip navigation

Need to cite Twitter posts in your LaTeX documents? Of course you do! Want someone else to modify the utphys BibTeX style to add a “@TWEET” option so you don’t have to do it yourself? Of course you do!

Style file:

Example document:

\documentclass[aps,amsmath,amssymb]{revtex4}
\usepackage{amsmath,amssymb,hyperref}

\begin{document}
\bibliographystyle{utphystw}

\title{Test}
\author{Blake C. Stacey}
\date{\today}

\begin{abstract}
Only a test!
\end{abstract}

\maketitle

As indicated, this is only 
a test.\cite{stacey2011,sfi2011}

\bibliography{twtest.bib}

\end{document}

And the example bibliography file:

@TWEET{stacey2011,
       author={Blake Stacey},
       authorid={blakestacey},
       year={2011},
       month={July},
       day={25},
       tweetid={95521600597786624},
       tweetcontent={I find it hard to tell, in some 
                     areas of science, whether I am 
                     a radical or a curmudgeon.}}

@TWEET{sfi2011,
       author={anon},
       authorid={OverheardAtSFI},
       year={2011},
       month={June},
       day={23},
       tweetid={84018131441422336},
       tweetcontent={The brilliance of the word 
                     ``Complexity'' is that it 
                     means just about anything 
                     to anybody.}}

PDF output: