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

请问符号术语清单怎么在页面居中 #424

Open
InvokerH opened this issue Jul 1, 2024 · 2 comments
Open

请问符号术语清单怎么在页面居中 #424

InvokerH opened this issue Jul 1, 2024 · 2 comments
Labels
I need help I want to get help from developers

Comments

@InvokerH
Copy link

InvokerH commented Jul 1, 2024

操作系统

Overleaf

TeX 套件

TeXLive 2021 或更新的版本

TeX Compiler

XeTeX

zjuthesis 版本号

v10.0.1

MajorFormat

opteng

Degree

graduate

Type

thesis

Period

final

BlindReview

true

GradLevel

master

问题描述

术语清单只有标题能居中,具体的列表只能在页面左对齐

编译日志

No response

代码

在commands.tex里面的代码是这样:
% Term Table title, centered
\renewcommand{\nomname}{\makebox[\linewidth]{主要符号说明}}
% Term Table style
\newcommand{\nomdescr}[1]{
\parbox[t]{8.5cm}{\linespreadsingle{}\raggedright\strut #1 \strut}
}
\newcommand{\nomdescrchn}[1]{
\hfill\parbox[t]{5cm}{\linespreadsingle{}\strut #1 \strut}\ignorespaces
}
\newcommand{\nomchn}[4][]{
\nomenclature[#1]{#2}{
\nomdescr{#3}
\nomdescrchn{#4}
}
}

在toc.tex里的相关代码是这样:
\cleardoublepage
\phantomsection
\marklon

\printnomenclature[4cm]
\nomenclature[01]{$a$或$A$}{标量}
\nomenclature[02]{$\mathbf{a}$或$\mathbf{A}$}{向量或矩阵}

截图

图片2

其他信息

No response

@InvokerH InvokerH added the I need help I want to get help from developers label Jul 1, 2024
@TheNetAdmin
Copy link
Owner

@InvokerH
Copy link
Author

InvokerH commented Jul 2, 2024

参考这里的实现呢 https://github.com/TheNetAdmin/zjuthesis/blob/master/page/graduate/term-translation.tex

谢谢,已经解决啦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I need help I want to get help from developers
Projects
None yet
Development

No branches or pull requests

2 participants