Re: Personalizzare alcuni aspetti della bibliografia (2)

#98881
samiel
Partecipante
    Up
    0
    Down
    ::


    Tentativi ulteriori:

    1.
    `%\AtEveryCite{
    \DeclareNameFormat{scdefault}{%
    \renewcommand{\mkbibnamefirst}{\textlcsc}%
    \renewcommand{\mkbibnamelast}{\textlcsc}%
    \renewcommand{\mkbibnameprefix}{\textlcsc}%
    \renewcommand{\mkbibnameaffix}{\textlcsc}%
    \ifcase\value{uniquename}%
    \usebibmacro{name:last}{#1}{#3}{#5}{#7}%
    \or
    \ifuseprefix
    {\usebibmacro{name:first-last}{#1}{#4}{#5}{#8}}%
    {\usebibmacro{name:first-last}{#1}{#4}{#6}{#8}}%
    \or
    \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}%
    \fi
    \usebibmacro{name:andothers}}}`
    ottengo il maiuscoletto, ma perdo il nome: resta solo il cognome.

    2.
    `\DeclareNameFormat{scdefault}{%
    \renewcommand{\mkbibnamefirst}{\textlcsc}%
    \renewcommand{\mkbibnamelast}{\textlcsc}%
    \renewcommand{\mkbibnameprefix}{\textlcsc}%
    \renewcommand{\mkbibnameaffix}{\textlcsc}%
    \iffirstinits
    {\usebibmacro{name:first-last}{#1}{#4}{#5}{#7}}%
    {\usebibmacro{name:first-last}{#1}{#3}{#5}{#7}}%
    \usebibmacro{name:andothers}}
    \newbibmacro*{cite:opcit}{%
    \printtext[bibhyperlink]{\bibstring[\mkibid]{opcit}}}`
    alla prima occorrenza sembra andare tutto bene,
    ma alla seconda ecco che le iniziali tornano in maiuscolo 🙁

    Go to top