I am compiling a document on sharelatex.com. I would like to have a citation like "Smith (in press)". However, since I cannot edit the bibliography style's bst file online, I'm not sure how to fix this. I tried the solution with \noop
mentioned here, but it didn't work. How to enter publications "in press", or "submitted to" in BibTeX?
I am using the default ShareLaTeX settings, where it's compiled with pdflatex.
The bibtex file includes
@preamble{ " \newcommand{\noop}[1]{} " }
@unpublished{degen2016definitely,
title={Definitely, maybe: Approaching speaker commitment experimentally},
author={Degen, Judith and Scontras, Gregory and Trotzke, Andreas and Wittenberg, Eva},
note={in revision},
year={\noop{2016}in revision}
}
In the main file, I have the following packages loaded, and call the bibliography as follows:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{stmaryrd}
\usepackage{xparse} % for the main command
\usepackage{fullpage}
\usepackage{textgreek}
\usepackage{qtree}
\usepackage[normalem]{ulem}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{bm}
\usepackage{booktabs}
\usepackage{csquotes}
\usepackage{graphicx}
\usepackage{tabulary}
\usepackage{gb4e}
\usepackage{natbib}
\bibliographystyle{apalike}
\bibliography{adam.bib}
.bst
files and\noop
and link to a BibTeX question, that makes me think you use BibTeX. But you have tagged your questionbiblatex
.biblatex
and BibTeX are fundamentally incompatible. Please show us a full MWEB/MWE, so we can really see what is going on at your end. – moewe Jun 7 '17 at 6:58biblatex
as an alternative, you could look at tex.stackexchange.com/a/367423/105447 for a start. – gusbrs Jun 7 '17 at 11:55