Wrapper to LaTeX natbib package

Timothy Rice 25cb147ff6 Add ksfh_nat style 6 年之前
LICENSE.md d293588068 Initial commit. 8 年之前
README.md 2b6fd786c5 Add installation instructions. 8 年之前
habib.sty 25cb147ff6 Add ksfh_nat style 6 年之前

README.md

Habib

Habib (حبيب), meaning friend in Maltese, is a wrapper for LaTeX's natbib package.

It sets default options to friendly values and also lets you set the bibliographystyle as a package option (plainnat by default). Furthermore, you can pass citeall as a package option, to save typing \nocite{*} when you're just trying to test things out.

Installation

On Unix:

ln -sv /path/to/habib/habib.sty ~/texmf/tex/latex/

Sample file

\RequirePackage{filecontents}

% bibliography file
\begin{filecontents}{main.bib}
@book{knuth-texbook-1986,
  title={The {\TeX}book},
  author={Knuth, Donald and Bibby, Duane},
  volume={1993},
  year={1986},
  publisher={Addison-Wesley Reading, Mass.}
}
\end{filecontents}

\documentclass{article}
\usepackage[citeall]{habib}

\begin{document}
\bibliography{main}
\end{document}