Quantcast
Channel: Two minipage with horizontal lines and a vertical line - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 3

Two minipage with horizontal lines and a vertical line

$
0
0

I'm trying to make a custom command with two parameters that let me input the blue text and the black text, then output something like this with a vertical line in the middle separating the textexample

I have tried this:

\begin{minipage}[r]{0.3\linewidth} some text \end{minipage} \hfill\vline\hfill \begin{minipage}[r]{0.6\linewidth} some text \end{minipage} 

but the spacing between minipage is too wide and the text is not right alined.

How can I achieve this, any help is much appreciated.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>