0

The MWE of my code is shown below

\documentclass{article}
%\usepackage{filecontents}
\usepackage[authoryear]{natbib}

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,anchorcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,bookmarksnumbered=true}

\begin{document}

    Here initial concepts\citep{hocman1988chemoprevention} and conditions are explained and
    several hypothesis\citep{defendi1955quantitative} are mentioned in brief.   \citep{kristan2009new} did the initial work in this area. But in Struss' work \citep{vukovic1993identification}  the definitive model is seen \citep{Ratnakarthesis}.

    \bibliographystyle{apa}
    \bibliography{sample.bib}

\end{document}

The content of sample.bib is

@article{hocman1988chemoprevention,
    title={Chemoprevention of cancer: selenium},
    author={Hocman, Gabriel},
    journal={International Journal of Biochemistry},
    volume={20},
    number={2},
    pages={123--132},
    year={1988},
    publisher={Elsevier}
}

@article{defendi1955quantitative,
    title={Quantitative estimation of succinic dehydrogenase activity in a single microscopic tissue section},
    author={Defendi, Vittorio and Pearson, Bjarne},
    journal={Journal of Histochemistry \& Cytochemistry},
    volume={3},
    number={1},
    pages={61--69},
    year={1955},
    publisher={SAGE Publications Sage UK: London, England}
}

@article{kristan2009new,
    title={New high-throughput fluorimetric assay for discovering inhibitors of UDP-N-acetylmuramyl-L-alanine: D-glutamate (MurD) ligase},
    author={Kristan, Katja and Kotnik, Miha and Oblak, Marko and Urleb, Uro{\v{s}}},
    journal={Journal of biomolecular screening},
    volume={14},
    number={4},
    pages={412--418},
    year={2009},
    publisher={Sage Publications}
}

@incollection{vukovic1993identification,
    title={Identification of natural antimutagens with modulating effects on DNA repair},
    author={Vukovi{\'c}-Ga{\v{c}}i{\'c}, Branka and Simi{\'c}, Draga},
    booktitle={Antimutagenesis and Anticarcinogenesis Mechanisms III},
    pages={269--277},
    year={1993},
    publisher={Springer}
}

@PhdThesis{Ratnakarthesis,
    author = {Ratnakar, P.},
    title  = {Biochemical studies of Allium sativum Linn.(Garlic)},
    school = {Delhi University},
    year   = {1992},
    type   = {Ph.D Thesis},
}

Its output is

enter image description here

But according to my university guidelines,the bibliography should be like belowenter image description here

So my requirements are

1.Remove the bracket from year [Eg. (1955) to 1955 ]

2.Change the journal name to regular type instead of italic type [Journal of biomolecular screening to Journal of biomolecular screening].

Anybody please help me.

8
  • Could you consider using biblatex? It's easier to customise.
    – Bernard
    Commented Jun 11, 2017 at 22:24
  • @Bernad : My template has already modelled for bibtex Commented Jun 12, 2017 at 0:50
  • @Bernad:Anyway How it is possible in BibLaTeX.Please explain. Let me try to change my thesis to BibLaTeX Commented Jun 12, 2017 at 0:58
  • You can use Biblatex with the natbib compatibility mode. So unless you are working on a submission for publication, switching might not be much work.
    – cfr
    Commented Jun 12, 2017 at 1:43
  • 1
    @Bernad: I am on final submission stage of my thesis. Please help me customize with Bibtex Commented Jun 12, 2017 at 1:52

1 Answer 1

1

Here is a way with biblatex:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{filecontents}
\usepackage[backend=biber, style=authoryear, giveninits, natbib]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\begin{filecontents}{sample.bib}
  @article{hocman1988chemoprevention,
    title={Chemoprevention of cancer: selenium},
    author={Hocman, Gabriel},
    journal={International Journal of Biochemistry},
    volume={20},
    number={2},
    pages={123--132},
    year={1988},
    publisher={Elsevier}
}

@article{defendi1955quantitative,
    title={Quantitative estimation of succinic dehydrogenase activity in a single microscopic tissue section},
    author={Defendi, Vittorio and Pearson, Bjarne},
    journal={Journal of Histochemistry \& Cytochemistry},
    volume={3},
    number={1},
    pages={61--69},
    year={1955},
    publisher={SAGE Publications Sage UK: London, England}
}

@article{kristan2009new,
    title={New high-throughput fluorimetric assay for discovering inhibitors of UDP-N-acetylmuramyl-L-alanine: D-glutamate (MurD) ligase},
    author={Kristan, Katja and Kotnik, Miha and Oblak, Marko and Urleb, Uro{\v{s}}},
    journal={Journal of biomolecular screening},
    volume={14},
    number={4},
    pages={412--418},
    year={2009},
    publisher={Sage Publications}
}

@incollection{vukovic1993identification,
    title={Identification of natural antimutagens with modulating effects on DNA repair},
    author={Vukovi{\'c}-Ga{\v{c}}i{\'c}, Branka and Simi{\'c}, Draga},
    booktitle={Antimutagenesis and Anticarcinogenesis Mechanisms III},
    pages={269--277},
    year={1993},
    publisher={Springer}
}

@PhdThesis{Ratnakarthesis,
    author = {Ratnakar, P.},
    title = {Biochemical studies of Allium sativum Linn.(Garlic)},
    school = {Delhi University},
    year = {1992},
    type = {Ph.D Thesis},
}
\end{filecontents}

\usepackage{xpatch}
 \xpatchbibmacro{date+extrayear}{%
\printtext[parens]
 }{%
\printtext}{}{}

\DeclareFieldFormat{journaltitle}{#1}
\DeclareFieldFormat{booktitle}{#1}

\setlength{\bibhang}{3.5em}

\DeclareCiteCommand{\parencite}[\mkbibparens]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\printtext[bibhyperref]{\usebibmacro{cite}}}
{\multicitedelim}
{\usebibmacro{postnote}}

\addbibresource{sample.bib}

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,anchorcolor=blue,citecolor=blue,filecolor=blue,urlcolor=blue,bookmarksnumbered=true}

\begin{document}

    Here initial concepts\citep{hocman1988chemoprevention} and conditions are explained and
    several hypothesis\citep{defendi1955quantitative} are mentioned in brief. \citep{kristan2009new} did the initial work in this area. But in Struss' work \citep{vukovic1993identification} the definitive model is seen \citep{Ratnakarthesis}.

    \printbibliography

\end{document} 

enter image description here

12
  • In last reference some italics is shown Commented Jun 12, 2017 at 9:18
  • That is the normal behaviour: it's the title of a book. You want book titles in roman too?
    – Bernard
    Commented Jun 12, 2017 at 9:20
  • Also, only year is hyperlinked in the text Commented Jun 12, 2017 at 9:21
  • Ive solved the book title problem. For the hyperlink problem, I don't have time at the moment, I'll seek for a solution later today.
    – Bernard
    Commented Jun 12, 2017 at 9:28
  • @RenjthVRavi: Finally, I had time for a solution. Please see my updated answer.
    – Bernard
    Commented Jun 12, 2017 at 9:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .