我有一個問題,為什麼「姓名」和「部門名稱」的字體大小不同?以及如何使其相同?
\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