
我第一次用 LaTeX 寫論文。我對文檔的格式有幾個頭痛的問題:
12pt 在紙上看起來比正常的 12pt 字型小。這是已知的事情還是我的設定覆蓋了預設大小?
\documentclass[12pt, oneside, a4paper, leqno]{report} \linespread{1.5} \usepackage{geometry} \geometry{a4paper, left=30.5mm, right=22.5mm, top=30mm, bottom=20mm}
今天早些時候我有一張精美的 hdr,但它消失了。不知道為什麼或如何帶回來。
\pagestyle{fancy} \fancyhf{} \rhead{Fraud Discovery Using Data Mining} \rfoot{Page \thepage}
我有從簡介開始的頁碼,但它們也消失了。我有一個沒有頁碼的目錄和摘要。
如何修復頁腳,使其距頁面底部 XX 公分?就像言語中一樣。我有一些頁面,頁腳底部和頁面底部之間有很大的空間。
這是序言,抱歉!我對 LaTeX 真的很陌生,把它弄得一團糟。
\documentclass[12pt, oneside, a4paper, leqno]{report}
\linespread{1.5}
\usepackage{geometry}
\geometry{a4paper, left=30.5mm, right=22.5mm, top=30mm, bottom=20mm}
%\usepackage{times}
\usepackage[export]{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usepackage{cite}
\usepackage{mathtools}
\usepackage{scrextend}
\usepackage{apacite}
\usepackage{float}
\setcounter{tocdepth}{4}
\usepackage{amsfonts}
\usepackage{tabularx}
\usepackage{array}
\usepackage{amsmath}
\usepackage{eurosym}
\usepackage{tikz}
\usepackage{booktabs}
\usepackage[flushleft]{threeparttable}
\usepackage{graphicx}
%\usepackage{epstopdf}
\usepackage{url}
\usepackage[english]{babel}
\usepackage{multicol}
\usepackage{pgf}
\graphicspath{ {images/} }
\usepackage{caption}
\usepackage{boldline}
\usepackage{pdflscape}
\usepackage{tcolorbox}
\usepackage{pgfplots}
\usepackage{pst-plot}
\usepackage{pdfpages}
\usepackage{appendix}
\usepackage{mathtools}
\usepackage{array}
\usepackage{makecell}
\pgfplotsset{xticklabel={\tick},scaled x ticks=false}
\pgfplotsset{plot coordinates/math parser=false}
\pgfplotsset{compat=1.8}
\usepgfplotslibrary{statistics}
%\newcommand*{\h}{\hspace{5pt}}% for indentation
%\newcommand*{\hh}{\h\h}% double indentation
\usepackage{amsmath}
\newtcolorbox[auto counter,number within=section]{pabox}[2][]{colback=black!5!white,colframe=black!75!white,fonttitle=\bfseries, title=Figure \thetcbcounter:#1}
\usetikzlibrary{arrows}
\setlength{\parindent}{15pt}
\setlength{\arrayrulewidth}{.05em}
%\pagestyle{fancy}
\fancyhf{}
\rhead{Fraud Discovery Using Data Mining}
\rfoot{Page \thepage}
%Beginning of document:
\begin{document}
% \input{cover_page}
\thispagestyle{empty}
\include{abstract}
\thispagestyle{empty}
\renewcommand\contentsname{Table of Contents}\pagestyle{empty}
\tableofcontents{\protect\thispagestyle{empty} % Table of contents
\pagestyle{empty}
\cleardoublepage
\pagestyle{plain}
\section{Intro}
Researchers have conducted studies in order to develop a deep
understanding of fraudulent behavior. We believe understanding the
psychological aspects of fraud can be very beneficial for fraud detection
and prevention.
\end{document}
。
答案1
您定義了一種奇特的頁面樣式,但註解掉了該樣式的使用,即使未註釋,您也已覆蓋它多種的空虛、平淡的風格的時代。也報告了幾個錯誤和未封閉的組。
\documentclass[12pt, oneside, a4paper, leqno]{report}
\linespread{1.5}
\usepackage{geometry}
\geometry{a4paper, left=30.5mm, right=22.5mm, top=30mm, bottom=20mm}
\usepackage[export]{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usepackage{cite}
\usepackage{tcolorbox}
\usepackage{amsmath}
\newtcolorbox[auto counter,number within=section]{pabox}[2][]{colback=black!5!white,colframe=black!75!white,fonttitle=\bfseries, title=Figure \thetcbcounter:#1}
\setlength{\parindent}{15pt}
\setlength{\arrayrulewidth}{.05em}
\fancyhf{}
\rhead{Fraud Discovery Using Data Mining}%<- this is quite odd, to have fixed head!!
\rfoot{Page \thepage}
\pagestyle{fancy}
%Beginning of document:
\begin{document}
%\input{cover_page}
\thispagestyle{empty}
\include{abstract}
% \thispagestyle{empty}
% no! \renewcommand\contentsname{Table of Contents}\pagestyle{empty}
\tableofcontents
%{\protect\thispagestyle{empty} % Table of contents %% no idea what
% \pagestyle{empty}
\cleardoublepage
% \pagestyle{plain}
\section{Intro}
Researchers have conducted studies in order to develop a deep
understanding of fraudulent behavior. We believe understanding the
psychological aspects of fraud can be very beneficial for fraud detection
and prevention.
\end{document}