Giter Club home page Giter Club logo

Comments (5)

zepinglee avatar zepinglee commented on August 12, 2024

直接使用\footnote{}当然能解决问题,但是因为我的脚注超级长,这样的话一个标题就支离破碎的,难以阅读……

在我看来适当换行和缩进就可以避免“支离破碎”。

\documentclass{ctexrep}
\begin{document}
\chapter[衣食住玩与生活]{衣食住玩与生活}
\section[美食与生活]{美食与生活%
  \footnote{因文章篇幅原因,本指南仅罗列了同学们提及次数较多的食物或店铺,未能全部列出敬请谅解。}%
  \footnote{下列提及的食物(店铺)均按照空间顺序排列,与好吃程度无关,所用名称为同学习惯性称呼,括号内为特别提醒。}%
  \footnote{标注“\textsuperscript{〈早〉}”的店铺约6:00即开始供应。}%
  \footnote{标注“\textsuperscript{〈晚〉}”的店铺营业时间最晚可至22:30,其余均在18:30左右停业。}%
  \footnote{奶茶/咖啡店、超市、水果店等单独说明。}%
}
\end{document}

或者可以考虑自定义命令。

\documentclass{ctexrep}
\begin{document}
\chapter[衣食住玩与生活]{衣食住玩与生活}
\newcommand\myfootnote{%
  \footnote{因文章篇幅原因,本指南仅罗列了同学们提及次数较多的食物或店铺,未能全部列出敬请谅解。}%
  \footnote{下列提及的食物(店铺)均按照空间顺序排列,与好吃程度无关,所用名称为同学习惯性称呼,括号内为特别提醒。}%
  \footnote{标注“\textsuperscript{〈早〉}”的店铺约6:00即开始供应。}%
  \footnote{标注“\textsuperscript{〈晚〉}”的店铺营业时间最晚可至22:30,其余均在18:30左右停业。}%
  \footnote{奶茶/咖啡店、超市、水果店等单独说明。}%
}
\section[美食与生活]{美食与生活\myfootnote}
\end{document}

from forum.

Mikachu2333 avatar Mikachu2333 commented on August 12, 2024

自定义命令!感谢感谢!
这就是我想要的相对比较优雅的解决方案了!

from forum.

Mikachu2333 avatar Mikachu2333 commented on August 12, 2024

不过还是向刨根问底一下,如果在嵌套的enumerate环境中,直接使用\footnote{}无法正确生成脚注的情况下仍然希望试险这一目标该怎么做呢

from forum.

muzimuzhi avatar muzimuzhi commented on August 12, 2024

如果在嵌套的enumerate环境中,直接使用\footnote{}无法正确生成脚注的情况下仍然希望试险这一目标该怎么做呢

建议提供新的例子,甚至可以提新的 issue(当前 issue 是关于 \section 和脚注的)

from forum.

zepinglee avatar zepinglee commented on August 12, 2024

不过还是向刨根问底一下,如果在嵌套的enumerate环境中,直接使用\footnote{}无法正确生成脚注的情况下仍然希望试险这一目标该怎么做呢

我没有遇到这样的问题。建议结合具体的代码讨论。

from forum.

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.