User talk:Mary K
From Wikipedia, the free encyclopedia
Welcome!
Hello, and welcome to Wikipedia. Thank you for your contributions. I hope you like the place and decide to stay. Here are a few good links for newcomers:
- The five pillars of Wikipedia
- How to edit a page
- Help pages
- Tutorial
- How to write a great article
- Manual of Style
I hope you enjoy editing here and being a Wikipedian! By the way, please be sure to sign your name on talk pages using four tildes (~~~~) to produce your name and the current date, or three tildes (~~~) for just your name. If you have any questions, you can post to the help desk or ask me on my talk page. Again, welcome! Splash 19:44, 19 August 2005 (UTC)
[edit] LaTeX tables
I (may have) answered your question over at the Reference Desk. -Splash 19:44, 19 August 2005 (UTC)
- Hi there. Yes, I think you haven't told LaTeX to \usepackage{amsmath} which introduces most of the mathematical commands, and is the package that, in this case at least, the stretchy brace is taken from. Here is a compiling, full document that just produces the table you mentioned. You should be able to copy-paste this into a blank .tex file and have it compile:
-
- \documentclass{report}
- \usepackage{amsmath}
- \begin{document}
- \begin{table}
- \centering
- \begin{tabular}{r|c|c}
- Input & Output & Formula\\
- \hline
- A & 1 & $x=f_1(y)$\\
- B & 2 & $x=f_2(y)$\\
- $\left\{\begin{matrix} \mathrm{C} \\ \mathrm{D} \\ \mathrm{E} \end{matrix} \right.$ & 3 & $x=f_3(y)$ \\
- F & 4 & $x=f_4(y)$
- \end{tabular}
- \end{table}
- \end{document}
If you plan to do much that is clever with mathematics, you'll find things like \usepackage{amsfonts} and \usepackage{amssymb} useful too. Hope that helps. -Splash 21:08, 20 August 2005 (UTC)