TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I prevent the new line indicated in the picture below?

enter image description here

Here is a MWE:

    \advance\beamer@leftmargin by -12bp%
    \advance\beamer@rightmargin by -12bp%
    \advance\beamer@tempdim by \beamer@leftmargin%
    \advance\beamer@tempdim by \beamer@rightmargin%
          \vbox{}\vskip.50ex% NEW: original \vskip-.75ex
          \rightskip0.3cm plus1fil\leavevmode
            \par{\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par\vskip2ex}% NEW: added \vskip2ex
      \advance\beamer@tempdim by 2pt%
        \usebeamercolor{frametitle right}
    \hbox to\textwidth{\hskip-\Gm@lmargin\pgfuseshading{beamer@topshade}\hskip-\Gm@rmargin}

\title[short title]{\huge \textbf{Long Title}}



    University of Siena\\Master Thesis in Computer Science Engineering


        { \textit{Author}:\vspace*{0.1cm} \\ Me }
        {\textit{Supervisor}:\vspace*{0.1cm} \\ Prof. Him \\}

    December 10, 2012\\Academic Year 2011/2012

share|improve this question
Sorry, but I don't understand why you don't customize the title page with the apposite title page template. An example: How to customize \titlepage in beamer?. BTW: you might be interested in an italian guide called Introduzione alla personalizzazione di Beamer. – Claudio Fiandrino Dec 4 '12 at 11:19
@ClaudioFiandrino - I just wanted to use my personal layout, is it such a bad habit doing it this way?.thks for pointing out the tutorial. – Matteo Dec 4 '12 at 11:22
@ClaudioFiandrino - BTW, I used the \mbox{} command and the line will not be broken, however it is not centred (even though I put the \centering command). How can I solve the problem? – Matteo Dec 4 '12 at 11:24
Have you tried with Master Thesis in Computer Science~Engineering? – Claudio Fiandrino Dec 4 '12 at 11:26
@ClaudioFiandrino - yes, but it produced the following effect: Master Thesis in Computer\\Science Engineering. (I put \\ where the new line occurs) – Matteo Dec 4 '12 at 11:30
up vote 8 down vote accepted


    University of Siena\\Master Thesis in Computer Science Engineering


    University of Siena\\Master Thesis in Computer Science Engineering

as you do not want to force the title to fit into half the page width.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.