
답변1
다음과 같이 패키지를 사용할 때마다 다시 시작되는 같은 enumitem
새로운 환경을 정의하여 패키지 를 사용할 수 있습니다 .enumerate
sensitive
\newlist{sensitive}{enumerate}{1}
\setlist[sensitive]{resume, label=(\textsc{Sensitive}$_\arabic*$), labelindent=\parindent, leftmargin=*}
그런 다음 사용
\begin{sensitive}
...
\end{sensitive}
MWE:
\documentclass{article}
\usepackage{enumitem}
\newlist{sensitive}{enumerate}{1}
\setlist[sensitive]{resume, label=(\textsc{Sensitive}$_\arabic*$), labelindent=\parindent, leftmargin=*}
\begin{document}
Finally, notions of sensitivity also extend to probabilistic knowledge. For instance,
Nozick 1981 states the following sensitivity condition on knowledge:
\begin{sensitive}
\item\label{sensitive1} $S$ knows, via method (or way of believing) $M$, that $p$ only if: if $p$
weren't true and $S$ were to use $M$ to arrive at a belief whether (or not) $p$, then $S$ wouldn't
believe, via $M$, that $p$.
\end{sensitive}
The advocate of probabilistic knowledge may endorse the following deflationist variant of \ref{sensitive1}:
\begin{sensitive}
\item\label{sensitive2} $S$ knows, via method (or way of believing) $M$, that $p$ only if: if it were
not the case that $p$ and $S$ were to use $M$ to arrive at a belief whether (or not) $p$, then $S$
wouldn't believe, via $M$, that $p$.
\end{sensitive}
Here again, the expressivist may capture the spirit of a statement concerning the truth
\end{document}
산출:
편집하다
enumerate
그렇지 않으면, 예를 들어라는 새로운 단일 환경을 정의하고 mylist
레이블을 로컬로 정의하고 레이블을 재개할 시기를 다음과 같이 정의할 수 있습니다.
\begin{mylist}[resume, label=(\textsc{Frequentist}$_\arabic*$)]
MWE:
\documentclass{article}
\usepackage{enumitem}
\newlist{mylist}{enumerate}{1}
\setlist[mylist]{labelindent=\parindent, leftmargin=*}
\begin{document}
Finally, notions of sensitivity also extend to probabilistic knowledge. For instance,
Nozick 1981 states the following sensitivity condition on knowledge:
\begin{mylist}[label=(\textsc{Sensitive}$_\arabic*$)]
\item\label{sensitive1} $S$ knows, via method (or way of believing) $M$, that $p$ only if: if $p$
weren't true and $S$ were to use $M$ to arrive at a belief whether (or not) $p$, then $S$ wouldn't
believe, via $M$, that $p$.
\end{mylist}
The advocate of probabilistic knowledge may endorse the following deflationist variant of \ref{sensitive1}:
\begin{mylist}[resume, label=(\textsc{Sensitive}$_\arabic*$)]
\item\label{sensitive2} $S$ knows, via method (or way of believing) $M$, that $p$ only if: if it were
not the case that $p$ and $S$ were to use $M$ to arrive at a belief whether (or not) $p$, then $S$
wouldn't believe, via $M$, that $p$.
\end{mylist}
Here again, the expressivist may capture the spirit of a statement concerning the truth
\begin{mylist}[label=(\textsc{Frequentist}$_\arabic*$)]
\item\label{frequentist1} $S$ knows, via method (or way of believing) $M$, that $p$ only if: if $p$
weren't true and $S$ were to use $M$ to arrive at a belief whether (or not) $p$, then $S$ wouldn't
believe, via $M$, that $p$.
\end{mylist}
The advocate of probabilistic knowledge may endorse the following deflationist variant of \ref{frequentist1}:
\begin{mylist}[resume, label=(\textsc{Frequentist}$_\arabic*$)]
\item\label{frequentist2} $S$ knows, via method (or way of believing) $M$, that $p$ only if: if it were
not the case that $p$ and $S$ were to use $M$ to arrive at a belief whether (or not) $p$, then $S$
wouldn't believe, via $M$, that $p$.
\end{mylist}
Here again, the expressivist may capture the spirit of a statement concerning the truth
\end{document}
산출:
답변2
이에 대한 개인 환경을 정의할 수 있습니다.
\documentclass{article}
\usepackage{hyperref}
\makeatletter
\newlength{\lquotelabelwidth}
\newlength{\lquote@label@temp}
\AtEndDocument{%
\write\@auxout{\string\global\string\lquotelabelwidth=\the\lquote@label@temp\relax}%
}
\newenvironment{lquote}[1]
{%
\settowidth\@tempdima{#1}%
\addtolength\@tempdima{2pc}% <---------------- add here if you want more
\ifdim\@tempdima>\lquote@label@temp
\global\lquote@label@temp=\@tempdima
\fi
\list{}{%
\leftmargin=\lquotelabelwidth
\labelwidth=\leftmargin
}%
\csname phantomsection\endcsname % if hyperref is loaded
\def\@currentlabel{#1}%
\item[\textsc{(#1)}]%
}
{\endlist}
\newcommand{\lqref}[1]{\textup{\textsc{(\ref{#1})}}}
\makeatother
\begin{document}
Be careful that \lqref{murphy} holds.
Finally, notions of sensitivity also extend to probabilistic knowledge.
For instance, Nozick 1981 states the following sensitivity condition on
knowledge:
\begin{lquote}{Sensitive\textsubscript{1}}\label{sensitive1}
$S$ knows, via method (or way of believing) $M$, that $p$ only if: if $p$
weren't true and $S$ were to use $M$ to arrive at a belief whether (or not)
$p$, then $S$ wouldn't believe, via $M$, that~$p$.
\end{lquote}
The advocate of probabilistic knowledge may endorse the following deflationist
variant of \lqref{sensitive1}:
\begin{lquote}{Sensitive\textsubscript{2}}\label{sensitive2}
$S$ knows, via method (or way of believing) $M$, that $p$ only if: if it were
not the case that $p$ and $S$ were to use $M$ to arrive at a belief whether
(or not) $p$, then $S$ wouldn't believe, via $M$, that~$p$.
\end{lquote}
Here again, the expressivist may capture the spirit of a statement concerning the truth
\begin{lquote}{Murphy}
\label{murphy}
If something can go wrong, it will.
\end{lquote}
\end{document}
이는 가장 긴 레이블의 너비를 .aux 파일에 기록하므로 다음 LaTeX 실행 시 레이블 너비를 설정할 수 있습니다. 괄호는 2pc(24pt)를 추가하고 공간도 좀 더 추가했으니 원하는 값으로 변경하세요.
로딩은 hyperref
결코 필수가 아닙니다. 코드가 작동한다는 것을 보여주기 위해 예제에 추가했습니다.
답변3
여기에 제가 이전에 만든 것의 아주 약간 수정된 버전이 있습니다(물론 인용문의 경우에는 그렇지 않다고 말해야 합니다). 이상해 보인다 면 의미가 있는 이름으로 이름을 변경하세요 mathau
.
\documentclass{article}
\usepackage{enumitem}
\makeatletter
\newcommand*{\mathau}[1]{%
\def\tempa{#1s}%
\newlist{\tempa}{enumerate}{1}%
\setlist[\tempa]{label={(\MakeUppercase#1\textsubscript{\arabic*})},leftmargin=*,font=\scshape,resume,ref={\MakeUppercase#1\textsubscript{\arabic*}}}}
\makeatother
\begin{document}
\mathau{sensitive}
\begin{sensitives}
\item As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things in themselves; as I have shown elsewhere, the phenomena should only be used as a canon for our understanding.
\item As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things in themselves; as I have shown elsewhere, the phenomena should only be used as a canon for our understanding.
\end{sensitives}
Some text showing the need to disambiguate various senses of `concept'.
\mathau{concept}
\begin{concepts}
\item As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things in themselves; as I have shown elsewhere, the phenomena should only be used as a canon for our understanding.
\item As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things in themselves; as I have shown elsewhere, the phenomena should only be used as a canon for our understanding.
\end{concepts}
Further discussion getting ready to return to sensitivities.
But this turns up another sense of `concept'.
\begin{concepts}
\item As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things in themselves; as I have shown elsewhere, the phenomena should only be used as a canon for our understanding.
\end{concepts}
Now we can return to the sensitivities.
\begin{sensitives}
\item As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things in themselves; as I have shown elsewhere, the phenomena should only be used as a canon for our understanding.
\end{sensitives}
Commentary.
\begin{sensitives}
\item As any dedicated reader can clearly see, the Ideal of practical reason is a representation of, as far as I know, the things in themselves; as I have shown elsewhere, the phenomena should only be used as a canon for our understanding.
\end{sensitives}
\end{document}
답변4
칼콜러목록 레이블을 일관되게 수평으로 정렬하는 데 더 나은 답변을 제공했습니다(예: "Frequentist"라는 단어는 "Sensitive"라는 단어보다 길지만 둘 다 동일한 들여쓰기에서 시작합니다). 그러나 나는 종종 목록의 항목에 대해 단어 레이블을 사용하며, 레이블을 의 대괄호 안에 넣으면 즉석에서 고유 레이블을 더 쉽게 수행할 수 있습니다 \item[]
. 그러나 아래 방법은 항목 레이블이 아닌 항목의 본문 텍스트를 정렬합니다.
\documentclass{article}
\usepackage[osf]{mathpazo}
\usepackage{enumitem}
\begin{document}
\setlist{labelwidth=7em, leftmargin=!}
Finally, notions of sensitivity also extend to probabilistic knowledge. For instance, {\scshape Nozick} 1981 states the following sensitivity condition on knowledge:
\begin{enumerate}
\item[\scshape (Sensitive\textsubscript 1)] $S$ knows, via method (or way of believing) $M$, that $p$ only if: if $p$ weren't true and $S$ were to use $M$ to arrive at a belief whether (or not) $p$, then $S$ wouldn't believe, via $M$, that $p$.
\end{enumerate}
The advocate of probalistic knowledge may endorse the following deflationist variant of {\scshape (Sensitive\textsubscript 1)}:
\begin{enumerate}
\item[\scshape (Sensitive\textsubscript 2)] $S$ knows, via method (or way of believing) $M$, that $p$ only if: if it were not the case that $p$ and $S$ were to use $M$ to arrive at a belief whether (or not) $p$, then $S$ wouldn't believe, via $M$, that $p$.
\end{enumerate}
\end{document}
7em
시행착오를 거쳐 찾아냈는데, 정확하려면 7em
단어라벨의 길이를 계산해서 바꿔보세요
\usepackage{calc}
%-----
\newlength\sensitive\setlength\sensitive{\widthof{\scshape (Sensitive\textsubscript 1)}}
그런 다음
\setlist{labelwidth={\dimexpr \sensitive +\parindent \relax}, leftmargin=!}