答辩老师意见:浮动体不要指定 [h]
#73
sikouhjw
announced in
Announcements
Replies: 4 comments 1 reply
-
在 19b068e 中已从模板内部限制指定浮动体选项 |
Beta Was this translation helpful? Give feedback.
1 reply
-
一点补充:#83 |
Beta Was this translation helpful? Give feedback.
0 replies
-
如果不满意 latex 的浮动体效果,希望效果为“图表出现位置即源代码的位置”“图表在所对应说明性文本附近”,那么可以在导言区添加 \usepackage{float}
\ExplSyntaxOn
\makeatletter
\def \fps@figure { H }
\def \fps@table { H }
\ctex_at_end_preamble:n
{
\bool_if:NT \l__gdut_free_float_bool
{
\RenewDocumentCommand \gdut@xfloat { m o } { \@xfloat #1 [H] }
\def \@float #1
{
\@ifnextchar[
{
\gdut@xfloat{#1}
}
{
\edef\reserved@a{\noexpand\@xfloat{#1}[\csname fps@#1\endcsname]}
\reserved@a
}
}
}
}
\makeatother
\ExplSyntaxOff 并保证 注意:所提供代码仅为实现需求,所产生一切后果与模板无关。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
放宽浮动体限制的示例:https://github.com/sikouhjw/gdutthesis/blob/main/example/float.tex |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions