Graphics, Figures & TablesTwo tables embedded with same width

Information and discussion about graphics, figures & tables in LaTeX documents.
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Two tables embedded with same width

Post by cgnieder »

Sundial wrote:In such cases, a concise example is better than huge flows of words, [...] ... this acronym:LBE, learner by example.
It's a good thing then that the manual of threeparttable contains an example, isn't it? What Svend (or I or anybody else) would do as an example is copying the one from the documentation but where's the point in that? If you're struggling with something specific make an example showing what you've tried and what your problems are and we'll gladly help.

BTW: the manual is only two pages long. Do you really call that a huge flow of words?

Regards
site moderator & package author

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Sundial
Posts: 57
Joined: Thu Apr 19, 2012 7:28 pm

Two tables embedded with same width

Post by Sundial »

cgnieder wrote:BTW: the manual is only two pages long. Do you really call that a huge flow of words?
But, it doesn't show the so called minimum example, so unsuitable for me, and then I dislike it.
So, further discussions could be OffTopic and I do stop here. Thx.
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Two tables embedded with same width

Post by svend_tveskaeg »

Well, here you go then, but this is the last time I do this without seeing any kind of effort from you first:

Code: Select all

\documentclass{article}

\usepackage{threeparttable}
\usepackage[tableposition=top]{caption}
\usepackage{booktabs}

\begin{document}

\begin{table}
\centering
\caption{Something.}
\begin{threeparttable}
\begin{tabular}{l l}
\toprule
  123 & The first three natural numbers.\tnote{a}\\
  321 & The numbers in reverse order.\tnote{\textdagger} \\
\bottomrule
\end{tabular}
\footnotesize
\begin{tablenotes}
  \item[a] A note.
  \item[\textdagger] Another note.
\end{tablenotes}
\end{threeparttable}
\end{table}

\end{document}
As Clemens says, we will gladly help you, but this is not a "do it for me" forum.
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Two tables embedded with same width

Post by localghost »

Sundial wrote:[…] About the tag [solved] you advice me to add, I'm dubious that this forum uses such a policy. In fact, I've recently done this insertion in one of my previous posts and ... someone erased it, without notice! […]
There was no talk of adding this tag to the topic title. Marking a topic as solved is preferably done by accepting the answer that led you to the solution. The term "[solved]" has therefore been removed from the title of the concerned topic and the according answer has been "accepted" subsequently.
Post Reply