New answers tagged

2

Here is a suggestion. The idea is a simple poem environment. The title of the poem (first mandatory argument) is centered; the introductory and preface texts (and title) are arguments (second and third mandatory) to the poem environment and placed in their own parboxes. The text of the original is entered line by line thanks to \obeylines; the \translation ...


1

You said you were willing to do some hard coding for the verses. The following, I think, provides the skeleton of what you are after. % poemprob.tex SE 552747 \documentclass{article} \newcounter{poemnum} \begin{document} \begin{center} A POEM \end{center} \setcounter{poemnum}{1} Prefatory editorial comment. Just make this a couple of lines to see how ...


0

Here is a demo with the \Circled command (from circledsteps), using the collcell package: T, defined a new C column type, which collects the contents of each cell of the column, andexcutes the \Circled macro on this contents: \documentclass[a4paper]{article} \usepackage{tabularx} \usepackage{collcell} \usepackage{caption} \captionsetup{font = footnotesize} \...


0

The "columns" feature of Beamer (other answers above) lets you customize the layout and the breaking point. However if you want to let the text flow or you don't care about the exact layout, many times the good old multicols package does the job well with less noise. Paragraph divisions and \columnbreak can help deciding what is on the left and ...


1

You could use tabularx, but your left hand text is very long not to wrap... \documentclass[12pt,letterpaper]{scrartcl} \usepackage[english]{babel} \usepackage{tabularx} \newcommand\zsec[3]{% \par \bigskip \noindent \begin{tabularx}{\linewidth}{@{}l|>{\raggedleft\arraybackslash}X@{}}% \large\sffamily\bfseries\refstepcounter{section}\thesection. #1&\\[...


7

With {NicaTabular} of nicematrix (≥ 4.0 2020-05-08), we have tools to color cells, rows and columns before the rules are drawn. The rules won't vanish in the PDF viewers at some levels of zoom. \documentclass{article} \usepackage{xcolor} \usepackage{nicematrix} \begin{document} \begin{NiceTabular}{C|C|C}% [code-before = \columncolor{red!15}{2}] rosa ...


4

The argument of the p column type states the usable horizontal space, not the total horizontal space taken up by the column. Since the second tabular environment in your code contains 8 columns and 9 vertical-bar symbols, its total width is given by 1\textwidth+16\tabcolsep+9\arrayrulewidth. With default values of 6pt and 0.4pt for \tabcolsep and \...


3

Here are two versions of your table. In both, I have used the siunitx package for the units as well as the chemformula package for the chemical formulae. In the first table, I have corrected the column width calculation to also take into account \tabcolsep and \arrayrulewidth. In the second table, I have used simple l type columns since the table in narrow ...


1

With the latest version of nicematrix (v. 4.3 2020/06/12), you can acheive the desired result directly: \documentclass{article} \usepackage{booktabs} \usepackage{xcolor} \usepackage{nicematrix} \usepackage{siunitx} \begin{document} \small \begin{NiceTabular}{S[table-format=2.0]*{3}{S[table-format=1.3]}!{\qquad}*{3}{S[table-format=1.3]}}% [ code-...


Top 50 recent answers are included