乳胶部分自定义编号



我正在使用一个文档类文章和包kafkanotes。我想从4开始编号,而不是从1开始。有可能吗?怎么做?

我完整的sty文件

%==============STYLE DIMULAI==============%
usepackage[marginparwidth=6cm, marginparsep=0.7cm]{geometry}
%Package Matematika
usepackage{amsmath}
%Style Gambar
usepackage{graphicx}
usepackage{floatrow}
floatsetup[widefigure]{margins=hangright,capposition=beside,
capbesideposition={bottom, right},floatwidth=textwidth}
%Package Catatan di Margin
usepackage{sidenotes}
%Style maketitle
usepackage{titlesec}
makeatletter
renewcommand{maketitle}{bgroupsetlength{parindent}{0pt}
begin{flushleft}
{Hugesffamilybfseries@title}
vskip 1.5em
{sffamily@author}
end{flushleft}egroup
}
makeatother
%Header and Footer Package
usepackage{fancyhdr}
%Style Abstract
renewenvironment{abstract}
{par{bfseries noindent sffamily abstractname.}}
{vskip 0.1em medskipnoindent rule{linewidth}{.5pt}}
%Font Teks Utama dan Sesi
usepackage{lmodern}
renewcommand*familydefault{sfdefault} %% Only if the base font of the document is to be sans serif
usepackage[T1]{fontenc}
usepackage{sectsty}
sectionfont{sffamilyfontsize{15}{15}selectfont}
subsectionfont{sffamilyfontsize{10}{5}selectfont}
%Style Hyperlink
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
%Pembahasaan ke Indonesia
renewcommand{figurename}{footnotesize Figure}
renewcommand{tablename}{footnotesize Table}
renewcommand{contentsname}{Outline}

我的tex文件:

documentclass{article}
usepackage{kafkanotes}
usepackage{booktabs}
usepackage{biblatex} %Imports biblatex package
addbibresource{bibliography.bib} %Import the bibliography file
%Judul dan Penulis
title{XYZ}
author{textbf{ABC}}

begin{document}
begin{titlepage}
thispagestyle{empty}
maketitle
begin{abstract}
Lorem
end{abstract}
tableofcontents
end{titlepage}
section{Some section}
printbibliography
end{document}

您可以使用addtocounter{section}{3}在文档开头增加节计数器


documentclass{article}
makeatletter
%==============STYLE DIMULAI==============%
usepackage[marginparwidth=6cm, marginparsep=0.7cm]{geometry}
%Package Matematika
usepackage{amsmath}
%Style Gambar
usepackage{graphicx}
usepackage{floatrow}
floatsetup[widefigure]{margins=hangright,capposition=beside,
capbesideposition={bottom, right},floatwidth=textwidth}
%Package Catatan di Margin
usepackage{sidenotes}
%Style maketitle
usepackage{titlesec}
makeatletter
renewcommand{maketitle}{bgroupsetlength{parindent}{0pt}
begin{flushleft}
{Hugesffamilybfseries@title}
vskip 1.5em
{sffamily@author}
end{flushleft}egroup
}
makeatother
%Header and Footer Package
usepackage{fancyhdr}
%Style Abstract
renewenvironment{abstract}
{par{bfseries noindent sffamily abstractname.}}
{vskip 0.1em medskipnoindent rule{linewidth}{.5pt}}
%Font Teks Utama dan Sesi
usepackage{lmodern}
renewcommand*familydefault{sfdefault} %% Only if the base font of the document is to be sans serif
usepackage[T1]{fontenc}
usepackage{sectsty}
sectionfont{sffamilyfontsize{15}{15}selectfont}
subsectionfont{sffamilyfontsize{10}{5}selectfont}
%Style Hyperlink
usepackage{hyperref}
hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
%Pembahasaan ke Indonesia
renewcommand{figurename}{footnotesize Figure}
renewcommand{tablename}{footnotesize Table}
renewcommand{contentsname}{Outline}

makeatother
usepackage{booktabs}
usepackage{biblatex} %Imports biblatex package
addbibresource{bibliography.bib} %Import the bibliography file
%Judul dan Penulis
title{XYZ}
author{textbf{ABC}}

begin{document}
addtocounter{section}{3}
begin{titlepage}
thispagestyle{empty}
maketitle
begin{abstract}
Lorem
end{abstract}
tableofcontents
end{titlepage}
section{Some section}
printbibliography
end{document}

最新更新