down vote
favorite
I divided my bibliography into 2 parts: Literature and online sources in this manner:
Code: Select all
\usepackage[table,xcdraw]{xcolor}
\usepackage[square, numbers, comma, sort&compress]{natbib}
% Use the natbib reference package - read up on this to edit the reference style; if you want text (e.g. Smith et al., 2012) for the in-text references (instead of numbers), remove 'numbers'
\usepackage [labeled,resetlabels]{multibib}
\newcites{O}{Online Sources}
Code: Select all
\bibliographystyle{plainnat}
% Use the "unsrtnat" BibTeX style for formatting the Bibliography
\bibliography{Bibliography,Master}
%For online sources
\bibliographystyleO{plainnat}
\bibliographyO{WWW}
but in the text i have still [1] instead of [O1]
I read a lot of posts considering this issue but nothing solved my issue.
So I tried to make a work around \citeO [O][]{refexample} would result in [O 1] whereas O is not a link!
So i tried to renewcommand but i don't know the syntax. i want to do something like this:
Code: Select all
\renewcommand*{\citeO}[1]{"O"+\citeO{#1}}
I use Overleaf there it results as [1] in the text, compiled with Texstudio v. 10 I get [?]. I use \cite and \citeO for referencing in the text.
How can I fix this?