[LaTeX] Renaming the bibliography section title using BibTeX

Sometimes we need to rename default “References” to “Recent publications”, or what ever you would like to change it to.

This depends on the document class. The command may be:

\renewcommand\refname{Recent publications} 


\renewcommand\bibname{Recent publications}

(Add the command to your preamble. Sometimes if it does not work, try to add the new definition after \begin{document}. )

[LaTeX] Include a reference in the bibliography without citing it in the text

Sometimes when we are writing documents  (e.g., for some applications), where it may require a list of recent publications – in this case, we need to list the references without citing it in the text body. The solution is:

Use \nocite{keyname} for a single input in the references without marking it in the document. To mark any key in the .bib file use \nocite{*}

write \nocite{*} for all entries in the bib data file or \nocite{key} for a single one, which is not cited in the text. Place these commands anywhere in your text body. I prefer the place before printing the bib.


For example:

    author = "NAME",
    date = "YEAR",
    howpublished = "ACM Digital"







Online LaTeX Editors: ShareLaTeX vs Overleaf (formerly WriteLaTeX)


Now ShareLaTeX and Overleaf are teamed up, so we do not need to worry about choosing which. We just need to use the merged online LaTeX Editor here: Online LaTeX Editor Overleaf.


ShareLaTeX is an online LaTeX editor that allows real-time collaboration and online compiling of projects to PDF format.  Overleaf (formerly called WriteLaTeX) is another popular online LaTeX editor that allows collaborative LaTex editing. See the post Comparison: ShareLaTeX vs Overleaf (formerly WriteLaTeX) for more details about the comparison.

Some main points from the comparison:


  • word count
  • compiles faster
  • autocomplete is more robust: it works with package and custom commands
  • It doesn’t spawn multiple browser windows/tabs like Overleaf


  • many templates for all kinds of documents and scientific journals
  • support for collaborative editing
  • word count is supported now
  • the free version supports Git. It is possible to clone your project to your computer, work on it offline, commit your changes, pull new changes, etc.
  • you can download your bibliography directly from Zotero (so you can just click refresh, rather than export a bib file from your computer then upload it).
  • autocompile and better editor/preview position sync.

Main differences:

  • about the use of BibTeX:
    Overleaf gives you popup access to a search windows when typing \citep{}, making easy to find the key you want to use; while ShareLaTeX does nothing.
  • for privacy some users probably preferred ShareLaTeX because the documents are private. In free Overleaf, whoever has the document url can edit, even though now you can get Read only-links for Overleaf projects.
  • free versions comparison: Overleaf Plans and Pricing vs ShareLaTex Plans & Pricing
  • free version of ShareLaTeX:

My conclusions:

I have tried both, and I personally prefer ShareLaTeXShareLaTeX is better than Overleaf because of the slightly better feature set.

In ShareLaTeX, even in free version, your projects are private. But in Overleaf you need to use Pro version to get this benefit.

ShareLaTeX is better for users with LaTeX experience. Whereas Overleaf is good for users who have few LaTeX experience, because it supports both Rich text and LaTeX.

I have the similar conclusion as what this post describes: ShareLaTeX and latexdiff are two LaTeX gems. See my post for the usage of latexdiff.

(Thanks Guido for recommending ShareLaTeX and Overleaf to me.)

A Collection of English Dictionaries

This post provides links to some English dictionaries for your and for my own convenience.


My favorite quotes about research and science

  • "To those who devote their lives to science, nothing can give more happiness than making discoveries, but their cups of joy are full only when the results of their studies find practical applications" 
    ― Louis Pasteur
  • “The secret of getting ahead is getting started. The secret of getting started is breaking your complex overwhelming tasks into small manageable tasks, and starting on the first one.” 
    ― Mark Twain
    "Expect and hope that a quarter of your projects fail. If not, you're not taking enough risks."
    ― Adam Smith
  • "Research is a formalized curiosity. It is poking and prying with a purpose." 
    ― Zora Neale Hurston, 1942
  • "Do not follow where the path may lead. Go instead where there is no path and leave a trail."
    ― Ralph Waldo Emerson
  •  "Science is a way of thinking much more than it is a body of knowledge."
    ― Carl Sagan
  • “Science progresses best when observations force us to alter our preconceptions.” 
    ― Vera Rubin
  • “The best journalism is like a map. It shows where you are in relation to others; it provides a sense of topography, a glimpse into a new world, or a better understanding of a familiar one.”
    ― Krissy Clark, journalist
    Saw it from:
    Sui, Daniel, and Michael Goodchild. "The convergence of GIS and social media: challenges for GIScience." International Journal of Geographical Information Science 25, no. 11 (2011): 1737-1748.
  • The first great thing is to find yourself and for that you need solitude and contemplation - at least sometimes. I can tell you deliverance will not come from the rushing noisy centers of civilization. It will come from the lonely places.   
     ― Fridtjof Nansen
  • “If we knew what it was we were doing, it would not be called research, would it?” 
     ― Albert Einstein