有类似的代码吗leftmargin=* plus 2.5ex
?我想将整个列表移到右边。
\documentclass[
a4paper,
bibliography=totoc,
toc=listof,
captions=tableheading,
listof=entryprefix,
]
{scrbook}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage[T1]{fontenc}
\usepackage[english,german,ngerman]{babel}
\usepackage{lmodern}
\usepackage{scrlayer-scrpage}
\usepackage{microtype}
\usepackage{lipsum}
\usepackage{enumitem}
\usepackage[showframe]{geometry}
\usepackage[backend=biber]{biblatex}
\begin{document}
\chapter{Lorem ipsum}
\lipsum[1]
%%
\begin{enumerate}[label=These \emph{\normalfont \arabic*}),partopsep=2.5ex, itemsep=0.75ex, leftmargin=*, rightmargin=2.5ex]
\item Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus.
\item Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus.
\end{enumerate}
\lipsum[3]
\end{document}
答案1
就像@Alan Munn 所建议的那样?
\documentclass[
a4paper,
bibliography=totoc,
toc=listof,
captions=tableheading,
listof=entryprefix,
]
{scrbook}
\usepackage[utf8]{inputenc}
\usepackage{textcomp}
\usepackage[T1]{fontenc}
\usepackage[english,german,ngerman]{babel}
\usepackage{lmodern}
\usepackage{scrlayer-scrpage}
\usepackage{microtype}
\usepackage{lipsum}
\usepackage{enumitem}
\usepackage[showframe]{geometry}
\usepackage[backend=biber]{biblatex}
\begin{document}
\chapter{Lorem ipsum}
\lipsum[1]
%%
\begin{enumerate}[label=These \emph{\normalfont\arabic*}), labelindent=2.5ex, partopsep=2.5ex, itemsep=0.75ex, leftmargin=*, rightmargin=2.5ex]
\item Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus.
\item Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus.
\end{enumerate}
\lipsum[3]
\end{document}