Historique des modifications [retour]
cliquez ici pour masquer/afficher la révision 4
liste

30 Mar '16, 17:42

Pathe's gravatar image

Pathe
7.6k49210252

Voici une solution qui consiste à redéfinir un nouvel environnement bibliographique copié du style par défaut (`numeric`). J'ai ici appelé deux styles : * un style `author-year` pour le support papier, papier, * et ce un style, préfixé de la lettre `N`, pour le support internet. internet. Si les deux étaient des styles numériques préfixés différemment, ce serait plus direct. Voici un code-exemple : \documentclass[12pt,german, english,french]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fourier} \usepackage{babel} \usepackage{csquotes}% recommended in output (biblatex) \usepackage[backend=biber, style = authoryear, autolang=other, defernumbers]{biblatex} \defbibenvironment{prefixnumeric} {\list {\printtext[labelnumberwidth]{% \mkbibbrackets{% \printfield{prefixnumber}% \printfield{labelnumber}}}} {\setlength{\labelwidth}{\labelnumberwidth}% \setlength{\leftmargin}{\labelwidth}% \setlength{\labelsep}{\biblabelsep}% \addtolength{\leftmargin}{\labelsep}% \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}}% \renewcommand*{\makelabel}[1]{\hss##1}} {\endlist} {\item} \usepackage{filecontents} \begin{filecontents}{otherbibli.bib} @online{msdn2, label = {MSDN2}, title = {Comparatif entre C\# et Visual Basic.NET}, author = {Microsoft}, date = {2014-01-01}, url = {http://support.microsoft.com/kb/308470}, urldate = {2014-04-12} } @online{msdn1, label = {MSDN1}, title = {Comparatif entre Visual Basic.NET et C\#}, author = {Microsoft}, date = {2016-01-01}, url = {http://support.microsoft.com/kb/308470}, urldate = {2016-03-12} } @Book{Neu, Title = {Mathematische Grundlagen des Quantummechanick}, Author = {John von Neumann}, Date = {1996}, Edition = {2}, Publisher = {Springer}, Langid = {german} } @Book{Schwartz, Title = {Topologie générale et Analyse fonctionnelle}, Author = {Laurent Schwartz}, Date = {1970}, Publisher = {Hermann} } @Article{Wigner, Title = {On Unitary Representations of the Inhomogeneous Lorentz Group}, Author = {Eugene P. Wigner}, Date = {1939}, Journaltitle = {Ann. Math.}, Number = {1}, Pages = {149-204}, Series = {2}, Volume = {40} } \end{filecontents} \addbibresource{otherbibli.bib} \begin{document} \nocite{*} \printbibliography[type=online,heading=subbibliography, title=Online, prefixnumbers ={N},env = prefixnumeric] \printbibliography[ nottype = online, heading=subbibliography, title =Printed]% \addcontentsline{toc}{chapter}{Bibliographie} \end{document} ![alt text][1] [1]: http://texnique.fr:80/osqa/upfiles/pbsubbiblio.png
cliquez ici pour masquer/afficher la révision 3

30 Mar '16, 17:36

Pathe's gravatar image

Pathe
7.6k49210252

Voici une solution, solution qui consiste à redéfinir un nouvel environnement bibliographique, bibliographique copié du style par défaut (`numeric`). (`numeric`). J'ai ici appelé un style `author-year` pour le support papier, et ce style , style, préfixé de la lettre `N` `N`, pour le support internet. Si les deux étaient des styles numériques préfixés différemment, ce serait plus direct. Code-exemple: Voici un code-exemple : \documentclass[12pt,german, english,french]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fourier} \usepackage{babel} \usepackage{csquotes}% recommended in output (biblatex) \usepackage[backend=biber, style = authoryear, autolang=other, defernumbers]{biblatex} \defbibenvironment{prefixnumeric} {\list {\printtext[labelnumberwidth]{% \mkbibbrackets{% \printfield{prefixnumber}% \printfield{labelnumber}}}} {\setlength{\labelwidth}{\labelnumberwidth}% \setlength{\leftmargin}{\labelwidth}% \setlength{\labelsep}{\biblabelsep}% \addtolength{\leftmargin}{\labelsep}% \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}}% \renewcommand*{\makelabel}[1]{\hss##1}} {\endlist} {\item} \usepackage{filecontents} \begin{filecontents}{otherbibli.bib} @online{msdn2, label = {MSDN2}, title = {Comparatif entre C\# et Visual Basic.NET}, author = {Microsoft}, date = {2014-01-01}, url = {http://support.microsoft.com/kb/308470}, urldate = {2014-04-12} } @online{msdn1, label = {MSDN1}, title = {Comparatif entre Visual Basic.NET et C\#}, author = {Microsoft}, date = {2016-01-01}, url = {http://support.microsoft.com/kb/308470}, urldate = {2016-03-12} } @Book{Neu, Title = {Mathematische Grundlagen des Quantummechanick}, Author = {John von Neumann}, Date = {1996}, Edition = {2}, Publisher = {Springer}, Langid = {german} } @Book{Schwartz, Title = {Topologie générale et Analyse fonctionnelle}, Author = {Laurent Schwartz}, Date = {1970}, Publisher = {Hermann} } @Article{Wigner, Title = {On Unitary Representations of the Inhomogeneous Lorentz Group}, Author = {Eugene P. Wigner}, Date = {1939}, Journaltitle = {Ann. Math.}, Number = {1}, Pages = {149-204}, Series = {2}, Volume = {40} } \end{filecontents} \addbibresource{otherbibli.bib} \begin{document} \nocite{*} \printbibliography[type=online,heading=subbibliography, title=Online, prefixnumbers ={N},env = prefixnumeric] \printbibliography[ nottype = online, heading=subbibliography, title =Printed]% \addcontentsline{toc}{chapter}{Bibliographie} \end{document} ![alt text][1] [1]: http://texnique.fr:80/osqa/upfiles/pbsubbiblio.png
cliquez ici pour masquer/afficher la révision 2

30 Mar '16, 14:14

Bernard's gravatar image

Bernard
4.6k15

cliquez ici pour masquer/afficher la révision 1

30 Mar '16, 03:48

Bernard's gravatar image

Bernard
4.6k15

C'est votre première visite ici ? Consultez la FAQ !

×