<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[svgnames, onlydoc]{l3doc}
\usepackage{litetable, twemojis}
\usepackage[mono = false]{libertine}
\usepackage[fontset = fandol]{ctex}
\setlength \parindent {0pt}
\AddToHook{env/function/before}{\vspace*{-.65\baselineskip}}
\AddToHook{env/syntax/after}   {\par\vspace*{.15\baselineskip}}
\makeatletter
\def \@key  #1{\textcolor{red}{\textbf{\texttt{#1}}}~\normalfont \texttt{=}~}
\def \s@key #1{\textcolor{red}{\textbf{\texttt{#1}}}}
\DeclareRobustCommand \key {\@ifstar\s@key\@key}
\def \val #1{\meta{\textup{#1}}}
\def \TFF {true\textbar \textbf{false}}
\def \TTF {\textbf{true}\textbar false}
\def \HoLogo@ApLaTeX #1%
  {\HOLOGO@mbox {A\kern -.05em p\kern -.05em \hologo{LaTeX}}}
\newlist{keyval}{itemize}{10}
\setlist[keyval]{leftmargin = 0pt, labelsep = 0pt}
\makeatother
\makeindex

\title{%
  \bfseries \cls{litetable} å®åŒ… --- å¤šå½©çš„è¯¾ç¨‹è¡¨\thanks{%
    \url{https://github.com/myhsia/litetable},
    \url{https://ctan.org/pkg/litetable}
  }
}

\author{%
  å¤æ˜Žå®‡
  \texttt{&lt;\href{mailto:myhsia@outlook.com}{myhsia@outlook.com}&gt;}\thanks{%
    \href{https://github.com/ljguo1020}{éƒ­æŽå†›}
    å¼€å‘äº†è¯»å– \meta{left} \texttt{-&gt;} \meta{right} åž‹æ•°æ®ç»“æž„çš„æŽ¥å£ï¼Œ
    å¹¶ä¸ºä½Žç‰ˆæœ¬ \hologo{TeX} Live åšå…¼å®¹.
  }
}

\date{Released 2025-03-26\quad \texttt{v3.3G}}

\begin{document}

\maketitle

\begin{documentation}

\section{ä»‹ç»}

\pkg{litetable} å®åŒ…æä¾›äº†ä¸€ä¸ªå¤šå½©çš„è¯¾ç¨‹è¡¨è®¾è®¡ï¼Œ
åŸºäºŽ \pkg{tikz} ç”± \pkg{expl3} å¼€å‘.
æ”¯æŒ \hologo{pdfLaTeX}ï¼Œ\hologo{XeLaTeX}ï¼Œ\hologo{ApLaTeX} å’Œ
\hologo{LuaLaTeX} ç­‰å¤šç§ç¼–è¯‘æ–¹å¼. ç‚¹å‡»è·³è½¬è‡³
\href{litetable.pdf}{[\textsf{English}]}
\href{litetable-zh-hk.pdf}{[\textsf{ç¹ä½“é¦™æ¸¯}]} æ‰‹å†Œ.

\section{ç”¨æˆ·æŽ¥å£}

è¦åŠ&nbsp;è½½æ­¤å®åŒ…ï¼Œåªéœ€å†™ä¸‹
\begin{quote}
  |\usepackage{litetable}|
\end{quote}

\DescribeEnv{litetable}
çŽ¯å¢ƒ \env{litetable} å¯ç”Ÿæˆç©ºç™½è¯¾ç¨‹è¡¨æ¡†æž¶ï¼Œ
éœ€åœ¨å‘½ä»¤ \cs{timelist} å’Œ \cs{weeklist} åŽæ‰§è¡Œ
\begin{quote}
  |\begin{litetable}|
    \oarg{keys} \marg{title} \oarg{keys}| ... |%
  |\end{litetable}|
\end{quote}
å¼ºåˆ¶å‚æ•°ç”¨äºŽè®¾å®šè¯¾ç¨‹è¡¨æ&nbsp;‡é¢˜ï¼Œ
å¯é€‰å‚æ•°æŽ¥å—ä»¥ä¸‹é”®
\begin{keyval}
  \item [\key{color}] \val{color} å¯è®¾ç½®è¯¾ç¨‹è¡¨æ¡†æž¶çš„èƒŒæ™¯è‰²
  ï¼ˆé»˜è®¤å€¼ï¼š|gray|ï¼‰ï¼Œé”®åå¯çœç•¥.
  \item [\key{sem}] \val{string}
  å¯è®¾ç½®é¡µé¢å³ä¸Šè§’çš„å­¦æœŸä¿¡æ¯.
\end{keyval}

\begin{function}{\weeklist}
  \begin{syntax}
    \cs{weeklist} \oarg{keys} \marg{list} \oarg{keys}
  \end{syntax}
  å¼ºåˆ¶å‚æ•°æŽ¥æ”¶æ•°ç»„ï¼Œ
  ç”¨äºŽè®¾ç½®è¯¾ç¨‹è¡¨é¡¶éƒ¨çš„å·¥ä½œæ—¥åˆ—è¡¨å’Œåˆ—å®½.
  å¯é€‰å‚æ•°æŽ¥å—ä»¥ä¸‹é”®
  \begin{keyval}
    \item [\key{format}] \val{format commands}
    å¯è®¾ç½®å·¥ä½œæ—¥åˆ—è¡¨æ&nbsp;¼å¼ ï¼ˆé»˜è®¤å€¼ï¼š|\bfseries|ï¼‰.
    \item [\key{sep}] \val{string} å¯è®¾ç½®å·¥ä½œæ—¥åˆ—è¡¨çš„åˆ†éš”ç¬¦
    ï¼ˆé»˜è®¤ä¸ºç©ºï¼‰.
  \end{keyval}
  \begin{verbatim}
    \weeklist [ format = \bfseries \scshape, sep = \textbar ]
      { Mon -&gt; 1, Tue -&gt; 1, Wed -&gt; 1, Thu -&gt; 1, Fri -&gt; 1 }
  \end{verbatim}
\end{function}

\begin{function}{\timelist}
  \begin{syntax}
    \cs{timelist} \oarg{keys} \marg{list} \oarg{keys}
  \end{syntax}
  å¼ºåˆ¶å‚æ•°å‡æŽ¥æ”¶æ•°ç»„ï¼Œç”¨äºŽè®¾ç½®è¯¾ç¨‹è¡¨çš„å·¦ä¾§çš„æ—¶é—´åˆ—è¡¨.
  å¯é€‰å‚æ•°æŽ¥å—ä»¥ä¸‹é”®
  \begin{keyval}
    \item [\key{numformat}] \val{format}
    å¯è®¾ç½®æ—¶é—´åˆ—è¡¨çš„åºå·å­—ä½“ï¼Œ
    ï¼ˆé»˜è®¤å€¼ï¼š|\ttfamily \bfseries|ï¼‰.
    \item [\key{timefont}] \val{format} å¯è®¾ç½®æ—¶é—´åˆ—è¡¨çš„æ—¶é—´å­—ä½“ï¼Œ
    ï¼ˆé»˜è®¤å€¼ï¼š|\ttfamily|ï¼‰.
    \item [\key{hidetime}] \val\TFF ç”¨äºŽéšè—æ—¶é—´åˆ—è¡¨ä¸­çš„æ—¶é—´ï¼Œåªä¿ç•™åºå·.
    ï¼ˆåˆå§‹å€¼ï¼š|false|ï¼‰.
  \end{keyval}
  \begin{verbatim}
    \timelist [ numformat = \bfseries, timeformat = \ttfamily ]
      { 08:30 -&gt; 10:00, 10:30 -&gt; 12:00, 13:00 -&gt; 14:30, 15:00 -&gt; 16:30 }
  \end{verbatim}
\end{function}

\begin{function}{\course}
  \begin{syntax}
    \cs{course} \oarg{keys} \marg{start} \oarg{keys} \marg{end} \oarg{keys}
  \end{syntax}
  ç”¨äºŽåœ¨å½“å‰å·¥ä½œæ—¥æ·»åŠ&nbsp;è¯¾ç¨‹ç›’å­ï¼Œ
  éœ€åœ¨ \env{litetable} çŽ¯å¢ƒä¸­æ‰§è¡Œ.
  ä¸¤ä¸ªå¼ºåˆ¶å‚æ•°åˆ†åˆ«ç”¨äºŽè®¾ç½®è¯¾ç¨‹çš„å¼€å§‹å’Œç»“æŸåºå·.
  å¯é€‰å‚æ•°æŽ¥æ”¶ä¸‹åˆ—é”®
  \begin{keyval}
    \item [\key{color}] \val{color} ç”¨äºŽè®¾ç½®è¯¾ç¨‹ç›’å­çš„é¢œè‰²ï¼Œ
    ï¼ˆé»˜è®¤å€¼ï¼š|teal|ï¼‰. é”®åå¯çœç•¥.
    \item [\key{subject}] \val{string} ç”¨äºŽè®¾ç½®è¯¾ç¨‹åç§°.
    \item [\key{location}] \val{string} ç”¨äºŽè®¾ç½®è¯¾ç¨‹åœ°ç‚¹.
    \item [\key{lecture}] \val{string} ç”¨äºŽè®¾ç½®æŽˆè¯¾æ•™å¸ˆ.
    \item [\key{comment}] \val{string} ç”¨äºŽç»™è¯¾ç¨‹æ·»åŠ&nbsp;è„šæ³¨.
  \end{keyval}
  \begin{texnote}
    \begin{itemize}[leftmargin = 2em]
      \item è‹¥ \meta{start} |=| \meta{end}ï¼ˆè¯¾ç¨‹ç›’å­çš„é«˜åº¦ä¸º $1$ï¼‰ï¼Œ
      åˆ™ \key*{location} å’Œ \key*{lecture} å°†è¾“å‡ºåœ¨åŒä¸€è¡Œï¼Œ
      å¹¶ä¸” \key*{comment} å°†éšè—.
      \item å³ä½¿è¯¯å°† \meta{start} å’Œ \meta{end} å†™åï¼Œ
      æ¨¡æ¿ä¹Ÿä¼šè‡ªåŠ¨çº&nbsp;æ­£.
      \item è‹¥ \key*{location} å’Œ \key*{lecture} å‡æœªä½¿ç”¨ï¼Œ
      åˆ™ \key*{subject} å°†è¾“å‡ºåœ¨è¯¾ç¨‹ç›’å­çš„
      ç«–ç›´æ–¹å‘ä¸­å¿ƒ.
      \item è¶…å‡ºè¯¾ç¨‹è¡¨èŒƒå›´çš„è¯¾ç¨‹ç›’å­å°†ä¸æ˜¾ç¤ºï¼Œ
      å¹¶ä¼šè¿”å›žè­¦å‘Š.
      è¾“å…¥ç”¨ä¾‹è§ Appendix \ref{mwe}.
    \end{itemize}
  \end{texnote}
\end{function}

\begin{function}{\newday}
  \begin{syntax}
    \cs{newday} \oarg{integral value}
  \end{syntax}
  ä½¿å…¶åŽé¢æ·»åŠ&nbsp;çš„è¯¾ç¨‹ç›’å­åŽç§» \meta{intergal value} ä¸ªå·¥ä½œæ—¥.
  å¯é€‰å‚æ•°çš„é»˜è®¤å€¼ä¸º |1|.
\end{function}

\begin{function}{\more}
  \begin{syntax}
    \cs{more} \marg{comment}
  \end{syntax}
  åœ¨è¯¾ç¨‹è¡¨çš„å³ä¸‹è§’æ·»åŠ&nbsp;å¤‡æ³¨.
\end{function}

\appendix \linespread{1.25}

\section{å·¥ä½œç¤ºä¾‹} \label{mwe}

\begin{verbatim}
  \documentclass[svgnames]{article}

  \usepackage{litetable, twemojis}
  \usepackage[mono = false]{libertine}
  \usepackage[T1]{fontenc}

  \begin{document}

  \weeklist [ format = \bfseries \scshape, sep = \textbar ]
    {
      \texttwemoji{1f312} Mon -&gt; 1, \texttwemoji{1f525} Tue -&gt; 1,
      \texttwemoji{1f30a} Wed -&gt; 1, \texttwemoji{1f332} Thu -&gt; 1,
      \texttwemoji{1fa99} Fri -&gt; 1
    }
  \timelist [ numformat = \ttfamily \bfseries, timeformat = \ttfamily ]
    {
      08:05 -&gt; 08:50, 08:55 -&gt; 09:40, 10:00 -&gt; 10:45, 10:50 -&gt; 11:35,
      11:40 -&gt; 12:25, 13:30 -&gt; 14:15, 14:20 -&gt; 15:05, 15:15 -&gt; 16:00,
      16:05 -&gt; 16:50, 18:30 -&gt; 19:15, 19:20 -&gt; 20:05, 20:10 -&gt; 20:55
    }
  \begin{litetable} [ MidnightBlue, sem = SEM 7 ] { Course Schedule }
    \course [ subject = interface3, comment = \TeX{} Live 2025,
              lecture = The \LaTeX{} Project, DarkBlue ] {4} {5}
    \newday
    \course [ subject = expl3, lecture = The \LaTeX{} Project ] {8} {8}
    \newday
    \course [ subject = Keep on \TeX ing, lecture = Donald E. Knuth,
              location = Stanford University, Purple ] {10} {11}
    \newday
    \course [ subject = Ti\textit k\/Z, lecture = \textsc{pgf},
              Crimson, comment = Version 3.1.10 ] {3} {5}
    \more { Programme Duration: 09 / 2021 -- 07 / 2025 }
  \end{litetable}

  \end{document}
\end{verbatim}

\weeklist [ format = \bfseries \scshape, sep = \textbar ]
  {
    \texttwemoji{1f312} Mon -&gt; 1, \texttwemoji{1f525} Tue -&gt; 1,
    \texttwemoji{1f30a} Wed -&gt; 1, \texttwemoji{1f332} Thu -&gt; 1,
    \texttwemoji{1fa99} Fri -&gt; 1
  }
\timelist [ numformat = \ttfamily \bfseries, timeformat = \ttfamily ]
  {
    08:05 -&gt; 08:50, 08:55 -&gt; 09:40, 10:00 -&gt; 10:45, 10:50 -&gt; 11:35,
    11:40 -&gt; 12:25, 13:30 -&gt; 14:15, 14:20 -&gt; 15:05, 15:15 -&gt; 16:00,
    16:05 -&gt; 16:50, 18:30 -&gt; 19:15, 19:20 -&gt; 20:05, 20:10 -&gt; 20:55
  }
\begin{litetable} [ MidnightBlue, sem = SEM 7 ] { Course Schedule }
  \course [ subject = interface3, comment = \TeX{} Live 2025,
            lecture = The \LaTeX{} Project, DarkBlue ] {4} {5}
  \newday
  \course [ subject = expl3, lecture = The \LaTeX{} Project ] {8} {8}
  \newday
  \course [ subject = Keep on \TeX ing, lecture = Donald E. Knuth,
            location = Stanford University, Purple ] {10} {11}
  \newday
  \course [ subject = Ti\textit k\/Z, lecture = \textsc{pgf},
            Crimson, comment = Version 3.1.10 ] {3} {5}
  \more { Programme Duration: 09 / 2021 -- 07 / 2025 }
\end{litetable}

\end{documentation}

\PrintIndex

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