I want to cite an online brochure, but there is no author name, it is a brochure of a company. How can I cite this in BibTeX?
[Tex/LaTex] How to cite an online brochure
bibtexcitingonline
Related Solutions
Here's a way, that requires special formatting of the author
field in the .bib
file.
\begin{filecontents*}{\jobname.bib}
@article{oasis,
author={{\acroauthor{Organization for the Advancement of Structured Information Standards}{OASIS}}},
title={Some title},
journal={J. Something},
year={2012},
}
\end{filecontents*}
\documentclass{article}
\usepackage[authoryear]{natbib}
\usepackage{etoolbox}
\newif\ifabbreviation
\pretocmd{\thebibliography}{\abbreviationfalse}{}{}
\AtBeginDocument{\abbreviationtrue}
\DeclareRobustCommand\acroauthor[2]{%
\ifabbreviation #2\else #1 (\mbox{#2})\fi}
\begin{document}
Here it is \citep{oasis}
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}
Notes: the filecontents*
is just to keep the example selfcontained; if you want only the expanded name in the references section, change
#1 (\mbox{#2})\fi
into
#1\fi
Important: don't forget the additional braces around \acroauthor{...}{...}
, which are essential for the correct sorting by author.
This can be modified to expand the acronym the first time it is used in a citation. Remove the first %
in the line marked <-----
if you want to show the acronym also the first time, together with the expanded text, which is what's done usually to help readers.
\begin{filecontents*}{\jobname.bib}
@article{oasis,
author={{\acroauthor{Organization for the Advancement of Structured Information Standards}{OASIS}}},
title={Some title},
journal={J. Something},
year={2012},
}
\end{filecontents*}
\documentclass{article}
\usepackage[authoryear]{natbib}
\usepackage{etoolbox}
\newif\ifabbreviation
\pretocmd{\thebibliography}{\abbreviationfalse}{}{}
\AtBeginDocument{\abbreviationtrue}
\DeclareRobustCommand\acroauthor[2]{%
\ifabbreviation
\ifcsname acroused@#2\endcsname
#2%
\else
#1%
%~(\mbox{#2})% <----
\expandafter\gdef\csname acroused@#2\endcsname{}%
\fi
\else
(\mbox{#2})%
\fi
}
\begin{document}
Here it is \citep{oasis}
A second time \citep{oasis}
\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}
The ieeetr
bibliography style is one of the original BibTeX styles. It dates back to (at least) the early 1990s. As such, maybe unsurprisingly, it's not programmed to do anything with a url
field.
I suggest you use the IEEEtranN
bibliography style instead. It is much newer and does know how to process the url
field. It also doesn't ignore the address
field. If you follow this approach, you should load the natbib
package with the option numbers
. In addition, you may want to drop the string "Online" from the note
field, since the string "[Online]. Available:" is prefixed to the url
field by the IEEEtranN style.
A separate remark: I'm afraid I don't understand a single word of Finnish, but I suspect that one or more of the words Vuosineljännes
, Liitekuvio
, and Sähkön
should not be converted to lowercase by BibTeX. If this hunch is correct, you should encase the words in curly braces, to exempt them from the "sentence style" conversion that's applied by the IEEEtranN bibliography style to the contents of title
fields.
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{task.bib}
@misc{ stat_suomi_90_14,
author = "Tilastokeskus",
title = "4. Vuosineljännes 2014, Liitekuvio 12. Sähkön tuonti ja vienti 1990–2014*",
address = "Helsinki",
url = "http://www.stat.fi/til/ehk/2014/04/ehk_2014_04_2015-03-23_kuv_012_fi.html",
note = "visited 6-May-2015"
}
\end{filecontents}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{url}
\usepackage[numbers]{natbib}
\bibliographystyle{IEEEtranN}
\begin{document}
\nocite{*}
\bibliography{task}
\end{document}
Best Answer
Here's one possibility; I used "Telespazio" in the author field, and
2010
for the year (see little text to the right, on the last page in the brochure):