Generalcitation with APA not working

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
waelyafooz
Posts: 7
Joined: Fri Dec 06, 2013 2:46 pm

citation with APA not working

Post by waelyafooz »

[/code]Hi all ,
I need your help.

i try to use the following code for citation but not working .

Code: Select all

\documentclass[10pt,a4paper]{article}

\usepackage{apacite}

\usepackage{cite} \begin{document} ~\cite{Abuelyaman2008} ~\cite{Abuelyaman2008}

ssssssssss\citep{Agrawal2002}

\bibliographystyle{apacite} \bibliography{VSM_references}

\end{document}
i want to show author name and year if one author but if three author just show me first author and et al.

many thanks in advance Ayham

Recommended reading 2024:

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

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

waelyafooz
Posts: 7
Joined: Fri Dec 06, 2013 2:46 pm

citation with APA not working

Post by waelyafooz »

Many thanks i got the answer but i face the another problem which is how can i show the author name with user as text cite
as following
Abuelyaman (2008) pointed that mmmmmmmmmmm

i used

Code: Select all

\textcite(Abuelyaman 2008 )pointed that mmmmmmmmmmm
but not working is there any help

Code: Select all

\documentclass{article}
\usepackage{apacite}
\bibliographystyle{apacite}

\usepackage{filecontents}
\begin{filecontents}{sample.bib}
@book{abk,
  author    = "A. Man , and A. Woman ,and Second Man ,and Third Man and Fourth Man and Second Woman and Third Woman and Fourth Woman and Fifth Man",
  title     = "This book",
  publisher = "Men \& Women",
  year      = 2025,
}

@ARTICLE{Jhingran2002,
  author = {A. D. Jhingran and N. Mattos and H. Pirahesh},
  title = {Information integration:A research agenda},
  journal = {IBM SYSTEMS JOURNAL, 2002},
  year = {2002},
  volume = {Vol. 41, NO 4},
  owner = {UiTm},
  timestamp = {2013.09.09}
}

@ARTICLE{Abuelyaman2008,
  author = {Eltayeb, Salih Abuelyaman, and  Ali, mohamed Yafooz},
  title = {An Optimized Scheme for Vertical Partitioning of a Distributed Database},
  journal = {IJCSNS International Journal of Computer Science and Network Security},
  year = {2008},
  volume = {VOL.8 No.1},
  pages = {310-316},
  owner = {DELL2},
  timestamp = {2013.03.31}
}

\end{filecontents}

\begin{document}
\renewcommand{\BBAA}{and}  % between authors in parenthetical cites and ref. list
\renewcommand{\BBAB}{and} % between authors in in-text citation
\renewcommand{\BAnd}{and}  % for ``Ed. \& Trans.'' in ref. list
Found in \cite{abk}. hhhhhgghhhhhhh \cite{Jhingran2002}
dhhdhhd \cite{Jhingran2002} hahdhad \cite{Abuelyaman2008}



\bibliography{sample}
\end{document}
Post Reply