I am using hdashrule with vspace to create the separater in a weekly calendar, and only Monday comes out correct, with the line under the weekday.
Tuesday thru Saturday the line and vspace action is swapped, see picture.
I use "\hfill\break" for line terminator on the hdashrule.
\begin{center}\textbf{December}
\VerbatimInput{cal_25_trip_12.txt}
\end{center}
\vspace{12mm}
30 Monday\\
\hdashrule[0.5ex][c]{8cm}{1pt}{8mm 1pt}
\hfill\break
\vspace{18mm}
31 Tuesday\\
\hdashrule[0.5ex][c]{8cm}{1pt}{8mm 1pt}
\hfill\break
\vspace{18mm}
01 Wednesday\\
\hdashrule[0.5ex][c]{8cm}{1pt}{8mm 1pt}
\hfill\break
\vspace{18mm}
Text Formatting ⇒ hdashrule with vspace inconsistency
-
- Posts: 2
- Joined: Mon Nov 04, 2024 4:51 pm
hdashrule with vspace inconsistency
- Attachments
-
- Screenshot 2024-11-04 at 9.12.05 AM.png (107.5 KiB) Viewed 2734 times
hdashrule with vspace inconsistency
Please try to provide a
minimal working example with marked code.
Without such an example, it could help if you replace the
The
parskip package can be useful for indentation.

Without such an example, it could help if you replace the
\hfill
and \break
commands by a blank line or the equivalent \par
command.The

-
- Posts: 2
- Joined: Mon Nov 04, 2024 4:51 pm
hdashrule with vspace inconsistency
replacing \hfill\break with blank line works, thanks very much.
- Attachments
-
- Screenshot 2024-11-14 at 7.35.23 PM.png (85.4 KiB) Viewed 2537 times