Git Product home page Git Product logo

Comments (3)

xkwxdyy avatar xkwxdyy commented on August 29, 2024

updated=2024-04-13 也是同样的报错

from cus.

Sophanatprime avatar Sophanatprime commented on August 29, 2024

无法复现,给出完整例子。

只在某些情况下出现。

from cus.

xkwxdyy avatar xkwxdyy commented on August 29, 2024

无法复现,给出完整例子。

只在某些情况下出现。

只需要在现在有的那个文件里加一段就可以复现:

\DocumentMetadata{}
\documentclass{cusdoc}

\hypersetup{pdfauthor={夏大鱼羊},
  pdftitle= Now-Learn-English 手册,
  pdfcreator={\XeLaTeX} with hyperref and Now-Learn-English}

\usepackage{transparent}
\newsavebox\WaterMarkBox
\sbox{\WaterMarkBox}{\rotatebox{45}{\transparent{0.2}\includegraphics[width = 15cm, ]{../assets/logo.png}}}
\background+[./watermark]{\copy\WaterMarkBox}

\newindextype[auto=true,filename=\jobname.idx,heading*={\section}]{\empty}
\setupindex[\empty,docchange]{auto=false}

\makeatletter
\protected\def\normalsize{%
  \@setfontsize \normalsize {10.53937}{12.64725}%
  \abovedisplayskip 1\p@ \@plus 4\p@ \@minus 2\p@ 
  \abovedisplayshortskip \z@ \@plus 2\p@ 
  \belowdisplayskip \abovedisplayskip 
  \belowdisplayshortskip \abovedisplayshortskip
  \let \@listi \@listI
}
\makeatother

\def\nofuncskip{\par\vskip-\bigskipamount\vskip\parskip\par}
\def\zhslash{/}
\newcommand\UNEXPANDEDRESULT{最终结果使用 \tn{unexpanded} (\cs{exp_not:n})包裹起来。}

\raggedbottom \hfuzz=2.5pt \vfuzz=10pt 


\title{Now-Learn-English \LaTeX 模板使用手册}
\author{夏大鱼羊}
\date{\zhtoday\quad v0.2}

\enablecombinedlist 

\begin{document}

\usepagestyle{totalempty}
\setlength{\lineskiplimit}{4pt}
\setlength{\lineskip}{4pt}

\def\thepage{t.\arabic{page}}
\setuplayout{preset=balance}
\maketitle

\frontmatter
\cusdoctoc

\mainmatter
\usepagestyle{fancy}
\setuptitle[chapter]{numbering=true,pagestyle=fancy}
\removebackground[./watermark]


\begin{function}[type=environment,added=2024-04-17]{point}
  \begin{syntax}
    \verb|\begin{point}| \oarg{point key-val}
    ~~... 
    \verb|\end{point}|
  \end{syntax}
  知识点。
\end{function}


\end{document}

from cus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.