Search In This Website

Kamis, 09 Oktober 2025

Mengenal Jam - Pelajaran Matematika SD

Mengenal Jam

Ayo perhatikan contoh berikut ini!


  • pada muka jam
  • jarum pendek menunjuk angka 9
  • jarum panjang menunjuk angka 12
  • dibaca jam 9

Program Linear Graph In Latex 1

1. type this in Latex editor

% !TEX TS-program = pdflatex

%Typeset/Build program

\documentclass[preview=true,multi,crop=false,tikz]{standalone}


%% 5.3 Macros and environments

\standaloneconfig{border=10}

\standaloneenv{minipage,tikzpicture}


%% hatch line between, shaded line bounded between


\usepackage{amsmath}

\usepackage{pgfplots}

\pgfplotsset{compat=1.18}

\usetikzlibrary{decorations.markings}


\tikzset{

region2/.style={

 postaction={decorate},

 decoration={

   markings,

   mark=between positions 0 and 1 step 0.75mm with { %

     % note that the values are in axis units

     \draw [solid,thin] (axis direction cs:0,#1*0.1) -- (axis direction cs:0,#1*1);

   }

 },

 /pgfplots/forget plot

},

region/.default=1

}


\begin{document}


\begin{minipage}[t]{0.55\linewidth}

  $\displaystyle\begin{cases}

    ax + 4y \\

    x + y = 12 \\

    x + 2y = 16 \\

  \end{cases}$

\end{minipage}


\begin{tikzpicture} %% 2

  \begin{axis}[ %

      axis x line=center,  axis y line=center,

      width=4in, height=4in,

      x axis line style={<->},

      y axis line style={<->},

      xmin=-1,   xmax=16,

      ymin=0,   ymax=12,

      every axis plot/.append style={

         very thick,

         cyan!50!black,

         domain=-10:16,

         samples=2, % all you need for straight lines

      } %, nodes near coords

    ]

    \addplot [solid,black] {12 - x};

    \addplot [black]{8 - 0.5*x};

    

% path/hatch/parallel segments to be decorated between two intersection lines

    \addplot [region2] coordinates{(0,12)(8,4)(16,0)};

    

    \addplot [dashed,black] coordinates {(0,4)(8,4)};

    \addplot [dashed,black] coordinates {(8,0)(8,4)};

    

  \end{axis}

\end{tikzpicture} %% end 2

\end{document}

2. Compile or build

3. Output similar like below


Notes 

  • To see the more clear screenshot, click on the picture.
  • Maybe you need a little bit high computer requirement to learn from above lesson list.

Draw Analog Clock In Latex

1. type this in Latex editor

% !TEX TS-program=pdflatex

\documentclass{article}

\usepackage{tikz}

\usepackage{parskip}

\usepackage{fourier}

\usepackage{tgbonum}

\usepackage{bm}


\usepackage[active,tightpage,varwidth]{preview}

\PreviewEnvironment{tikzpicture}

\setlength\PreviewBorder{0.25pt}


\begin{document}

\LARGE{}

\boldmath


%% draw nine o'clock

\begin{tikzpicture}[line cap=rect,line width=3pt,scale=3]

%% draw clock face circle

\filldraw [fill=gray!30] (0,0) circle [radius=2cm];

%% draw small tick line and the hour number of time

\foreach \angle [count=\xi] in {60,30,...,-270}

{

\draw[line width=1.5pt] (\angle:1.8cm) -- (\angle:2cm);

\node[font=\Huge] at (\angle:1.36cm) {$\textsf{\xi}$};

}


%% Part III TikZ ist kein Zeichenprogramm > 13 Specifying Coordinates > 13.2 Coordinate Systems > 13.2.3 Node Coordinate System

%% /tikz/cs/angle=<degrees>

%% draw big tick line and long tick line

\foreach \angle in {0,90,180,270}

\draw[line width=4pt] (\angle:1.6cm) -- (\angle:1.98cm);


%% Part III TikZ ist kein Zeichenprogramm > 16 Arrows >

%% 16.3.1 Size

%% draw short arm clock

\draw [line width=4pt,arrows=-stealth] (0,0) -- (180:0.85cm);

%% draw long arm clock

\draw [line width=4pt,arrows=-stealth](0,0) -- (90:1.15cm);

\end{tikzpicture}


%% 17.2.3 Common Options: Separations, Margins, Padding and Border Rotation

%% /pgf/shape border rotate=<angle>

\end{document}

2. Compile or build

3. Output similar like below




<< back to Study About Draw In Latex


Rabu, 08 Oktober 2025

Simple ERD Table Design In AsciiDoctor

1. Open the AsciiDoctor editor.
2. Type this following Asciidoctor code sample about simple ERD/ERM Database Table Design in Asciidoctor editor:

==== ERD ( Entity Relationship Diagram )

:author: AsciiDoctor

:co-author: Tutor Course and After School Course

:revnumber: 1.0

:revdate: June 6th, 2007

:doctype: article

:toc:

:icons:

:lang: en

.Database Table Design: adminacc

[options="header"]

|===

|Field Name      |Type |Size

|Username*      |Text |50

|password      |Text |50

3+|* _Primary Key_ ||

|===


.Database Table Design: record

[options="header"]

|===

|Field Name     |Type |Size

|stud_ID*       |Text |50

|fname          |Text |50

|mname          |Text |50

|lname          |Text |50

|email          |Text |50

3+|* _Primary Key_ ||

|===

 3. Result Asciidoctor code after rendering, similar like this:

ERD ( Entity Relationship Diagram )

Table 1. Database Table Design: adminacc
Field Name Type Size

Username*

Text

50

password

Text

50

* Primary Key
Table 2. Database Table Design: record
Field Name Type Size

stud_ID*

Text

50

fname

Text

50

mname

Text

50

lname

Text

50

email

Text

50

* Primary Key


Notes

3+| is for merge three cells in one row as one cell.


Rabu, 01 Oktober 2025

Latex Problem Underfull And Overfull

Underfull Problem In Latex

Several Underfull Warning in Latex can fix by this following Latex statement:
  • when inside normal environment:
    \parbox{\linewidth}{\raggedright  your text here }
  • when using multiline paragraph inside float environment (e.g. itemize list, caption, etc.)
    \parbox[t]{\linewidth}{\raggedright  your text here }

Notes

  • you can change t (top) pos parameter with the c for center and b for bottom.
  • you can change raggedright to raggedleft.

Overfull Problem In Latex

Several Overfull Warning in Latex can fix by this following Latex statement:
\begin{minipage}[t]{\linewidth}
your text here
\end{minipage}

Notes

Sometimes you meet to fix the problem by interchange.between parbox and minipage.


Bibliography

https://upy.ac.id/ (university)
https://www.jhu.edu/ (university)
https://www.rochester.edu/ (university)
https://www.overleaf.com/
https://support.lenovo.com/ ( hardware )
https://www.asus.com/ ( hardware )

Minggu, 28 September 2025

Set The JAVA_HOME variable In Microsoft Windows 8

From step 1 to step 10, you can study at the Set Up A Java Development Kit In Microsoft Windows 8 With Picture
  1. Let us locate the directory where the JDK is installed on our system, and note down the path to this directory.
  2. Open the Start menu and click "All apps" down arrow button in the bottom-left corner.
  3. Scroll through the list of apps and click "Control Panel" on the "Windows System".
  4. The Control Panel will appear on the screen.
  5. Under "View by:" on the right side, click "Category", 
  6. After then select the “System and Security” section.
  7. then select the System section on the right side.
  8. In the System window, click on Advanced System Settings on the left sidebar.
  9. In the System Properties window (Advanced tab):
  10. Click the Environment Variables button.

Add JAVA_HOME Variable In Microsoft Windows 8

This following step to add JAVA_HOME variable:
  1. Under the System Variables section, click a New button to create a new one.


  2. In the Variable Name field, type JAVA_HOME.


  3. In the Variable Value field, enter the path to our JDK installation directory (e.g., in this post C:\runtime\Java\jdkX.X.X_XX\). Then press OK button.


Add %JAVA_HOME% To The Path Of Windows Environment Variable

This following step to add %JAVA_HOME% to the Windows Environment Variable:
  1. In the System Properties window, select the Path variable under the System Variables section. Click Edit button, 


  2. and add %JAVA_HOME%\bin to the list of paths if it’s not already there. Click OK  button.


  3. Click OK  button to apply the changes and restart the computer to ensure the changes take effect.





Check %JAVA_HOME% Has Installed Successfully

  1. Start Command Prompt window then use the following command to check the %JAVA_HOME% has been added correctly.


  2. echo %JAVA_HOME%. You should see the path to your JDK (or JRE) installation location without bin folder.


after this you can follow and practise this optional step below according to your condition:

Edit JAVA_HOME

  1. Under the System Variables section, found JAVA_HOME variable, click Edit button to modify the existing variable.


  2. change the Variable Value field with enter the path to our JDK installation directory (e.g., in this post C:\runtime\Java\jdkX.X.X_XX\ ). Then press OK button.



NOTES: 


<< back to  Study About Java 1

Bibliography

https://www.asus.com/ ( hardware )
https://www.codecademy.com/
https://docs.oracle.com/ ( manual ebook )

Latex Length Reference

These following list are measurement unit in Latex:

\setlength Command Use To Resize (Several Parts In Document):

\arraycolsep{<number>}

\arrayrulewidth{<number>}

\baselineskip{<number>}

\columnwidth{<number>}

\evensidemargin{<number>}

\extrarowheight{<number>}

\footskip{<number>}

\headheight{<number>}

\headsep{<number>}

\itemsep{<number>}

\linewidth{<number>}

\oddsidemargin{<number>}

\paperheight{<number>}

\paperwidth{<number>}

\parindent{<number>}

\PreviewBorder{<number>}

\tabcolsep{<number>}

\textheight{<number>}

\textwidth{<number>}

\topmargin{<number>}

\topsep{<number>}

\topskip{<number>}

Example:

\setlength\arraycolsep{1.5em}

\selectfont Command Use To Adjust The Measurement In Several Part In Latex Document

\fontsize{<number>}{<number>}\selectfont

\linespread{<number>}\selectfont

Example:

\fontsize{13pt}{14pt}\selectfont


<< back to Learning Latex RoadMap