Tabular data in reply to a post
- Thread starter gmax137
- Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
7 replies · 1K views
Physics news on Phys.org
Discussion
Mentor
- 37,555
- 14,432
Science Advisor
Homework Helper
- 9,567
- 775
You can build tables in Latex:
\begin{array}{|c|c|c|c|c|}
\hline \text{Column 1} & \text{Column 2}&\text{Column 3} &\text{Column 4} &\text{Column 5} \\
\hline 0&0&1&0&1\\
\hline 1 & 1 & 0 & 1 & 0\\
\hline
\end{array}
Right click on the figure to see the LaTeX.
\begin{array}{|c|c|c|c|c|}
\hline \text{Column 1} & \text{Column 2}&\text{Column 3} &\text{Column 4} &\text{Column 5} \\
\hline 0&0&1&0&1\\
\hline 1 & 1 & 0 & 1 & 0\\
\hline
\end{array}
Right click on the figure to see the LaTeX.
Mentor
- 38,154
- 10,762
The system we have in place here at PF automatically recognizes certain environments, such as array (that you used) and bmatrix, pmatrix, and vmatrix, and maybe some others as well. You don't need to surround these known enviromments with [tex]or [itex]tags, or the easier to use (IMO) $$ or ## tags. <br /> Bracketed matrix (bmatrix)<br /> \begin{bmatrix} 1 & 0 \\ 0 & 1\end{bmatrix}<br /> Parenthesized matrix (pmatrix)<br /> \begin{pmatrix} 1 & 0 \\ 0 & 1\end{pmatrix}<br /> Vertical bars matrix (vmatrix)<br /> \begin{vmatrix} 1 & 0 \\ 0 & 1\end{vmatrix}[/itex][/tex]LCKurtz said:What is weird is that I think I forgot to put either the ## or $$ tags in that post and it printed the latex anyway.
Similar threads
Undergrad
Looking for tabular data of Isotopes
- Mark lamorey
- · Replies 2 ·
- High Energy, Nuclear, Particle Physics
- Replies
- 2
- marcus
- · Replies 76 ·
- Astronomy, Astrophysics, Cosmology
- Replies
- 76
- Peter Alexander
- · Replies 1 ·
- AI and Computer Science
- Replies
- 1
- anorlunda
- · Replies 1 ·
- Electrical Engineering
- Replies
- 1
- ohwilleke
- · Replies 1 ·
- Beyond the Standard Models
- Replies
- 1
High School
Text data in excel pivot table
- reza_9216
- · Replies 2 ·
- General Math
- Replies
- 2
- vr0nvr0n
- · Replies 6 ·
- AI and Computer Science
- Replies
- 6
- thelema418
- · Replies 2 ·
- Set Theory, Logic, Probability, Statistics
- Replies
- 2
- junaid314159
- · Replies 2 ·
- Calculus
- Replies
- 2
- twomsta
- · Replies 13 ·
- AI and Computer Science
- Replies
- 13