# Tag Info

1

I'd suggest using the following redefinition of cite:full: \renewbibmacro*{cite:full}{% \usebibmacro{cite:full:citepages}% \printtext[bibhypertarget]{% \usedriver {\DeclareNameAlias{sortname}{labelname}} {\thefield{entrytype}}}% \usebibmacro{shorthandintro}} cite:full in the verbose styles normally just prints the whole bibliography ...

2

You can use the \DeclareNameFormat directive to throw away the first names. I just added the following line to your code \DeclareNameFormat{}{\usebibmacro{name:first-last}{}{#5}{#1}{#7}} which just omits the output of first names, as you can see in the sample page below: I have to admit it is in some parts a bit of a hacky solution as it just abuses ...

3

It is easy enough to mimic the page design of the linked-to sample_CV.tex without all the complicated hoops it jumps through. All it takes is geometry and titlesec. (I would also use enumitem to fiddle with my various list environments, but that is beside the point here.) What matters in this case is setting the margins to the width you like, and making ...

3

I solved the issue by redefining bibmacro{cite} such that it checks to see whether the entry type is @archive. Less than elegant, I'm certain, but it got the job done. MWE: \documentclass{article} \usepackage[notes,backend=biber,booklongxref=bib]{biblatex-chicago} \newbibmacro*{cite}{% \ifciteseen% {\iffieldundef{shorthand}% ...

0

I had the same issue, but my latex file had some missing references to pictures I didn't wanted in the rtf version. When I removed those it worked perfectly. So I think that the issue it may be related not to the bibliography itself but to way latex or word tackles references.

0

To suppress underlining the journal title (and allow line breaks): \makeatletter \long\def\emph#1{\ifmmode\nfss@text{\em #1}\else\hmode@bgroup\text@command{#1}\em\check@icl #1\check@icr\expandafter\egroup\fi} \makeatother You may check this post for \emph redefinition in beamer.

1

The following redefinition of \cquotation could help. \makeatletter \newcommand{\cquotation}[1]{% \begingroup \booltrue{withintextquote}% % \settowidth doesn't like paragraphs \setbox\@tempboxa\hbox{% \def\par{\hspace{3\linewidth}}% If a paragraph is included force long form %\let\par\space % Ignore paragraphs ...

1

I dealt with the problem differently, since it is not possible to use name hashes with the current UI of the package. In version 0.9 of the package (on its way to CTAN just now), the problem should be fixed. Also, I have added a second optional argument to \omitname for name prefix (aka von-part).

3

Unfortunately this is not overly easy. Instead of manipulating \mkbibnamefirst and \mkbibnameprefix, we have to manipulate the name:last-first macro directly. \renewbibmacro*{name:last-first}[4]{% \ifuseprefix {\usebibmacro{name:delim}{#3#1}% \usebibmacro{name:hook}{#3#1}% \ifblank{#3}{}{% \ifcapital ...

5

You are able to change the formatting of all last names that appear in your citations \renewcommand{\mkbibnamelast}[1]{\mkbibemph{#1}} ...and then reset the formatting before \printbibliography so that the names appear in upright font in the bibliography. Your MWE would become: \documentclass{article} \usepackage{filecontents} ...

1

Thanks for the suggestion. Surely using hashes would be more appropriate than the crude name comparison I use now. Alas, I am away from my home machine for the next four months and also extremely short of time, so chance is low I get the time to dig into this soon. Sorry about that. Of course, if anybody wants to send a patch, this would speed things up.

2

When we use editoratype = {reviser} biblatex-chicago tries to print the undefined bibstring cbyreviser. So all we have to do is to create the bibstring cbyreviser. \NewBibliographyString{cbyreviser} and populate it with appropriate text \DefineBibliographyStrings{english}{ cbyreviser = {rev\adddot}, } As a general rule of thumb: If one gets bold ...

13

Adding sortlocale = nn_NO (nn for Norwegian nynorsk, nb for Norwegian bokmål) as a package option will ensure that Aa is treated as Å, and that Å is alphabetized last. Cf. the University of Oslo’s Local guide to biblatex. \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage{nynorsk} \usepackage[style = authoryear, language = nynorsk, ...

0

Your question is a bit confused, because you have tagged it as Biblatex, but your reference to apalike suggests you are using BibTeX. First off, whichever system you are using, do not try to change the format of references by changing your .bib file. That file just contains data. How it is formatted depends on other files. Each author should always and only ...

2

If we have a look at the .bbl file (as created by Biber) we can see that the simple author = {Mine, Me I.} becomes (line breaks were inserted for readability) \name{author}{1}{}{% {{hash=41274140480afc1dcd1fc7fc1b6f2529} {Mine} {M\bibinitperiod} {Me\bibnamedelima I.} {M\bibinitperiod\bibinitdelim I\bibinitperiod} {}{}{}{}}% ...

2

Here is a solution which works with biblatex independent of the backend used. Since the OP asked about using bibtex, my example specifies this, but nothing depends on it. backend=biber would work at least as well. This answer is based on moewe's solution. I ran that code and read the output. biblatex suggested the defernumbers option there. Looking in the ...

2

This was a bug. It should be fixed in 2.9 dev version on SF if someone could test?

2

You could define a new \newbibmacro*{simp:prenote} that never prints any "vgl"/compare stuff \newbibmacro*{simp:prenote}{% \iffieldundef{prenote} {} {\printfield{prenote}% \setunit{\prenotedelim}}} (This, incidentally, is the standard definition of bibmacro{prenote} in biblatex.def.) We then use this simple bib macro in all the ...

4

There is a package for it, it's called revtex4-1, which was designed for all the APS and meanwhile also for the AIP journals. To use it with Physical Review Letters style, consider the following MWE: \documentclass[aps,prl,reprint]{revtex4-1} \usepackage{blindtext} \begin{document} \title{Some random title} \author{Me} \email{mail@example.com} ...

3

Caveat: I think you are using a fairly home-brewed style, which makes modifications awkward, and this is not fully tested, except on your sample .bib. I can see that some things (like the bibstrings you've used for editors) are not the same, but I hope the solution I have will work with your style, since it involves modifying a macro that I'm guessing you ...

1

The type of implementation that the OP is looking for closely matches that of the new Bibulous project. With Bibulous, customized styles are implemented with templates, so that for book and manual entry types, one can define bibliography styles with, for example, book = <author>, \enquote{<title>,} in <year>, <publisher>. manual = ...

3


5

If you only want to split @online and all other types into two bibliographies, that is as easy as \printbibliography[nottype=online] \printbibliography[type=online] The first command prints all entries save for those of type @online, while the latter prints only @online entries. We then use defernumbers=true, this options makes sure "numeric labels ...

2

Thanks @egreg. So indeed, this is what happened: On OS X I had problems with biber, and also when explicitly specifying bibtex8 as backend, that's why the backend statement was missing. On Linux, bibtex didn't work out correctly. So I added backend=biber, and then you need to re-assign the "bibtex" command in TeXMaker. In Options -> Configure Texmaker, the ...

0

For @online entries, biblatex prints the URL and date even if configured with url=false. (example code was modified from @lockstep's answer) \documentclass{article} \usepackage[url=false]{biblatex} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @online{A01, author = {Author, A.}, year = {2001}, title = {Alpha}, url = ...

4

Replace the literal ( and ) in your note with \bibopenparen and \bibcloseparen. Make sure they are balanced! \footnote{Here I make an insightful comment \bibopenparen Dio Cassius, \emph{Roman History}, ch. 60.19 \parencite[414–16]{fos24dio}% \bibcloseparen.}

0

Search your Mendeley or exportet Bibtex Database for the string and1990. It is most likely, that Mendeley created a citation key that includes a symbol like an apostrophe ' (e.g. O'Hand1990), which is legal for the bibtex backend but illegal for biber backend. So you have two solutions: Change the citation key in Mendely to a legal string (only letters ...

1

As I was suggesting in my comment, the compilation issue relies on the .bib file. Also, as @moewe identified, the use of the @proceedings category does not contain an author field. Therefore, it should be replaced either by @inproceedings or put the author in the editor field. New compilation with the appropriate .bib file syntax: ...

1

I don't think there is a definitive answer to this question at all. For one thing, I think what suits one person will not suit another. Moreover, people differ in how many entries they have to handle, where they obtain new data from and what they need to be able to do with that data later on. However, I realised that trying to explain this in comments was ...

5

Here is an alternative, which enables you to use an option dead to mark that an author has died. It then adds the dagger on the first occurrence of the author's name. This may allow more "logical" markup of the .bib database. \documentclass{article} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @book{living, author = {Last, Alpha}, title ...

2

I use one file and notepad++ when I'm on my windows box (jEdit on linux most of the time). My keys are (normally*) in the form Surname_Key_Words. I strip any keywords fields (manually or using a regex find/replace), because I just find thy slow down searching. A find is pretty simple: searching for Nakamura_ would only find me the following entry. ...

2

Absolute path in the \addbibresource is required with LyX, as it probably works in some temporary directory to render the output. It couldn't find the bib file as it was defined with a relative path. Hope this helps, it helped myself:-) Also make sure you are using the Unix-ish slashes even on Windows e.g. \addbibresource{C:/file.bib}. Same goes for the ...

5

If you use the part field for tome information1, there is not a lot to be done in the standard styles. If you have a non-standard/custom style that moves around the part information though, you would need to tell us more about it. These four lines should do what you want. They redefine the string part to be "tomo" and print ", tomo #" after the volume. ...

5

Here's a workaround with fontspec only. The trick is to define a new math symbol font for the lining figures. I wouldn't use detect-all: numbers in \SI or \num should always be typeset in math mode (hence with lining figures). \begin{filecontents}{test.bib} @Article{Hay2011, Title = {Can humans force a return to a Cretaceous' ...

5

The string in question here corresponds to bytranslator, whose Italian localization can be found in the file italian.lbx; you can change the default definition using \DefineBibliographyStrings: \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia} \setmainlanguage{italian} \usepackage{biblatex} \makeatletter ...

2

The output of the bibliography is done done inside an environment defined by % {<name>}{<start code>}[<end code>]{<item code>} \newrobustcmd*{\defbibenvironment}[4]{% \long\csdef{blx@env@#1}{#2}% \long\csdef{blx@endenv@#1}{#3}% \long\csdef{blx@item@#1}{#4}} Every style uses this definition of modify the environment. So for ...

2

You can redefine \defbibenvironment{bibliography} to include the final period. Note that this will most likely cause problems with empty bibliographies. Keep \renewcommand{\finentrypunct}{}. Take the definition of \defbibenvironment{bibliography} and add \addperiod to the line reading {\endlist}, so it reads {\addperiod\endlist}. You can find the ...

4

I would discourage you from redefining the quote environment, particularly if you change its syntax to want a mandatory argument. Since this seems to be used for particular purposes, it's better to define a new environment. \begin{filecontents*}{\jobname.bib} @online{kn:gnus, author= {{David Arnold}}, title= {Writing Scientific Papers in \LaTeX}, url = ...

2

I think the trick is, first, to use endnotes; second, to redefine \footnote to produce an endnote; and, third, to use a verbose citation style with biblatex rather than printing a separate list of references. For example: \documentclass{article} \usepackage{endnotes} \let\footnote\endnote \usepackage[citestyle=verbose,backend=biber]{biblatex} ...

4

Here's a solution that redefines the quote environment using NewDocumentEnvironment from the xparse package. \let\oldquote\quote \let\endoldquote\endquote \RenewDocumentEnvironment{quote}{m}{% \oldquote \itshape \setlength{\rightmargin}{\leftmargin} {\Large\textbf{`}} } {% {\Large\textbf{''}} ...

2

Try the following code, it largely relies on your pseudo code above. We use a \savebox to evaluate the length. We just need to set \setlength{\availablewidth}{\linewidth}. We define a new bibmacro varwidthname. We need some new name formats for that \DeclareNameFormat{first-last-full}{% \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}} ...

0


3

By default biblatex does not print anything in the bibliography if the date is not set \renewbibmacro*{date+extrayear}{% \iffieldundef{\thefield{datelabelsource}year} {} {\printtext[parens]{% \iffieldsequal{year}{\thefield{datelabelsource}year} {\printdateextralabel}% {\printfield{labelyear}% ...

7

To make use of biblatex's localisation capabilities we can define a new bibliography string or. \NewBibliographyString{or} \DefineBibliographyStrings{english}{% or = {or}, } \DefineBibliographyStrings{german}{% or = {oder}, } We can then define a new command that will change the "and" in \textcite to an "or". \newcommand{\useor}{% ...

6

You can define a new cite command \textciteor that does that. The following code is required in the preamble: \makeatletter \DeclareCiteCommand{\cbx@textciteor} {\usebibmacro{textcite:init}} {\usebibmacro{citeindex}% \usebibmacro{textciteor}} {} {\usebibmacro{textcite:postnote}} \DeclareCiteCommand{\textciteor}[\cbx@textcite@init\cbx@textciteor] ...

6

If you really want to have one set of citation commands, a good starting point seems to be the list of commands provided by biblatex (or rather its standard styles), as outlined in § 3.7 Citation Commands, p. 79 of the biblatex documentation. You should then use the appropriate command for the task at hand. I have listed some of the commands I regard as ...

0

Though question. First, the \citeN, \citeNP and so commands you mention presumably have different meaning, and their differences can't be (easily) automatized, leaving the author the task to select the appropiate one. Next point is that one venue uses one set of cite commands, the other a different set. I'd wagger the sets aren't completely interchangeable, ...

2

Assuming you don't want 'auto-cite' magic, then \makeatletter \renewbibmacro*{textcite}{% \iffieldequals{namehash}{\cbx@lasthash} {\usebibmacro{cite:comp}} {\usebibmacro{cite:dump}% \ifbool{cbx:parens} {\bibclosebracket\global\boolfalse{cbx:parens}} {}% \iffirstcitekey {} {\textcitedelim}% ...

11

The problem ist that biblatex doesn't expand fully the argument of prefixnumbers, and so \thechapter gets written literally to the aux file. You could add this to your preamble: \makeatletter \def\blx@addprefixnumber{% \nottoggle{blx@skiplab} {\ifdef\blx@prefixnumbers {\ifundef\abx@field@shorthand ...

3

This should be as easy as \makeatletter \DeclareCiteCommand{\bfullcite} {\usebibmacro{prenote}} {\renewcommand*{\newunitpunct}{\addcomma\space}% \settoggle{blx@useauthor}{false}% \settoggle{blx@useeditor}{false}% \settoggle{blx@usetranslator}{false}% \usedriver {\DeclareNameAlias{sortname}{default}} {\thefield{entrytype}}} ...

Top 50 recent answers are included