LaTeX forum ⇒ BibTeX, biblatex and biberReference to Citation

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
KOR
Posts: 3
Joined: Mon Jun 30, 2014 6:40 pm

Reference to Citation

Postby KOR » Mon Jun 30, 2014 6:48 pm

Hi,
I like to reference a citation.
normally I do c=300000km/s\cite{google} :D
which returns c=300000km/s^{\[X\]}
but now I want to write somethich like: For further information see reference X
How can I do that
thank you for your help

Tags:

User avatar
Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jun 30, 2014 6:51 pm

Can you please expand that to a compilable minimal example? Right now i don't know what you want/need.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

KOR
Posts: 3
Joined: Mon Jun 30, 2014 6:40 pm

Postby KOR » Mon Jun 30, 2014 7:38 pm

Sorry for that
  1. \documentclass[12pt,a4paper,draft]{scrartcl}
  2. \usepackage[super,square,comma,sort&compress]{natbib}
  3. \begin{document}
  4. \section{Speed of light}
  5. The speed of light is 300000kms$^{-1}.$\cite{Bibliographygoogle}
  6. For further details see reference \ref{Bibliographygoogle}.
  7. \bibliography{../Bibtex/work.bib}{}
  8. \end{document}


output should look like this:
The speed of light is 300000kms$^{-1}.(superscript citation number one)
For further details see reference (citation number one in normal font size).
Last edited by cgnieder on Mon Jun 30, 2014 9:35 pm, edited 1 time in total.
Reason: changed code markup from inline to block

User avatar
Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jun 30, 2014 10:29 pm

First of all, you should have a look at package siunitx. It might be handy for you.

Furthermore, natbib is kind of old fashioned. If you have the choice, use biblatex in conjunctin with biber instead.

I still don't know exactly, what your ouput should be. But i guess you are looking for something like \citet{<bibkey>} or \citep{<bibkey>}.

Please read the information in the link about Minimal Working Examples above again.


Best regards
Johannes
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

KOR
Posts: 3
Joined: Mon Jun 30, 2014 6:40 pm

Postby KOR » Tue Jul 01, 2014 10:56 am

the \citet command was what I am looking for. Thanks for that. But since I have to use a certain bibliography style (\bibliographystyle{angewchem}) which uses numbers instead of author year. I get author is undefined in citation Bibliographygoogle.

User avatar
Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Jul 01, 2014 11:01 am

There is a biblatex style for that: biblatex-chem.


If you want any further help, please provide a minimal working example. My crystal ball is at the shop. I am not a psychic.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests