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

10 Oct '18, 18:56

Pathe's gravatar image

Pathe
7.6k49209252

Couci, Ceci, peut-être ? \documentclass[french]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry} \usepackage{fourier, erewhon} \usepackage[scaled =0.92]{cabin} \usepackage{babel} \usepackage[autostyle]{csquotes}% recommended in output (biblatex) \usepackage[backend=biber, autolang=other, style =authoryear, sortcites, backref]{biblatex} \setcounter{biburllcpenalty}{7000} \setcounter{biburlucpenalty}{8000} \def\UrlFont{\sffamily} \DeclareCiteCommand{\parencite}[\mkbibbrackets] {\usebibmacro{prenote}}% {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{postnote}} \renewcommand*{\nameyeardelim}{\addcomma\space} \AtBeginDocument{\protected \def\mkbibnamefamily#1{\textnohyphenation{#1}}}% \AtBeginBibliography{% \protected\def\mkbibnamefamily#1{% \textsc{\textnohyphenation{#1}}}% \renewcommand*{\mkbibnameprefix}[1]{#1}% } \usepackage{filecontents} \begin{filecontents}{mabiblio.bib} @BOOK{Dodgson, AUTHOR = {Lewis Carroll}, TITLE = {The Hunting of the Snark}, YEAR = {1876}, PUBLISHER = {Macmillan}, LOCATION = {London} } @BOOK{Lear, AUTHOR = {Edward Lear}, TITLE = {Les Sept familles du lac Pipple-Popple}, TITLEADDON = {(The History of the seven families of the lake Pipple-Popple)}, TRANSLATOR = {Simone Lamblin}, PUBLISHER = {Gallimard}, LOCATION = {Paris}, YEAR = {1978}, EDITION = {2}, } @online{nonsense, title = {International Owl \& Pussycat Day, 12 May}, year = 2011, url = {https://teachingnonsenseinschools.wordpress.com}, urldate = {2010-09-30} } \end{filecontents} \addbibresource{mabiblio.bib} \begin{document} \nocite{*} Deux ouvrages indispensables: \parencite{Lear, Dodgson}. \printbibliography% \end{document} ![alt text][1] [1]: http://texnique.fr:80/osqa/upfiles/patchauthor-year.png<img src="/upfiles/patchauthor-year.png" style="width: 95%;"/>
cliquez ici pour masquer/afficher la révision 1

03 Nov '17, 04:34

Bernard's gravatar image

Bernard
4.6k15

Couci, peut-être ? \documentclass[french]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{geometry} \usepackage{fourier, erewhon} \usepackage[scaled =0.92]{cabin} \usepackage{babel} \usepackage[autostyle]{csquotes}% recommended in output (biblatex) \usepackage[backend=biber, autolang=other, style =authoryear, sortcites, backref]{biblatex} \setcounter{biburllcpenalty}{7000} \setcounter{biburlucpenalty}{8000} \def\UrlFont{\sffamily} \DeclareCiteCommand{\parencite}[\mkbibbrackets] {\usebibmacro{prenote}}% {\usebibmacro{citeindex}% \usebibmacro{cite}} {\multicitedelim} {\usebibmacro{postnote}} \renewcommand*{\nameyeardelim}{\addcomma\space} \AtBeginDocument{\protected \def\mkbibnamefamily#1{\textnohyphenation{#1}}}% \AtBeginBibliography{% \protected\def\mkbibnamefamily#1{% \textsc{\textnohyphenation{#1}}}% \renewcommand*{\mkbibnameprefix}[1]{#1}% } \usepackage{filecontents} \begin{filecontents}{mabiblio.bib} @BOOK{Dodgson, AUTHOR = {Lewis Carroll}, TITLE = {The Hunting of the Snark}, YEAR = {1876}, PUBLISHER = {Macmillan}, LOCATION = {London} } @BOOK{Lear, AUTHOR = {Edward Lear}, TITLE = {Les Sept familles du lac Pipple-Popple}, TITLEADDON = {(The History of the seven families of the lake Pipple-Popple)}, TRANSLATOR = {Simone Lamblin}, PUBLISHER = {Gallimard}, LOCATION = {Paris}, YEAR = {1978}, EDITION = {2}, } @online{nonsense, title = {International Owl \& Pussycat Day, 12 May}, year = 2011, url = {https://teachingnonsenseinschools.wordpress.com}, urldate = {2010-09-30} } \end{filecontents} \addbibresource{mabiblio.bib} \begin{document} \nocite{*} Deux ouvrages indispensables: \parencite{Lear, Dodgson}. \printbibliography% \end{document} ![alt text][1] [1]: http://texnique.fr:80/osqa/upfiles/patchauthor-year.png