Je bent je ingevulde velden bij deze pagina aan het verwijderen. Ben je zeker dat je dit wilt doen?
You are erasing your filled-in fields on this page. Are you sure that is what you want?
Nieuwe Versie BeschikbaarNew Version Available
Er is een update van deze pagina. Als je update naar de meest recente versie, verlies je mogelijk je huidige antwoorden voor deze pagina. Hoe wil je verdergaan ?
There is an updated version of this page. If you update to the most recent version, then your current progress on this page will be erased. Regardless, your record of completion will remain. How would you like to proceed?
A description of how tables and arrays are rendered
How Ximera renders Tables
Any Necessary Content
There are no additional steps or configurations needed to get a table (using the
tabular environment) to render online with Ximera.
Quirks of Rendering
Traditionally, the tabular environment expands to whatever (minimum) size is
needed to contain your content - unless you tell it to do otherwise. With the tabularx
package, you can set the width of the table to a set value and manipulate the
columns as needed. Unfortunately, with how Ximera renders tables (using html),
tables are always stretched to be the width of the browser. This can cause pretty
significant variance between the pdf and the online versions of how tables render.
Moreover, since Ximera interprets the tabular type environment and converts it to
html, it also drops almost all formatting options provided in the original LaTeX
code.
Consider the following table:
Testing
Out
Rendering
So
You
See
How
It’s
Weird
This was generated using the code:
\begin{tabular}{lll}
Testing & Out & Rendering\\
So & You & See\\
How & It’s& Weird\\
\end{tabular}
Any Ximera-Specific Optional Arguments
There are no Ximera-specific optional arguments associated with tabular or tabularx
environments.
Potential Problems and Pitfalls
Because of the quirks around the interpretation of LaTeX code into html code
without much support from rendering engines, it is difficult to tell what your
tabular(x) environments will look like when it is rendered. For this reason, you
should always double check the online version of any such environments to see that it
has an acceptable render.
Alternatively, as discussed below, arrays have a much more reliable rendering process,
so it often the case that using an array environment rather than a tabular-style
environment produces a cleaner and more predictable render.
How Ximera renders Arrays
Any Necessary Content
There are no additional steps or configurations needed to get a table (using the
tabular environment) to render online with Ximera.
Quirks of Rendering
Because arrays must be in mathmode, it is rendered via MathJax. This usually
results in a cleaner and more reliable rendering than html, as well as getting
accessibility feature support.
There are no Ximera-specific optional arguments associated with tabular or tabularx
environments.
Potential Problems and Pitfalls
Keep in mind that arrays are in mathmode, which means you need to use
\text{ }\verb around text to make sure it renders as text, rather than interpreting
it as some weird formula - obliterating whitespace.
Any Best Practices or Advice
As mentioned - and demonstrated - array environments tend to render cleaner, even
though they may be slightly more annoying to write as they require the text
command wrapper around any text you include.