在我的论文中,我需要参考书目中的网页参考如下所示:
[#] 作者(年份)。标题。 可用的: http://www.uia.no/no/portaler/bibliotek/finn_fagstoff
我需要将标题改为斜体,并将“可用”改为“Tilgjengelig”(挪威语)。现在它显示“side”,意思是页面。当我使用@online 时,参考就是我想要的,只是标题不是斜体,而且它显示的是“side”(页面)而不是 tilgjengelig(可用)。我不知道如何上传文件。我将所有内容粘贴到这里:
\documentclass[12pt]{report}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[norsk]{babel}
\usepackage[
backend=biber,
style=ieee,
sorting=none
]{biblatex}
\addbibresource{referanser.bib}
\begin{document}
\chapter{Test}
Blablabla
\nocite{*}
\renewcommand{\bibname}{Litteraturliste}
\printbibliography
\end{document}
这是我的参考文献: 我的参考文献:
@book{barbero2013,
address = {Boca raton, Florida},
author = {Barbero, Ever J},
booktitle = {Composite materials: Analysis and design},
keywords = {elementmetoden,komposittmaterialer,matematiske,modeller},
publisher = {CRC Press},
title = {{Finite element analysis of composite materials using Abaqus}},
year = {2013}
}
@book{bunsell2005,
address = {Bristol},
author = {Bunsell, A R and Renard, J},
keywords = {Fiberforsterkede komposittmaterialer,fiber,forsterkninger,kompositter,komposittmaterialer,materialer},
publisher = {Institute of Physics Publishing},
title = {{Fundamentals of fibre reinforced composite materials}},
year = {2005}
}
@misc{hovland2011,
author = {Hovland, G},
title = {{Mekatronikk Labfasiliteter}},
url = {http://old.uia.no/no/portaler/om\_universitetet/teknologi\_og\_realfag/-\_ingenioervitenskap/-\_-\_mekatronikk/lab},
year = {2011}
}
@online{byg402,
author = {{Universitetet i Agder}},
title = {{BYG402-G Elementmetoden i konstruksjoner}},
url = {http://old.uia.no/portaler/student/studierelatert/studiehaandbok/14-15/emner/byg402},
year = {2014}
}
@book{zenkert1996,
address = {Stockholm},
author = {Zenkert, D and Battley, M},
publisher = {Kungliga Tekniska h\"{o}gskolan},
title = {{Foundations of fibre composites}},
year = {1996}
}
@misc{iso3451,
title = {Plastics : Determination of ash. Part 1: General methods},
howpublished = {ISO3451-1},
year = {2008}
}
@misc{iso527,
title = {{Plastics - Determination of tensile properties - Part 5: Test conditions for unidirectional fibrereinforced plastic composites}},
howpublished = {ISO-527},
year = {2009}
}
答案1
您可以使用xpatch
包来实现这一点。我认为以下内容与您想要的条目相对应online
:
\documentclass[12pt]{report}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fourier}
\usepackage{filecontents}
\begin{filecontents}{referanser.bib}
@online{Ibsen90,
author = {Henrik Ibsen},
title = {Hedda {G}abler},
year = {1890},
url = {http://www.uia.no/no/portaler/bibliotek/finn_fagstoff}}
\end{filecontents}
\usepackage[norsk]{babel}
\usepackage[
backend=biber,
style=ieee,
sorting=none
]{biblatex}
\addbibresource{referanser.bib}
\DeclareFieldFormat[online]{title}{\mkbibemph{#1}\isdot}
\DefineBibliographyStrings{norsk}
{ bibliography = {Litteraturliste},
url = {Tilgjengelig},
}
\usepackage{xpatch}
\xpatchbibdriver{online}{%
\setunit{\adddot\addspace}%
\printtext[parens]{\usebibmacro{date}}%
}{%
\setunit{\addspace}%
\printtext[parens]{\usebibmacro{date}}%
}{}{}
\xpatchbibdriver{online}{%
\newunit\newblock%
\usebibmacro{url+urldate}%
}{%
\setunit{\adddot\space}\newblock%
\usebibmacro{url+urldate}%
}{}{}
\xpatchbibdriver{online}{%
\usebibmacro{finentry}}
{%
}{}{}
\begin{document}
\nocite{*}
\printbibliography
\addcontentsline{toc}{chapter}{Bibliographie}
\end{document}