Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

SolomonZelman

  • 2 years ago

Latex for a chart anyone?

  • This Question is Closed
  1. SolomonZelman
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    How do I put up |dw:1387896712769:dw| using latex?

  2. e.mccormick
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    hline and | in an array. There are other methods, but those will work here. \[ \begin{array}{|c|c|c|}\hline a & b & c\\\hline 1 & 2 & 3\\ i & ii & iii \\ \text{un} & \text{du} & \text{tros}\\ \end{array} \] In the {|c|c|c|} part, the | are what makes the column bars and the c stands for center. You can also use r for right or l for left justified columns.

  3. SolomonZelman
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    \[ {|~c~|~c~|~c~|} \] ok, but how did you do the chart, can you pliz msg the latex for it, I;ll figure out what to change and how, it would be very helpful

  4. e.mccormick
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    Right click it, Show math as, TeX commands. Then you can see the \(\LaTeX\) code ued to mak it.

  5. UnkleRhaukus
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 3

    `{array}` works in this space ``` \[\large\text{Fundamental Quantities}\\ \begin{array}{|c|c|c|c|} \hline\textbf{Variable} &\textbf{Symbol}&\textbf {SI unit} &\textbf{Dimension} \\ \hline\text{length} &\ell &[\text m] &\sf L \\ \text{time} &t &[\text s] &\sf T \\ \text{mass} &m &[\text{kg}] &\sf M \\ \text{temperature} &T &[\text K] &\sf \Theta \\ \text{amount} &n &[\text{mol}] &\sf N \\ \text{charge} &q &[\text{C}] &\sf Q \\ \text{luminosity} &I &[\text {cd}] &\sf J \\ \hline \end{array}\] ``` \[\large\text{Fundamental Quantities}\\ \begin{array}{|c|c|c|c|} \hline\textbf{Variable} &\textbf{Symbol}&\textbf {SI unit} &\textbf{Dimension} \\ \hline\text{length} &\ell &[\text m] &\sf L \\ \text{time} &t &[\text s] &\sf T \\ \text{mass} &m &[\text{kg}] &\sf M \\ \text{temperature} &T &[\text K] &\sf \Theta \\ \text{amount} &n &[\text{mol}] &\sf N \\ \text{charge} &q &[\text{C}] &\sf Q \\ \text{luminosity} &I &[\text {cd}] &\sf J \\ \hline \end{array}\] However if you are creating a document use float package and `{tabular}`, and `{table}` also use package `{siunitx}` for si units ect ``` \documentclass[a4paper]{article} \usepackage{amsmath} % Mathematics \usepackage[alsoload=hep]{siunitx} % SI units \usepackage{float} % Figures and Tables \begin{document} \begin{table}[h!]\centering \caption{Fundamental Quantities} \begin{tabular}{|c|c|c|c|} \hline\rule{0pt}{3.2ex}\bf Variable &\bf Symbol &\bf SI unit &\bf Dimension\\ \hline\rule{0pt}{3ex} length &$\ell$ &[\metre] &\sf L \\ \rule{0pt}{3ex} time &$t$ &[\second] &\sf T \\ \rule{0pt}{3ex} mass &$m$ &[\kilogram] &\sf M \\ \rule{0pt}{3ex} temperature &$T$ &[\kelvin] &$\sf \Theta$ \\ \rule{0pt}{3ex} moles &$n$ &[\mole] &\sf N \\ \rule{0pt}{3ex} charge &$q$ &[\coulomb] &\sf Q \\ \rule{0pt}{3ex} luminosity &$I$ &[\candela] &\sf J \\ \hline\end{tabular} \end{table} \end{document} ```

  6. UnkleRhaukus
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 3

    I found a much more elegant way of sizing those rows, without all those ugly invisible lines (the `\rule{0pt}{3ex}`s), just put this in your preamble `\renewcommand {\arraystretch}{1.5}` source :The Not So Short Introduction to LATEX2ε ``` \documentclass[a4paper]{article} \usepackage{amsmath} % Mathematics \usepackage[alsoload=hep]{siunitx} % SI units \usepackage{float} % Figures and Tables % Table parameters % \renewcommand {\arraystretch} {1.5} % row height \renewcommand {\tabcolsep} {0.15cm} % column width \begin{document} \begin{table}[h!]\centering \caption{Fundamental Quantities} \begin{tabular}{|c|c|c|c|} \hline \bf Variable &\bf Symbol &\bf SI unit &\bf Dimension \\ \hline length &$\ell$ &[\metre] &\sf L \\ time &$t$ &[\second] &\sf T \\ mass &$m$ &[\kilogram] &\sf M \\ \hline\end{tabular} \end{table} \end{document} ```

  7. poopsiedoodle
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    \(\Large\sf\rlap{LOLOLOL}\rlap{HUEHUEHUEHUE}\rlap{JEJEJEJEJE}ASHUASHUASHUA\)

  8. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy