Latex Titlesec Continue Paragraph on Same Line as Heading

Part 1 | Part 2 | Part 3 | Part 4 | Part 5

Author: Josh Cassidy (August 2013)

This five-part series of articles uses a combination of video and textual descriptions to teach the basics of writing a thesis using LaTeX. These tutorials were first published on the original ShareLateX blog site during August 2013; consequently, today's editor interface (Overleaf) has changed considerably due to the development of ShareLaTeX and the subsequent merger of ShareLaTeX and Overleaf. However, much of the content is still relevant and teaches you some basic LaTeX—skills and expertise that will apply across all platforms.

In the previous post we looked at adding a bibliography to our thesis using the biblatex package. In this, the final post of the series, we're going to look at customising some of the opening pages. In the first video we made a rather makeshift title page using the \maketitle command and by using an \includegraphics command in the \title command. Although this works, it doesn't give us as much flexibility as we may want.

The Title Page

A much better way to do this is to use the titlepage environment. We'll do this in a separate .tex file and then input it. The first thing we'll do is enclose everything in the title page within the center environment so it's all aligned to the centre. Next we need to instruct LaTeX to leave a gap between the top of the page and the first line of text. To do this we use the \vspace command followed by a length. We also need to add an asterisk into the command to make sure LaTeX doesn't decide to ignore the command. Next we'll add the thesis title in bold font using the \textbf command. To leave a gap between this and the next line of text we use the \vspace command again, this time without the asterisk. Next we'll add in a subtitle followed by some more vertical space and then the author name in bold font. This concludes what we want at the top of the title page—the rest of the content we'll add at the bottom of the title page.

To separate these two sections out we'll use the \vfill command which will automatically add in the amount of vertical space needed for the content to fill the page. Next we'll add in a line of text to specify what degree the thesis is being submitted for. The double backslash is used to create a new line. We'll then add more space before adding in the university logo specifying it's width as a fraction of the text width. Finally we'll add in some information about the university and the date.

                        \begin            {titlepage}            \begin            {center}            \vspace*            {1cm}            \textbf            {Thesis Title}            \vspace            {0.5cm}            Thesis Subtitle            \vspace            {1.5cm}            \textbf            {Author Name}            \vfill            A thesis presented for the degree of\\            Doctor of Philosophy            \vspace            {0.8cm}            \includegraphics            [width=0.4\textwidth]            {university}            Department Name\\            University Name\\            Country\\            Date            \end            {center}            \end            {titlepage}          

Now in the main .tex file we can replace the \maketitle command with an input command linked to our new title page. If we now compile the code we can see all the items have been correctly processed:

Thesis smalltitle.png

However, the text is quite small so we'll go back and change the font sizes. To do this we'll use one of the simple font-sizing commands. There are ten of these to choose from, ranging from smallest to largest they are:

                        \tiny            \scriptsize            \footnotesize            \small            \normalsize            \large            \Large            \LARGE            \huge            \Huge          

Let's make the title as big as it can be (using these simple commands) by choosing \Huge. We'll then make the subtitle two steps smaller using \large. When we use one of these commands they affect all the text in it's scope. Therefore in it's current state all the remaining text on the page will appear in the size of the subtitle. We'll keep it like this for the author name and degree title but we'll drop down one size for the university details and the date:

                        \begin            {titlepage}            \begin            {center}            \vspace*            {1cm}            \Huge            \textbf            {Thesis Title}            \vspace            {0.5cm}            \LARGE            Thesis Subtitle            \vspace            {1.5cm}            \textbf            {Author Name}            \vfill            A thesis presented for the degree of\\            Doctor of Philosophy            \vspace            {0.8cm}            \includegraphics            [width=0.4\textwidth]            {university}            \Large            Department Name\\            University Name\\            Country\\            Date            \end            {center}            \end            {titlepage}          

Thesis title.png

The abstract

We can also customise other pages, such as the abstract. Instead of using an unnumbered chapter, we'll create a new .tex file, customise the layout and then input it. At the top of this file we need to change the page style to plain in order to stop the headers being added in. Now in a similar way to the title page we'll add in some custom titles and then the abstract text.

                        \thispagestyle            {plain}            \begin            {center}            \Large            \textbf            {Thesis Title}            \vspace            {0.4cm}            \large            Thesis Subtitle            \vspace            {0.4cm}            \textbf            {Author Name}            \vspace            {0.9cm}            \textbf            {Abstract}            \end            {center}            Lorem ipsum dolor...          

This is what it will look like added in:

Thesis abstract.png

This concludes our series on writing a basic thesis. If you want to play around with the thesis we've created in this series you can open the project in Overleaf.

All articles in this series

  • Part 1: Basic Structure;
  • Part 2: Page Layout;
  • Part 3: Figures, Subfigures and Tables;
  • Part 4: Bibliographies with BibLaTeX;
  • Part 5: Customising Your Title Page and Abstract.
  • anctmarshall.blogspot.com

    Source: https://www.overleaf.com/learn/latex/How_to_Write_a_Thesis_in_LaTeX_%28Part_5%29:_Customising_Your_Title_Page_and_Abstract

    Komentar

    More Articles

    فلام سكس مترجم - فلام سكس مترجم / سكس مترجم - اخ ينيك اخته الشرموطة و يقذف ... / افلام سكس عربي و اجنبى سكس نسوانجى محجبات سكس مترجم عربى احترافى مترجمة عالمى محجبة سكس savesave سكس مترجم for later.

    How To Write Bank Details : How to add and print bank details in tally erp 9 invoice? : How to write letter for that?

    Italienischer Zweitligameister - Hellas Verona 1984/85 - Meister, eine Sensation in Italien ... : .3 x italienischer meister, 2 x italienischer superpokalsieger, 1 x italienischer zweitligameister.

    שירי מימון : חדש מול ישן שירי מימון מרימה סטפן לגר עוקץ טיים אאוט - היא נעלבה מהיחס לאמנים (חשבתי שאנחנו חלק אינטגרלי מהמורל), כועסת על הטענה שמי שיש לו כסף לא צריך את עזרת המדינה (אנחנו משלמי מיסים.

    Link: ".De" + "Playstation-Forum" : MultiThe Legend of Heroes: Trails of Cold Steel I-IV ... / Alle beiträge mit den tags playstation forum.

    Wehen Wiesbaden Vs Dortmund - Wiesbadenaktuell: Fußball: SV Wehen Wiesbaden gegen ...

    Libro De Español 5 Grado : Geografia Quinto Grado 2017 2018 Ciclo Escolar Centro De Descargas - El libro de texto se recibe retractilado con el cuaderno de vocabulario y algo más para leer (un minilibro que incluye un anticipo de las historias recomendadas).

    Driver Canon Ir2016J Windows 7 : Canon ir2016j usb Drivers for Windows 10 / Windows 2000, windows 2003, windows 2008, windows 7, windows vista, windows xp.

    Liv Ullmann : 23 Liv Ullmann Sexy Pictures That Will Make You Begin To ... - Select from premium liv ullmann of the highest quality.

    Niños 2 Años Online / Juguetes Para Ninos 2 Anos Tienda Online De Zapatos Ropa Y Complementos De Marca / Minisebran es un programa gratuito con juegos educativos para niños de entre 2 a 6 años.




    banner