Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Justified footnote with texsave?

    Hi at all,

    I am using the wonderfull package "texsave" by Julian Reif to create tables. However, how do I justify the footnote? Does anyone have any experience?

    Thanks

    Daniel

  • #2
    Could you provide more information regarding what you are looking for? By default, the footnote is aligned with the contents of the table; see the example Table 2 in this guide.
    Associate Professor of Finance and Economics
    University of Illinois
    www.julianreif.com

    Comment


    • #3
      Hey Daniel and Julian,

      I encountered a similar problem when working with -texsave. While the footnote is aligned properly by default, as soon as I use the -width() option, the footnote is no longer aligned to the table. When I use the -footnote(,width()) option in order to adjust alignment, there is an error on the LaTeX side of things ("! Package array Error: Illegal pream-token (0): `c' used."). Do you have any suggestions for a solution?

      See code example below:

      Code:
        
      sysuse auto.dta, clear
      
      label var make "Car make"
      
      label var mpg "Miles per gallon"
      
      label var trunk "Trunk space"
      
      texsave make mpg trunk if price > 8000 using "example3.tex", title(MPG and trunk space) varlabels footnote("Variable trunk measured in ft\(^3\)", width(0.6\textwidth)) nofix replace width(0.6\textwidth)

      Comment


      • #4
        Hi Sebastian,

        Please make sure you are using the most recent version of texsave, which is available on Github:
        Code:
        net install texsave, from("https://raw.githubusercontent.com/reifjulian/texsave/master") replace
        That should fix your problem.
        Associate Professor of Finance and Economics
        University of Illinois
        www.julianreif.com

        Comment


        • #5
          Thank you for your help. Works perfectly!

          Comment

          Working...
          X