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?

2
  • 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? Commented Jan 2, 2017 at 20:38
  • the letters in the fraction will be the same size as surrounding text, why do you consider that small? Commented Jan 2, 2017 at 20:40

2 Answers 2

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

0
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .