\mbox{}
before.Stefan
\mbox{}
before.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
Code: Select all
\documentclass[oneside,12pt]{article}
\usepackage[showframe]{geometry}
\usepackage{microtype}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{enumitem}
\setlist[enumerate,1]{label=\bfseries\Alph*,align=left,leftmargin=*,
labelsep=1.5em}
\setlist[enumerate,2]{label= (\arabic*),leftmargin=*,align=right}
\usepackage{tabularx}
\newcounter{tab}
\renewcommand*{\thetab}{(\arabic{tab})}
\begin{document}
\begin{enumerate}
\item No philosopher is illogical. Jones keeps making argumentative blunders.
No logical person keeps making argumentative blunders. All existentialists are
philosophers. So, Jones is not an existentialist.
\setcounter{tab}{0}
\begin{tabularx}{\linewidth}{@{}>{\refstepcounter{tab}\thetab}rX@{\quad\quad}l@{}}
\label{first}& No philosopher is illogical. &(premiss) \\
\label{second}& Jones keeps making argumentative blunders. &(premiss) \\
& No logical person keeps making argumentative blunders.
& (premiss) \\
& All existentialists are philosophers. & (premiss) \\
& Jones is illogical & (from~(2) and~(3))\\
& Jones is not a philosopher. from~\ref{first} and~\ref{second}\\
& So, Jones is not an existentialist.
\end{tabularx}
\end{enumerate}
\end{document}
\thetab[\latex] defines the graphical representation of the tab counter.
In this case, this is an opening parenthesis, the value of the counter in arabic numerals (possible would be also roman, Roman, alph and Alph numerals) and a closing paren.
The other question is dealt with in the followup: [url=http://latex-community.org/forum/viewtopic.php?p=93039#p93039]Why do people insert @{} in table preamble?[/url]
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