3

I am using the \dfrac command to write proofs, but i get them so small. How can I adjust the size?

here is my MWE:

\documentclass{article}
\usepackage{proof}
\setlength{\inferLineSkip}{6pt}
\begin{document}
\begin{center}
    $ \begin{array}{c}
      \dfrac{A}{C}\ \rlap{\textbf{R1}}  
 \end{array}$
\end{center}
\end{document}

And i get this result:

enter image description here

Could you help me please?

  • Your image shows a display style fraction (i.e. \dfrac works, provided you load amsmath, which is missing from your example). How big do you want to make the fraction? – Ian Thompson Jan 2 '17 at 20:38
  • the letters in the fraction will be the same size as surrounding text, why do you consider that small? – David Carlisle Jan 2 '17 at 20:40
4

If you want to use the proof package, adopt its syntax:

\documentclass{article}
\usepackage{proof}

\setlength{\inferLineSkip}{6pt}

\begin{document}

\[
\infer[\textbf{R1}]{C}{A}
\]

\end{document}

enter image description here

1

It is an optical illusion that R is bigger than A and C. However, you can use a larger font, which, of course, doesn't really make sense:

\documentclass{article}
\usepackage{amsmath}
\newcommand\bfrac[3]{{\large\ensuremath{\dfrac{#1}{#2}}~\textbf{#3}}}
\begin{document}

\bfrac{A}{C}{R1} $\dfrac{A}{C}$

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.