<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% thaienum.tex
%% Copyright 2017 Abhabongse Janthong
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
% The Current Maintainer of this work is Abhabongse Janthong.
% This work consists of all files in the repository, including
% thaienum.sty and thaienum[.pre].tex.
%
% This file provides the basic howto usages of the package 'thaienum'.
%
\documentclass[11pt]{ltxguide}

%%------------------------------------------------------------------
%%  Load utility package
%%------------------------------------------------------------------
\usepackage{etoolbox}

%%------------------------------------------------------------------
%%  Set up Thai language and default font selection
%%------------------------------------------------------------------
\usepackage[T1]{fontenc}
\usepackage{libertine}
\usepackage[varqu,varl]{inconsolata}
\usepackage[thai,thaiindentfirst]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[sans,sflaksaman,rmnorasi]{fonts-tlwg}

\renewcommand{\baselinestretch}{1.5}
\renewrobustcmd{\englishrmdefault}{LinuxLibertineT-TLF}
\renewrobustcmd{\englishsfdefault}{LinuxBiolinumT-TLF}
\renewrobustcmd{\englishttdefault}{zi4}

\renewrobustcmd{\thaittdefault}{zi4}
\renewrobustcmd{\ttfamily}{%
    \fontencoding{\latinencoding}%
    \fontfamily{\ttdefault}%
    \selectfont}

%%------------------------------------------------------------------
%% Load package to be documented
%%------------------------------------------------------------------
\usepackage{enumitem}
\usepackage{thaienum}
\setlist[enumerate,1]{%
    topsep=1pc,partopsep=0pc,parsep=0pc,itemsep=1pc,listparindent=2pc,%
    itemindent=0pc}

%%------------------------------------------------------------------
%%  Set default titlesec
%%  There is a bug when loading 'titlesec' so here is the quick hack. https://tex.stackexchange.com/questions/299969/titlesec-loss-of-section-numbering-with-the-new-update-2016-03-15
%%------------------------------------------------------------------
\usepackage[sf,bf]{titlesec}
\makeatletter
\patchcmd{\ttlh@hang}{\parindent\z@}{\parindent\z@\leavevmode}{}{}
\patchcmd{\ttlh@hang}{\noindent}{}{}{}
\makeatother
\usepackage{multicol}

%%------------------------------------------------------------------
%%  Setup color choices
%%------------------------------------------------------------------
\usepackage[dvipsnames,svgnames,table,fixpdftex,hyperref]{xcolor}
\definecolor{DarkGray}{gray}{0.25}
\definecolor{Gray}{gray}{0.5}
\definecolor{LightGray}{gray}{0.65}
\definecolor{VeryLightGray}{gray}{0.9}
\definecolor{GrayBG}{gray}{0.9}
\definecolor{LightGrayBG}{gray}{0.935}
\definecolor{VeryLightGrayBG}{gray}{0.97}

% Color settings for mdframed
\definecolor{ShadeColor}{gray}{0.935}
\definecolor{BorderColor}{gray}{0.785}

%%------------------------------------------------------------------
%%  Code listings package and settings
%%------------------------------------------------------------------
\RequirePackage{listings}
\lstset{%
    % Basic Settings
    basicstyle=\small\ttfamily,%
    captionpos=b,%
    % Margins and Background
    xleftmargin=0pc,%
    xrightmargin=0pc,%
    rulesep=2pc,%
    frame=trbl,%
    framesep=0.5pc,%
    framextopmargin=0pc,%
    framexbottommargin=0pc,%
    framexleftmargin=0.125pc,%
    framexrightmargin=0pc,%
    backgroundcolor=\color{ShadeColor},%
    rulecolor=\color{BorderColor},%
    % Spacing and Horizontal Flow
    showspaces=false,%
    showstringspaces=false,%
    showtabs=false,%
    tabsize=2,%
    breaklines=true,%
    columns=fullflexible,%
    keepspaces=true,%
    % Vertical Flow
    aboveskip=\bigskipamount,%
    belowskip=\bigskipamount,%
    lineskip=0.0001pt,
    % Line Numbers
    stepnumber=1,%
    numbers=left,%
    numbersep=1.25pc,%
    numberstyle=\ttfamily\color{Gray},%
    % Special Keyword Format
    stringstyle=\color{red},%
    commentstyle=\color{ForestGreen!90},%
    keywordstyle=\color{MidnightBlue!80},%
    keywordstyle={[2]\color{teal!80}},%
    extendedchars=true}

