3

I have few questions and i appreciate any help. In the code below

\documentclass[12pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath} 
\usepackage{amsfonts}
\usepackage{amssymb}

\author{  \textsc{Hussein Eid } \\ 
\textsc{Faculty of Science } \\
\textsc{ Cairo University} \\
\textsc{B.SC Degree in Mathematics}      }

\begin{document}

\begin{center}
\begin{huge}
\textbf{ GEOMETRY OF MANIFOLDS AND DIFFERENTIAL FORMS}
\end{huge}
\end{center}

\end{document}

how can I leave little spaces between the lines of the titles?!. Besides, why the name of the author does not appear after running?!. Here is a screenshot of the output enter image description here

Thanks in Advance.

  • if you use \huge instead of \begin{huge}...\end{huge} normale spacing will be restored. – Nico Boni Aug 15 '16 at 17:18
  • Yes, this works. Can you tell me how i can make the first letter of each word in the title looks much bigger than the rest of the litters in the word ?! – Hussein Eid Aug 15 '16 at 17:35
  • I'm not sure how that's going to look, anyway you could specify a different font size for the first letters. Since your title is already \huge you would need to set the other letters to \Large and the first letters to \huge or alternatively use \fontsize{}{}\selectfont for the first letters. Give it a try and see for yourself – Nico Boni Aug 15 '16 at 17:41
  • it seems you are looking for caps and small caps. if you enter this text with "normal" casing -- "Geometry of Manifolds ..." -- and add \scshape you should get the result you want. (i'm not sure how article handles \title, but you're not using that.) and, as other comments and the answer point out, you need to end a paragraph to make sure the baselines are appropriate. – barbara beeton Aug 15 '16 at 17:56
  • How did you get the idea of using an environment for the font size? Did you read that somewhere? Where did you read it? – Johannes_B Aug 17 '16 at 5:05
4

use \huge not \begin{huge} .. \end{huge}

(or leave a blank line before the \end{huge} You are ending the font size change before the end of the paragraph, so setting huge text on a normal baseline.


Ideally should not have any such font and size commands in the body of the document.

The markup should be

\documentclass[12pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath} 
\usepackage{amsfonts}
\usepackage{amssymb}

\author{Hussein Eid\\ 
Faculty of Science\\
Cairo University \\
B.SC Degree in Mathematics}

\title{Geometry Of Manifolds And Differential Forms}

\begin{document}


\maketitle



\end{document}

and then if I understand your comment you want to use the \textsc caps and small caps style for both title and author, which can be specified separately in a documentclass or in the preamble.

  • Could you comment on (preferably by ways of showing a link) why this should be done? – Matsmath Aug 15 '16 at 17:24
  • 1
    @Matsmath I put the reason already. If the font size ends before the paragraph the paragraph will be broken into lines with a target basline being the normalsize baseline. – David Carlisle Aug 15 '16 at 17:26
  • I might have been looking for something like this: tex.stackexchange.com/questions/8373/… – Matsmath Aug 15 '16 at 17:31
  • 1
    @Matsmath oh but the enviornment/command distinction is not really an issue at all here. You would see the same problem with {\huge the title} the issue is where the size change ends, not whether an environment or command is used. – David Carlisle Aug 15 '16 at 17:33
  • Thanks @DavidCarlisle . I have one more question: Can you tell me how i can make the first letter of each word in the title looks much bigger than the rest of the litters in the word ?! The second question in asked above is still unanswered. – Hussein Eid Aug 15 '16 at 17:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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