I am trying to typeset a "fraction" without the fraction bar. I have tried to do this using the genfrac
, but as in the example below, the numerator and denominator in genfrac
are farther apart than in frac
. How can I correct this?
I'm trying to create a table in which one of the entries ("cells") contains two entries -- one on top of the other -- as in row 5 in the MWE below. In other words, I want to make the fraction bar "invisible" in the MWE table below.
\documentclass[oneside,11pt]{book}
\usepackage[semibold,tt=false]{libertine}
\usepackage{libertinust1math}
\usepackage[T1]{fontenc}
\usepackage[
expansion = false ,
tracking = smallcaps ,
letterspace = 40 ,
final
]{microtype}
\usepackage{booktabs}
\usepackage[font={sf,small},labelsep=quad,labelfont=sc]{caption}
\usepackage[subrefformat=parens]{subcaption}
\begin{document}
$\frac{1}{2}\;\genfrac{}{}{0pt}{}{1}{2}$
\begin{table}[!h]
\begin{tabular}{lll}
Row 1 & 1.23 & Some text.\\
Row 2 & 7.89 & Additional text.\\
Row 3 & 4.56 & More text.\\
\addlinespace
Row 4 & 1.23 & Some text.\\
Row 5 & $\frac{\textit{A}:\;3.14}{\textit{B}:\;6.28}$ & Additional text.\\
Row 6 & 4.56 & More text.\\
\end{tabular}
\end{table}
\end{document}
multirow
? But this makes "Row 5" and "Additional text." twice as tall instead of the other entry half-sized.