MooersLab / annotatedBibliography

Annotated bibliography template in LaTeX for specific writing projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version License: MIT

Annotated bibliography template in LaTeX for specific writing projects

These files support the automated generation of an annotated bibliography in LaTeX. The AnnoBib.tex file is the master file. It uses the ** field in the BibTeX entry in cited.bib. Its style is set by plain-.bst, which must be present unless this file is stored in your library of files for LaTeX on your local computer.

To write out the cited bib entries in a manuscript that come from global.bib, use the command line program bibtool with the main.tex file's corresponding main.aux file:

Run the following code to generate a bib file of the papers cited in a manuscript. Note that main.tex is the manuscript file. The main.aux file is hidden on Overleaf. Find it under the "Logs and outputs" pulldown menu.

The following command will preserve the letter case in the cite key. The default behavior is to lower the case.

bibtool --preserve.key.case=on -x main.aux > cited.bib

Bibtool is distributed with LaTeX.

Manually add annote fields to the AnnoBibMyBDA.bib file and enter your annotations. Or, if you are more disciplined, you can add the annote fields in a global.bib file and repeat the extraction of the cited entries when you are finished. All entries in cited.bib will be used to create the annotated bibliography regardless of whether the annote field is present.

I store these files in a annotatedBibliography subfolder in my writing project's folder. These files work on Overleaf, too.

Alternative bibliographic styles

Alternatively, you can use the IEEEannot.bst bibliography style file which returns numbered entries in alphabetic order.

Fields with multiple paragraphs

I have found no support for blank lines between paragraphs in the annotation. I wrap each paragraph in \par{\noindent .... } to have the paragraphs printed in block format. I insert \vspace{10pt} between paragraphs to generate a blank line between paragraphs.

Colored annotations

You can color the annotation blue.

  • Load the color or xcolor package with the \usepackage{xcolor} macro in the preamble of the main.tex file.
  • Add the macro \color{blue} to the line in the *.bst file that describes the format of the annote field.

You could also print the annotation in bold or italics.

Support beyond text

Your annotated bibliography can be spiced up: You can include lists, display math, computer code blocks, figures, and tables in the annote fields.

Related projects of possible interest

Version History

Version Changes Date
Version 0.2 Added Update table to README.md 2024 April 7
Version 0.3 Edit the README.md heavily. 2024 April 17

Sources of Funding

  • NIH: R01 CA242845
  • NIH: R01 AI088011
  • NIH: P30 CA225520 (PI: R. Mannel)
  • NIH P20GM103640 and P30GM145423 (PI: A. West)

About

Annotated bibliography template in LaTeX for specific writing projects

License:MIT License


Languages

Language:TeX 95.8%Language:Shell 4.2%