问题:如何删除下面居中文本“FALSE:”后面的间距?我需要对文档中的五个居中位置执行此操作。
% BEGIN PREAMBLE
\RequirePackage{fix-cm}
\documentclass[fleqn,10pt]{article}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}
\usepackage{calc}
\fancyheadoffset[L,R]{45pt}
\nofiles
\pagenumbering{gobble}
\usepackage{lmodern}
\usepackage{fixcmex}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{amsmath}
\usepackage{microtype}
\addtolength{\oddsidemargin}{-.875in}
\addtolength{\evensidemargin}{-.875in}
\addtolength{\textwidth}{1.75in}
\addtolength{\topmargin}{-1.25in}%-1.25
\addtolength{\textheight}{5in}%1.75in
% END PREAMBLE
\begin{document}
\begin{center}
\large{\textbf{NAME}}\\
\normalsize something 123456789
\end{center}
\begin{center}
\textbf{FALSE:}
\end{center}
This is some text.
This is some more text.
This is even more text for display.
\end{document}
答案1
使用\centering
代替center
环境,在环境后添加空格。
% centerprob.tex SE 645778
\documentclass[fleqn,10pt]{article}
% END PREAMBLE
\begin{document}
\begin{center}
\large{\textbf{NAME}}\\
\normalsize something 123456789
\end{center}
%\begin{center}
{\centering \textbf{FALSE:}\par}
%\end{center}
This is some text. This is some text. This is some text. This is some text.
This is some more text.
This is even more text for display.
\end{document}