[Tex/LaTex] Creating a document with no borders or margins

geometrymarginsminipage

I want to create a small flyer. It should be folded once and have four pages in total. Also, I need a special geometry.

So far, I am trying to achieve that using minipages. Here is my MWE:

\documentclass{article}

\usepackage[landscape, paperwidth=15cm, paperheight=30cm, left=0mm, top=0mm, bottom=0mm, right=0mm, margin=0mm]{geometry}
\usepackage{xcolor}

\setlength{\fboxsep}{0pt}
\setlength{\parindent}{0pt}

\begin{document}
    \pagestyle{empty}%
    \colorbox{blue!50}{\begin{minipage}[t][\paperheight][t]{0.5\paperwidth}
        FRONT COVER
    \end{minipage}}%
    \colorbox{green!50}{\begin{minipage}[t][\paperheight][t]{0.5\paperwidth}
        BACK COVER
    \end{minipage}}%
    \clearpage
    \colorbox{red!50}{\begin{minipage}[t][\paperheight][t]{0.489\paperwidth}
        INSIDE LEFT
    \end{minipage}}%
    \colorbox{black!50}{\begin{minipage}[t][\paperheight][t]{0.489\paperwidth}
        INSIDE RIGHT
    \end{minipage}}

\end{document}

Now I have several problems with that.

  1. The color boxes do not align with the page borders. Instead, there is a small white margin above of the color boxes.
  2. On the first page (front/back cover), these white margins are not even of the same size.
  3. On the second page (inside left/right), the boxes do not align with the right page border, either.

Clearly, using minipages is either not the right way to create such a flyer, or I misunderstood how this should be working (or both). It is important that everything aligns well for the later folding. Any help is appreciated.

Best Answer

Here is one try with tabulars.

\documentclass{article}

\usepackage[landscape, paperwidth=15cm, paperheight=30cm, margin=0mm]{geometry}
\usepackage[table]{xcolor}

\begin{document}
    \pagestyle{empty}%
    \noindent
    \begin{tabular}{@{}c@{}}
    \cellcolor{blue!50}%
    \begin{minipage}[t][\paperheight][t]{0.5\paperwidth}%
        FRONT COVER
    \end{minipage}%
    \end{tabular}%
    \begin{tabular}{@{}c@{}}
    \cellcolor{green!50}%
    \begin{minipage}[t][\paperheight][t]{0.5\paperwidth}%
        BACK COVER
    \end{minipage}%
    \end{tabular}%
    \clearpage
    \noindent
    \begin{tabular}{@{}l@{}}
    \cellcolor{red!50}%
    \begin{minipage}[t][\paperheight][t]{0.5\paperwidth}%
        INSIDE LEFT
    \end{minipage}%
    \end{tabular}%
    \begin{tabular}{@{}l@{}}
    \cellcolor{black!50}%
    \begin{minipage}[t][\paperheight][t]{0.5\paperwidth}%
       INSIDE RIGHT
    \end{minipage}%
    \end{tabular}%
\end{document}

enter image description here