
ラテックスに次のことを書きたいです。助けてください。
\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
パッケージは、itemize/enumerate リストを簡単にカスタマイズするための鍵です。スターター値 ( 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 の投稿の画像に似た変形を提案します。私はamsthm
を に置き換えましたntheorem
。これは定理スタイルを持ちbreak
、\theoremname が太字の場合、定理のオプションの引数を太字で書きます。
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}