[Tex/LaTex] Ceiling in LaTeX

equations

I want to make an equation that use ceiling, and that's what I'm doing:

\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{mathtools}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\begin{equation}
\ceil[\big]{\frac{log{(1-P_{0})}}{log{(1-p)}}}
\end{equation}

The result is not as good as I want it:

Enter image description here

How do I make the ceiling cover the whole fractions?

Best Answer

You should read some guides (starter guides) for LaTeX and math (especially about the sizes). With the knowledge about them you could easily adapt to this (\bigg):

ceiling

\documentclass{article}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{mathtools}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\begin{document}
\begin{equation}
\ceil[\bigg]{\frac{\log{(1-P_{0})}}{\log{(1-p)}}}
\end{equation}
\end{document}
Related Question