Clean up list of default LaTeX packages

* doc/org.texi (@LaTeX{} specific attributes): Document that tabu
and tabularx packages are not in the default set of packages.
* lisp/org.el (org-latex-default-packages-alist): Add the `rotating'
package to the list of default packages.  Improve docstring.
This commit is contained in:
Carsten Dominik 2013-09-17 07:02:14 +02:00
parent 68b0dba851
commit 508ac0f57a
2 changed files with 12 additions and 6 deletions

View File

@ -11616,8 +11616,11 @@ environment. Default mode is determined in
@item :environment
@vindex org-latex-default-table-environment
Environment used for the table. It can be set to any @LaTeX{} table
environment, like @code{tabularx}, @code{longtable}, @code{array},
@code{tabu}, @code{bmatrix}@enddots{} It defaults to
environment, like @code{tabularx}@footnote{Requires adding the
@code{tabularx} package to @code{org-latex-packages-alist}.},
@code{longtable}, @code{array}, @code{tabu}@footnote{Requires adding the
@code{tabu} package to @code{org-latex-packages-alist}.},
@code{bmatrix}@enddots{} It defaults to
@code{org-latex-default-table-environment} value.
@item :caption
@code{#+CAPTION} keyword is the simplest way to set a caption for a table

View File

@ -3834,6 +3834,7 @@ header, or they will be appended."
("" "longtable" nil)
("" "float" nil)
("" "wrapfig" nil)
("" "rotating" nil)
("normalem" "ulem" t)
("" "amsmath" t)
("" "textcomp" t)
@ -3851,14 +3852,16 @@ The packages in this list are needed by one part or another of
Org mode to function properly:
- inputenc, fontenc: for basic font and character selection
- fixltx2e: Important patches of LaTeX itself
- graphicx: for including images
- longtable: For multipage tables
- float, wrapfig: for figure placement
- rotating: for sideways figures and tables
- ulem: for underline and strike-through
- amsmath: for subscript and superscript and math environments
- textcomp, marvosymb, wasysym, amssymb: for various symbols used
for interpreting the entities in `org-entities'. You can skip
some of these packages if you don't use any of their symbols.
- ulem: for underline and strike-through
- graphicx: for including images
- float, wrapfig: for figure placement
- longtable: for long tables
- hyperref: for cross references
Therefore you should not modify this variable unless you know