Search In This Website

Minggu, 25 Mei 2025

How To Write A Code Block In Latex 2

Learning Objectives:
  • numbers=left is to add numbering of the verbatim lines.
  • fontsize is to configure the size of the font to use to the verbatim lines.
  • numberblanklines=false is to remove numbering of the empty verbatim lines.
  • firstnumber=1 is to add numbering of the first line — numbering starts from 1.

1. Type this Latex code in Latex editor:

% !TEX TS-program = pdflatex

% !TEX encoding = UTF-8 Unicode


\documentclass[12pt,letterpaper]{article}

\usepackage{fullpage}

\usepackage[top=2.5cm,bottom=2.5cm,left=2.5cm,right=2.5cm,columnsep=30pt]{geometry}

%% latex package to use the Verbatim environment or display verbatim 
\usepackage{fancyvrb}
\usepackage{fvextra}
%% change default font To bold format
\renewcommand{\seriesdefault}{bx}
%% change the bold format To Huge size
\renewcommand{\bfseries}{\Huge{}}

\begin{document}
\subsection*{Notes}
\Large{}
\begin{minipage}{\linewidth}
To use the Verbatim environment or display verbatim you have to add the following line to the preamble of your document: \verb!\usepackage{fancyvrb}! and \verb!\usepackage{fvextra}!
\end{minipage}

\paragraph{}
\hspace{-1.5em}
\begin{minipage}{0.9\linewidth}
For longer (multiline) chunks of fixed-format text and automatic line breaking or wrap text, use the \texttt{\textbackslash{}fvset\{fontsize=\textbackslash{}Large,numberblanklines=false\}}
\texttt{\textbackslash{}begin\{Verbatim\}[breaklines=true, breakanywhere=true,numbers=left,
firstnumber=1]} (note the capital V letter). \\
Include your anything text in the Verbatim environment.
\end{minipage} \\

\noindent{}\raggedright{}
\subsection*{Sample:}
\huge{}
\fvset{fontsize=\Large
,numberblanklines=false
}
\renewcommand{\theFancyVerbLine}{%
\large\arabic{FancyVerbLine}}
\begin{Verbatim}[breaklines=true, breakanywhere=true,numbers=left,firstnumber=1]
% !TEX TS-program = pdflatex
% !TEX encoding = UTF-8 Unicode
\documentclass[12pt,letterpaper]{article}
\begin{document}
\begin{verbatim}
Hello World
\end{verbatim}
\end{document}
\end{Verbatim}

\paragraph{}
\noindent\raggedright{}\hspace{-1.5em} Normal Paragraph\\
\end{document}
2. Save file as CodeHighlightVerbatim2.tex
3. Then build or compile or typeset the Latex code.

Output


Notes

  • Remember the V capital letter in \begin{Verbatim}[breaklines=true, breakanywhere=true] and \end{Verbatim}.
  • To see more clear screen capture picture, click on the picture.





write latex code, verbatim environment

Bibliography

https://web.mit.edu/ ( university )
https://www.uni-ulm.de/ ( university )

Rabu, 21 Mei 2025

Software Programming Environment Variable

The sample list of Programming Environment Variable and Common Programming Default Path:
Notes Use quotation marks when specifying long filenames or paths with spaces.



to learn about Environment Variable, click Environment variable 1 >

to learn about Top Command Prompt Command list, click Top Command Prompt >

to learn about change a directory in Command Prompt, click Change Directory In Command Prompt >

Selasa, 20 Mei 2025

Simple Exception Summary In CSV Format

Exception Summary / Exception Reporting refers to the process of identifying and flagging/point out abnormal or suspicious activities by analyzing a range of events. It involves comparing observed behavior against known normal values to detect anomalies/unexpected/out of range, which can be done manually or automatically using various tools such as Network Behavior Anomaly Detection (NBAD), tracking log analysis, or Security Information and Event Management (SIEM) systems. Anomaly detection requires a baseline of activity for comparison, which is typically established by analyzing collected data over a period of time to determine the average behavior.

1. Type this CSV file in your CSV editor or Text Editor or Spreadsheet Program (e.g. Microsoft Office Excel) :
sep=;
Region;2006 Exceptions
Northeast;0.0021%
Atlantic;0.0025%
Southeast;0.0026%
North Central;0.0026%
Midwest;0.0020%
Southwest;0.0018%
Mountain West;0.0002%
Northwest;0.0004%
Central;0.0011%
2. Type this schema.ini example in your Text Editor:
[ExceptionSummary.csv]
ColNameHeader=True
Format=CSVDelimited(;)
MaxScanRow=17
CharacterSet=OEM
DecimalSymbol=.
Col1="Region" Float Width 23
Col2="2006 Exceptions" Text Width 25
3. Save file as schema.ini

