New answers tagged

1

biblatex delegates URL and DOI formatting to the url package, so you can use its interfaces to change the URL font to the normal document font \urlstyle{same} There is no need for the \normalfont and it won't do anything anyway, so the redefinition of the url field format can be dropped. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{...


0

On an up-to-date system, your MWE (with biblatex-apa6's style=apa6, instead of biblatex-apa's style=apa,, which produces 7th-edition APA style now), produces \documentclass[american]{apa6} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{csquotes} \usepackage[style=apa6, backend=biber, ]{biblatex} \begin{filecontents}{\...


0

Nevermind, I found the solution. I just needed to replace the maxnames 99 to 6: \AtEveryCitekey{\ifciteseen{}{\defcounter{maxnames}{6}}}


5

The definition of \singlespacing in setspace.sty is % setspace.sty, line 345: \newcommand{\singlespacing}{% \setstretch {\setspace@singlespace}% normally 1 \vskip \baselineskip % Correction for coming into singlespace } which should be self-explanatory. In this case use \setstretch{1} instead of \singlespacing.


1

MLA style does not show years in citations. See for example https://owl.purdue.edu/owl/research_and_citation/mla_style/mla_formatting_and_style_guide/mla_in_text_citations_the_basics.html and https://owl.purdue.edu/owl/research_and_citation/mla_style/mla_formatting_and_style_guide/mla_formatting_and_style_guide.html. In MLA style you only give the author ...


0

MLA style doesn't show years in citations: owl.purdue.edu/owl/research_and_citation/mla_style/…. Use style=authoryear, to get normal author-year citations. – moewe


3

The problematic field in your .bib entries is booktitle. Strictly speaking, booktitle is not a valid field for @book entries and you will notice that it never appears in the output, but it still turns out to have an influence on the output. That influence of booktitle comes from the aptly named editorpunct macro defined in chicago-notes.cbx as \newbibmacro*...


1

In Get rid of undesired vertical spacing within single footnotes (and footcites that are displayed at the bottom of the page) due to setspace settings we explicitly switched footnotes back to single-spacing regardless of what the global \setstretch might be. If you want \setstretch to apply to footnotes as well, remove the \def\baselinestretch {\setspace@...


2

The options articletitle and chaptertitle are implemented via a simple etoolbox toggle that can be switched anywhere in your document. Here you could say \AtEveryCite{% \togglefalse{bbx:articletitle}% \togglefalse{bbx:chaptertitle}% } to toggle the titles off only in citations. \documentclass[fontsize=11pt,DIV=11]{scrartcl} \usepackage[USenglish]{...


2

On the biblatex side (min|max)(bib|cite)names is just implemented via a simple counter that could in theory be redefined anywhere in your document. But since biblatex also passes (min|max)(bib|cite)names on to the backend Biber or BibTeX to use for sorting purposes and for uniqueness and label calculation, you may end up with undesirable results in edge ...


0

As discussed in the comments it is extremely uncommon to list academic degrees, titles or job descriptions in the bibliography. It would be quite tricky to get biblatex not to abbreviate "Prof. Dr." to "P. D." when the given name should be reduced to initials, since BibTeX and Biber will just treat the "Prof. Dr." in "Prof. Dr. Christian Drosten" as ...


1

I get STU sort order with the code supplied. MWE \begin{filecontents*}{\jobname.bib} @book{x, author = {Takahata}, title = {xxx}, } @book{y, author = {Uddyotakara}, title = {xxx}, } @book{si-tu_min_1990, location = {Sansal}, title = {Miṅ daṅ rtags rjes su ston pa’i bstan bcos ’Chi med mdzod kyi rgya cher ’grel ba ’Dod ’jo’i ...


0

This is generally not how citations in BibTeX/biblatex work. It looks a bit like the approach in markdown. (With a bit of creativity manual thebibliography+\bibitem is a less flexible version of that approach.) In the LaTeX world the idea is is that you assign a useful label to each source once BibTeX/biblatex in the .bib file and use that throughout your ...


0

Have you tried wrapping the author's name in an extra pair of braces? Like in this answer. @book{si-tu_min_1990, location = {Sansal}, title = {Miṅ daṅ rtags rjes su ston pa’i bstan bcos ’Chi med mdzod kyi rgya cher ’grel ba ’Dod ’jo’i ba mo. In: Collected Works of the Great Tai’i Si tu pa kun mkhyen chos kyi byun (sic) gnas bstan pa’i nyin byed}, ...


1

Have tweaked the answer of MostlyHarmless for Windows, cuz the split command with the git bash dont support -p @ parameter. The batchbiber.sh script works fine after this :) mkdir bibentries split -t @ -l 1 -a 4 mybibfilename.bib ./bibentries/ cd bibentries for old in *; do mv $old $old.bib; done for file in *; do sed -z -i "1s/^/@/" "$file" && ...


2

The standard (American) date format in biblatex-apa does not particularly lend itself to dd. mm. yyyy date formats, so many other languages needs special treatment. Please try the following (based on code from ngerman-apa.lbx) \documentclass[spanish]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{csquotes} \...


2

biblatex comes with a few example files for cite/bibliography indexing: 20-indexing-single.tex for simple indices and 21-indexing-multiple.tex, 22-indexing-subentry.tex for more complex setups. If you only want a single index (namely the author index) then the following based on 20-indexing-single.tex should work. Load an indexing package (here the ...


2

The following MWE reproduces what you are seeing \documentclass{article} \usepackage[backend=biber, style=authoryear-comp, maxcitenames=2, maxbibnames=99, uniquelist=false, giveninits, ]{biblatex} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @article{hands2014attenuated, title ={Title 1}, author ={Hands, James R. and ...


0

This was a bug in earlier versions of biblatex-apa (https://github.com/plk/biblatex-apa/issues/86, related and fixed a little later https://github.com/plk/biblatex-apa/issues/106, https://github.com/plk/biblatex-apa/issues/110). With an up-to-date version of biblatex-apa the output is as expected. The current version is biblatex-apa v9.12 (2020-05-05) and ...


1

The biblatex-ext styles have a command for that: \titleaddonpunct. So you only need \renewcommand*{\titleaddonpunct}{\addspace} and are good to go. If all titleaddons you are ever going to use are of the "[online]" persuasion and set in square brackets, I would remove the square brackets from the field and add them via the field format. \documentclass[...


0

I just wanted to mention that this warning for me appeared when I had a & in one of the references, which should be \&. I was looking for hours for the error, since the main error was Misplaced alignment tab character &. \end (and I was just checking the text and forgot the bib) Maybe it helps someone in the future.


0

Just found out the source of the problem while looking into my error messages. There were syntax errors in my bib file (involving out of place brackets and parentheses) that I had to solve to let Biber run on my file. Once that was done, my PDF was compiled successfully with the reference! thanks


2

biblatex inserts \compcitedelim between the years in a -comp citation. We can redefine that command to insert an ampersand. So normally the following should work \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{csquotes} \usepackage[style=authoryear-comp, backend=biber]{biblatex} \...


1

In general the idea is that the bibliography entry shows the bibliographic data of your source. For more specific pinpoint references one usually uses the optional argument of \cite in the text. I don't doubt that there are legitimate uses to adding pages to bibliography entries on the fly, but I can't think of a good reason at the moment that would not ...


0

In general it is not recommended to (manually) install packages (or other LaTeX code like biblatex styles) in the TeXMF tree controlled by your TeX distribution. /usr/local/texlive/2020/texmf-dist/ should only be changed by tlmgr. There are several places where you can put your own packages/files. For a one-off the simplest solution is to just drop them ...


7

In the MWE you are using sorting=debug, which sorts entries purely on their entry key. This sorting scheme is not intended for normal use, but it explains why you get the result you are getting. If you remove sorting=debug, (and thus get sorting=nyt, from style=authoryear,) the results for Latin script will be better with Täht after Tolkien (since it will ...


2

You are loading a private package \usepackage{settings/BiblatexSetup} which is changing the way biblatex is working. This line from that package: \renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}} is what is what is causing names to show up in small caps (\textsc). Do you know why you're loading this package? Is it required by your university? If so, then ...


0

I had a similar problem while using the Europass CV template from Overleaf. While I guess that @moewe answer might have worked for me, I could not really understand it and found it too complex for me, and thus I tried to find my own way. I ended up re-writing parts of the style file europasscv-bibliography.sty as my own version (europasscv-bibliography_own....


1

If you switch between biblatex and BibTeX-based bibliography solutions (natbib, cite, jurabib, ...) you should delete the auxiliary files before you recompile. In particular you should remove the .aux, .bbl and .bcf files (if present). The .aux file may contain biblatex-specific commands that are undefined when biblatex is not loaded and may thus throw ...


1

The format of the extra letter is controlled by the extradate field format. By default it uses \mknumalph, which produces a small Latin letter from a given number. We can copy the definition of \mknumalph to get a \mknumAlph which produces capital Latin letters and use that in the format. \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage[...


0

Completely different approach. (Not enough space in the other answer box to add it there.) Keeping it simple, with the widest use and the least coding: In terms of typesetting, a legal reference consists of an italic part and an upright part. Using existing bibentry types and fields: For the .bib file: Use the @jurisdiction bibentry type. Store the ...


0

One can also use BibItNow extension on Google Chrome to generate Bibtex, RIS, Endnote, APA, MLA bibliography items from journal articles, books and etc: You can learn more in here.


1

I suggest you stick with style=alphabetic, and define a new command for citations in the abstract. For author-title citations in the abstract we can just copy the relevant code from authortitle.cbx and rename macros to avoid name clashes. \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{...


3

I thought we already discussed this? See the MWE at the end of my answer to your question Customize verbose citation style. Basically your style is so different from what the standard styles do that it is simplest to write your own bibliography drivers. That makes it easier to control not only the field format but also the order of fields and the ...


1

This slightly unusual order is the intended default setting. You can read about it at Why a comma appears for the first author of the bibliography?. Most people who are not happy with this order usually prefer \DeclareNameAlias{sortname}{family-given} In total \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{...


4

You can force biblatex to only consider name, year and citation order for sorting by defining a new sorting themplate. In essence that means that in your citations the first mention of <Name> <year>a will always come before <Name> <year>b etc. Your readers may not be able to understand the order of the entries just by looking at the ...


4

There are various ways to override the sorting mechanism by adding fields to your .bib file. The following sorting override fields are available: presort sortkey sortname sorttitle sortyear The presort field is useful for grouping items, and is not relevant here. The sortkey field if present will override any other sorting done. The other overrides are ...


1

This is easily done with styles from my biblatex-ext bundle. They define the punctuation command \volnumdelim for exactly this job. With biblatex-ext you can even replace your redefinition of the in: bibmacro by the option articlein=false. Each standard style has a biblatex-ext equivalent, to which you can switch with no change in output. In the MWE you ...


0

Don't add parentheses around the citation manually: Use the appropriate command \autocite (possibly with autocite=inline,, which may or may not be the default already) or \parencite for parenthetical citations and \textcite for textual Author (Year) citations. biblatex's parenthesis tracker can only get nested parentheses right if the parentheses are ...


0

BibTeX and biblatex do not differentiate between first name and middle names. The given name encompasses both first name and middle names. So you can not easily tell biblatex to ignore middle names for sorting purposes. If you want to force a certain sorting, I suggest you use the sortname field. \documentclass[a4paper, 12pt]{article} \begin{filecontents}{...


0

I found the linked answer here better than this solution because it allowed for entries to be marked with in the keyword field rather than listing the individual cite keys to be highlighted.


1

The styles of the biblatex-chem bundle are all quite compact, because they suppress the titles for @articles and @incollections etc. Out of the box they print a given name initial and the family name, but that can easily be changed. \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage{babel} \usepackage{csquotes} \usepackage[style=chem-...


1

biblatex has a variety of space printing commands. They are listed in §4.7.4 Adding Whitespace of the documentation. Unbreakable space can be added with \addnbspace. \setunit{\addnbspace}% For finer control over the line breaks in certain situations biblatex has the three commands \addlowpenspace, \addhighpenspace and \addabbrvspace, which are penalised by ...


1

You were on the right track with in:editor. The bibmacro is called in:editor or in:editor+others. The name format is called ineditor, so you want \DeclareNameAlias{ineditor}{sortname} instead of \DeclareNameAlias{byeditor}{sortname}. For the period after the title you current patch approach works and can be extended for other entry types as well. biblatex-...


1

After a deeper look into this, with the immense help of @samcarter_is_at_topanswers.xyz, multiple solutions are in fact available. But first of all, in a presentation, note that it is better to avoid footnotes as much as possible ! A quotation from the beamer manual (section 12.12): First a word of warning: Using footnotes is usually not a good idea. ...


1

As explained by moewe, this warning occurs when using an undefined entry type in the .bib file. In my case, I updated to TeX Live 2020 some time after creating the .bib file; a part of that update was that the APA style for biblatex got updated to comply with the 7th edition. I was using @newsarticle in my bibliography, but this entry type has been removed ...


2

There is no official interface to toggle the value of the giveninits option mid-document, but the implementation of the option is pretty simple. You can just say \toggletrue{abx@bool@giveninits} when you want to get the same results as giveninits=true (and similarly \togglefalse{abx@bool@giveninits} for giveninits=false). \documentclass[a4paper,10pt]{...


2

The question mentions prenote but the MWE shows a postnote, so I will show how you can get rid of the postnote. The approach is the same for prenote. Internally postnote is handled like a normal field when the citations are typeset, so you can delete it with \clearfield{postnote}. This can be done in an \AtEveryCitekey hook. \documentclass{article} \...


3

Try \usepackage{microtype}, it allows fonts to stretch a bit and so can often help in such cases.


3

The standard data model defines the types @audio and @music, which would be appropriate here. But the standard styles don't have anything specific set up for these types and will just show the same output as with @misc. Some contributed biblatex styles, however, do have code set up to deal with @audio and @music. Luckily for us biblatex-chicago is one of ...


Top 50 recent answers are included