
我有以下簡單的程式碼:
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[left=1in, right=1in, top=1.3in, bottom=0.85in]{geometry}
\usepackage{amsfonts, amssymb, amsthm}
\usepackage{hyperref}
\begin{document}
\title{
\textbf{This is the title of the paper that I will publish soon to get my degree in
mathematics}
}
\date{}
\maketitle
\end{document}
我只需要增加標題行之間的行高(行距)。我怎樣才能做到這一點?
提前致謝。我真的很感謝任何幫助。
答案1
\setstretch
包裝中的setspace
可能會有所幫助。
\documentclass{article}
\usepackage{setspace,lipsum}
\begin{document}
\title{\setstretch{2}
\textbf{This is the title of the paper that I will publish soon to get my degree in
mathematics}
}
\maketitle
Just to show that normal text is not affected:
\lipsum[1]
\end{document}