![如何消除居中后的间距](https://linux22.com/image/450654/%E5%A6%82%E4%BD%95%E6%B6%88%E9%99%A4%E5%B1%85%E4%B8%AD%E5%90%8E%E7%9A%84%E9%97%B4%E8%B7%9D.png)
问题:如何删除下面居中文本“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}