如何删除目录中的数字计数器?
我想要这个输出:
1. BAB I PENDAHULUAN
1.1 Latar Bekalang
1.2 Maksud dan Tujuan Magang
1.3 Waktu dan Ruang Lingkup Pelaksanaan Kerja Magang
2. BAB II GAMBARAN UMUM PERUSAHAAN
2.1 Sejarah Perushaan
到下面这个
BAB I PENDAHULUAN
1.1 Latar Bekalang
1.2 Maksud dan Tujuan Magang
1.3 Waktu dan Ruang Lingkup Pelaksanaan Kerja Magang
BAB II GAMBARAN UMUM PERUSAHAAN
2.1 Sejarah Perushaan
拉普兰特
\documentclass[12pt]{article}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm]{geometry}
\usepackage{times}
\usepackage{subcaption}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{sectsty}
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black
}
\renewcommand{\contentsname }{DAFTAR ISI}
\allsectionsfont{\normalsize\bfseries}
\captionsetup[figure]{labelfont={it},name={Gambar},labelsep=period}
\usepackage{chngcntr}
\counterwithin{figure}{section}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\graphicspath{ {images/} }
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\usepackage{lipsum}
\newcommand{\chaptertitleformat}{%
\thechapter.\ \chaptername\space \Roman{chapter}%
}
% \usepackage{sectsty}
% \allsectionsfont{\centering}
\title{Laporan Magang}
\author{Gopher}
% \date{}
\usepackage{titlesec}
\titleformat{\section}[block]{\normalsize\bfseries\filcenter}{}{1em}{}
\usepackage[utf8]{inputenc}
\setlength{\parindent}{4em}
\setlength{\parskip}{1em}
\renewcommand{\baselinestretch}{1.5}
\usepackage{indentfirst}
\begin{document}
\tableofcontents{Daftar Isi}
\clearpage
\input{bab1.tex}
\clearpage
\input{bab2.tex}
\clearpage
\input{bab3.tex}
\end{document}
bab1.tex
\section[BAB I PENDAHULUAN]{BAB I\\ PENDAHULUAN}
\subsection{Latar Belakang}