我a fact
想在我的 latex 文件中使用它,但equation
它看起来不太好。我想知道是否有其他方法可以让它看起来更好
This allows us to use the well known fact that,
\begin{myquotenumber}
\label{eq:cond_uniform} for a Poisson process $X^0$ independent random variables uniformly distributed on $\textbf{Z}$.
\end{myquotenumber}
In summary, a simple and convenient choice
mythesis.tex
这在文件中使用
\NewEnviron{myquotenumber}{\vspace{3ex}\par
\refstepcounter{equation}%
\hfill\parbox{\dimexpr \textwidth-4cm}%brug \parbox[b] for bunden [c] (standard) for center og [t] for top
{\textrm{\BODY}}
\hfill\llap{(\theequation)}\vspace{2ex}\par}
答案1
您可能对代码想得太多了myquotenumber
。由于事实应该使用与相同的计数器equation
,我认为您不妨将事实放在\parbox
语句中。
\documentclass{article}
\newcommand\myparbox[1]{\parbox{0.667\textwidth}{\raggedright #1}} % choose width suitably
\begin{document}
This allows us to use the well known fact that
\begin{equation}\label{eq:cond_uniform}
\myparbox{For a Poisson process $X^0$ independent random
variables uniformly distributed on $\textbf{Z}$.}
\end{equation}
In summary, a simple and convenient choice \dots
\end{document}