[Tex/LaTex] biblatex formatting


I'm preparing my CV in latex using a slightly modified template with respect to the one found here. I like it very much, in particular the fact that the bibliography can be splitted into several types of contribution. I've have also applied the trick described here by Andrzej. The problem is that the first author in the bibliography is formatted differently from the others, as Surname, Initial, SecondAuthorInitial Surname. So the trick that applies to underline my name does not apply to all the entries where I'm the first author. I would like to change the way the first author appears in order to be compliant with the other. So in this way I think that the trick for the underlining should work.

As asked I post the code relating to the bibliography setting

%  \usebibmacro{in:}%

% Remove dot between volume and number in journal articles.

 %added a trick to underline my surname
\ifthenelse{\equal{#1}{Vianello}}% matches last name against YourLastName
  \uline{% wrapped with \uline
{% original

   author = {Vianello, Nicola and Naulin, V and Schrittwieser, R and M uller, H. W. and    Zuin, M and Ionita, C and Rasmussen, J J and Mehlmann, F and Rohde, V and Cavazzana, R and Maraschek, M},
   title = {{Direct Observation of Current in Type-I Edge-Localized-Mode Filaments on the     ASDEX Upgrade Tokamak}},
   journal = {Physical Review Letters},
   year = {2011},
   volume = {106},
   number = {12},
   pages = {125002},
   month = mar


Now I think the example should work once one provides a biblio.bib file (any bibliographic file you have should work. The only trick is the surname you chose, mine being Vianello)
I apologize for the problems in the example provided.

Best Answer

To manipulate the output of the names you have to set sortname in the correct way.


In this case the first name beside the first author is printed as initial.

To modify this you have to define your own formatting directives via \DeclareNameFormat.

A simple example is given by the definition of last-first (see biblatex.def):


The arguments have the following meaning:

% #1 = last name
% #2 = last name (initials)
% #3 = first name
% #4 = first name (initials)
% #5 = name prefix, a.k.a. 'von part'
% #6 = name prefix (initials)
% #7 = name affix, a.k.a. 'junior part'
% #8 = name affix (initials)

In this case you can format the name lists.

If you want to handle the first author in a special way you can use the test


For example If you want to underline the first author of the list and the name list is formated as last name, first name (initials) you can do: