![如何添加如图所示的大支架?](https://linux22.com/image/388009/%E5%A6%82%E4%BD%95%E6%B7%BB%E5%8A%A0%E5%A6%82%E5%9B%BE%E6%89%80%E7%A4%BA%E7%9A%84%E5%A4%A7%E6%94%AF%E6%9E%B6%EF%BC%9F.png)
我怎样才能制作出如下图中这样的括号:
\documentclass[tikz,border=3.14mm]{standalone}
\begin{equation}
\label{eq:1}
P(k)= (\sum_{min}^{max}\frac{{K \choose k}{N-K \choose n-k}} {{N \choose n}})^j
\end{equation}
with following parameters:
\begin{itemize}
\item $N = 2^{256}$ is the output range of SHA-256
\item $K=target(p)$ is the target value with a probability $p$ at a particular transverse time.
\item $n=3.5\times10^6$ is the number of hashes per time $t=90 sec$. This value is estimated in python.
\end{itemize}
\end{document}
答案1
要使括号适应其所括的内容,可以使用\left(
和\right)
。(其他选项已在Joule V 的评论。)我还想鼓励您在文本模式下编写min
和,为和max
声明一个数学运算符以用于二项式。您可能还想使用以便排版。您的文档未编译,因为您忘记了和 \end{document}`。target
\binom
siunitx
90 sec
\begin{document}
\documentclass{article}
\usepackage{amsmath,siunitx}
\DeclareMathOperator{\target}{target}
\begin{document}
\begin{equation}
\label{eq:1}
P(k)= \left(\sum_{\textup{min}}^{\textup{max}}
\frac{\binom{K}{k}\binom{N-K}{n-k}}{\binom{N}{n}}\right)^j
\end{equation}
with the following parameters:
\begin{itemize}
\item $N = 2^{256}$ is the output range of SHA-256.
\item $K=\target(p)$ is the target value with a probability $p$ at a
particular transverse time.
\item $n=3.5\times10^6$ is the number of hashes per time $t=\SI{90}{\sec}$. This value is estimated in python.
\end{itemize}
\end{document}