Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 改正tabularx环境中的字号 #462

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

YDX-2147483647
Copy link
Collaborator

@YDX-2147483647 YDX-2147483647 commented Apr 17, 2024

tabularx基本是指定列宽的唯一选择——tabular*只能指定空白宽度。它由 The LaTeX Project Team 维护,也被 Overleaf 文档收录了,比较著名,应当适配。

示例

\documentclass[type=bachelor]{bithesis}

\BITSetup{
  misc = {
    tabularFontSize = 0,
  }
}

\usepackage{tabularx}

\begin{document}

% 钩子挂在这里了,必须有。
\frontmatter

\begin{table}[ht]
  \begin{tabularx}{\textwidth}{|X|}
    \hline
    初号字 Font size 0 \\
    \hline
  \end{tabularx}
\end{table}

正文

{\zihao{0} 初号字 Font size 0}

\end{document}

图片

@YDX-2147483647 YDX-2147483647 changed the title fix: fix font size in tabularx fix: 改正tabularx环境中的字号 Apr 17, 2024
`tabularx`基本是指定列宽的唯一选择——`tabular*`只能指定空白宽度。它由 The LaTeX Project Team 维护,也被 [Overleaf 文档](https://www.overleaf.com/learn/latex/Tables)收录了,比较著名,应当适配。
@YDX-2147483647 YDX-2147483647 added this pull request to the merge queue Apr 17, 2024
Merged via the queue into BITNP:main with commit 9452d43 Apr 17, 2024
3 checks passed
@YDX-2147483647 YDX-2147483647 deleted the tabularx branch April 17, 2024 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants