Difference between revisions of "Template:BibCite"

From Planck PLA Wiki
Jump to: navigation, search
Line 1: Line 1:
{{#tag:ref|{{#switch: {{{1}}}
+
<noinclude>
 +
==Description==
 +
The template <tt>PlanckPapers</tt> produces references for papers cited in the text. T
 +
The syntax of <tt>PlanckPapers</tt> is
 +
<pre>
 +
{{BibCite|label}}
 +
</pre>
 +
where the only parameter is as follows:
 +
;<tt>label</tt>
 +
:label used to cite the paper in LaTeX;
 +
==Examples==
 +
===Citing a paper in the text===
 +
'''What you type'''
 +
<pre>
 +
{{BibCite|huffenberger2010}}
 +
</pre>
 +
'''How it appears'''
 +
 
 +
A very interesting result can be found in {{BibCite|huffenberger2010}}.
 +
 
 +
===Displaying the list of references at the end of the page===
 +
The convention followed in the Planck Explanatory Supplement is for the references to appear in the last section of each page. In order to achieve this, we suggest using:
 +
<pre>
 +
==References==
 +
<references />
 +
</pre>
 +
This is how the list of references below was created.
 +
 
 +
= References =
 +
<References />
 +
</noinclude><includeonly>{{#tag:ref|{{#switch: {{{1}}}
 
|planck2013-p01=[http://arxiv.org/abs/1303.5062 '''Planck 2013 results: Overview of Planck Products and Scientific Results'''], Planck Collaboration 2013 I, A&A, in press, (2014).
 
|planck2013-p01=[http://arxiv.org/abs/1303.5062 '''Planck 2013 results: Overview of Planck Products and Scientific Results'''], Planck Collaboration 2013 I, A&A, in press, (2014).
 
|planck2013-p02=[http://arxiv.org/abs/1303.5063 '''Planck 2013 results: The Low Frequency Instrument data processing'''], Planck Collaboration 2013 II, A&A, in press, (2014).
 
|planck2013-p02=[http://arxiv.org/abs/1303.5063 '''Planck 2013 results: The Low Frequency Instrument data processing'''], Planck Collaboration 2013 II, A&A, in press, (2014).

Revision as of 16:28, 25 July 2014

Description

The template PlanckPapers produces references for papers cited in the text. T The syntax of PlanckPapers is

{{BibCite|label}}

where the only parameter is as follows:

label
label used to cite the paper in LaTeX;

Examples

Citing a paper in the text

What you type

{{BibCite|huffenberger2010}}

How it appears

A very interesting result can be found in [1].

Displaying the list of references at the end of the page

The convention followed in the Planck Explanatory Supplement is for the references to appear in the last section of each page. In order to achieve this, we suggest using:

==References==
<references />

This is how the list of references below was created.

References

  1. Measuring Planck beams with planets, K. M. Huffenberger, B. P. Crill, A. E. Lange, K. M. Górski, C. R. Lawrence, A&A, 510, A58+, (2010).