Contents

Drawing North Korean Flag

After previously discussing Drawing Turkish Flag Using LaTeX

, on this occasion the article is also still struggling about drawing flags. So, here I will provide a guide on how to draw the North Korean flag using LaTeX.

Why draw a flag again? Yup, because there are several similarities between the Turkish flag and the North Korean flag. For more details, look at the following image.

bendera korea utara menggunakan latex

If we look at the picture of the flag, there are several parts that we will draw, namely: a dark blue rectangular box at the top, then a white rectangular box below it, then a red rectangular box, then a white circle, a red star right on the circle, a white rectangular box and finally a dark blue rectangular box.OK, let’s just discuss how to draw the North Korean flag using LaTeX.

  1. Open a text editor.

  2. Select the article document class using the following command.

\documentclass{article}
  1. In the preamble section, determine the packages that will be used, namely via the following command.
\usepackage[x11names,dvipsnames]{xcolor}\definecolor{bulanbintang}{rgb} {255,255,255}\definecolor{cobalt}{rgb}{0.0, 0.28, 0.67}\usepackage{tikz}\usetikzlibrary{shapes.geometric}
  1. Write the title, author, and date of creation of the document using the following command.
\title{Bendera Korea Utara}\author{Your Name }\date{\today}
  1. Next, we enter the body of the document, and write the following command to display the document title, author, and date the document was created.
\begin{document}\centering\maketitle
  1. It’s time to write down the drawing command as follows.
\begin{tikzpicture}
  1. First, we draw a dark blue rectangular box using the following command.
\fill[cobalt] (0, 4) rectangle (15, 5);
  1. Then draw a white rectangular box using the following command.
\fill[white] (0, 3.7) rectangle (15, 4);
  1. Then draw a red rectangular box using the following command.
\fill [red] (0,-2.5) rectangle (15,3.7);
  1. Then draw a white circle using the following command.
\fill[bulanbintang,even odd rule] (5,.5) circle (2.3);
  1. Then draw a star using the following command.
\fill[bulanbintang, red] (5,0.5) node [ regular polygon, regular polygon sides=5, inner sep=0pt, minimum size=4.5cm] (A) {} (A.corner 1)\foreach \i in{1, 3, 5, 2, 4} {-- (A.corner \i) } -- cycle;
  1. Then draw a white rectangular box using the following command.
\fill[white] (0, -2.8) rectangle (15, -2.5);
  1. Lastly we draw a dark blue rectangular box via the following command.
\fill[cobalt] (0, -3.8) rectangle (15, -2.8);
  1. The final step is that we give the command to end the image and close the document via the following command.
\end{tikzpicture}\end{document}

The final result of the document after compiling looks like the first image in this article. How are you, sir? Have you put it into practice and succeeded, or have you not succeeded and there are errors? If there is an error, please try again and pay attention to the instructions. So that you understand more, Below is a complete guide.

+ Show/Hide

* This is a guide on how to draw the North Korean flag using LaTeX.

If there are errors, please correct them, if you have any input, please write them here. I hope this is helpful.

Related Content