Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- usepackage[
- backend=biber,
- autolang=hyphen, %which parameters are important when changing languages according to entry language id in the database
- citestyle=authoryear, %style when citing, try authoryear-icomp
- bibstyle=authoryear-icomp, % manuscripts, %authoryear-icomp, %style in the bibliography
- maxbibnames=3, %how many names before et. al in the bibliography
- maxcitenames=2, % how many names before et. al in the running text.
- language=auto,
- isbn=false,
- defernumbers=true, % for subbibliographies (tib, skr etc.)
- autocite= superscript,
- url=true,
- dashed=false,
- doi=true,
- sortlocale=auto,
- ]{biblatex}%this style compresses the numbering
- addbibresource{C://thesisbibfile/thesisbibfile.bib}
- Currently my code is:
- %%%%% Appearance of Bibliography with Author year Tag
- %%%%
- makeatletter
- setlength{bibitemsep}{0.5baselineskip plus 0.5baselineskip}
- newsaveboxay@labelbox
- newlength{labwidthsameline}
- setlength{labwidthsameline}{8em} % the {xem} defines the length of the label: best is either 2 or 9 em
- newbibmacro{labelwidthbib}{%
- begingroup
- scriptsize %SIZE OF THE LABEL %footnotesize works with 8.5 or 9 em
- DeclareFieldFormat{bibhyperref}{scshape##1}%
- csuse{blx@hook@cite}%
- csuse{blx@hook@citekey}%
- citetrackerfalsepagetrackerfalsebacktrackerfalse
- defcounter{maxnames}{blx@maxcitenames}%
- usebibmacro{cite}%
- endgroup
- }
- %-----------------------
- newbibmacro{kicklabel}{%
- sboxay@labelbox{usebibmacro{labelwidthbib}}%
- globaltogglefalse{blx@insert}%
- ifdimwday@labelbox>labwidthsameline
- leavevmodenewline
- fi
- }
- defbibenvironment{bibliography}%
- {list
- {usebibmacro{labelwidthbib}}%
- {setlength{labelwidth}{labwidthsameline}%
- setlength{leftmargin}{labelwidth}%
- setlength{labelsep}{biblabelsep}%
- addtolength{leftmargin}{labelsep}%
- setlength{itemsep}{bibitemsep}%
- setlength{parsep}{bibparsep}%
- renewcommand*{makelabel}[1]{##1hss}}}%
- {endlist}%
- {itemusebibmacro{kicklabel}}
- makeatother
- %%% End of Appearance of Bibliography with Author year Tag
Add Comment
Please, Sign In to add comment