title: LyX table too wide

text: I am a newbie with LyX, and with LaTeX in general. I have a quite big table (11 columns), that it is too wide to fit in a page. I've then tried to rotate it of 90 degrees, but it is still too wide. I've then tried to resize, but with no success (columns are cut out). I've been able to fit it in a page using the following instruction: `\noindent\resizebox{\textwidth}{!}{%` but it is too small to see. Can please somebody help me? Here is the LyX file with the table:               #LyX 2.0 created this file. For more info see http://www.lyx.org/     \lyxformat 413     \begin_document     \begin_header     \textclass article     \begin_preamble     \usepackage{graphicx}     \end_preamble     \use_default_options true     \maintain_unincluded_children false     \language english     \language_package default     \inputencoding auto     \fontencoding global     \font_roman default     \font_sans default     \font_typewriter default     \font_default_family default     \use_non_tex_fonts false     \font_sc false     \font_osf false     \font_sf_scale 100     \font_tt_scale 100          \graphics default     \default_output_format default     \output_sync 0     \bibtex_command default     \index_command default     \paperfontsize default     \spacing single     \use_hyperref false     \papersize default     \use_geometry false     \use_amsmath 1     \use_esint 1     \use_mhchem 1     \use_mathdots 1     \cite_engine basic     \use_bibtopic false     \use_indices false     \paperorientation portrait     \suppress_date false     \use_refstyle 1     \index Index     \shortcut idx     \color #008000     \end_index     \secnumdepth 3     \tocdepth 3     \paragraph_separation indent     \paragraph_indentation default     \quotes_language english     \papercolumns 1     \papersides 1     \paperpagestyle default     \tracking_changes false     \output_changes false     \html_math_output 0     \html_css_as_file 0     \html_be_strict false     \end_header          \begin_body          \begin_layout Standard     \begin_inset Tabular     <lyxtabular version="3" rows="9" columns="11">     <features tabularvalignment="middle">     <column alignment="center" valignment="top" width="0pt">     <column alignment="center" valignment="top" width="0">     <column alignment="center" valignment="top" width="0">     <column alignment="center" valignment="top" width="0">     <column alignment="center" valignment="top" width="0">     <column alignment="center" valignment="top" width="0">     <column alignment="center" valignment="top" width="0">     <column alignment="center" valignment="top" width="0">     <column alignment="center" valignment="top" width="0">     <column alignment="center" valignment="top" width="0">     <column alignment="center" valignment="top" width="0pt">     <row endhead="true">     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Variability Mechanism     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Representation     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Granularity     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Pre-planning effort     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Feature Traceability     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Separation of Concerns     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Information Hiding     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Crosscutting Features     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Binding-time     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     Uniformity     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \series bold     PLE Adoption Approach     \end_layout          \end_inset     </cell>     </row>     <row>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Parameters     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Annotation     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Fine-grained     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Suited     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Load-time     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Code-only     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Reactive     \end_layout          \end_inset     </cell>     </row>     <row>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Build System     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Annotation     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Coarse-grained     \begin_inset Foot     status collapsed          \begin_layout Plain Layout     File level     \end_layout          \end_inset               \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \begin_inset Foot     status collapsed          \begin_layout Plain Layout     File level only     \end_layout          \end_inset               \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Unsuited     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Compile-time     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Full     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Extractive     \end_layout          \end_inset     </cell>     </row>     <row>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Version control systems     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Composition     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Arbitrary     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low      \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Suited     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Compile-time     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Full     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Proactive     \end_layout          \end_inset     </cell>     </row>     <row>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Pre-processors     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Annotation     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Arbitrary     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Low     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Unsuited     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Compile-time     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Full     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Extractive     \end_layout          \end_inset     </cell>     </row>     <row>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Design-patterns     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Composition     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Fine-grained     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Unsuited     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Compile-time - Load-time     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Code-only     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Proactive     \end_layout          \end_inset     </cell>     </row>     <row>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Frameworks     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Composition     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Coarse-grained     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Unsuited     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Load-time     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Code-only     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Proactive     \end_layout          \end_inset     </cell>     </row>     <row endhead="true">     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Components     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Composition     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Coarse-grained     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     High     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Unsuited     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Compile-time - Load-time     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Full     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Proactive     \end_layout          \end_inset     </cell>     </row>     <row endhead="true">     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Feature-oriented programming     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Composition     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Suited     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout     Compile-time     \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \end_layout          \end_inset     </cell>     <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">     \begin_inset Text          \begin_layout Plain Layout          \end_layout          \end_inset     </cell>     </row>     </lyxtabular>          \end_inset               \end_layout          \end_body     \end_document


title: How to set page geometry for a single page only?

text: I want to change the geometry for a single page only. I set the geometry for the whole document using:               \usepackage[left=1cm,right=2cm,top=2.5cm,bottom=2.5cm,footnotesep=0.5cm]{geometry}      The geometry package provides the two commands `\newgeometry` `\restoregeometry`, but the `\newgeometry` forces a `\clearpage`. I just want to change the geometry for one page only, is that possible?


title: How can I make my caption span both columns in a twocolumn revtex document?

text: I'm using revtex with twocolumn. I have a wide figure, and I put it in the `widetext` environment to allow it to span both columns. The figure itself looks fine, but the caption seems to be stuck in one of the columns, instead of following the rest of the figure and spanning the full width of the page. **How can I get the caption on a figure to span the full width of the page in revtex with two columns?**


title: Easiest way to draw a 3d coordinate system with axis labels and ticks in tikz

text: What's the easiest way to draw a 3d coordinate system in tikz with axis labels and ticks like the following one: ![Example](http://i.stack.imgur.com/UfVH1.png) Is there any additional package which does this (with adjustable parameters)?


title: TikZ nodepart enumeration

text: When I enumerate nodes I can write for example:               \nodepart{sixteen}1      But I need to make nodes with numbers: twenty-one or more. How can I do that? When I write               \nodepart{twenty-one}1      Latex returns an error. I was trying to find any example, but I didn't found anything what is more than twenty.


title: Breaking a multicol over a column in a multicol environment

text: I have a nested multicol environment like:               \begin{multicols}{2}     Text     \begin{multicols}{2}     lots of text     \end{multicols}     \end{multicols}      my problem is the nested environment becomes longer than the remaining space on the first side of the page, and moves the entire environment over to the next column. Is it possible to have it break the nested multicol environment over the column like a multicol would break over the page?


title: How do I use an auxilliary file for my own commands?

text: I would like to extend the `\label` and `\ref` commands to provide me not only with the number of the section but also some sort of heading. What I have in mind is something like this:               \documentclass{article}     \usepackage{xparse}     \makeatother     \let\oldlabel\label     \def\Ref#1{see~\ref{#1}~(\csname l@#1\endcsname)}     \DeclareDocumentCommand{\label}{m o}%     {     \oldlabel{#1}     \IfValueTF{#2}%         {\expandafter\gdef\csname l@#1\endcsname{#2}}         {}     }     \makeatother     \begin{document}         \section{Intro}\label{intro}[Introduction]         Some text referencing \Ref{intro} or \Ref{outro}         \section{Outro}\label{outro}[Outro]         blah...     \end{document}      However, if I use \Ref with a forward reference I get an error because `\l@outro` is not yet defined. I would like to fix that by writing these `\gdef`s into an aux file and including at the begin of the document at the second latex run. Therefore, my questions are: 1) How can I properly write `\gdef`s into an aux file, say `\jobname`.ref ? 2) How can I safely read the aux file? (It might not yet exist...) The problem with undefined commands isn't a problem since `\@ifundefined` can be used. But let's assume all labels specify the optional argument so far. Thanks for your help!


title: Remove border/frame around png in latex?

text: I saved an excel graphic in Paint as a .png, and then inserted it in a LaTeX document I'm writing, using the following code: "bla bla...Figure `~\ref{fig:AQmDQmHCQ}` shows the relationship between bla bla bla, all three calculated as kWh per month:               \begin{figure}[H]       \centering       \includegraphics[height=2.5in]{AQmDQmHCQ}       \caption{Visualising delivery minimum levels}       \label{fig:AQmDQmHCQ}     \end{figure}      The problems:   1. I get a strange border around the image/figure. The border snugs to upper and lower image bounds, but to the right it fills the whole page, even though the figure finishes well before the center.    2. It floats. i don't like things that float. It shows up in the next section which doesn't have anything to do with the subject of the figure. EDIT: putting in pic: ![enter image description here](http://i.stack.imgur.com/2jgEc.png)


title: How shift a part of the long table to the next page in LATEX?

text: I have a long table in LATEX, where is not visible completely in a page. I want to shift a percentage of a table into the next page. e.g., 70% of the table in the current page and remained 30% in the next page. How is it possible in LATEX?


title: Searchable text and math, encoding

