Can't add a first line indent to each bibliography item #60
-
\documentclass[a4paper]{article}
\usepackage{fontspec}
\usepackage{enumitem}
\setmainfont{Libertinus Serif}
\usepackage[
style = custom-numeric-unordered-indent,
% bib-hang = -1em,
bib-item-sep = 0em,
]{citation-style-language}
\addbibresource{main.bib}
\nocite{*}
\begin{document}
\printbibliography
\begin{enumerate}[wide]
\item Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint consectetur cupidatat.
\item Lorem ipsum dolor sit amet, qui minim labore adipisicing minim sint cillum sint consectetur cupidatat.
\end{enumerate}
Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet. Nisi anim cupidatat excepteur officia. Reprehenderit nostrud nostrud ipsum Lorem est aliquip amet voluptate voluptate dolor minim nulla est proident. Nostrud officia pariatur ut officia. Sit irure elit esse ea nulla sunt ex occaecat reprehenderit commodo officia dolor Lorem duis laboris cupidatat officia voluptate. Culpa proident adipisicing id nulla nisi laboris ex in Lorem sunt duis officia eiusmod. Aliqua reprehenderit commodo ex non excepteur duis sunt velit enim. Voluptate laboris sint cupidatat ullamco ut ea consectetur et est culpa et culpa duis.
\end{document} How can I get the same effect of hanging indent 0/width 100% and first line indent to some specific value? I tried this style in Typst and there you can change the indent with Or, as a workaround, I can pass a negative hanging indent, but then I need to somehow move the whole bibliography list to the right. I don't know what are my options. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I've not implemented the "normal paragraph" style you mentioned. The CSL has only |
Beta Was this translation helpful? Give feedback.
This feature is just added in ff3057d.
You need to remove the
hanging-indent="true"
incustom-numeric-unordered-indent.csl
and addbib-par-indent = 1em
in\cslsetup
. The output of your example is as follows.