\lstdefinelanguage{LaTeX}{%
    language=[LaTeX]{TeX},%
    sensitive=true}

%%------------------------------------------------------------------
%%  Setup constant lengths for parts of document.
%%------------------------------------------------------------------
\addtolength{\topmargin}{-3pc}
\addtolength{\textwidth}{6pc}
\addtolength{\oddsidemargin}{-2pc}
\addtolength{\textheight}{7pc}
\setlength{\parindent}{2pc}
\setlength{\parskip}{0pc}

%%------------------------------------------------------------------
%%  Document information
%%------------------------------------------------------------------
\title{à¹à¸žà¹‡à¸à¹€à¸à¸ˆ \textlatin{\texttt{thaienum}}}
\author{à¸­à¸²à¸&nbsp;à¸²à¸žà¸‡à¸¨à¹Œ à¸ˆà¸±à¸™à¸—à¸£à¹Œà¸—à¸­à¸‡}

\date{à¹€à¸§à¸­à¸£à¹Œà¸Šà¸±à¸™ 0.2\\30 à¹€à¸¡à¸©à¸²à¸¢à¸™ 2017}

\begin{document}
\maketitle

\section{à¸à¸¥à¹ˆà¸²à¸§à¸™à¸³}

à¹‚à¸”à¸¢à¸›à¸à¸•à¸´à¹à¸¥à¹‰à¸§ à¸«à¸²à¸à¸œà¸¹à¹‰à¹ƒà¸Šà¹‰à¸‡à¸²à¸™ \textlatin{\textrm\LaTeX} à¸•à¹‰à¸­à¸‡à¸à¸²à¸£à¸—à¸µà¹ˆà¸ˆà¸°à¹€à¸‚à¸µà¸¢à¸™à¸¥à¸³à¸”à¸±à¸šà¸£à¸²à¸¢à¸à¸²à¸£à¹‚à¸”à¸¢à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸²à¸£à¸–à¸à¸³à¸«à¸™à¸”à¸Šà¸™à¸´à¸”à¸‚à¸­à¸‡à¸«à¸±à¸§à¸£à¸²à¸¢à¸à¸²à¸£à¹ƒà¸™à¸£à¸¹à¸›à¹à¸šà¸šà¸•à¹ˆà¸²à¸‡ à¹† à¸¡à¸±à¸à¸ˆà¸°à¹€à¸£à¸µà¸¢à¸à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¹à¸žà¹‡à¸à¹€à¸à¸ˆ \texttt{enumitem} à¹€à¸žà¸£à¸²à¸°à¹€à¸›à¹‡à¸™à¹à¸žà¹‡à¸à¹€à¸à¸ˆà¸—à¸µà¹ˆà¸¡à¸µà¸„à¸§à¸²à¸¡à¸¢à¸·à¸”à¸«à¸¢à¸¸à¹ˆà¸™à¸ªà¸¹à¸‡ à¹€à¸Šà¹ˆà¸™ à¸ªà¸²à¸¡à¸²à¸£à¸–à¸à¸³à¸«à¸™à¸”à¹ƒà¸«à¹‰à¸•à¸±à¹‰à¸‡à¸«à¸±à¸§à¸£à¸²à¸¢à¸à¸²à¸£à¸”à¹‰à¸§à¸¢à¹€à¸¥à¸‚à¹‚à¸£à¸¡à¸±à¸™à¹„à¸”à¹‰ à¹€à¸Šà¹ˆà¸™

\smallskip
\renewcommand{\baselinestretch}{0.1}
\begin{lstlisting}[language=LaTeX,escapechar={Ã¢},basicstyle=\ttfamily,lineskip={0.05pc}]
\begin{enumerate}[label={\Roman*.}]
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸™à¸¶à¹ˆà¸‡}}Ã¢
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸­à¸‡}}Ã¢
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡}}Ã¢
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆ}}Ã¢
\end{enumerate}
\end{lstlisting}
\renewcommand{\baselinestretch}{1.5}

\begin{enumerate}[topsep=0pc,itemsep=0pc,label={\latintext\rmfamily\Roman*.}]
    \item à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸™à¸¶à¹ˆà¸‡
    \item à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸­à¸‡
    \item à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡
    \item à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆ
\end{enumerate}

