Fixed top margin of algo float
This commit is contained in:
@@ -81,9 +81,12 @@
|
||||
|
||||
\usepackage{algorithm}
|
||||
\usepackage{algpseudocode}
|
||||
\usepackage{subcaption}
|
||||
\usepackage{caption}
|
||||
\usepackage{bm} % bold math symbols with \bm
|
||||
|
||||
%\usepackage{showframe}
|
||||
|
||||
|
||||
|
||||
% replacement for the SI package
|
||||
\newcommand{\SI}[2]{\ensuremath{#1}\text{\,#2}}
|
||||
@@ -173,8 +176,23 @@
|
||||
}%
|
||||
\ps@headings%
|
||||
}
|
||||
|
||||
\newcommand\fs@spaceruled{%
|
||||
\def\@fs@cfont{\bfseries}
|
||||
% \let\@fs@capt\floatc@ruled
|
||||
\def\@fs@pre{\vspace*{5pt}\hrule height.8pt depth0pt \kern2pt}%
|
||||
\def\@fs@post{\kern2pt\hrule\relax}%
|
||||
\def\@fs@mid{\kern2pt\hrule\kern2pt}%
|
||||
\let\@fs@iftopcapt\iftrue}
|
||||
\floatstyle{spaceruled}
|
||||
\restylefloat{algorithm}
|
||||
|
||||
\captionsetup[algorithm]{labelfont=bf,textfont=normalfont,singlelinecheck=false}
|
||||
|
||||
\makeatother
|
||||
|
||||
|
||||
|
||||
%\confheader{2017 International Conference on Indoor Positioning and Indoor Navigation (IPIN), 18-21 September 2017, Sapporo, Japan}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user