Am 08.02.23 um 01:51 schrieb Dan:
The code is working just fine, but I need to add something to give a little more space at the top and bottom of a table.

Here's the code:
\begin{tabular}{|c|c|}
\hline
\text{Example}  &  \text{Code} \\
\hline
x = \dfrac{-b\pm\sqrt{b^{2}-4ac}}{2a}  &  \textrm{ x = \backslash frac\{-b \backslash pm \backslash sqrt\{ b \hat{} 2 - 4ac\} \}\{2a\} } \\
\hline
\end{tabular}

The square root at the top of the box is crushed up into the \hline and the 2a at the bottom is similar.  I can find all sorts of things to do to change horizontal spacing, and I even found a method to add extra vertical space to the rows (\arraystretch), but it doesn't do anything with the very top and bottom.


Write into the documents preamble

\usepackage{tabls}

b.t.w.: \usepackage{inputenc} is not needed

Herbert


--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to