\medskip
à¹à¸•à¹ˆà¸à¹‡à¸¡à¸µà¸œà¸¹à¹‰à¹ƒà¸Šà¹‰à¸‡à¸²à¸™ \textlatin{\textrm\LaTeX} à¸à¸¥à¸¸à¹ˆà¸¡à¸«à¸™à¸¶à¹ˆà¸‡ à¹‚à¸”à¸¢à¹€à¸‰à¸žà¸²à¸°à¸œà¸¹à¹‰à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¸&nbsp;à¸²à¸©à¸²à¹„à¸—à¸¢à¸¡à¸±à¸à¸›à¸£à¸°à¸ªà¸šà¸›à¸±à¸à¸«à¸²à¸—à¸µà¹ˆà¹„à¸¡à¹ˆà¸ªà¸²à¸¡à¸²à¸£à¸–à¸•à¸±à¹‰à¸‡à¸«à¸±à¸§à¸£à¸²à¸¢à¸à¸²à¸£à¹€à¸›à¹‡à¸™à¹€à¸¥à¸‚à¹„à¸—à¸¢ (à¹€à¸Šà¹ˆà¸™ à¹‘ à¹’ à¹“ à¹” \ldots) à¸«à¸£à¸·à¸­à¸­à¸±à¸à¸©à¸£à¸&nbsp;à¸²à¸©à¸²à¹„à¸—à¸¢ (à¸ à¸‚ à¸„ à¸‡ \ldots) à¹„à¸”à¹‰à¹‚à¸”à¸¢à¸­à¸±à¸•à¹‚à¸™à¸¡à¸±à¸•à¸´ à¸à¹ˆà¸­à¹ƒà¸«à¹‰à¹€à¸à¸´à¸”à¸„à¸§à¸²à¸¡à¹„à¸¡à¹ˆà¸ªà¸°à¸”à¸§à¸à¹ƒà¸™à¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‡à¸²à¸™ \textlatin{\textrm\LaTeX} à¸à¸±à¸šà¸&nbsp;à¸²à¸©à¸²à¹„à¸—à¸¢à¹€à¸›à¹‡à¸™à¸­à¸¢à¹ˆà¸²à¸‡à¸¢à¸´à¹ˆà¸‡

à¹à¸žà¹‡à¸à¹€à¸à¸ˆ \textlatin{\texttt{thaienum}} à¸ªà¸³à¸«à¸£à¸±à¸š \textlatin{\textrm\LaTeX} à¸ˆà¸¶à¸‡à¸–à¸¹à¸à¸ªà¸£à¹‰à¸²à¸‡à¸‚à¸¶à¹‰à¸™à¸¡à¸²à¹€à¸žà¸·à¹ˆà¸­à¸•à¸­à¸šà¹‚à¸ˆà¸—à¸¢à¹Œà¸”à¸±à¸‡à¸à¸¥à¹ˆà¸²à¸§ à¹‚à¸”à¸¢à¹ƒà¸Šà¹‰à¸„à¸§à¸šà¸„à¸¹à¹ˆà¸à¸±à¸šà¹à¸žà¹‡à¸à¹€à¸à¸ˆà¸«à¸¥à¸±à¸à¸­à¸¢à¹ˆà¸²à¸‡ \texttt{enumitem} à¸™à¸±à¹ˆà¸™à¹€à¸­à¸‡


\section{à¸§à¸´à¸˜à¸µà¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¹€à¸šà¸·à¹‰à¸­à¸‡à¸•à¹‰à¸™}

\subsection{à¸à¹ˆà¸­à¸™à¹€à¸£à¸´à¹ˆà¸¡à¹ƒà¸Šà¹‰à¸‡à¸²à¸™}