Notes

If you open the above CSV file in several version of Spreadsheet Program, you may get error message or warning message. To fix the problem, you can delete the sep=; line before you open it.




Bibliography

https://www.leapfrogbi.com/
https://www.sciencedirect.com/

Related Post

HTML Arrows

Char Dec Hex Name
8592 2190 ← LEFTWARDS ARROW
8593 2191 ↑ UPWARDS ARROW
8594 2192 → RIGHTWARDS ARROW
8595 2193 ↓ DOWNWARDS ARROW
8596 2194 ↔ LEFT RIGHT ARROW
8597 2195 UP DOWN ARROW
8616 21A8 UP DOWN ARROW WITH BASE
8658 21D2 ⇒ RIGHTWARDS DOUBLE ARROW
8660 21D4 ⇔ LEFT RIGHT DOUBLE ARROW

 

Bibliography

https://www.toptal.com/

Related Post

Most Common HTML Entities
Most Common Quotation On HTML Entities

Senin, 19 Mei 2025

English Topics Vocabulary List

Abbreviations

Alphabet

Bird
Boat
Buildings
Car
Clothes

Directions
Family
Fish
Fruit
Fish
Fruit
Hobby
Insect
Jewelry
Kitchen
Mammal
Musical Instrument

Numbers

Office
Pet
Plant
School
Shape
Sport
Time
Transportation
Universe
Vegetable

Bibliography

https://ltl-school.com/
https://www.woodwardenglish.com/
https://forvo.com/

Table Creole PlantUML About Microsoft Excel Arithmetic Operator

Type this following plantUML source code in your plantUML editor:
@startuml
/' Creole Table PlantUML '/
title
Arithmetic Operator In Microsoft Office Excel Using Creole PlantUML
|= Arithmetic\n Operator |= Symbol |= Example |= Result |
|Addition |+ |10+5 |15 |
|Subtraction |- |10-5 |5 |
|Multiplication |* |10*5 |50 |
|Division |/ |10/5 |2 |
|Exponent |^ |10^5 |100000 |
|Percentage |% |10% |0.10 |
end title
@enduml

 

Output:


Notes

  • Column Separation: Use the pipe symbol | to separate columns within the note. 
  • Row Separation: New lines create rows.
  • Equal Sign ( = ) as the first char of a cell (after | the pipe symbol) indicates whether to make it bold (usually used for headers).



plant uml, unified modelling language, system analyst and design, textual diagram, text to diagram, textual modelling



<< back to  Study About ERD / DFD


Related Post

Minggu, 18 Mei 2025

Memulai Application Microsoft Office Word

Persiapan

  • Menyiapkan Microsoft Windows 8.1 di dalam komputer Anda.
  • Jika Anda belum menginstall Microsoft Office Word 2007, Anda perlu menginstall Microsoft Office Word 2007 pada komputer (computer) Anda.
  1. Klik Start Button atau tekan tombol Windows di keyboard Anda untuk menampilkan Start menu.

    Start menu
  2. Dalam Start menu setelah All Apps button ( Down Arrow key ) yang ada di pojok kiri bawah di click, temukan aplikasi Microsoft Office Word dan click. Welcome Screen muncul dan Microsoft Office Word dimulai.

    Setelah All Apps button ( Down Arrow key )
    Welcome Screen Microsoft Office Word muncul
    Microsoft Office Word dimulai

    Tips: Pada kali pertama Anda memulai Word, Perjanjian Lisensi Perangkat Lunak Microsoft ( Microsoft Software License Agreement ) mungkin muncul.


Notes: 

  • To see the more clear picture, click on the picture
  • Untuk keluar dari Word, klik tombol x di sudut kanan atas layar Anda.
  • Jika Anda membuat perubahan sejak terakhir kali menyimpan dokumen, kotak pesan akan muncul menanyakan apakah Anda ingin menyimpan perubahan. Untuk menyimpan perubahan, klik Yes. Untuk keluar tanpa menyimpan perubahan, klik No. Jika Anda mengklik tombol x secara tidak sengaja, klik Cancel.
  • Untuk belajar memulai aplikasi Microsoft Office Word dalam bahasa Inggris, klik Start Microsoft Office Word Application


Next Microsoft Word GUI Parts >


<< back to Study About Microsoft Office 1