[Tex/LaTex] Fraction in brackets

fractions

I want to have a fraction in brackets. Something like:
$${\log C \brack \log 2}$$, but with the line in the middle. I know this possibility: $$\left[\frac{\log C}{\log 2}\right]$$. Nonetheless, does something easier exist?

Best Answer

This is the most simple way to produce what you want without using a graphical interface. As mentioned by @ach in the comments, you should replace the $$ by \[ and \] or \begin{equation} and \end{equation}.

Related Question