My goal is just to have a simple square box around text and a table.
For this I read to use the mdframed package.
I did this and it all worked well when previewing it in Sumatra. I am now finished with my document and opened it in Adobe Acrobat. When previewing it in Adobe the top lien of the mdframed is just missing. There it is only when using 70,4% scaling. When going to 100% all lines are there but the bottom and right ones are thicker than the top and left (see pictures attached).
When I want to print it, its the same. I tried the \mdfdefinestyle command with linewidth= 1.5pt. This helped from disappearing but it nevertheless wasn't the same on all sides.
LaTeX-Code:
\begin{mdframed}%[style=dick]
\textbf{_Text_}
_Text_
% gepunktete Linien
\setlength\dashlinedash{1.5pt}
\setlength\dashlinegap{2pt}
\setlength\arrayrulewidth{0.3pt}
\vspace{0.7cm}
\begin{tabularx}{\textwidth}{XX}
\hdashline
Ort und Datum & Unterschrift des Prüfungsteilnehmers\\
\end{tabularx}
\end{mdframed}
Thank you very much in advance!
\documentclass{article} \usepackage{mdframed, tabularx, arydshln} \begin{document}...\end{document}, I cannot recreate the problem you state. The lines show up in equal thickness. – Jasper Habicht Mar 26 '24 at 13:22mdframeddo not completely outline a region in certain PDF viewers?. – jlab Mar 26 '24 at 15:50\usepackage[framemethod=tikz]{mdframed}. – Ulrike Fischer Mar 26 '24 at 18:37