Hallo,
I'm new to this forum as well as to TeX.
I've succeeded in learning the basics (It took me several days) and I begin to like Tex very much.
Nevertheless, I've spent hour after hour in trying to draw a box around the output of the following output of this TeX document.
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{document}
\begin{tabbing}
Onderwerp: \hspace{1em} \= \textbf{Terugbetaling Electriciteitskosten.}\\
Factuur:\> \textbf{5801635489}\\
Klantnummer:\> \textbf{14-56195-31}\\
Datum.:\> \textbf{20.10.2009}\\
Bijlage(n):\> \textbf{1}\\
\end{tabbing}
\end{document}
I anyone could help me with this, I would be most grateful?
ps. forgive my mistakes in Englsh: i'm not a native English speaker.
gabriël
Graphics, Figures & Tables ⇒ Box around tabbed text
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Box around tabbed text
Just use a tabular environment to frame the text.
Best regards and welcome to the board
Thorsten
Code: Select all
\documentclass[12pt]{article}
\usepackage{array}
\pagestyle{empty}
\begin{document}
\begin{tabular}{|l>{\bfseries}l|}\hline
Onderwerp: & Terugbetaling Electriciteitskosten. \\
Factuur: & 5801635489 \\
Klantnummer: & 14-56195-31 \\
Datum: & 20.10.2009 \\
Bijlage(n): & 1 \\ \hline
\end{tabular}
\end{document}
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Box around tabbed text
Thank you very much.
This is exactely what I was looking for.
much appreciated, gabriël
This is exactely what I was looking for.
much appreciated, gabriël