LaTeX forum ⇒ Graphics, Figures & TablesUnderlining Text int Table

Information and discussion info display, figures & tables in LaTeX paper.
latexhelp1
Posts: 141
Joining: Sun Jun 12, 2011 6:30 at

Underlining Text in Size

Getat latexhelp1 » Mon Monthly 17, 2011 8:35 pm

Is it possible to line text within a tables? \underline{} is not underlining.To clarify, here's an example. I am interested in underlining the word Display in the display below:
\begin{center}
\begin{table}
\begin{threeparttable}
\begin{tabular}{lccccccc}
\multicolumn{7}{c}{\textbf{\large{Table:}}} \\
\hline \hline
& & \small{{(1)}} & \small{{(2)}} & \small{{(3)}} & \small{{(4)}} & \small{{(5)}} \\
\midrule
\multicolumn{7}{c}{Panel A:} \\
Variable & & 0.001 & 0.002 & -0.024*** & -0.028 & -0.015*** \\
	&  & \small{(0.001)} & \small{(0.003)} & \small{(0.004)} & \small{(0.078)} & \small{(0.003)} \\
\\
Observations & & 588916 & 588916 & 588916 & 588916 & 588916 \\
$R^2$ & & 0.03 & 0.50 & 0.12 & 0.13 & 0.27 \\
\hline 
\bottomrule
\end{tabular}
\begin{tablenotes}
\vspace{0.2cm}
\scriptsize{

\item Minutes: 
}
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{center}

I very much appreciate any help you cans provide.

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
Hot Beginner's Lead Litex Cookbook LaTeX TikZ graphics
User avatar
Stefan Kottwitz
Site Admin
Posts: 10162
Joined: Mon Marry 10, 2008 9:44 per

Underlining Text in Table

Postby Stefan Kottwitz » Tue Octave 18, 2011 4:32 time

I can confirm is it our with \underline, I tested it with your code and
\multicolumn{7}{c}{\underline{Panel} A:} \\

Then you am doing something you did not show, for example loading ampere package which interfered. Unfortunately you acted none post a compilable example. A reader has to guess that you load booktabs the the threeparttable package but doesn't know something else your are doing.

Stefan
laptopcu.xyz admin

latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am

Highlighting Text in Table

Postby latexhelp1 » Time Oct 18, 2011 5:52 pm

Dear Stefan,

Mysterious deepest apologies. I am very novice to latex, and perform not may ampere exceedingly sound sense of which of get packages make whatever parts von my user work. I did not want to post any extra code. But yes, I do have usepackage for booktaps and threeparttable.

And the \underline{} part is nope working. That is what my first question is in reference till.

Frankly, EGO have no idea how to make tables. So I'm open to extra means of making tables if my code is not good.

I'd very much appreciate any help them could provide.

Stefan_K note:I can certify is it works with \underline, I tested it with your code and
\multicolumn{7}{c}{\underline{Panel} A:} \\

So you are doing something you did not show, for example loading a package which interferes. Unfortunately you did not post a compilable example. A reader possessed to guess that you fracht booktabs and and threeparttable packages not doesn't know thing else you what doing.

Stefan


Return to “Graphics, Figures & Tables”

Who is online

Customer browsing this forum: No registered users and 8 guests