BibTeX, biblatex and biberProblems with \citet

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Nardo
Posts: 9
Joined: Sun Nov 21, 2010 5:22 pm

Problems with \citet

Post by Nardo »

Hi guys,

I have some troublem citing pages in the text.
I am using \citet[][page 1]{Hirschman1945} but this does not work.
I have installed the following packages

Code: Select all

\documentclass[12pt]{article}
%\usepackage[ngerman]{babel}
\usepackage{a4wide}
\usepackage{setspace}
\usepackage{geometry}
\geometry{a4paper, top=25mm, left=25mm, right=25mm, bottom=25mm}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{float}
\usepackage{lscape}
\usepackage{color}
\newcommand{\WichtigFarbe}{\color{blue}}%
\newcommand{\magenta}{\color{magenta}}%
\newcommand{\TextFarbe}{\color{black}}%
\definecolor{darkblue}{rgb}{0,0,0.5}
\definecolor{darkred}{rgb}{0.5,0,0}
\usepackage[colorlinks=true, pdfstartview=FitV, linkcolor=darkred,
            citecolor=darkblue, urlcolor=red]{hyperref}
\usepackage{appendix}
%\usepackage{natbib}
\usepackage{chicago}
%\usepackage{harvard}
\usepackage[hang,small,bf]{caption}
\usepackage{amsmath, amssymb}
\usepackage[ansinew]{inputenc}
\usepackage{longtable}
\usepackage[hang,small,bf]{caption}
\usepackage{appendix}
\usepackage{booktabs}
\newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}}
\usepackage[T1]{fontenc}
\usepackage{setspace}
\onehalfspacing
%\usepackage{vmargin}
\usepackage{fancyhdr}
\usepackage{threeparttable}

Code: Select all

\newpage
\pagenumbering{Roman} \setcounter{page}{4}
\addcontentsline{toc}{section}{Literature}
\bibliographystyle{apalike}
%\bibliographystyle{chicago}
%\bibliographystyle{harvard}
\bibliography{References}


\newpage
\addcontentsline{toc}{section}{Appendix}
\appendix
\section*{Appendix}



\clearpage
\end{document}
maybe you can help me somehow.

Thank you very much.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Problems with \citet

Post by frabjous »

The \citet command comes from the natbib package which you don't seem to be loading. I think natbib is incompatible with the chicago package, so you may need to drop that. Right now, it's a little confusing what you're trying to do with regard to the bibliography, since while you load the chicago package, you've commented out the chicago bibliographystyle line, and are using apalike instead. The natbib package is compatible with apalike, so maybe you can just drop the chicago package. But it's little hard to determine what you need in this regard, and what you don't.

In the future, please pay attention to these instructions on how to create a minimal working example -- it's much easier to test sample code when there isn't a lot of extranneous commands and packages unrelated to the problem, and if it comes as a complete example which can be compiled on its own.
Post Reply