我有个疑问,为什么“姓名”和“部门名称”的字体大小不一样?如何使它们相同?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}
\usepackage{multirow,tabularx}
\usepackage[a4paper, portrait, margin=1in, hmargin=2cm, top=4cm, bottom=4cm, headheight=3cm, footskip=2.5cm]{geometry}
\begin{document}
\begin{center}
{\large {\textsc{ \underline{ Ivanov I.I. } }}} \\
{\textsc{ (name) }} \\
{\large{\textsc{ \underline{ { Department №1 }}} \\
{\textsc{ (name of the department) }} \\
{\large{\textsc{ \underline{ Manager }}}} \\
{\textsc{(job desription) }} \\
{\large {\textsc{ \underline{tuesday is a good day} }}} \\
{\textsc{ (reason) }} \\
{\large {\textsc{ \underline{ base }}} \\
{\textsc{ (original reason) }} \\
\end{center}
\end{document}
答案1
问题是我错过了大括号,所以正确的代码应该是这样的:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel} % Включаем пакет для поддержки русского
\usepackage{multirow,tabularx}
\usepackage[a4paper, portrait, margin=1in, hmargin=2cm, top=4cm, bottom=4cm, headheight=3cm, footskip=2.5cm]{geometry}
\begin{document}
\begin{center}
{\large {\textsc{ \underline{ Ivanov I.I. } }}} \\
{\textsc{ (name) }} \\
{\large{\textsc{ \underline{ Department №1 } }}} \\
{\textsc{ (name of the department) }} \\
{\large{\textsc{ \underline{ Manager } }}} \\
{\textsc{(job desription) }} \\
{\large {\textsc{ \underline{tuesday is a good day} }}} \\
{\textsc{ (reason) }} \\
{\large {\textsc{ \underline{ base } }}} \\
{\textsc{ (original reason) }} \\
\end{center}
\end{document}
答案2
在\textsc
(小型大写字母)中,小写字母用比大写字母更小的大写字母表示。 您的文本的高度与上一行中的单词name of the department
相同。 好吧,实际高度取决于右括号的版本,正如我们在两个初始位置中看到的那样。epartment
Department