External Tools



I find that a lot of the pain involved in creating LaTeX tables comes simply from laying them out- it's tough to make a table markup syntax that isn't tedious to type and modify.  Because of this, I use other programs to help me deal with some of the work involved in creating tables:


If my LaTeX editor has a table wizard, I use it to create the table.
If my data is in a spreadsheet, I use a plugin to export it to LaTeX.  For Excel, I use excel2latex and for OpenOffice I use calc2latex.
If my data is in R, I use the xtable package.


I find these tools take care of 80-95% of the work required to create a table- I then go through and refine some of the stylistic choices.  The only problem with this approach is that the tools aren't of much use if a table requires a substantial update or re-write or needs to be generated automatically from an arbitrary dataset.

LaTeX Packages



Personally, I use the Memoir class for the majority of my documents.  Memoir integrates the functionality of a ton of table packages such as booktabs and tabularx and integrates them in a sane way so your document doesn't end up with a list of \usepackage{}s that is a mile long.  See Chapter 11: Rows and Columns of the Memoir manual for a description of the support provided by the class for tabular material.

In addition to Memoir, I often augment it's capabilities with the following two packages:


The longtable package for laying out tables that flow across more than one page.  Longtable's handling of table headers and footers is extremely nice for putting things like "Continued on the next page..." exactly where they are supposed to be.
The siunitx package- this package is all about typesetting units and numbers.  The sinuitx package adds the S column descriptor which can be used to perform all kinds of advanced formatting for table columns that contain numbers such as:


Alignment of separators such as commas and decimal points.
Automatic rounding, truncation or conversion to scientific notation.



What table tools/packages do you use?
Using Apache2/PHP in Debian jessie, when I want to make a new subsection in document folder of Apache (/var/www) I simply create a link to an external folder where my php files exist and simply change the owner and permissions of the folder as follow and it works perfect.

ln -s /home/myname/mynewcode /var/www/test1
chown -R www-data:www-data /home/myname/mynewcode
chmod -R 755 /home/myname/mynewcode


Then I could access http://localhost/test1

But when the real folder that I want to link it, is on a NTFS partition since chown and chmod do not work, I do modify the /etc/fstab by adding the following code, therefore my NTFS partitions will mount with the required permissions and owner.

UUID=XXDDXDDXDDDXDDDD /media/myname/lable ntfs user,exec,uid=www-data,gid=www-data 0 2

ln -s /media/myname/lable/mynewcode2 /var/www/test2


But still I do get the permission error from Apache2 and I don't know what to do!!


  Forbidden
  You don't have permission to access /test2 on this server.
  Apache/2.4.10 (Debian) Server at localhost Port 80

