Skip to content

Commit

Permalink
style: simplify \tl_use:N
Browse files Browse the repository at this point in the history
just use the tl var itself
  • Loading branch information
LogCreative committed Jun 30, 2023
1 parent b2b4cf3 commit 5404ce4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/pretfg.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -229,29 +229,29 @@
\bool_if:NTF \l_@@_fg_headline_star_mark_bool
{
\l_@@_fg_headline_child_style_tl
\tl_use:N \l_@@_fg_headline_star_title_tl
\l_@@_fg_headline_star_title_tl
}
{
\tl_if_eq:NNTF \l_@@_fg_headline_prev_title_tl
\l_@@_fg_headline_cur_title_tl
{
\l_@@_fg_headline_child_style_tl
\tl_use:N \l_@@_fg_headline_cur_title_tl
\l_@@_fg_headline_cur_title_tl
}
{
\vbox_set:Nn \l_@@_fg_headline_parent_box
{
\l_@@_fg_headline_parent_style_tl
\tl_use:N \l_@@_fg_headline_prev_title_tl
\l_@@_fg_headline_prev_title_tl
}
\vbox:n {
\skip_vertical:n
{ - \box_ht_plus_dp:N \l_@@_fg_headline_parent_box }
\l_@@_fg_headline_parent_style_tl
\tl_use:N \l_@@_fg_headline_prev_title_tl
\l_@@_fg_headline_prev_title_tl
\skip_vertical:N \c_zero_dim
\l_@@_fg_headline_child_style_tl
\tl_use:N \l_@@_fg_headline_cur_title_tl
\l_@@_fg_headline_cur_title_tl
}
}
}
Expand Down

0 comments on commit 5404ce4

Please sign in to comment.