à¸à¹ˆà¸­à¸™à¸—à¸µà¹ˆà¸œà¸¹à¹‰à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¸ˆà¸°à¸™à¸³à¹€à¸‚à¹‰à¸²à¹à¸žà¹‡à¸à¹€à¸à¸ˆ \texttt{thaienum} à¸™à¸µà¹€à¸žà¸·à¹ˆà¸­à¹ƒà¸Šà¹‰à¸‡à¸²à¸™ à¸œà¸¹à¹‰à¸™à¸±à¹‰à¸™à¸ˆà¸³à¹€à¸›à¹‡à¸™à¸•à¹‰à¸­à¸‡à¹€à¸£à¸µà¸¢à¸à¸™à¸³à¹€à¸‚à¹‰à¸²à¹à¸žà¹‡à¸à¹€à¸à¸ˆà¸—à¸±à¹‰à¸‡à¸ªà¸´à¹‰à¸™ 2 à¹à¸žà¹‡à¸à¹€à¸à¸ˆà¸à¹ˆà¸­à¸™à¸”à¸±à¸‡à¸•à¹ˆà¸­à¹„à¸›à¸™à¸µà¹‰
\begin{enumerate}[topsep=0.25pc,itemsep=0pc,label={\thainum*.}]
    \item  à¹à¸žà¹‡à¸à¹€à¸à¸ˆ \texttt{babel} à¹à¸¥à¸°à¸•à¹‰à¸­à¸‡à¸™à¸³à¹€à¸‚à¹‰à¸²à¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¸&nbsp;à¸²à¸©à¸²à¹„à¸—à¸¢à¸”à¹‰à¸§à¸¢
    \item  à¹à¸žà¹‡à¸à¹€à¸à¸ˆ \texttt{enumitem}
\end{enumerate}

\begin{lstlisting}[language=LaTeX]
\usepackage[thai]{babel}
\usepackage{enumitem}
\usepackage{thaienum}
\end{lstlisting}

\subsection{à¸à¸²à¸£à¹€à¸¥à¸·à¸­à¸à¹ƒà¸Šà¹‰à¸‡à¸²à¸™}

à¹€à¸¡à¸·à¹ˆà¸­à¸œà¸¹à¹‰à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¸•à¹‰à¸­à¸‡à¸à¸²à¸£à¸ˆà¸°à¹€à¸‚à¸µà¸¢à¸™à¸£à¸²à¸¢à¸à¸²à¸£à¹ƒà¸«à¸¡à¹ˆ à¸ªà¸²à¸¡à¸²à¸£à¸–à¸ªà¸£à¹‰à¸²à¸‡ \texttt{environment} à¸›à¸£à¸°à¸°à¸&nbsp;à¸— \texttt{enumerate} à¹‚à¸”à¸¢à¸à¸³à¸«à¸™à¸”à¸„à¹ˆà¸² \texttt{parameter} à¸Šà¸·à¹ˆà¸­ \texttt{label} à¹ƒà¸«à¹‰à¸¡à¸µà¸«à¸±à¸§à¸£à¸²à¸¢à¸à¸²à¸£à¸•à¸²à¸¡à¸—à¸µà¹ˆà¸•à¹‰à¸­à¸‡à¸à¸²à¸£à¹„à¸”à¹‰ à¹‚à¸”à¸¢à¸ªà¸²à¸¡à¸²à¸£à¸–à¸à¸³à¸«à¸™à¸”à¸„à¹ˆà¸²à¸•à¹ˆà¸­à¹„à¸›à¸™à¸µà¹‰

\begin{enumerate}[topsep=0.25pc,itemsep=0pc,label={\thainum*.}]
    \item  \texttt{thainum} à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¸™à¸±à¸šà¹‚à¸”à¸¢à¹ƒà¸Šà¹‰à¹€à¸¥à¸‚à¹„à¸—à¸¢ à¹‘ à¹’ à¹“ à¹” à¹• \ldots
    \item  \label{it:loalph} \texttt{thaialph} à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¸™à¸±à¸šà¹‚à¸”à¸¢à¹ƒà¸Šà¹‰à¸žà¸¢à¸±à¸à¸Šà¸™à¸°à¹„à¸—à¸¢ à¸ à¸‚ à¸„ à¸‡ à¸ˆ \ldots
    \item  \label{it:hialph} \texttt{thaiAlph} à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¸™à¸±à¸šà¹‚à¸”à¸¢à¹ƒà¸Šà¹‰à¸žà¸¢à¸±à¸à¸Šà¸™à¸°à¹„à¸—à¸¢ à¸ à¸‚ à¸ƒ à¸„ à¸… \ldots\, à¹‚à¸”à¸¢à¹„à¸¡à¹ˆà¸‚à¹‰à¸²à¸¡ à¸ƒ à¸… à¹à¸¥à¸° à¸†
\end{enumerate}

