如何才能获得不缩进的诗歌第一节?正如您在我的 MWE 中看到的,我成功更改了除第一列中的第一个之外的每一节诗句的左边距。
我尝试过\hspace
,\noindent
但是没有效果!
\documentclass[
paper=a5,
fontsize=10pt,
DIV=calc,
headsepline,
footsepline,
titlepage,
headings=normal,
version=last,
%twoside=true, % prova eliminazione geometry
headinclude=true,
footinclude=true,
mpinclude=true,
BCOR=1.8cm % spazio rilegatura
]{scrbook}
\usepackage[
left=1.5cm,
right=1.5cm,
top=1cm,
bottom=1cm,
includeheadfoot
]{geometry}
\usepackage[automark,headsepline]{scrlayer-scrpage}
\usepackage{microtype}
\usepackage{paracol}
\footnotelayout{m}
\usepackage{csquotes}
\usepackage{ulem}
\usepackage{natbib}
\usepackage{tocloft}
\usepackage[svgnames]{xcolor} % Required for colour specification
\newcommand{\nomelistapoesie}{Lista delle poesie}
\newlistof{poesia}{top}{\nomelistapoesie}
\newcommand{\poesia}[1]{%
\refstepcounter{poesia}
\addcontentsline{top}{poesia}
{\protect\numberline{\thepoesia}#1}
}
\newcommand*{\plogo}{\fbox{$\mathcal{PL}$}} % Generic dummy publisher logo
\deftripstyle{pagestyle}
[0.5pt]
[0.3pt]
{\pagemark}
{}
{\titleinfo}
{\pagemark}
{\authorinfo}
{}
\pagestyle{pagestyle}
\renewcommand{\chapterpagestyle}{pagestyle}
\newcommand{\titleinfo}{S\u{u}ahila Metriko}
\newcommand{\authorinfo}{Nino Vessella, 1980}
\newlength{\saveleftmargini}
\newcommand\poezio[2]
{\setcolumnwidth{0.5\linewidth,0.5\linewidth}
\begin{sloppypar}
\setlength{\saveleftmargini}{\leftmargini}
\setlength{\leftmargini}{0em}% for example to outdent verse
\begin{paracol}{2}
\begin{verse}
\textbf{#1}
\end{verse}
\switchcolumn
\begin{verse}
\textit{#2}
\end{verse}
\end{paracol}
\setlength{\leftmargini}{\saveleftmargini}% restore original value
\end{sloppypar}
}
\begin{document}
Description of the first poem:%
\poezio{\poesia{Simba ndume wa wambuji, sikizani tatongoa}
{\textcolor{Red}{Simba ndume}} na wambu\underline{ji}, sikizani tatongo\underline{a}!\\
Niketele vitongo\underline{ji} na safari za mashu\underline{a}.\\
Leo nakumbuka mbi\underline{ji} ya kutweka na kutu\underline{a}.\\
Ai, pato na mpe\underline{wa}! Litakapo kukuta\underline{na}!\\
\ldots\footnote{Citita en Bertoncini (1968) kaj en Hichens (1962), p. 115.}
}{
Fortuloj kaj beluli\underline{noj}, a\u{u}skultu je mia di\underline{ro}!\\
Mi lo\^{g}is kun vila\^{g}a\underline{noj} kaj \^{s}ipe sur marlazu\underline{ro},\\
memoras mi pri have\underline{noj}, dan\^{g}ero kaj maldan\^{g}e\underline{ro}.\\
Ho, favorat' kaj favo\underline{ro}! \^{C}u iam vi renkonti\underline{\^{g}os}?\\
}
Discussion about the poem.
\end{document}
答案1
没有缩进。 \posia
在第一行的开头添加了几个空格。
\documentclass[
paper=a5,
fontsize=10pt,
DIV=calc,
headsepline,
footsepline,
titlepage,
headings=normal,
version=last,
%twoside=true, % prova eliminazione geometry
headinclude=true,
footinclude=true,
mpinclude=true,
BCOR=1.8cm % spazio rilegatura
]{scrbook}
\usepackage[
left=1.5cm,
right=1.5cm,
top=1cm,
bottom=1cm,
includeheadfoot
]{geometry}
\usepackage[automark,headsepline]{scrlayer-scrpage}
\usepackage{microtype}
\usepackage{paracol}
\footnotelayout{m}
\usepackage{csquotes}
\usepackage{ulem}
\usepackage{natbib}
\usepackage{tocloft}
\usepackage[svgnames]{xcolor} % Required for colour specification
\newcommand{\nomelistapoesie}{Lista delle poesie}
\newlistof{poesia}{top}{\nomelistapoesie}
\newcommand{\poesia}[1]{%
\refstepcounter{poesia}%
\addcontentsline{top}{poesia}%
{\protect\numberline{\thepoesia}#1}%
\ignorespaces}
\newcommand*{\plogo}{\fbox{$\mathcal{PL}$}} % Generic dummy publisher logo
\deftripstyle{pagestyle}
[0.5pt]
[0.3pt]
{\pagemark}
{}
{\titleinfo}
{\pagemark}
{\authorinfo}
{}
\pagestyle{pagestyle}
\renewcommand{\chapterpagestyle}{pagestyle}
\newcommand{\titleinfo}{S\u{u}ahila Metriko}
\newcommand{\authorinfo}{Nino Vessella, 1980}
\newlength{\saveleftmargini}
\newcommand\poezio[2]
{\setcolumnwidth{\dimexpr 0.5\textwidth-0.5\columnsep}% second column takes remaining space, -\columnsep
\begin{sloppypar}%
\begin{paracol}{2}
\setlength{\leftmargini}{0em}% will revert at end of paracol
\begin{verse}
\textbf{#1}
\end{verse}
\switchcolumn
\begin{verse}
\textit{#2}
\end{verse}
\end{paracol}
\end{sloppypar}
}
\begin{document}
Description of the first poem:%
\poezio{\poesia{Simba ndume wa wambuji, sikizani tatongoa}%
\textcolor{Red}{Simba ndume} na wambu\underline{ji}, sikizani tatongo\underline{a}!\\
Niketele vitongo\underline{ji} na safari za mashu\underline{a}.\\
Leo nakumbuka mbi\underline{ji} ya kutweka na kutu\underline{a}.\\
Ai, pato na mpe\underline{wa}! Litakapo kukuta\underline{na}!\\
\ldots\footnote{Citita en Bertoncini (1968) kaj en Hichens (1962), p. 115.}
}{
Fortuloj kaj beluli\underline{noj}, a\u{u}skultu je mia di\underline{ro}!\\
Mi lo\^{g}is kun vila\^{g}a\underline{noj} kaj \^{s}ipe sur marlazu\underline{ro},\\
memoras mi pri have\underline{noj}, dan\^{g}ero kaj maldan\^{g}e\underline{ro}.\\
Ho, favorat' kaj favo\underline{ro}! \^{C}u iam vi renkonti\underline{\^{g}os}?\\
}
Discussion about the poem.
\end{document}