<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{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-cn.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}
å¼·åˆ¶åƒæ•¸ç”¨æ–¼è¨­å®šèª²ç¨‹è¡¨æ¨™é¡Œï¼Œ
å¯é¸åƒæ•¸æŽ¥å—ä»¥ä¸‹éµ
\begin{keyval}
  \item [\key{color}] \val{color} å¯è¨­å®šèª²ç¨‹è¡¨æ¡†æž¶å˜…èƒŒæ™¯è‰²
  ï¼ˆé»˜èªå€¼ï¼š|gray|ï¼‰ï¼Œéµåå¯çœç•¥.
  \item [\key{sem}] \val{string}
  å¯è¨­å®šé&nbsp;é¢å³ä¸Šè§’å˜…å­¸æœŸä¿¡æ¯.
\end{keyval}

\begin{function}{\weeklist}
  \begin{syntax}
    \cs{weeklist} \oarg{keys} \marg{list} \oarg{keys}
  \end{syntax}
  å¼·åˆ¶åƒæ•¸æŽ¥æ”¶æ•¸çµ„ï¼Œ
  ç”¨åšŸè¨­å®šèª²ç¨‹è¡¨é&nbsp;‚éƒ¨å˜…å·¥ä½œæ—¥åˆ—è¡¨åŒåˆ—å¯¬.
  å¯é¸åƒæ•¸æŽ¥å—ä»¥ä¸‹éµ
  \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} å¯«åï¼Œ
      æ¨¡æ¿ä¹Ÿæœƒè‡ªå‹•ç³¾æ­£.
      \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>