\medskip
à¸­à¸¢à¹ˆà¸²à¸‡à¹„à¸£à¸à¹‡à¸”à¸µ à¸ªà¸³à¸«à¸£à¸±à¸šà¸«à¸±à¸§à¸£à¸²à¸¢à¸à¸²à¸£à¸›à¸£à¸°à¹€à¸&nbsp;à¸—à¸—à¸µà¹ˆ \ref{it:loalph} à¹à¸¥à¸° \ref{it:hialph} à¸™à¸±à¹‰à¸™ à¸¡à¸µà¸ˆà¸³à¸™à¸§à¸™à¸žà¸¢à¸±à¸à¸Šà¸™à¸°à¸ˆà¸³à¸à¸±à¸” à¸ˆà¸¶à¸‡à¹„à¸¡à¹ˆà¸ªà¸²à¸¡à¸²à¸£à¸–à¹ƒà¸Šà¹‰à¹ƒà¸™à¸à¸£à¸“à¸µà¸—à¸µà¹ˆà¸£à¸²à¸¢à¸à¸²à¸£à¸¡à¸µà¸„à¸§à¸²à¸¡à¸¢à¸²à¸§à¹€à¸à¸´à¸™ 41 à¹à¸¥à¸° 44 à¸£à¸²à¸¢à¸à¸²à¸£à¹„à¸”à¹‰à¸•à¸²à¸¡à¸¥à¸³à¸”à¸±à¸š à¹à¸žà¹‡à¸à¹€à¸à¸ˆà¸™à¸µà¹‰à¸ˆà¸¶à¸‡à¸¡à¸µà¸­à¸™à¸¸à¸à¸²à¸•à¹ƒà¸«à¹‰à¸à¸³à¸«à¸™à¸”à¸„à¹ˆà¸²à¹„à¸”à¹‰à¸­à¸µà¸à¸ªà¸­à¸‡à¸›à¸£à¸°à¹€à¸&nbsp;à¸—à¹€à¸žà¸´à¹ˆà¸¡à¹€à¸•à¸´à¸¡ à¹„à¸”à¹‰à¹à¸à¹ˆ

\begin{enumerate}[topsep=0.25pc,itemsep=0pc,start=4,label={\thainum*.}]
    \item  \texttt{thaimultialph} à¸‹à¸¶à¹ˆà¸‡à¸„à¸¥à¹‰à¸²à¸¢à¸à¸±à¸š \texttt{thaialph} à¹à¸•à¹ˆà¸§à¹ˆà¸²à¸–à¸±à¸”à¸ˆà¸²à¸ à¸®.à¸™à¸à¸®à¸¹à¸ à¸™à¸±à¹‰à¸™à¸£à¸²à¸¢à¸à¸²à¸£à¸–à¸±à¸”à¹„à¸›à¸ˆà¸°à¸™à¸±à¸šà¹ƒà¸«à¸¡à¹ˆà¹€à¸›à¹‡à¸™ à¸à¸ à¸à¸‚ à¸à¸„ à¸à¸‡ à¸à¸ˆ \ldots\, à¹„à¸›à¹€à¸£à¸·à¹ˆà¸­à¸¢ à¹†
    \item  \texttt{thaimultiAlph} à¸‹à¸¶à¹ˆà¸‡à¸„à¸¥à¹‰à¸²à¸¢à¸à¸±à¸š \texttt{thaiAlph} à¹à¸•à¹ˆà¸§à¹ˆà¸²à¸–à¸±à¸”à¸ˆà¸²à¸ à¸®.à¸™à¸à¸®à¸¹à¸ à¸™à¸±à¹‰à¸™à¸£à¸²à¸¢à¸à¸²à¸£à¸–à¸±à¸”à¹„à¸›à¸ˆà¸°à¸™à¸±à¸šà¹ƒà¸«à¸¡à¹ˆà¹€à¸›à¹‡à¸™ à¸à¸ à¸à¸‚ à¸à¸ƒ à¸à¸„ à¸à¸… \ldots\, à¹„à¸›à¹€à¸£à¸·à¹ˆà¸­à¸¢ à¹†
\end{enumerate}

\newpage
\subsubsection{à¸•à¸±à¸§à¸­à¸¢à¹ˆà¸²à¸‡à¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¸à¸±à¸šà¹€à¸¥à¸‚à¹„à¸—à¸¢}

à¹€à¸£à¸²à¸ªà¸²à¸¡à¸²à¸£à¸–à¹ƒà¸Šà¹‰à¹€à¸¥à¸‚à¹„à¸—à¸¢à¸à¸±à¸šà¸£à¸²à¸¢à¸à¸²à¸£à¹„à¸”à¹‰à¸”à¸±à¸‡à¸™à¸µà¹‰

