怎样给NOMENCLATURE的子标题设置段落格式?

发布于 2021-06-01 16:21:45

我用nomencl和ifthen包设计了NOMENCLATURE符号表,但是我想调子标题的段落格式,也就是段前段后都来点空格,不然太挤了,请问怎样做?
我目前的代码

\ifCLASSINFOpdf
\usepackage{nomencl}% For NOMENCLATURE
\usepackage{ifthen}% For NOMENCLATURE

\renewcommand{\nompreamble}{}% code after main title
\renewcommand{\nomgroup}[1]{%
  \item[\normalfont\normalsize\textit{%
  \ifthenelse{\equal{#1}{V}}{Variables}{}% add more groups as needed
    \ifthenelse{\equal{#1}{P}}{Parameters}{}%
       \ifthenelse{\equal{#1}{A}}{Abbreviations}{}%
    \ifthenelse{\equal{#1}{I}}{Indices/sets}{}%
    }]%
}
\makenomenclature % For NOMENCLATURE

\begin{document}
\nomenclature[V]{$ P_{i,t}^g $ }{Energy produced by user $i$ at time $t$}
\nomenclature[I]{  $ t \in T $ }{ Timesteps }
\nomenclature[A]{ ES }{ Energy  storage }
\nomenclature[P]{ $ \theta $}{Commission charge }
    

目前的效果:
image.png

就是小标题很挤,想调段落格式,求助大神,应该怎么调;
(或者,有没有大神有更好的办法,能够让这个小标题的字体,段落格式和我文中subsection的格式保持一致,那样更好)

查看更多

关注者
0
被浏览
1.4k
感知+认知+智能
这家伙很懒,什么也没写!

这个有点像是IEEE,直接用:

\section*{Nomenclature}

\subsection*{Indexes}

\medskip
\noindent
\begin{tabular}{@{}p{2.45cm}<{\raggedright}p{6.0cm}}
    $i$ & BalaBalaBalaBala. \\
    $j$ & BalaBalaBalaBala. \\
    $t$ & BalaBalaBalaBala. \\
\end{tabular}

就行了。
fig1.jpg

2 个回答
如果您有什么不同意见,您是对的,我是错的。
这家伙很懒,什么也没写!

你这代码能编译就有鬼了,给 MWE 而不是代码片段

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览