
내 라텍스에 다음과 같은 글을 쓰고 싶습니다. 도와주세요.
\documentclass[12pt,oneside,a4paper]{report}
\pagestyle{plain}
\usepackage{enumerate}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{bm}
\usepackage{mathdesign}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{glossaries}
\usepackage{enumitem}
\makeglossaries
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{defn}{Definition}[section]
\newtheorem{remk}{Remark}[section]
\newtheorem{assump}{Assumptions}[section]
\numberwithin{equation}{section}
\setlength{\topmargin}{-.7in}
\setlength{\textheight}{9.5in}
\setlength{\oddsidemargin}{-.3in}
\setlength{\textwidth}{7in}
\renewcommand{\qedsymbol}{$\blacksquare$}
\begin{document}\begin{theorem}
If the $(k\times 1)$ vector $\bm{x}$ is distributed normally with mean vector $\bm{\mu}$ and variance-covariance matrix $\bm{I}_k$, then
\begin{enumerate}[(i).]
\item $\mathbb{E}[\phi(\bm{x}'\bm{x})\bm{x}]=\bm{\mu}\mathbb{E}[\phi(\chi^{2}_{(k+2,\Delta)})]$,
\item $\mathbb{E}[\phi(\bm{x}'\bm{x})\bm{x}\bm{x}']=\bm{I}_{k}\mathbb{E}[\phi(\chi^{2}_{(k+2,\Delta)})]+\bm{\mu}\bm{\mu}'\mathbb{E}[\phi(\chi^{2}_{(k+4,\Delta)})]$
\end{enumerate}
where $\Delta=\frac{1}{2}\bm{\mu}'\bm{\mu}$ is the noncentrality parameter.
\end{theorem}
\begin{assump}[Regularity Conditions]
\begin{enumerate}[start=0,label={(\bfseries R\arabic*):}]
\begin{enumerate}
\item The pdfs are distinct.
\item The pdfs have common support for all $\theta$.
\end{enumerate}
\end{assump}
\end{document}
답변1
추가 정보가 없으면 이것은 시작입니다...(열거에 대한 정리 환경을 수행하지 않았습니다)
그만큼enumitem
패키지는 항목화/열거 목록을 쉽게 사용자 정의하기 위한 핵심입니다. 시작 값( start=0
)과 label=....
옵션을 사용할 수 있는 수단을 제공합니다.
enumitem
함께 사용하거나~처럼 enumerate
옵션 을 사용합니다 shortlabels
.
\documentclass{article}
\usepackage{enumerate}
\usepackage[shortlabels]{enumitem}
\begin{document}
% Traditional style
\begin{enumerate}[a)]
\item This is
\item an easy
\item customization of standard enumerate
\end{enumerate}
\begin{enumerate}[start=0,label={(\bfseries R\arabic*):}]
\item This is
\item an easy
\item customization of enumerate
\end{enumerate}
\end{document}
답변2
라벨 배치에 몇 가지 문제가 남아 있기 때문에 OP 게시물의 이미지와 더 유사한 변형을 제안합니다. 정리 스타일이 있고 \theoremname이 굵은 글씨체인 경우 정리의 선택적 인수를 굵은 글씨체로 쓰는 amsthm
로 대체했습니다 .ntheorem
break
mathdesign
옵션으로 글꼴을 선택하지 않았기 때문에 로드가 아무 작업도 수행되지 않았습니다. 나는 추가했다 charter
.
\documentclass[12pt,oneside,a4paper]{report}
\pagestyle{plain}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{bm}
\usepackage[charter]{mathdesign}
\usepackage[shortlabels]{enumitem}
%\usepackage{amssymb}
%\usepackage{amsthm}
%\newtheorem{theorem}{Theorem}[section]
%\newtheorem{corollary}{Corollary}[section]
%\newtheorem{lemma}{Lemma}[section]
%\newtheorem{defn}{Definition}[section]
%\newtheorem{remk}{Remark}[section]
%\newtheorem{assump}{Assumptions}[section]
%\renewcommand{\qedsymbol}{$\blacksquare$}
\usepackage[thmmarks, amsmath, thref]{ntheorem}
\theoremstyle{plain}
\theoremheaderfont{\upshape\bfseries}
\theorembodyfont{\itshape}
\theoremseparator{.}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{defn}{Definition}[section]
\newtheorem{remk}{Remark}[section]
\theoremstyle{break}
\theoremseparator{.\medskip}
\newtheorem{assump}{Assumptions}[section]
\theoremstyle{nonumberplain}
\theoremheaderfont{\itshape}
\theorembodyfont{\upshape}
\theoremsymbol{\ensuremath{\blacksquare}}
\newtheorem{proof}{Proof}
\numberwithin{equation}{section}
\setlength{\topmargin}{-.7in}
\setlength{\textheight}{9.5in}
\setlength{\oddsidemargin}{-.3in}
\setlength{\textwidth}{7in}
\begin{document}
\setcounter{chapter}{6}\setcounter{section}{1}
\begin{theorem}
If the $(k \times 1)$ vector $\bm{x}$ is distributed normally with mean vector $\bm{\mu}$ and variance-covariance matrix $\bm{I}_k$, then
\begin{enumerate}[(i).]
\item $\mathbb{E}[\phi(\bm{x}'\bm{x})\bm{x}]=\bm{\mu}\mathbb{E}[\phi(\chi^{2}_{(k+2,\Delta)})],$
\item $\mathbb{E}[\phi(\bm{x}'\bm{x})\bm{x}\bm{x}'] = \bm{I}_{k}\mathbb{E}[\phi(\chi^{2}_{(k+2,\Delta)})] + \bm{\mu}\bm{\mu}'\mathbb{E}[\phi(\chi^{2}_{(k+4,\Delta)})],$
\end{enumerate}
where $\Delta=\frac{1}{2}\bm{\mu}'\bm{\mu}$ is the noncentrality parameter.
\end{theorem}
\begin{assump}[Regularity Conditions]
\begin{enumerate}[start=0,label={\upshape(\bfseries R\arabic*):},wide = 0pt, leftmargin = 3em]
\item The pdfs are distinct; i.e., $ \theta \neq \theta' \Rightarrow f(x_i; \theta) \neq f(x_i; \theta')$. Text text text text text text text text text text text text text text text text text.
\item The pdfs have common support for all $\theta$.
\item The point $ \theta_0$ is an interior point of $ \Omega $.
\end{enumerate}
\end{assump}
\end{document}