\smallskip
\renewcommand{\baselinestretch}{0.1}
\begin{lstlisting}[language=LaTeX,escapechar={Ã¢},basicstyle=\ttfamily,lineskip={0.05pc}]
\begin{enumerate}[label={\thainum*.}]
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸™à¸¶à¹ˆà¸‡}}Ã¢
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸­à¸‡}}Ã¢
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡}}Ã¢
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆ}}Ã¢
\end{enumerate}
\end{lstlisting}
\renewcommand{\baselinestretch}{1.5}

\begin{enumerate}[topsep=0pc,itemsep=0pc,label={\thainum*.}]
    \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸™à¸¶à¹ˆà¸‡
    \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸­à¸‡
    \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡
    \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆ
\end{enumerate}

\subsubsection{à¸•à¸±à¸§à¸­à¸¢à¹ˆà¸²à¸‡à¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¸à¸±à¸šà¸­à¸±à¸à¸©à¸£à¹„à¸—à¸¢}

à¹€à¸£à¸²à¸ªà¸²à¸¡à¸²à¸£à¸–à¹ƒà¸Šà¹‰à¸­à¸±à¸à¸©à¸£à¹„à¸—à¸¢à¸à¸±à¸šà¸£à¸²à¸¢à¸à¸²à¸£à¹„à¸”à¹‰à¸”à¸±à¸‡à¸™à¸µà¹‰

\smallskip
\renewcommand{\baselinestretch}{0.1}
\begin{lstlisting}[language=LaTeX,escapechar={Ã¢},basicstyle=\ttfamily,lineskip={0.05pc}]
\begin{enumerate}[label={\thaialph*.}]
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸™à¸¶à¹ˆà¸‡}}Ã¢
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸­à¸‡}}Ã¢
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡}}Ã¢
    \item  Ã¢{\textthai{\small à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆ}}Ã¢
\end{enumerate}
\end{lstlisting}
\renewcommand{\baselinestretch}{1.5}

\begin{enumerate}[topsep=0pc,itemsep=0pc,label={\thaialph*.}]
    \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸™à¸¶à¹ˆà¸‡
    \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸­à¸‡
    \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡
    \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆ
\end{enumerate}

\newpage
\subsubsection{à¸•à¸±à¸§à¸­à¸¢à¹ˆà¸²à¸‡à¸à¸²à¸£à¹ƒà¸Šà¹‰à¸‡à¸²à¸™à¸à¸±à¸šà¸­à¸±à¸à¸©à¸£à¹„à¸—à¸¢à¹ƒà¸™à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸²à¸§}

à¸«à¸²à¸à¹€à¸£à¸²à¸•à¸±à¹‰à¸‡à¸„à¹ˆà¸²à¹ƒà¸«à¹‰ \lstinline[language=LaTeX]!label={\thaialph.}! à¸à¸±à¸šà¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸²à¸§à¹€à¸à¸´à¸™ 41 à¸£à¸²à¸¢à¸à¸²à¸£ à¹€à¸£à¸²à¸ˆà¸°à¸žà¸šà¸›à¸±à¸à¸«à¸²à¸”à¸±à¸‡à¸™à¸µà¹‰ (à¹‚à¸›à¸£à¸”à¸”à¸¹ \texttt{source code} à¹€à¸žà¸·à¹ˆà¸­à¸„à¸§à¸²à¸¡à¸Šà¸±à¸”à¹€à¸ˆà¸™à¸—à¸µà¹ˆà¸¡à¸²à¸à¸‚à¸¶à¹‰à¸™)
\begin{center}
    \color{red}\texttt{thaienum.tex:315: LaTeX Error: Counter too large. [ {\textbackslash}item ]}
\end{center}

