I have a document that looks like this
The horizontal line is just a \hrule
, but the two vertical lines are made with a textblock. Is there an easier way to place them?
Using a table environment is not an option, since the vertical space between items goes bananas.
\documentclass{article}
\usepackage{multicol,tabularx}
\usepackage[top=0.5in,bottom=0.8in,left=0.8in,right=0.8in,landscape]{geometry}
\usepackage[absolute]{textpos}
\setlength{\TPHorizModule}{1cm}
\setlength{\TPVertModule}{\TPHorizModule}
\textblockorigin{10mm}{10mm}
\begin{document}
\begin{textblock}{3}(6.3,0.75)%%%Places a vertical line
\rule{0.1mm}{18cm}
\end{textblock}
\begin{textblock}{3}(15,0.75)%%%Places a vertical line
\rule{0.1mm}{18cm}
\end{textblock}
\begin{tabularx}{\textwidth}{X}
\centering{FUS}
\end{tabularx}
\hrule
\begin{multicols}{2}
\begin{minipage}{0.44\textwidth}
\vspace{15cm}
RO
\end{minipage}
\begin{minipage}{0.44\textwidth}
DAH
\end{minipage}
\end{multicols}
\end{document}
\hrule
moves, or the columns width changes. Tinkering like that is what I'd expect on a WYSIWYG, not on LaTeX.savebox
. Or you could try more elaborated table environments. Check this link en.wikibooks.org/wiki/LaTeX/…multicol
. @Werner I'm pretty sure OP is talking about the apparent 'hackiness' of the doc. I'm not really sure how much we can infer (since the given solution 'works' but is suboptimal for varying definitions of 'optimal'). OP, what is your goal for this document, what have you tried to work towards that goal, and what is the hang-up with that approach? (Related: tex.stackexchange.com/a/258199/17423 because I'm cheating a little. OP's document is a maths reference sheet.)