text: Im running into a problem with text and math font encoding. First off, the goal at the end of the day is to have a .pdf and .tex which can be searched and copied. The document is compiled in XeTex, and written (the .tex) entirely with unicode characters. So `ω` instead of `\omega`. The most significant issue I am running into is fonts. After some searching, I found that the Latin Modern Roman typeset doesnt actually have very many characters in it. I cannot find a more extensive version other than latinmodern-math.otf, which has its own problems. It is important to be able to type every character outside of a math environment. After exploring with the unicode-math package (which uses latinmodern- math.otf) I found that it destroys the output .pdf because of the math font indexes it uses. For example, all italic characters have a unique hex value instead of the same as their upright character (the later being the standard). This makes searching the .pdf for all bold, italic, and Fraktur impossible. Similarly, without the unicode-math package, (because typing ω in a math setting does nothing) using `\omega` creates a `!` character, which also makes the document unsearchable. (I have yet to figure out why it doesn't show up as an `!` in the .pdf). Example, without the unicode-math package: `$H_{2}(j Ω \Omega ω \omega)$` will produce `H2(jΩ!)`. Both the `Ω` and `ω` were omitted from the end result. Example, with the unicode-math package: `$H_{2}(jΩω)$` will produce `(Ω)` What I am looking for, is to be able to type, for example:               Here is some text, Ω, ω, $H_{2}(jΩω)$      And have that output the characters:               Here is some text, Ω, ω, H2(jΩω)      Then of course format the math section like normal. (not shown) Does anyone know how to solve this problem, and create both text and math that turn standard unicode input into standard unicode output? One that can be properly searched and copied?


title: What's the font used in the environment align and packages amsmath, amsfonts?

text: What's the font of mathematical formulas (used in the environment `align` and packages `amsmath`, `amsfonts`) called, please? Thanks a lot.


title: Format page number in the toc / listoffigures / listofalgorithms

text: I have each listing on one single side. Is there any way to format the page number (font size and alignment)? I use the package `fancyhdr` and the following code:               \fancyfootoffset[R]{1cm}     \setlength{\footskip}{0.8cm}      That doesn't work. Here I have a little example. Page numbers "IV" and "1" are correct formatted, the numbers of pages above not.               \documentclass[a4paper,12pt,listof=toc]{scrartcl}     \usepackage[T1]{fontenc}     \usepackage[ngerman]{babel}      \usepackage{geometry}     \usepackage{fancyhdr}     \usepackage{sectsty}     \usepackage{algpseudocode}     \usepackage{algorithm}     \usepackage{listings}      \usepackage{etoolbox}     \usepackage[nottoc]{tocbibind}     \usepackage{tocloft}          % adjust page numbers horizontally and vertically     \fancyfootoffset[R]{1cm}     \setlength{\footskip}{0.8cm}          \newcommand{\changefont}{%         \fontsize{10}{12}\selectfont     }          \pagestyle{fancy}          % clear all header and footers     \fancyhf{}      \renewcommand{\headrulewidth}{0pt} % remove the header rule     \renewcommand{\headrulewidth}{0pt} % remove the header rule     \rfoot{\changefont \thepage}          % font     \setkomafont{disposition}{\normalcolor\bfseries}          % space between two lines and margins of document     \renewcommand{\baselinestretch}{1.5}     \geometry{left=3cm,right=2.5cm,bottom=2cm,top=2cm}          \begin{document}     \thispagestyle{empty}              \pagenumbering{Roman}     \setcounter{page}{1}          \tableofcontents          \newpage     \listoffigures          \newpage     \listoftables          \newpage     \listofalgorithms            \newpage     \pagenumbering{arabic}     \setcounter{page}{1}          \section{Introduction}     \noindent     text     \end{document}      ![](http://i.stack.imgur.com/2uT2t.jpg) ![enter image description here](http://i.stack.imgur.com/LgJPf.jpg)


title: Creating a new array column type dynamically

text: I am evaluating toks registers for various uses - they are still fairly new to me. I'm using them to construct a table column-wise. During this, I have come across an issue I have failed to find a solution for. Consider the following example:               \documentclass{article}     \usepackage{array}     \usepackage{longtable}          \newtoks\toksFormat     \newtoks\toksLine          \toksFormat = {lcr}     \toksLine   = {first & second & third}          \begin{document}            % this works       \newcolumntype{X}{clr}       \begin{longtable}{|X|}         \hline         \the\toksLine \tabularnewline         \hline       \end{longtable}            % this doesn't       \newcolumntype{X}{\the\toksFormat}       \begin{longtable}{|X|}         \hline         \the\toksLine \tabularnewline         \hline       \end{longtable}          \end{document}      As the documentation of the package `array` states, great care is taken not to evaluate the preamble. I suppose that is what's causing the error message in the second table:               ! Package array Error:  Illegal pream-token (\the): `c' used.      I'm not sure whether this is an `array` issue at all, it might just be down to some plain TeX magic I do not (yet) know of. Is it somehow possible to force the expansion of `\the\toksFormat` inside the call to `\newcolumntype`?


title: verbatim environment does not produce monospace

text: I use quite a lot packages in my document and I cannot find which one's fault is that verbatim does not produce monospaces. Anyway, if I knew this, I have no idea how to solve problems when packages are not friendly to each other, so is there any solution with so little information? Edited: I just tried to look how does verbatim reacts to other packages I use, and font differently changed almost with every new package, however, it looked (more or less) not so bad. So the problem is because of language I use, what probably makes my problem more difficult to solve for those, who doesn't use these.               \documentclass{article}     \usepackage[utf8]{inputenc}     \usepackage[L7x]{fontenc}     \usepackage[lithuanian]{babel}     \begin{document}     \begin{verbatim}     for i=0:10         y(find(x < 0 & x > 1)) = 10;     end;     \end{verbatim}     \end{document}      Edited with new relevant situation: lithuanian caused one more font problem. I cannot get Times font with `\usepackage{pslatex}`, how to fix this?


title: caption overlapped on plot label

text: I have a plot obtained with gnuplot with epslatex terminal. So, I have two output files from gnuplot: foo.eps with the graph and foo.tex with the label also. To include the plot in my latex document I have write               \documentclass[a4paper,11pt]{toptesi}     \usepackage{graphicx}          \begin{document}          \begin{figure}     \input{foo}     \caption{bla bla}     \end{figure}          \end{document}      The problem is that the caption apparently see only the .eps and write over the labels contained in the .tex file. How to tell the caption to write at the bottom of the entire plot (image+labels)? The problem is with all gnuplot+epslatex graphs. I do something like               set term epslatex     set output 'foo.tex'     set xlabel '$x$'     set ylabel '$f\left(x\right)$'     plot 'data.dat' u 1:2 w lines      and the caption is always under the image but overlapped with the x-label. There is a way to move the caption manually even if is not the elegant way?


title: Problem with abbreviation of `\multirow` and `\multicolumn` (LaTeX)

text: I have had to typeset several block matrixes lately. So I thought of defining abbreviations of `\multirow` and `\multicolumn` so as to avoid having to remember the former needs `{*}` and the latter `{r}` and just give the content of the `\multi`-thing and the number(s) of rows and/or columns that content should occupy. I came to this code, showing two possibilities to define the same command:               \documentclass[a4paper]{report}     \usepackage{multirow,xparse}     \NewDocumentCommand{\multi}{moo}     {\IfNoValueTF#3             {\IfNoValueTF#2                     {\errmessage{Too few arguments}\errhelp{You must specify either the number of columns or that of rows but not neither.}}                     {\multirow{#2}{*}{#1}}}             {\if#2n                     \multicolumn{#3}{r}{#1}             \else                     \multicolumn{#3}{r}{\multirow{#2}{*}{#1}}             \fi}     }     \newcommand{\mr}[1]{\multirow{#1}{*}}     \newcommand{\mc}[1]{\multicolumn{#1}{r}}     \newcommand{\mrc}[3]{\mc{#2}{\mr{#1}{#3}}}     \newcommand{\xmulti}[3][n]{         \if#1n             \mc{#2}{#3}         \else             \if#2n                 \mr{#1}{#3}             \else                 \mrc{#1}{#2}{#3}             \fi         \fi     }          \begin{document}     $$\begin{array}{cccccccc}     %\multi{mapu}[n][3]&\multi{mu}[4]\\     %\multi{gungu}[2][5]     \end{array}$$     $$\left(\begin{array}{cccccccc}     \multicolumn{3}{r}{mapu}&\multirow{4}{*}{mu} \\     \multicolumn{5}{r}{\multirow{2}{*}{gungu}}     \end{array}\right)$$     $$\begin{array}{cccccccc}     \mc{3}{mapu}&\mr{4}{mu}\\     \mrc{2}{5}{gungu}     \end{array}$$     $$\begin{array}{cccccccc}     \xmulti{3}{mapu}&\xmulti[4]{n}{mu}\\     \xmulti[2][5]{gungu}     \end{array}$$     \end{document}      Trouble is, both commands, no matter what, give the same error:               Misplaced \omit.     \multispan ->\omit                         \@multispan      l.43 \xmulti{3}{mapu}                          &\multi[4]{n}{mu}\\      What does it mean, and how do I correct it? Shouldn't those commands both expand to the explicitly typed thing in the middle? Stranger still, `\multi{foo}[bar]` (`bar` being a number) seems to invariably fall into the `\else` branch of the `\if#2n` conditional, since commenting the instruction there solves the problem, with a `NValue` or the likes being typesetted, whereas it should fall into the `true` value of the `\IfNoValueTF#3` conditional and the `false` branch of the therein nested `\IfNoValueTF#2` conditional. The same (with due changes to the conditionals) goes for `\xmulti{bar}{foo}`, with `bar` a number. Why does that happen? **Update:** I've worked on the code, turning it into:               \DeclareExpandableDocumentCommand{\multi}{omm}     {\IfNoValueTF#2             {\IfNoValueTF#1                     {\errmessage{Too few arguments}\errhelp{You must specify either the number of columns or that of rows but not neither.}}                     {\multirow{#1}{*}{#3}}}             {\if#1n                     \multicolumn{#2}{r}{#3}             \else                     \multicolumn{#2}{r}{\multirow{#1}{*}{#3}}             \fi}     }      That works. Only of course it never falls into the `\IfNoValueTF#2` branch, since `#2` is mandatory. So I tried changing the conditional, getting to:               \DeclareExpandableDocumentCommand{\multi}{omm}     {\if#2n             {\IfNoValueTF#1                     {\errmessage{Too few arguments}\errhelp{You must specify either the number of columns or that of rows but not neither.}}                     {\multirow{#1}{*}{#3}}}     \else             {\if#1n                     \multicolumn{#2}{r}{#3}             \else                     \multicolumn{#2}{r}{\multirow{#1}{*}{#3}}             \fi}     \fi}      And suddenly I'm back with the `misplaced \omit`. Why?


title: Prevent multiple row header from splitting when using xtabular

text: Using the `xtab` package and the `xtabular` environment, I get my table header split when using several rows. Example:               \noindent     \begin{center}     \small     \tablefirsthead{%         \hline        & \multicolumn{4}{c||}{NoExtKnowSrc} & \multicolumn{4}{c|}{UserMngmt} \\        \cline{2-9}        & StSeCo & SeLoCo & SeAb & SeRe & StSeCo & SeLoCo & SeAb & SeRe \\       \hline       \hline}     \tablehead{%       \multicolumn{9}{l}{\small\sl continued from previous page} \\       \hline       & \multicolumn{4}{c||}{NoExtKnowSrc} & \multicolumn{4}{c|}{UserMngmt} \\       \cline{2-9}        & StSeCo & SeLoCo & SeAb & SeRe & StSeCo & SeLoCo & SeAb & SeRe \\       \hline       \hline}     \tabletail{%         \hline         \multicolumn{9}{r}{\small\sl continued on next page}\\     }     \tablelasttail{\hline}     \topcaption{First Aggregation CFs table 1/2}     \label{first-aggregation-1}     \begin{xtabular}{|l||*{4}{l|}|*{4}{l|}}         ClaConDef & 0.15 & 0.03 & 0.076 & 0.16 & - & - & - & - \\         CovGenDev & - & - & - & - & - & - & - & - \\         SupUmbAct & - & - & - & - & 0.125 & - &  0.15 & - \\         SmoSeaTra & - & - & - & - & - & - & - & - \\      \end{xtabular}     \end{center}      Renders like this using pdflatex: ![image](http://i.stack.imgur.com/ehaW5.png) The second row of the header shouldn't be repeated and shouldn't be split from the first row as well. Any suggestion? ## ADDED The undesired behavior can be obtained by running the following example:               \documentclass{article}     \usepackage{xtab}     \begin{document}     \vspace*{\textheight}\vspace*{-10\baselineskip}     \begin{center}     \small     \tablefirsthead{%         \hline        & \multicolumn{4}{c||}{NoExtKnowSrc} & \multicolumn{4}{c|}{UserMngmt} \\        \cline{2-9}       & StSeCo & SeLoCo & SeAb & SeRe & StSeCo & SeLoCo & SeAb & SeRe \\       \hline       \hline}     \tablehead{%       \multicolumn{9}{l}{\small\sl continued from previous page} \\       \hline       & \multicolumn{4}{c||}{NoExtKnowSrc} & \multicolumn{4}{c|}{UserMngmt} \\       \cline{2-9}       & StSeCo & SeLoCo & SeAb & SeRe & StSeCo & SeLoCo & SeAb & SeRe \\       \hline       \hline}     \tabletail{%         \hline         \multicolumn{9}{r}{\small\sl continued on next page}\\     }     \tablelasttail{\hline}     \topcaption{First Aggregation CFs table 1/2}     \label{first-aggregation-1}     \begin{xtabular}{|l||*{4}{l|}|*{4}{l|}}         ClaConDef & 0.15 & 0.03 & 0.076 & 0.16 & - & - & - & - \\         CovGenDev & - & - & - & - & - & - & - & - \\         SupUmbAct & - & - & - & - & 0.125 & - &  0.15 & - \\         SmoSeaTra & - & - & - & - & - & - & - & - \\      \end{xtabular}     \end{center}     \end{document}


title: Table with colored rows alternating every n rows

text: I'd like to create a table where the background color of the rows changes every `n>1` rows. I have seen in wikibooks how alternate rows can have different colors and I have looked at one `xcolor` documentation I found online at math.washginton.edu but I can't figure out how I can have the rowcolor to change every `n` rows, say every 5 rows. Also, would it possible to define some sequence, say {4,9,11..} which will tell LaTeX at which row # to switch colors? That way if my observations are unbalanced then I can still highlight the backgrounds differently. What I mean by this is that if I have 3 rows of data from model-1 and 5 rows of data from Model-2 and 2 rows of data from Model-3 then the first 3 rows of my table can be white, the next 5 can be gray and the next 2 rows can be white again and so on..for improved readability, which I need because I have a ton of numbers, which I guess most tables have. :) Right now I am laboriously writing `\rowcolor{}` in front of any row that I'd like colored. Any help will be greatly appreciated.


title: Issues centering table with altered fontsize

text: I am doing my thesis and want to have all table consistently centered on the page, and \footnotesize text. For some reason one table decides to left justify when I make it footnote size (or any other size):               \begin{table}[H]         \caption{Variants in genes with AF $< 0.01$ in Individual II1, Family A.}         \label{table:BBS_var}      \begin{footnotesize}         \centering         \begin{tabular}{llllrr}         \hline         \textbf{Gene} & \textbf{Nucleotide} & \textbf{Amino-acid} & \textbf{Transcript} &  \textbf{ESP} & \textbf{GERP}\\             &   \textbf{change} & \textbf{change} & \textbf{ID} & \textbf{AF} &\textbf{++} \\         \hline         \textit{Lorem}  & . & . & Lorem  & 0.00186 & 5.4  \\         \textit{Lorem} & . & . & Lorem            & .        & 2.25 \\         \textit{Lorem}  & .  & . & Lorem          & .        & 5.67 \\         \textit{Lorem}  & .  & . & Lorem             & 0.000116 & 5.67 \\         \hline         \end{tabular}     \end{footnotesize}     \end{table}      If I remove the \footnotsize lines then it centres the table fine, but is the wrong size text obviously. I can also use \begin{centre} within the table environment, but then this adds a large gap between the caption and table, which is also undesired. I have another almost identical table (aside from the data) which reduces size without issue. I have tried copying this table and repopulating it for the data for this table, but then the issue magically manifests again. Any ideas? It's starting to make me feel I'm going a little bit insane now.... PS. Using Pdflatex 2013.9.11, preamble is:               %% General layout     \documentclass[12pt,a4paper,oneside]{book}     \usepackage{fullpage}     \usepackage{tikz}     \usepackage{microtype}     \usepackage[onehalfspacing]{setspace}     \usepackage[bindingoffset=2cm,margin=2cm]{geometry}     \usepackage[utf8]{inputenc} % UTF8 encoding solves issuse in references with obscure characters     \usepackage{fixltx2e} % adds subscript command     \usepackage[british]{babel}     \usepackage{csquotes}     \usepackage{amsmath}     \usepackage[toc,page]{appendix}     \usepackage{pdfpages}     \usepackage{listings}     \usepackage{color}     \usepackage{subfigure}     %Figure layout     \usepackage{graphicx}     \usepackage{float}     \usepackage[margin=12pt,font=footnotesize,labelfont=bf,labelsep=colon]{caption}     \graphicspath{{./figures/}}          %PDF bookmarks     \usepackage[bookmarks=true,hidelinks]{hyperref}     \usepackage{bookmark}          \usepackage{fancyhdr}     \pagestyle{fancy}     \fancyhead{}     \renewcommand{\headrulewidth}{0 pt}


title: Formatting Headers

text: I am writing a document using book class and I'd like to implement the following: a) The header of all even pages have the title of the respective chapter (and possibly also the number, I haven't made up my mind about this yet; but not "Chapter 2 - Some Math", just something like "2. Some Math"). Not in upper case though (which is the LaTeX default). b) The header of all odd pages would have the title of the respective section (and, again, possibly its number). (To distinguish between section titles and page titles perhaps the former ones could be emphasised). On even pages (titles) the header should be left align, and on odd pages (sections) the headers should be right aligned. I'd also like to have page numbers on the center of the footer. Also, I would appreciate if someone could present a solution where all the pages (even and odd) would have a header as in a). Thank you in advance. MWE:               \documentclass[11pt,a4paper]{book}     \usepackage[portuguese]{babel}     \usepackage[utf8]{inputenc}     \usepackage[T1]{fontenc}     \usepackage{amssymb}     \usepackage{amsmath}     \usepackage{amsthm}          \begin{document}           \chapter*{Some Math Stuff}              \chapter{More Math Stuff}          \end{document}


title: Texmaker not allowing user-defined shortcuts

text: I'm using Texmaker on Mac OS 10.8 and I'm generally happy with it. However, I think I noticed a very serious bug: user defined shortcuts cannot overwrite the default ones, no matter what. `Cmd`+`shift`+`D` will always mean "subscript" to Texmaker, even though I **removed** that shortcut and made it mean "uncomment" in the preferences. This is, shall we say, very annoying? I've worked on Kile for Linux for years, and I still do when I'm on a Linux machine at work. I need the freedom to reconfigure shortcuts to mean the same on all editors, regardless of the machine I'm using.


title: Why does using the subfigure command break my Beamer presentation, and what should I replace it with?

text: I'm trying to update a Beamer presentation created waaaaay back in 2008 by LyX. It uses the `subfig` package to create a series of slides that appear to update a single image on the same page. Unfortunately, it no longer seems to render with `pdflatex`. I exported the LyX document to LaTeX to isolate the problem, and the minimal document that demonstrates it is:               \documentclass{beamer}          \usepackage{graphicx}     \usepackage{subfig}          \begin{document}     \begin{frame}     \begin{figure}[H]          \subfloat[Before]{       \includegraphics[clip,width=0.45\textwidth]{IX_ICA2}     }          \subfigure[After]{       \includegraphics<1>[width=0.45\textwidth]{IX_ICA2.pdf}       \includegraphics<2>[width=0.45\textwidth]{IX_k-2.pdf}     }          \protect\caption{Overall caption for the whole figurey thing}          \end{figure}     \end{frame}     \end{document}      When I run it through `pdflatex` (v3.1415926-2.4-1.40.13), it stops with this error:               ! Undefined control sequence.     \beamer@doifinframe ...IX_ICA2} } \par \subfigure                                                        [After]{ \includegraphics ...     l.22 \end{frame}      If I remove the entire `\subfigure{...}` command, it renders fine. According to the manual, the `subfigure` command is only included in the `subfig` package for backwards compatibility. But I can't figure out what combination of commands to replace it with. What's the best way to achieve the original effect here?


title: Bigfoot with marginpar creates "Dimension too large" error

text: This question follows a previous solved one here on a related topic. I am compiling a document that includes the `bigfoot` package with the `para` option, and also has `\marginpar`. If I compile a short paragraph with these options it goes through fine, but any length to it and it spits out a "Dimension too large" error. This may be the same problem reported here, where the package author says that the then-current dev version didn't seem to have the problem. He offered to share the dev version privately, but later doesn't seem to be responding to messages and emails. (I hope he's ok!) The dev package doesn't seem to be available in the stated repository, either. So I need to either adjust what I'm doing somehow, or, perhaps, use the dev version if that is available anywhere. Any ideas? Here is an MWE. Note that this is actually a _working_ example, to demonstrate what I want to achieve. To get the bug, simply duplicate the paragraph. Even such a limited expansion of the text is too much, whereas I want to compile a document of around 750,000 words, with some tens of thousands of margin notes and footnotes.               \documentclass{book}     \usepackage{bigfoot}     \AtBeginDocument{%     \RestyleFootnote{default}{para}}     \begin{document}     \marginpar{Test}Lorem ipsum\footnote{Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. Long note. } dolor sit amet,\footnote{Note.} sed purto conclusionemque\footnote{Note.} et, \marginpar{Test} in luptatum efficiantur sea.      \end{document}


title: How to rotate my text

text: I need to rotate by 180° the text. Just to read normally!!!               \documentclass[a4paper]{article}     \usepackage[margin=1cm]{geometry}     \usepackage[usenames, dvipsnames]{xcolor}      \usepackage{pstricks-add}     \usepackage{pst-all}     \renewcommand{\familydefault}{\sfdefault}          \begin{document}     \begin{pspicture}[showgrid]          \psarc(4,4){2}{0}{180}     \psset{linestyle=none,xunit=1cm,yunit=1.05cm}     \pstextpath[c]{%     \psarc(4,4){2}{0}{180}}{%     \color{red} 25\% OFP distance}          \end{pspicture}     \end{document}


title: Vertical alignment of equations

text: I'm trying to put three equations in the same line. I used the `tabularx` package as was advised by this post: How to place and number 3 short equations in one line?. However since I am using equation with different heights, they do not align well vertically. I manage to solve this using `\vspace` but I would like to know if there is a more elegant solution. Here is the code I used:               \documentclass[11pt,a4paper]{article}     \usepackage{amsmath}     \usepackage{tabularx}     \usepackage[margin=0.25in]{geometry}     \begin{document}          \noindent\begin{tabularx}{\textwidth}{@{}XXX@{}}       \vspace{0.1mm}       \begin{equation}         Euc(P,Q)= \left( \sum_{i=1}^n \left| p_i - q_i \right|^2 \right)^{1/2}         \label{eqn:1}       \end{equation} &       \vspace{1.5mm}       \begin{equation}         Canb(P,Q)=\sum_{i=1}^n \frac{|p_i-q_i|}{|p_i|+|q_i|}         \label{eqn:2}       \end{equation} &       \vspace{5.8mm}       \begin{equation}         Man(P,Q)=\sum_{i=1}^n |p_i-q_i|         \label{eqn:3}       \end{equation}     \end{tabularx}     \end{document}      ![enter image description here](http://i.stack.imgur.com/Shq8s.png)


title: Any way to change color of \not

text: I often use command `\not` just to cancel off symbols in my equations and i would need an advice on how to change the color of this command.


title: Using color before flushleft adds vertical space

text: A `\color` command before a `\begin{flushleft}` adds spurious vertical space when compiled using `pdflatex` (see MWE). The documentation (`texdoc color`) mentions issues with spacing. Similar issues might apply to the `verbatim` environment. Are there reliable solutions or workarounds for this problem that can be safely used for a LaTeX code generator? Or should one rather avoid, at all costs, switching color "between environments" -- say, by using the `fancyvrb` package?               \documentclass{article}     \usepackage{color}     \pagestyle{empty}     \begin{document}          The spacing between this     \begin{flushleft}     and the following paragraph is good.     \end{flushleft}%     \color{red}%     \begin{flushleft} But here comes trouble. Why is the red block two parskips away?     \end{flushleft}     \color{blue}%     Changing from flushleft to regular doesn't add space even when color is changed.     \begin{flushleft}      \color{green}%     Neither does changing color inside flushleft.     \end{flushleft}          \end{document}      ![enter image description here](http://i.stack.imgur.com/LHh4f.png)


title: BiBTeX Name Order

text: When I compile my bibliography it lists the names as "John Smith" instead of "Smith, John". How do I change this? By the way, I am using BibDesk.


title: Referring to .bib-file with subscript

text: I can't compile after I referred to my .bib-file with the reference:               title = {{Modeling O₂ transport as an integrated system limiting V(O₂MAX}},      Any help?


title: Vertical line in matrix in gauss package

text: I am currently using the `gauss` package since I need to write out operations between my matrices. However I am unable to add a vertical line to the far right in my augmented matrices. The `gauss` package is unable to act upon array-environments, but rather it uses its own `gmatrix`-environment. I found this workaround: http://texblog.net/latex-archive/maths/amsmath-matrix/ but its not applicable to `gmatrix`-environments. Any ideas, forum?


title: Matrix with line and matrix operations

text: I want to produce this matrix: ![example](http://i.imgur.com/O0iwYbF.png) For the vertical line I can use `\begin{array}{cc|c}` and for the matrix operation I use environment `gmatrix` from the `gauss` package. But I can't use these options at the same time. Does anyone have a solution? * * * Update: What I actually have:               \begin{gmatrix}[p]         1 & 2 & \vline & 3 \\          4 & 5 & \vline & 6 \\         7 & 8 & \vline & 9         \rowops         \swap{0}{1}         \mult{0}{\cdot 7}         \add[5]{1}{2}     \end{gmatrix}      and result: ![s](http://i.imgur.com/mU6RRPn.png)


title: Onecolum at the end in twocolum

text: So I have two problems: first. how to add onecolumn at the end of article withtout breaking page? second. same but after table in the middle of text? ![enter image description here](http://i.stack.imgur.com/sT6Dq.png)


title: How to generate PDF with 6 slides from Beamer presentation?

text: I would like to generate a PDF document with 6 frames on the same page. What I mean is that I have a Beamer presentation with a Frame on every slide, and I want to get something like this : http://alumni.media.mit.edu/~maov/classes/vision09/lect/09_Image_Filtering_Edge_Detection_09.pdf is it possible ? any idea from where to start ?


title: Weird font/spacing issue with LuaTeX & Asana Math

text: Trying to use LuaTeX font support in some big document, everything went fine except a little glitch with Asana Math font. Here is the issue:               \documentclass{standalone}     \usepackage{unicode-math}          \begin{document}     \setmathfont{Asana Math} %(probably unrelated, but without this nothing will show up)          Spacing issues:     \begin{tabular}{cccccccc}     \setmathfont{Asana Math}     $α_1$ & $ω_a$ & $ωa$ & $ω_1$ & $ω^a$ & $\omega_1$ & $Ω_1$ & $λ_k$ \\     \setmathfont{XITS Math}     $α_1$ & $ω_a$ & $ωa$ & $ω_1$ & $ω^a$ & $\omega_1$ & $Ω_1$ & $λ_k$ \\     \end{tabular}          \end{document}      ![font issue with Asana Math](http://i.stack.imgur.com/XMv9m.png) ω has a little problem with subscripts (and superscripts). Updated the font and unicode-math with the last versions available on CTAN, but the problem remains. Any idea of what can cause this? Any workaround that won't require to spot every occurence of "ω_"?


title: Is there a way to remove white margins when importing a pdf file?

text: A workaround is to use `pdfcrop` separately (in the terminal) to crop the PDF file we want to import. However - is there a way to remove white margins when importing a PDF file from within the `tex` file? The two common packages to import PDF files are `pdfpages` or `graphicx`. Can I 'preprocess' a file for them with `pdfcrop` within `tex` file?


title: PDF figure not scaled in PDFLaTeX

text: I use pdflatex in order to use microtype. However, I have to import pdf figures and not eps. The problem is that the scale option seems to be ignored because in the pdf file I see the figure in the original size.               \documentclass[a4paper,11pt,twoside,showtrim,openright,titlepage]{memoir}     \usepackage{footnote}     \usepackage{graphicx}     % MICROTYPE     \usepackage[tracking=true,letterspace=-10]{microtype}     \usepackage{lmodern}     \DeclareMicrotypeAlias{lmss}{cmr}     \DisableLigatures{encoding = T1, family = tt*}     \SetTracking{shape = sc}{10}     \SetTracking{encoding = *}{100}     \usepackage{hyphenat}          \begin{document}       \begin{figure*}[th]         \centering         \includegraphics[scale=0.20]{foto/Mad1.pdf}         \thispagestyle{empty}       \end{figure*}     \end{document}      **[EDIT]** I tried all suggestions, also that in the accepted answer, but I confirm that it does not work. Moreover, the scale option is creepy: the image position is strange and difficult to understand why.


title: Text before maketitle

text: ![enter image description here](http://i.stack.imgur.com/9BP7E.png) My goal is to put text before `\maketitle` as well as on left side, and on the right. They should be on the same level. I've tried `\begingroup` \-- doesn't work:               \documentclass[a4paper,10pt, twoside, twocolumn]{article}          \usepackage[utf8]{inputenc}     \usepackage[MeX]{polski}     \usepackage{tocloft}     \makeatletter             \renewcommand\@seccntformat[1]{\csname the#1\endcsname.\quad}             \renewcommand\numberline[1]{#1.\hskip0.7em}             \renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}     \makeatother               \usepackage[%        headheight=25pt,        includeheadfoot,        margin=2cm        ]{geometry}        \usepackage{hyperref}        \hypersetup        {             colorlinks,         citecolor=black,         filecolor=black,         linkcolor=black,         urlcolor=gray,         pdfmenubar=false,         pdftex        }             \frenchspacing        \title{Tytul}               \author{Iksinski}        \date{some date}             \begin{document}                  \begin{flushright}        right text        \end{flushright}        \begin{flushleft}        left one        \end{flushleft}        \begingroup        \let\newpage\relax% Void the actions of \newpage        \maketitle        \endgroup             \maketitle        \end{document}


title: Why isn't the "booklet" package behaving as expected?

text: I'm trying to use the `booklet` package to typeset a gathering of folios. Without the `booklet` package, the document would be typeset on 5.5 × 8.5 portrait pages. It's my understanding that `booklet` can be coaxed into placing pairs of these 5.5 × 8.5 pages side by side on 11 × 8.5 landscape pages, in the correct order for binding. I'm having lots of problems, but I'll start with the most basic one: **I can't even get`booklet` to output 11 × 8.5 pages.** Below is a stripped-down sample of my document. When the `booklet` package is removed (or passed the `noprint`) option, pdfLaTeX correctly outputs four 5.5 × 8.5 portrait pages:                -------   -------   -------   -------      |       | |       | | Sam   | | SAM   |     | Frodo | | FRODO | |       | |       |     |       | |       | | Merry | | MERRY |      -------   -------   -------   -------       When the `booklet` package is enabled, I expect to get two 11 × 8.5 landscape pages, something like this:                --------------   --------------      | SAM          | |        Sam   |     |        Frodo | | FRODO        |     | MERRY        | |        Merry |      --------------   --------------       Instead, I get four 5.5 × 8.5 portrait pages:                -------   -------   -------   -------      | SAM   | |       | |       | |       |     |       | | FRODO | |       | |       |     | MERRY | |       | |       | |       |      -------   -------   -------   -------       What's going on? ## Sample Code               \documentclass{minimal}          \usepackage{color}          % page layout     \setlength{\paperwidth}{5.5in}     \setlength{\paperheight}{8.5in}     \usepackage[nohead,left=0.5in,top=0.5in,bottom=0.25in]{geometry}          % paragraph and box options     \setlength{\parindent}{0in}     \setlength{\parskip}{0in}     \setlength{\fboxsep}{0in}     \setlength{\fboxrule}{0in}          % printing     \usepackage[print,four]{booklet}     \source{\magstep0}{5.5in}{8.5in}     \target{\magstep0}{11in}{8.5in}     \setdvipstargetpages          \newcommand{\monopage}[2]{     \colorbox{magenta}{\begin{minipage}[c][7.5in]{\textwidth}     \setlength{\parskip}{16pt}     #1     \end{minipage}}     \colorbox{red}{\begin{minipage}[c][7.5in]{\textwidth}     \centering     #2     \end{minipage}}     }          \newcommand{\duopage}[4]{     \colorbox{cyan}{\begin{minipage}[c][3.75in]{\textwidth}     \setlength{\parskip}{16pt}     #1     \end{minipage}}     \colorbox{yellow}{\par\nopagebreak\begin{minipage}[c][3.75in]{\textwidth}     \setlength{\parskip}{16pt}     #3     \end{minipage}}     \colorbox{blue}{\begin{minipage}[c][3.75in]{\textwidth}     \centering     #2     \end{minipage}}     \colorbox{green}{\par\nopagebreak\begin{minipage}[c][3.75in]{\textwidth}     \centering     #4     \end{minipage}}     }          \begin{document}     % set font     \fontsize{24pt}{30pt}     \selectfont     \monopage{     Frodo     }{     FRODO     }     \duopage{     Sam     }{     SAM     }{     Merry     }{     MERRY     }     \end{document}


title: Which documentclass provides typesetting a very large poster?

text: > **Possible Duplicates:**   >  Really large poster in a0poster or other package   >  How to create posters using LaTeX I want to create a poster (.PDF file) with these dimensions:   * Width: 3 meters   * Height: 1 meter Inside I would like to put   * 1 raster file   * 1 EPS   * many typeset Is it possible to create by LaTeX? If yes, can someone suggest some documentclass that supports this big format?


title: Typography and style - good choices for font styles in TikZ or pgfplots graphics?

text: When creating graphics or graphs with TikZ and/or pgfplots, one can put several commands to format the text to his likings. My question is: what are sound possibilities to format the elements in said graphics created with TikZ or pgfplots? I an old project of mine I manually edited every single character in any math expression in the graphics/graphs to make it sans serif which was quite tiresome. So I am wondering: maybe there are more clever ways to do it? Maybe there are less elaborate format decisions? ## Example (picture) ![enter image description here](http://i.stack.imgur.com/OIy9C.png) ## MWE               \documentclass[     a4paper     ]{scrartcl}          \usepackage{     newtxtext,     booktabs,     tikz,     amsmath,     subcaption,     capt-of     }     \usepackage[T1]{fontenc}          \begin{document}     \begin{center}     \begin{minipage}{0.3\textwidth}     \begin{tikzpicture}[font=\sffamily\small]     %     \draw[thick] (0,0) rectangle (25mm, 50mm) node[below,xshift=-12.5mm] {All sans.};     %     \filldraw[thick, fill=black] (12.5mm,25mm) coordinate (A) circle (2pt) node[below right=2pt] {A} node[above=10pt, text width=2cm] {Some more text which is needed!};     %     %x     \draw[thick, ->] (A) -- ++(2,0) node[right=2pt] {\(\text{F}_{\text{x}}\)};     %z     \draw[thick, ->] (A) -- ++(0,-1.5) node[below=2pt] {\(\text{F}_{\text{y}}\)};     \end{tikzpicture}     \captionof{figure}{Text Text word.}     \end{minipage}     \hfill     \begin{minipage}{0.3\textwidth}     \begin{tikzpicture}[font=\small]     %     \draw[thick] (0,0) rectangle (25mm, 50mm) node[below,xshift=-12.5mm] {All serif.};     %     \filldraw[thick, fill=black] (12.5mm,25mm) coordinate (A) circle (2pt) node[below right=2pt] {A} node[above=10pt, text width=2cm] {Some more text which is needed!};     %     %x     \draw[thick, ->] (A) -- ++(2,0) node[right=2pt] {\(\text{F}_{\text{x}}\)};     %z     \draw[thick, ->] (A) -- ++(0,-1.5) node[below=2pt] {\(\text{F}_{\text{y}}\)};     \end{tikzpicture}     \captionof{figure}{And yet another.}     \end{minipage}     \hfill     \begin{minipage}{0.3\textwidth}     \begin{tikzpicture}[font=\small]     %     \draw[thick] (0,0) rectangle (25mm, 50mm) node[below,xshift=-12.5mm] {All serif.};     %     \filldraw[thick, fill=black] (12.5mm,25mm) coordinate (A) circle (2pt) node[below right=2pt] {A} node[above=10pt, text width=2cm] {Some more text which is needed!};     %     %x     \draw[thick, ->] (A) -- ++(2,0) node[right=2pt] {\(F_{x}\)};     %z     \draw[thick, ->] (A) -- ++(0,-1.5) node[below=2pt] {\(F_{y}\)};     \end{tikzpicture}     \captionof{figure}{Word word text.}     \end{minipage}     \end{center}     \end{document}


title: How do I use different fonts for mathematical equations?

text: The title says it all. This is my code snippet:               \documentclass[12]{article}     \usepackage{amsmath}     \usepackage{tex4ht}      \usepackage{chemarrow}     \usepackage[usenames,dvipsnames]{color}     \DeclareMathSizes{14}{20}{14}{10}     \begin{document}          \begin{equation}     \sum \ n \ f=1 \frac{1}{ \log_{2^{r}}4}     \end{equation}          \end{document}


title: \subfigure errors with ASME template

text: I am having some troubles in using \subfigure in LaTeX template for ASME conference papers, version 1.7. Here's my code: ### Figure               % GRAPHICS     \RequirePackage{caption}     \RequirePackage{subcaption}     \usepackage{graphicx}     \usepackage{subfigure}              \begin{figure}[t]         \begin{center}         \subfigure[Main Effect Plot]{             \includegraphics[width=\columnwidth,keepaspectratio]{Figure/Main_Effects_Plot.pdf}             \label{fig:main_eff_plot}}         \subfigure[Interaction Plot]{             \includegraphics[width=\columnwidth,keepaspectratio]{Figure/Interaction_Plot.pdf}             \label{fig:inter_plot}}         \end{center}         \caption{FACTORIAL PLOT}         \end{figure}      ### Errors in LaTeX source               /usr/local/texlive/2013/texmf-dist/tex/latex/subfigure/subfigure.sty:113: LaTeX Error: No counter 'figure' defined. [\newcounter{subfigure}[figure]]     /usr/local/texlive/2013/texmf-dist/tex/latex/subfigure/subfigure.sty:126: LaTeX Error: No counter 'table' defined. [\newcounter{subtable}[table]]     /usr/local/texlive/2013/texmf-dist/tex/latex/subfigure/subfigure.sty:413: LaTeX Error: Command \subref already defined. [  \ref{sub@#1}}]     ./asme2e.tex:360: Undefined control sequence. [\begin{quotation}]     ./asme2e.tex:360: Undefined control sequence. [\begin{quotation}]      Any help?


title: Combine two `align` in one

text: Consider the minimal code:               \documentclass{report}     \usepackage{mathtools}     \usepackage{lipsum}     \begin{document}     \lipsum*[2]%     \begin{align*}     m_{1}(x) &=x(x-1)=x^{2}-x, & m_{2}(x)&=x^{2}(x-1)=x^{3}-x^{2},     \end{align*}     \begin{align*}     m_{3}(x) &=x(x-1)^{2}=x^{3}-2x^{2}+x.     \end{align*}%     \lipsum*[3]     \end{document}      producing ![enter image description here](http://i.stack.imgur.com/OSFrb.png) What is the best way to have the same result but with a smaller vertical space between the two lines, but using only one environment? Of course I can try to use `\vspace{negative space}` between those two `align*` but I'm afraid it could be dangerous.


title: \hyphenation{ } in a part of text

text: Is it possible to make `\hyphenation{ }` only in one chapter or small text? Not the whole text but only in small pieces of text. Maybe it is possible to make a new language and use different hyphenations. In old form of languages and citations or in artificial languages.


title: Is it possible to change the way a list of algorithms is generated to include the word "Algorithm" before each element in the list?

text: I've tried using both `algorithm2e` and `algorithmic` to generate a list of algorithms, but they both do it this way:               List of Algorithms          1 BFS ..... 1     2 DFS ..... 2     ...      When I'd like to it to be:               List of Algorithms          Algorithm 1 BFS ..... 1     Algorithm 2 DFS ..... 2     ...      The packages being used:               \documentclass[pnumabnt,normaltoc,capchap,floatnumber=continuous]{abnt}       \usepackage[bibjustif,abnt-etal-cite=2,abnt-full-initials=yes]{abntcite}     \usepackage[toc,page]{modelo/tex/appendix}     \usepackage[portuguese,brazilian,portuges]{babel}     \usepackage[utf8]{inputenc}     \usepackage{abnt-alf}     \usepackage{graphicx}     \usepackage{multicol}     \usepackage{listings}     \usepackage{booktabs}     \usepackage{amsmath}     \usepackage{amsthm}     \usepackage{eucal}     \usepackage{amssymb}     \usepackage{mathrsfs}     \usepackage[portugues]{algorithm2e}


title: Graphical overlay in form of arrows (TiKZ) on subfigures in a poster (a0poster.cls)

text: I am trying to create a poster (right now I am using 'a0poster.cls') and I am not able to integrate subfigures overdrawn with tikz after this example by Gonzalo Medina. In this poster I am using also (externalized) pgfplots out of my thesis. The idea is to create a figure with three subfigures that are claryfied using interlinked arrows. I tried to find a way around my problem by externalizing the figure in a seperate .tex file to include the exported grapic subsequently, but here I also failed:               \documentclass{scrartcl}     \usepackage{courier}     \usepackage[labelsep=period]{caption}     \usepackage{subcaption}     \usepackage{graphicx}     \usepackage[framemethod=tikz]{mdframed}     \usepackage{tikz}     \usetikzlibrary{arrows,positioning,external}     \tikzexternalize[prefix=tikzpictures/]     \usepackage{floatrow}                    \begin{document}          \begin{figure}     \begin{mdframed}[       align=center,       linecolor=black,       fontcolor=black,       backgroundcolor=white,       %userdefinedwidth=0.9\textwidth,       roundcorner=5pt,       skipabove=10pt,       skipbelow=10pt,       leftmargin=0pt,       innertopmargin=40pt,       innerbottommargin=0pt,        innerlinewidth=0pt,       middlelinewidth=0pt,       outerlinewidth=1pt     ]     \floatsetup[subfigure]{captionskip=10pt}     \ffigbox{%     \begin{subfloatrow}[3]       \ffigbox{%       \tikzsetnextfilename{importantFigure1}       \begin{tikzpicture}[remember picture]       \node[anchor=south west,inner sep=0] (image1)          {\def\svgwidth{.7\linewidth}            \input{cbudzc_bi.pdf_tex}} ;     %  \mygrid{image1}       \end{tikzpicture}       }%       {\subcaption{subcap1}\label{sfig:a}}%       \ffigbox{%       \tikzsetnextfilename{importantFigure2}       \begin{tikzpicture}[remember picture]         \node[anchor=south west,inner sep=0] (image2)             {\def\svgwidth{.45\linewidth}              \input{cbuabw.pdf_tex}};     %  \mygrid{image2}       \end{tikzpicture}       }%       {\subcaption{subcap2}\label{sfig:b}}       \ffigbox{%       \tikzsetnextfilename{importantFigure3}       \begin{tikzpicture}[remember picture]       \node[anchor=south west,inner sep=0] (image3)          {\def\svgwidth{.8\linewidth}                \input{ABWnew.pdf_tex}};     %  \mygrid{image3}       \end{tikzpicture}       }%       {\subcaption{subcap3}\label{sfig:c}}     \end{subfloatrow}       }{\caption{figure}{A Minimal Working Example with three subfigures:~\ref{sfig:a}, \ref{sfig:b} and~\ref{sfig:c}}}     \end{mdframed}     \end{figure}          \begin{tikzpicture}[remember picture,overlay]     % Some arrows     %\draw[->,line width=1.5pt,cyan!80!black,dashed]      %  ([yshift=0pt,xshift=10pt]image2.north) |- +(0,60pt) -|     %  ([yshift=-40pt,xshift=20pt]image3.north);     %\draw[->,line width=1.5pt,orange!80!black]      %  ([yshift=-10pt,xshift=20pt]image2.west) |-      %  ([yshift=-10pt,xshift=20pt]image3.west);     \draw[->,line width=1.5pt,cyan!80!black,dashed]        ([xshift=60pt,yshift=10pt]image1.west) |- +(0,80pt) -|        ([yshift=48pt,xshift=49pt]image3.west);     \draw[->,line width=1.5pt,green!80!black,dashed]        ([yshift=-31pt,xshift=-43pt]image2.east) |- +(0,-18pt) -|       ([yshift=-51pt,xshift=-40pt]image3.east);     % Some labels     %\node[anchor=north west,rotate=90,font=\ttfamily]      %  at (image1.north west) {Lane1: geneA};     %\node[anchor=north west,rotate=90,font=\ttfamily,yshift=-15pt]      %  at (image1.north west) {Lane2: geneB};     %\node[anchor=north west,rotate=90,font=\ttfamily,yshift=-30pt]      %  at (image1.north west) {Lane3: geneC};            \end{tikzpicture}          \end{document}      This is my MWE of the poster with the used packages:               \documentclass[a0,portrait]{a0poster}     \usepackage[utf8]{inputenc}     \usepackage{multicol}      \columnsep=100pt      \columnseprule=3pt          \usepackage[svgnames]{xcolor}      \usepackage{graphicx}          \usepackage{times}      \usepackage{xspace}     \usepackage{graphicx}      \usepackage{booktabs}     \usepackage[font=small,labelfont=bf]{caption}      \usepackage{amsfonts, amsmath, amsthm, amssymb}      \usepackage{wrapfig}      \usepackage{siunitx}     \usepackage[version=3]{mhchem}     \usepackage{tabularx,threeparttable,booktabs}     \usepackage{pgfplots}     \pgfplotsset{compat=newest}     \usepgfplotslibrary{external}      \usetikzlibrary{spy,arrows,positioning,external}         \tikzexternalize[prefix=tikzpictures/]              \begin{document}         \begin{center}         \begin{mdframed}[       align=center,       linecolor=black,       fontcolor=black,       backgroundcolor=white,       %userdefinedwidth=0.9\textwidth,       roundcorner=5pt,       skipabove=10pt,       skipbelow=10pt,       leftmargin=0pt,       innertopmargin=40pt,       innerbottommargin=0pt,        innerlinewidth=0pt,       middlelinewidth=0pt,       outerlinewidth=1pt     ]     \floatsetup[subfigure]{captionskip=10pt}     \ffigbox{%     \begin{subfloatrow}[3]       \ffigbox{%       \begin{tikzpicture}[remember picture]       \node[anchor=south west,inner sep=0] (image1)          {\def\svgwidth{.7\linewidth}            \input{subfigure1.pdf_tex}} ;       \mygrid{image1}       \end{tikzpicture}       }%       {\subcaption{subcap1}\label{sfig:a}}%       \ffigbox{%       \begin{tikzpicture}[remember picture]         \node[anchor=south west,inner sep=0] (image2)             {\def\svgwidth{.45\linewidth}              \input{subfigure2.pdf_tex}};       \mygrid{image2}       \end{tikzpicture}       }%       {\subcaption{subcap2}\label{sfig:b}}       \ffigbox{%       \begin{tikzpicture}[remember picture]       \node[anchor=south west,inner sep=0] (image3)          {\def\svgwidth{.8\linewidth}                \input{subfigure3.pdf_tex}};       \mygrid{image3}       \end{tikzpicture}       }%       {\subcaption{subcap3}\label{sfig:c}}     \end{subfloatrow}       }{\captionof{figure}{A Minimal Working Example with three subfigures:~\ref{sfig:a}, \ref{sfig:b} and~\ref{sfig:c}}}     \end{mdframed}     \end{center}          \begin{tikzpicture}[remember picture,overlay]     % Some arrows     %\draw[->,line width=1.5pt,cyan!80!black,dashed]      %  ([yshift=0pt,xshift=10pt]image2.north) |- +(0,60pt) -|     %  ([yshift=-40pt,xshift=20pt]image3.north);     %\draw[->,line width=1.5pt,orange!80!black]      %  ([yshift=-10pt,xshift=20pt]image2.west) |-      %  ([yshift=-10pt,xshift=20pt]image3.west);     \draw[->,line width=1.5pt,cyan!80!black,dashed]        ([xshift=60pt,yshift=10pt]image1.west) |- +(0,80pt) -|        ([yshift=48pt,xshift=49pt]image3.west);     \draw[->,line width=1.5pt,green!80!black,dashed]        ([yshift=-31pt,xshift=-43pt]image2.east) |- +(0,-18pt) -|       ([yshift=-51pt,xshift=-40pt]image3.east);     % Some labels     %\node[anchor=north west,rotate=90,font=\ttfamily]      %  at (image1.north west) {Lane1: geneA};     %\node[anchor=north west,rotate=90,font=\ttfamily,yshift=-15pt]      %  at (image1.north west) {Lane2: geneB};     %\node[anchor=north west,rotate=90,font=\ttfamily,yshift=-30pt]      %  at (image1.north west) {Lane3: geneC};            \end{tikzpicture}          \end{document}      So my actual question is, what would be the best way to achieve my goal to integrate three subfigures decorated by arrows in a (a0) poster environment. Is there a workaround to integrate it directly with the mdwframed subfigures, or maybe an alternative?


title: expl3 code with tabularx

text: In a nutshell: I've seen code for creating tables programmatically using `tabular`. Can it be done using `tabularx`? If so, how? I'm a math teacher, and I'd like to create a "problem set" environment in which I can list problems that will be formatted into a table. Additionally, I'd like the environment to have a parameter that specifies the number of columns the table should have. This bit of modularity is why I'd prefer to use `tabularx`. The code below, inspired by other answers I've read here, uses `tabular` and _almost_ works as I'd like. Including the `tabularx` package causes the code below to fail with an `Illegal pream-token` error (update: that's a true statement, although the problem is in `array`, which is used by `tabularx`.) I'd like help with any of the following: (1) Can I use `tabularx` instead of `tabular`? What would I need to change to do so? (2) If not, I'd like the table to be the same width (`\textwidth`) no matter how many columns. This code doesn't behave in that way. What am I doing wrong in my current `tabular` environment? (3) Unrelated to table creation, but also needs fixing: My scheme for numbering these items is to use a counter and `\int_use:N`, but the result is that the typeset output always has the last value of the counter. Like I said, I'm new to expl3 programming; to me, this code looks like it like it should work. (4) Of course, I'm also open to suggestions for better ways to implement this. Thanks, all! The code:               \documentclass{article}     \usepackage{xparse}     \usepackage{environ}     \usepackage{lipsum}     \usepackage{tabularx}     \ExplSyntaxOn     \NewEnviron{problemset}[1]{\jermer_pset:V \BODY #1}     \seq_new:N \l_jermer_items_seq     \int_new:N \l_jermer_ncol_int     \int_new:N \l_jermer_ctr_int     \tl_new:N \l_jermer_tblpreamble_tl     \tl_new:N \l_jermer_tblcontent_tl     \cs_new_protected:Npn \jermer_pset:n #1 #2     {     \seq_set_split:Nnn \l_jermer_items_seq { \item } { #1 }     \seq_pop_left:NN \l_jermer_items_seq \l_tmpa_tl % remove empty element     \int_set:Nn \l_jermer_ncol_int { #2 }     \int_zero:N \l_jermer_ctr_int     \tl_clear:N \l_jermer_tblpreamble_tl     \tl_clear:N \l_jermer_tblcontent_tl          \seq_map_inline:Nn \l_jermer_items_seq     {            \int_incr:N \l_jermer_ctr_int         \tl_put_right:Nn \l_jermer_tblcontent_tl { \makebox[1.5em][r]{\__int_value:w \l_jermer_ctr_int}.~ ##1} % ??         \int_compare:nNnTF {\int_mod:nn {\l_jermer_ctr_int} {\l_jermer_ncol_int}} = {0}         {\tl_put_right:Nn \l_jermer_tblcontent_tl { \\ }}         {\tl_put_right:Nn \l_jermer_tblcontent_tl { & }}     }     \int_zero:N \l_jermer_ctr_int     \fp_new:N \l_jermer_wfrac_fp     \fp_set:Nn \l_jermer_wfrac_fp {1 / \l_jermer_ncol_int}     \tl_put_right:Nn \l_jermer_tblpreamble_tl { | }     \int_while_do:nn {\l_jermer_ctr_int < \l_jermer_ncol_int}     {         \tl_put_right:Nn \l_jermer_tblpreamble_tl { p{ \fp_to_decimal:N \l_jermer_wfrac_fp \textwidth} | } % Even col widths?     %       \tl_put_right:Nn \l_jermer_tblpreamble_tl { X } % Would prefer this!              \int_incr:N \l_jermer_ctr_int     }     \jermer_draw_table:     }     \cs_generate_variant:Nn \jermer_pset:n { V }     \cs_new:Npn \jermer_draw_table:     {     \begin{center}     % Would prefer to use tabularx here.     \begin{tabular}{\l_jermer_tblpreamble_tl}     \tl_use:N \l_jermer_tblcontent_tl     \end{tabular}     \end{center}     }     \ExplSyntaxOff     \begin{document}     \noindent     \lipsum[1]     \begin{problemset}{3}         \item Alpha         \item Beta         \item Gamma         \item Delta         \item Epsilon         \item Zeta         \item Eta         \item Theta         \item Iota     \end{problemset}     \noindent     \lipsum[1]     \end{document}


title: Aligning equation numbers within enumitem

text: Take a look at the following minimal working example:               \documentclass[a4paper, 11pt, leqno]{article}     \usepackage{amsmath, enumitem}     \title{}     \author{Who knows?}     \date{}     \begin{document}         \maketitle         Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam felis nisi, hendrerit vitae accumsan et, gravida nec felis. Maecenas turpis urna, ultrices non volutpat ac, eleifend sit amet dui.              \begin{enumerate}[label=(YZW\alph*), leftmargin=*, align=left, widest=4]             \item Nullam enim turpis, condimentum non pretium ut, pharetra at justo. Donec eu nibh nec augue rhoncus pharetra vel hendrerit mi:                 \begin{equation}                     E \neq mc^{\sqrt{2}}.                 \end{equation}             \item Sed aliquet enim magna. Phasellus ligula quam, pharetra id bibendum sed, mollis quis nibh. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.          \end{enumerate}         Nulla molestie ultrices lectus, vel facilisis arcu laoreet ac. Nullam pulvinar, ligula in commodo auctor, augue nibh tincidunt nulla:         \begin{equation}             E = mc^{(-\sqrt{2})^2}.         \end{equation}         Here endeth the lesson.     \end{document}      Of the two equation numbers, the first appears _indented_ within the enumerated list. I would like to align all equation numbers as they normally should be---at the extreme left of the margin. Any ideas how to do this?


title: Figure appears in bibliography

text: i used all possible options for the figure placement [h], [!h], [ht], [htb] and the figure always appears in the middle of the bibliography, since the figure is near the end of the paper. is there an option to "flush" everything before the bibliography? So it would even look something like [NEW PAGE] bla bla bla [some vertical space] [NEW PAGE] [figure] bibliography because now it looks like: [NEW PAGE] bla bla bla bibliograhy [NEW PAGE] [figure] bibliography (continuing)


title: Use pgfplots \addplot plot coordinates with relative coordinates

text: I want to use in `pgfplots` `\addplot plot cordinates` with relative coordinates. However the following syntax doesn't work:               \documentclass{article}          \usepackage{pgfplots}     \begin{document}          \begin{tikzpicture}        \begin{axis}           \addplot plot coordinates {(0,0) ++(2,2) ++(1,3)};        \end{axis}     \end{tikzpicture}          \end{document}      How can I make this (or something similar) work?


title: Biblatex, Footnote Citations and Numbers in Bibliography

text: I'm writing a document where I'm using `biblatex` (with BibTeX as back-end). In my document I would like to have citations as footnotes, "normal" footnotes containing text and at the end a consolidated bibliography of the references my document contains. There is only one, quite small, issue. I would like the final bibliography to also display the footnote number associated with the citation. How do I accomplish that? The references at the end should then appear as: > (footnote number) (author) (title) (year) Here's a simple example of my problem: Generated document: http://fuskbugg.se/dl/ySqEUE/test.pdf               \documentclass[a4paper,12pt]{article}          \usepackage[style=verbose]{biblatex}          \usepackage{filecontents}          \begin{filecontents}{test.bib}         @book{Foo,             title={Book title1},             author={Author1},             year= {Year1},         }         @book{Bar,             title={Book title2},             author={Author2},             year= {Year2},         }     \end{filecontents}          \addbibresource{test.bib}          \begin{document}          This is some text\footcite{Foo}, with\footnote{"Normal" footnotes also appear.} footnotes.\footcite{Bar}          \newpage          How can I make the footnote number associated with the reference be printed along with the reference? (First entry should be numbered 1 and second numbered 3.)          \printbibliography          \end{document}


title: pgfplots: how to fix axis length?

text: I used `ymin=0` and `ymax=1000` to give axis the length I want. The problem is that if I have some "crazy" data that escape (I have to plot stable solution vs. unstable solution of my algorithm), pgfplots changes the axis length (data range). How I fix that? **Edit:** This is my code:               \usepackage{pgfplots}         \pgfplotsset{%             compat=newest,%             /pgf/number format/use comma,%             /pgf/number format/1000 sep={\,},%             /pgf/number format/min exponent for 1000 sep=4}          \begin{document}          % Figure     \begin{figure}     \centering         \begin{tikzpicture}         \begin{axis}[xmin=0,xmax=300,ymin=0,ymax=5600,title={Simulation sans parachute},%         xlabel=Temps (\si{\second}), ylabel=Vitesse (\si{\meter\second^{-1}}),%         legend cell align=left]                  \addplot[yellow,thick]                 file {Data/curiosity_nopar_10s.dat};             \addplot[green,thick]                 file {Data/curiosity_nopar_20s.dat};                  \legend{Eq. \eqref{eq:sol}, \(\tau=\SI{0.1}{\second}\),  \(\tau=\SI{1}{\second}\),  \(\tau=\SI{10}{\second}\),  \(\tau=\SI{20}{\second}\)}         \end{axis}         \end{tikzpicture}         \caption[Simulation sans parachute]{Simulation de la descente de la sonde Curiosity sans parachute. Différents pas de temps \( \tau \) sont utilisés pour confronter les résultats numériques avec la solution analytique.}     \end{figure}     % Figure          \end{document}      And this the content of two files: Data/curiosity_nopar_10s.dat and curiosity_nopar_20s.dat:               0 5500 227000     10 2586.7777285496 201132.2227145     20 1971.254834228 181419.67437222     30 1629.363201817 165126.04235405     40 1407.5346833953 151050.6955201     50 1251.4101402558 138536.59411754     60 1135.7734349219 127178.85976832     70 1047.0598631601 116708.26113672     80 977.23293190282 106935.9318177     90 921.19206699139 97724.011147781     100 875.52749808118 88968.73616697     110 837.86502481312 80590.085918838     120 806.49630581412 72525.122860697     130 780.15839915766 64723.53886912     140 757.89624456155 57144.576423505     150 738.97360219555 49754.84040155     160 722.81350825764 42526.705318973     170 708.95735921594 35437.131726814     180 697.03611739943 28466.77055282     190 686.74961630763 21599.274389743     200 677.85140652233 14820.76032452     210 670.13747132868 8119.3856112332     220 663.43769589269 1485.0086523064     230 657.6093290226 -5091.0846379197                    0 5500 227000     20 -326.44454290086 233528.89085802     40 -1833.9424425888 270207.73970979     60 -51679.919240166 1303806.1245131     80 -39692949.188774 795162789.9     100 -23384720610291 4.676952073686e+14     120 -8.1165054198238e+24 1.6233010839694e+26     140 -9.7778389084672e+47 1.9555677816934e+49     160 -1.4190263754218e+94 2.8380527508437e+95     180 -2.9887228740931e+186 5.9774457481862e+187     200 -inf inf     220 -inf inf     240 -inf inf     260 -inf inf     280 -inf inf     300 -inf inf     320 -inf inf     340 -inf inf     360 -inf inf     380 -inf inf     400 -inf inf     420 -inf inf     440 -inf inf     460 -inf inf     480 -inf inf     500 -inf inf     520 -inf inf     540 -inf inf     560 -inf inf     580 -inf inf     600 -inf inf     620 -inf inf     640 -inf inf     660 -inf inf     680 -inf inf     700 -inf inf     720 -inf inf     740 -inf inf     760 -inf inf     780 -inf inf     800 -inf inf     820 -inf inf     840 -inf inf     860 -inf inf     880 -inf inf     900 -inf inf     920 -inf inf     940 -inf inf     960 -inf inf     980 -inf inf     1000 -inf inf


title: How to number sections of the Appendix if numbering is suppressed by the document class (like apa6)

text: The question is simple as always with numbering: I would like to number sections as Appendix A, Appendix B... and its subsections as A.1, A.2... But the normal commands for changing it seem to be suppressed by the document class [apa6]. A minimal example:               \documentclass[12pt]{apa6}     \begin{document}     {\appendix     \renewcommand{\thesection}{\Alph{section}}     \section{Title}     \renewcommand{\thesubsection}{\arabic{subsection}}     \subsection{Title}     }     \end{document}      I suppose that, although this problem is due to the apa6 class, it may reproduce in any document class which imposes its numbering rules. I suppose this problem also concerns the main text.


title: Get combine a `sidewaystable` with a `subfloat` from `subfig`

text: I use the `subtables` environment from the `subfloat` package to combine table numbering (i.e., any tables I wrap in the `subtables` environment get labeled 1a, 1b, and so on). But I just learned on the LaTeX wiki how to use the `subfloat` environment from the `subfig` package for figures and it seems that I _should_ use the `subfloat` environment from the `subfig` package for tables, too. Is this correct? The rub is that I frequently use the `sidewaystable` environment from the `rotating` package. Can I rotate tables using the `subfloat` environment from the `subfig` package? (I can't figure out how from the manual.) This would allow side-by-side sideways tables. Or should I stick with my more naive approach using the `subfloat` package? Here is an example of how I combine the `subtables` and `sidewaystable` environments.               \documentclass{article}     \usepackage{subfloat}     \usepackage{rotating}          \begin{document}          Check out tables \ref{tab:first} and \ref{tab:second}.          \begin{subtables}         \begin{sidewaystable}             \centering             \begin{tabular}{ccc}                 \hline                 a&b&c\\                 d&e&f\\                 \hline             \end{tabular}             \caption{my first table}             \label{tab:first}         \end{sidewaystable}              \begin{sidewaystable}             \centering             \begin{tabular}{ccc}                 \hline                 a&b&c\\                 d&e&f\\                 \hline             \end{tabular}             \caption{my second table, which is the same as the first}             \label{tab:second}         \end{sidewaystable}     \end{subtables}          \end{document}


title: How to add et all to references?

text: I am writing a thesis and I would like to add "et all." to references. This problem is described here: LaTeX doesn't recognize "et al." in the Bibliography The problem is that when I define it in file "references.bib", e.g.:               @article{reconstruction,     author = {A. Smith and others},     journal = {},     number = {},     pages = {},     title = {},     url = {},     volume = {},     year = {}     }      The result is "Smith, A. et al.", but I would like to get: "A. Smith et al.". How can I solve it? Thanks. This is the template, which I am using: https://drive.google.com/file/d/0BwyOySLlDTB_a3R5aFZQNzVFRG8/edit?usp=sharing


title: Completely hermetic, local TEX install

text: I have an unusual situation. My deployment environment needs to place pdftex and associated files into a custom directory that is not known until deploy time, and changes from one server to the next in a relatively random way. I.e. I cannot preinstall TEX on the server, and I cannot install anything into standard directories such as /etc, /usr/local, or the user's home directory. Everything needs to go into a custom directory like /path/to/deploy/here/somerandomstring. Is there a way to make pdftex run such that it will look for files such as latex.fmt only in directories that I tell it to look in at runtime using some combination of command line arguments and environment variables?