
번호가 매겨진 단락과 번호가 없는 단락(섹션, 하위 섹션, 하위 섹션) 외에도 논문에 들여쓰기 및 제목이 있는 단락을 포함하고 싶지만 paragraph
명령이 내 요구 사항을 충족하지 않기 때문에 다른 솔루션을 찾고 있습니다. 실제로, paragraph
명령은 내가 강조하고 싶은 텍스트 부분을 충분히 조명하지 않습니다. 해당 단락은 다음 그림과 같이 "Observation 1"과 같은 제목으로 시작됩니다. 제목("Observation 20") 뒤에 오는 단락은 텍스트 본문의 식별과 다른 들여쓰기로 시작됩니다.
누구든지 제안이 있나요? 다음 mwe에서는 description
들여쓰기된 단락을 갖기 위해 번호가 없는 목록을 사용합니다.
\documentclass[12pt,a4paper,footinclude=true,twoside,headinclude=true]{scrbook}
\usepackage[parts,pdfspacing,dottedtoc]{classicthesis}
\usepackage{fontspec}
\usepackage[applemac]{inputenc}
\usepackage[frenchb]{babel}
\setmainfont{Minion Pro}
\usepackage[marginparsep=8pt,left=3.5cm,right=3.5cm,top=3cm,bottom=3cm]{geometry}
\begin{document}
\begin{description}
This is my text
\end{description}
\end{document}
답변1
패키지를 사용하여 그렇게 할 수도 있습니다 ntheorem
. 길이가 있고 스타일 에서 정리 구조를 \theoremindent
정의할 수 있습니다 . 여기에 가능성이 있습니다. 첫 번째 단락의 들여쓰기를 보장하기 위해 스타일을 다시 정의해야 했습니다 . 그러한 들여쓰기를 원하지 않는다면 재정의할 것이 없습니다.observ
break
break
\documentclass[12pt,a4paper,footinclude=true,twoside,headinclude=true]{scrbook}
\usepackage[parts,pdfspacing,dottedtoc]{classicthesis}
\usepackage{fontspec}
\usepackage[frenchb]{babel}
\setmainfont{Minion Pro}
\usepackage[marginparsep=8pt,left=3.5cm,right=3.5cm,top=3cm,bottom=3cm]{geometry}
\usepackage{ntheorem}
\theoremindent = 3em
\theorempreskip\medskipamount
\theorempostskip\medskipamount
\theoremstyle{break}
\theoremheaderfont{\itshape}
\theorembodyfont{\normalfont}
\makeatletter
\renewtheoremstyle{break}%
{\item[\rlap{\vbox{\hbox{\hskip\labelsep \theorem@headerfont
##1\ ##2\theorem@separator}\hbox{\strut}}}]\hskip\parindent}%
{\item[\rlap{\vbox{\hbox{\hskip\labelsep \theorem@headerfont
##1\ ##2\ (##3)\theorem@separator}\hbox{\strut}}}]\hskip\parindent}
\makeatother
\newtheorem{observ}{Observation}
\begin{document}
A repetitive text a repetitive text a repetitive text a repetitive text a repetitive text a repetitive text a repetitive text a repetitive text a repetitive text.
\begin{observ}
This is my text. This my text This is my text. This my text This is my text. This my text This is my text. This my text This is my text. This my text. This my text This is my text. This my text This is my text. This my text.
This is my text. This my text This is my text. This my text This is my text. This my text This is my text. This my text This is my text. This my text. This my text This is my text. This my text This is my text. This my text.
\end{observ}
Another no less repetitive text. Another no less repetitive text. Another no less repetitive text. Another no less repetitive text. Another no less repetitive text.
\end{document}
답변2
자신이 원하는 방식으로 설정하려면 자신만의 환경을 만드세요.
아래에서 나는 adjustwidth
(fromchangepage
)라는 인용문과 유사한 환경을 설정합니다 observation
. 제목 뒤에는 - 를 observation
사용하여 참조할 수 있는 카운터가 표시됩니다 .\label
\ref
\documentclass{article}
\usepackage[margin=1in]{geometry}% Just for this example
\usepackage{changepage,lipsum}
\newcounter{observation}
\newenvironment{observation}
{\par\medskip
\begin{adjustwidth}{2em}{2em}
\setlength{\parindent}{1.5em}% \parindent for Observations
\small% Font changes (if any)
\refstepcounter{observation}% Increment counter
\hspace*{\parindent}% Indent Observation title
Observation~\theobservation% Print Observation title
\par\nobreak\smallskip}%
{\end{adjustwidth}\medskip}
\begin{document}
\lipsum[1]
\begin{observation}
\lipsum[2-3]
\end{observation}
\lipsum[4]
\begin{observation}
\lipsum[5]
\end{observation}
\begin{observation}
\lipsum[6]
\end{observation}
\lipsum[7]
\begin{observation}
\lipsum[8-10]
\end{observation}
\lipsum[11]
\end{document}
\parindent
( 1.5em
) 및 adjustwidth
들여쓰기 ( 2em
)를 필요에 맞게 조정할 수 있습니다 . 모든 글꼴 조정( \small
이 경우) 에도 동일하게 적용됩니다 .