TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to format the p-values description in the notes of a table. The whole table layout is done with Stata (using command esttab) but changing the p-values format seems to be impossible. Therefore, I would like to do that after having imported the table into Lyx. That's how it should look:

Observations     1333    1111  

Notes: Bla bla bla bla..
    ***Significant at the
     **Significant at the
      *Significant at the 

The B and the S should be aligned. (It is required by the American Economic Review)

Does anyone know which package(s) I could use to achieve that? I do not need the code for it, I am eager to try first by myself!

I tried with dcolumn package (close previous tabular space, opened a new one with \begin{tabular} {l r} but it does not look as I should.

share|improve this question
Well, the B of bla should be aligned with the S of significant, which is supposed to be in the row below and so on... – luciano Mar 20 '12 at 16:10
Since you say you are eager to try by yourself... I would try either a nested tabular, or else a description environment with \item[Notes] – cmhughes Mar 20 '12 at 16:20

Not that I know much (if anything) about p-values, but maybe this can be a start. I'd probably choose threeparttable:


  \caption{My caption}
                 & {Head 1}         & {Head 2} \\\midrule
   Observation 1 &  1.23\tnote{*}   &  1.23 \\
                 & (0.12)           & (0.12) \\
   Observation 2 &  1.23            &  1.23\tnote{**} \\ 
                 & (0.12)           & (0.12) \\
   Observation 3 &  1.23\tnote{***} &  1.23 \\
                 & (0.12)           & (0.12) \\\bottomrule
   \item[Notes:] Bla bla bla bla..
   \item[\tnote{***}] Significant at the
   \item[\tnote{**}] Significant at the
   \item[\tnote{*}] Significant at the


enter image description here

share|improve this answer

This seems like the best way to do that . The 19pt distance creates an empty space of the lenght "Notes:_", moreover i took away the \, empty space


\caption*{Table3: Ordered logit results for men and women living in Denmark}

\emph{Notes:} Standard errors in parentheses.
\item[***]Significant at the 1 percent level.    
\item[**]Significant at the 5 percent level.   
\item[*]Significant at the 10 percent level.

\emph{Source:} European Social Survey.

share|improve this answer

\begin{tabular}{l c c}
\textit{ } & Label 1 & Label 3\\ 

Intercept &-2.5400*** &-0.8661*** \\
Gender& -1.1026** & 0.6985*  \\ 
Friendlist visibility& 0.4705* &  0.5214 \\  
Wall& 0.4173\LARGE{.}  & -0.1595  \\ 
Photo&1.9425** & 0.1361\\
Locale & 0.1446 & 0.5846*\\


\caption{\small{Regression results for all data points. p-value = 5.6701e-11. Total N=1520. 
Notes: Reference category for the equation is label 2 (Risky).  
Standard errors in parentheses. Significance codes:  '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 

Delete \hline from the table for a better view. It still looks a bit odd, but anyway

share|improve this answer
Are you sure that this answers the question? – egreg Mar 20 '12 at 17:05
ampersands align items here, so yes it does – someone Mar 20 '12 at 18:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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