\documentclass[12pt,a4paper,titlepage,openany]{report}
\usepackage[slovene]{babel}
%Preimenuje naslov Slike v Seznam slik, Tabele v Seznam tabel, Priloge v Seznam prilog:
\addto\captionsslovene{
\renewcommand{\listfigurename}{Seznam slik}
\renewcommand{\listtablename}{}
\renewcommand{\listappendicesname}{Seznam prilog}
}
% Oblikovanje naslovov poglavij (brez Chapter) -> St. poglavja in naslov poglavja
\makeatletter
\def\@makechapterhead#1{%
\vspace*{30\p@}%
{\noindent\Huge\bf\thechapter \hspace*{0.5cm} \parindent \z@ \raggedright \normalfont
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 30\p@
}}
\makeatother
%Priloge
\usepackage{appendix}
\addto\captionsslovene{%
\renewcommand\appendixname{Priloga}
\renewcommand\appendixpagename{Priloge}
}
% Kazalo prilog:
\usepackage{tocloft}
\newcommand{\listappendicesname}{Priloge}
\newlistof{appendices}{apc}{\listappendicesname}
\renewcommand{\appendices}[1]{\addcontentsline{apc}{appendices}{#1}}
% Seznam kratic
\usepackage{longtable}
\newcommand\nomenclature[2]{#1 & #2 \\}
% \normalsize=12pt, \large=14pt
%\usepackage[latin2]{inputenc} % za Linux
\usepackage[cp1250]{inputenc} % za Windows
\usepackage[dvips]{graphicx}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{fix-cm}
\usepackage{cite}
\usepackage{color}
\usepackage[nottoc]{tocbibind}
%\usepackage[titles]{tocloft}
\begin{document}
\pagestyle{empty}
\begin{center}
\end{document}
我想listtablename
从我的论文中删除。使用此代码,它看起来像这样:
请帮忙。
答案1
序言很乱 :-(
但是,主要原因是\usepackage{tocbibind}
——该软件包旨在将内容和...东西列表添加到目录中。要么说\usepackage[nottoc,notlof, notlot}{tocbibind}
,要么根本不要使用该软件包。
我不确定cp1250
该inputenc
包的选项。
\documentclass[12pt,a4paper,titlepage,openany]{report}
\usepackage[cp1250]{inputenc} % za Windows %Really???????
\usepackage[slovene]{babel}
\usepackage[dvips]{graphicx}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{fix-cm}
\usepackage{cite}
\usepackage{color}
\usepackage{tocloft}
\usepackage[nottoc,notlof,notlot]{tocbibind}
\usepackage{appendix}
\addto\captionsslovene{%
\renewcommand\appendixname{Priloga}
\renewcommand\appendixpagename{Priloge}
}
% Kazalo prilog:
\newcommand{\listappendicesname}{Priloge}
\newlistof{appendices}{apc}{\listappendicesname}
\renewcommand{\appendices}[1]{\addcontentsline{apc}{appendices}{#1}}
% Seznam kratic
\usepackage{longtable}
\newcommand\nomenclature[2]{#1 & #2 \\}
%Preimenuje naslov Slike v Seznam slik, Tabele v Seznam tabel, Priloge v Seznam prilog:
\addto\captionsslovene{
\renewcommand{\listfigurename}{Seznam slik}
% \renewcommand{\listtablename}{}% NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!XS
\renewcommand{\listappendicesname}{Seznam prilog}
}
% Oblikovanje naslovov poglavij (brez Chapter) -> St. poglavja in naslov poglavja
\makeatletter
\def\@makechapterhead#1{%
\vspace*{30\p@}%
{\noindent\Huge\bf\thechapter \hspace*{0.5cm} \parindent \z@ \raggedright \normalfont
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 30\p@
}}
\makeatother
\usepackage{blindtext}
\begin{document}
\pagestyle{empty}
\tableofcontents
\listoftables
\listoffigures
\blinddocument
\end{document}