I would like to have the ability to control the vertical separation between #2 and #3. What can I do ? I do not intend that this functionality includes any nested lists or centred environments, that would misalign #3.
\documentclass[a4paper,10pt]{article}
\ExplSyntaxOn
\NewDocumentCommand{\dkmKtlog}{ O{0.3cm} m m }
{
\begingroup
\setlength{\parindent}{0pt}
\setlength{\leftskip}{#1}
\hspace*{-\leftskip}
\parbox[b]{\linewidth}{\normalfont\bfseries [#2]}\par
\nopagebreak\ignorespaces #3\par
\endgroup
}
\ExplSyntaxOff
\begin{document}
\dkmKtlog[0cm]{1999-DEF8}{
Deligne Pierre, Etingof Pavel, et al., 1999; ``Quantum Fields and
Strings: A Course for Mathematicians.'' Vol. 1--2. With Freed Daniel
S., Jeffrey Lisa C., Kazhdan David, Morgan John W., Morrison David R.,
Witten Edward.
}
\end{document}
\parskipand the \baselineskip minus the depth of the last row of #2 and the height of the first row of #3. You are also missing%from ends of lines. as noted in your previous question if you set\leftskipdirectly in that way any nested lists or centred environments in#3will be mis-aligned. – David Carlisle Feb 29 '24 at 00:32\ExplSyntaxOn. – egreg Feb 29 '24 at 11:25[1999-DEF8]and[Deligne...]. I would like the ability to contral the vertical s-pacing between the two lines of text. – Ragonese Feb 29 '24 at 11:30\setlength{\parskip}{0pt}after\setlength{\parindent}{0pt}removed the extra spacing between the two paragraphs. – Ragonese Feb 29 '24 at 13:36\parboxin this implementation ? – Ragonese Feb 29 '24 at 13:41\@bsphack\@esphackwork as well? – John Kormylo Feb 29 '24 at 15:27