how to put vertical line in the middle of the page latex code example

Example 1: how to put vertical line in the middle of the page latex

\documentclass[a4paper]{report}

\begin{document}

    \begin{minipage}{0.3\textwidth}
        \Large{\textbf{Information}}
    \end{minipage}
    \rule[-400pt]{1.5pt}{600pt}
    \hspace*{0.05\textwidth} % Whitespace between the vertical line and title page text
    \begin{minipage}{0.5\textwidth}
        \textbf{Author :} \\
        Name \\
        [3cm]
        \textbf{Subject :} \\
        Title of the subject
    \end{minipage}

   \pagestyle{empty} % Removes page numbers

\end{document}

Example 2: how to put vertical line in the middle of the page latex

\documentclass[twocolumn]{article}
\setlength\columnseprule{1pt}
\raggedright
\begin{document}

\begin{flushright}
\vspace*{\fill}

\textbf{Informations}

\vspace*{\fill}
\end{flushright}

\pagebreak

\textbf{Author:}

Name
\bigskip

\textbf{Subject:}
Title
\end{document}

Tags:

Misc Example