\begin{multicols}{4}
    \scriptsize
    \begin{enumerate}[listparindent=0pc,topsep=0pc,itemsep=0pc,label={\thaialph*.}]
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸™à¸¶à¹ˆà¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸­à¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆ
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¹€à¸ˆà¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¹à¸›à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¹€à¸à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸š
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸­à¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸­à¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸²à¸¡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸µà¹ˆ
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸«à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸«à¸
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸ˆà¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¹à¸›à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸š
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸­à¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸­à¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸²à¸¡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸µà¹ˆ
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸«à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸«à¸
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸ˆà¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¹à¸›à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸š
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¹€à¸­à¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸ªà¸­à¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸ªà¸²à¸¡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸ªà¸µà¹ˆ
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸«à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸«à¸
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¹€à¸ˆà¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¹à¸›à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¹€à¸à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸š
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¹€à¸­à¹‡à¸”
        \item[.]  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸­à¸‡
        % To replicate error, replace the line above with the line below.
        % \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸­à¸‡
    \end{enumerate}
\end{multicols}

\medskip
à¹à¸•à¹ˆà¸«à¸²à¸à¹€à¸£à¸²à¸•à¸±à¹‰à¸‡à¸„à¹ˆà¸²à¹ƒà¸«à¹‰ \lstinline[language=LaTeX]!label={\thaimultialph.}! à¸à¸±à¸šà¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸²à¸§à¹€à¸à¸´à¸™ 41 à¸£à¸²à¸¢à¸à¸²à¸£ à¹€à¸£à¸²à¸ˆà¸°à¹„à¸”à¹‰à¸œà¸¥à¸¥à¸±à¸žà¸˜à¹Œà¸”à¸±à¸‡à¸™à¸µà¹‰

\begin{multicols}{4}
    \scriptsize
    \begin{enumerate}[listparindent=0pc,topsep=0pc,itemsep=0pc,label={\thaimultialph*.}]
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸™à¸¶à¹ˆà¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸­à¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆ
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¸
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¹€à¸ˆà¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¹à¸›à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¹€à¸à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸š
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸­à¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸­à¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸²à¸¡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸µà¹ˆ
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸«à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¸«à¸
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸ˆà¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¹à¸›à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸š
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸­à¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸­à¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸²à¸¡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸µà¹ˆ
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸«à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¸«à¸
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸ˆà¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¹à¸›à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸¢à¸µà¹ˆà¸ªà¸´à¸šà¹€à¸à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸š
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¹€à¸­à¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸ªà¸­à¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸ªà¸²à¸¡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸ªà¸µà¹ˆ
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸«à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¸«à¸
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¹€à¸ˆà¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¹à¸›à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸²à¸¡à¸ªà¸´à¸šà¹€à¸à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸š
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¹€à¸­à¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸­à¸‡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸²à¸¡
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¸ªà¸µà¹ˆ
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¸«à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¸«à¸
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¹€à¸ˆà¹‡à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¹à¸›à¸”
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸ªà¸µà¹ˆà¸ªà¸´à¸šà¹€à¸à¹‰à¸²
        \item  à¸£à¸²à¸¢à¸à¸²à¸£à¸—à¸µà¹ˆà¸«à¹‰à¸²à¸ªà¸´à¸š
    \end{enumerate}
\end{multicols}

\section{à¸‚à¸­à¸‚à¸­à¸šà¸„à¸¸à¸“}

à¸‚à¸­à¸‚à¸­à¸šà¸„à¸¸à¸“à¹à¸žà¹‡à¸à¹€à¸à¸ˆ \texttt{moreenum} à¸ªà¸³à¸«à¸£à¸±à¸šà¸„à¸§à¸²à¸¡à¸„à¸´à¸”à¸£à¸´à¹€à¸£à¸´à¹ˆà¸¡à¹à¸¥à¸°à¹à¸™à¸§à¸—à¸²à¸‡à¸—à¸µà¹ˆà¸ˆà¸°à¸ªà¸£à¹‰à¸²à¸‡à¹à¸žà¹‡à¸à¹€à¸à¸ˆà¸™à¸µà¹‰à¸‚à¸¶à¹‰à¸™à¸¡à¸² à¹à¸¥à¸°à¸‚à¸­à¸‚à¸­à¸šà¸„à¸¸à¸“à¹à¸žà¹‡à¸à¹€à¸à¸ˆ \texttt{babel-thai} à¸ªà¸³à¸«à¸£à¸±à¸šà¸à¸²à¸£à¸ªà¸™à¸±à¸šà¸ªà¸™à¸¸à¸™à¸&nbsp;à¸²à¸©à¸²à¹„à¸—à¸¢à¹ƒà¸™ \textlatin{\textrm\LaTeX} à¹€à¸£à¸·à¹ˆà¸­à¸¢à¸¡à¸²


\end{document}
</pre></body></html>