Search In This Website

Minggu, 20 Juli 2025

Faktor Suatu Bilangan Matematika Dalam Latex Preview

1. Open the Latex editor
2. Type this following Latex code in your Latex editor:

% !TEX TS-program = pdflatex


%% File Description:

%% Number Factor 1 table

\documentclass{article}


%% Loading the package

%------------------------

\usepackage{bookman}

\usepackage{array}

\usepackage{amsmath}

\usepackage{bm}

%------------------------


%% custom table properties

%---------------------------

%% resize row height

%% use one of this command below:

%\setlength\extrarowheight{2.5pt}

\renewcommand{\arraystretch}{2}

%% resize border width, can be thicker or thinner

\setlength{\arrayrulewidth}{1.5pt}

%% new centering column type

%\newcolumntype{P}[1]{>{\centering\Large{}\arraybackslash}p{#1}}

%---------------------------


\usepackage[active,floats,tightpage,multi]{preview}

\setlength\PreviewBorder{0.25pt}

\PreviewEnvironment{page}


\begin{document}\Large{}

\begin{page}

\indent\hspace{0.75em}\vspace{-1em}

\section{ Faktor Suatu Bilangan}

\indent\hspace{0.75em}Faktor suatu bilangan adalah bilangan yang \indent\hspace{0.75em}dapat membagi habis bilangan yang lain.\\


\indent\hspace{0.75em}Cara mencari Faktor dari suatu bilangan sebagai berikut:\\


\indent\hspace{0.75em}\textbf{Contoh:}\\


\indent\hspace{0.75em}Faktor dari 8 = $\ldots$ \\

\end{page}


\begin{page}\hfill\\[0.75em]

\indent\hspace{0.75em}\textbf{Jawab:}\\


\indent\hspace{0.75em}Menentukan faktor 8 diperoleh dengan cara:\\

\end{page}


\begin{page}\hfill\\[-1.75em]

\begin{center}\LARGE{}

$\mathbf{8} \boldsymbol\div \mathbf{1} = \mathbf{8}$ \\

$\mathbf{8} \boldsymbol\div \mathbf{2} = \mathbf{4}$ \\

$\mathbf{8} \boldsymbol\div \mathbf{4} = \mathbf{2}$ \\

$\mathbf{8} \boldsymbol\div \mathbf{8} = \mathbf{1}$ \\\smallskip

\end{center}\Large{}\hfill\\[-2em]

\end{page}


\begin{page}\hfill\\[0.75em]

\indent\hspace{0.75em}atau dibuat kotak perkalian sebagai berikut:\\

%\end{page}


%\begin{table}[!htb]

\centering

\begin{tabular}{|c|c|c|c|}\hline

\LARGE{}\bfseries{Factor} & \LARGE{}\bfseries 8 & \LARGE{}\bfseries{Factor}\\\hline

 1 & $\boldsymbol\times$ & 8\\\hline

 2 & $\boldsymbol\times$ & 4\\\hline

\end{tabular}

%\caption{}

%\label{}

%\end{table}


%\begin{page}

\hfill\\[0.75em]

\indent\hspace{0.75em}Jadi, faktor dari 8 adalah 1, 2, 4, dan 8.\hfill\\

\end{page}

\end{document}

3. Save Latex code file as mFPB1prvw.tex

4. Then build or typeset the Latex code file.
5. Then you can see the output below.

Output







Tidak ada komentar:

Posting Komentar