Using \hfill won't necessarily result in the middle text being centered, as the example below demonstrates. If you want to place the text in such a way that the middle text is really centered, I would suggest using \parboxes, as the example shows
\documentclass{article}
\usepackage{lipsum ...
Search found 3 matches
- Wed Sep 24, 2014 10:55 am
- Forum: Text Formatting
- Topic: Alignment
- Replies: 9
- Views: 9712
- Wed Sep 24, 2014 10:48 am
- Forum: Text Formatting
- Topic: How to make text in same side left and right ?
- Replies: 4
- Views: 8807
How to make text in same side left and right ?
Don't use
\hfill
for the alignment, use \flushleft
and \flushright
.Code: Select all
\begin{minipage}[t]{7cm}
\flushleft
\textsc{Relator}
Prof. NameName\\
\end{minipage}
\hfill
\begin{minipage}[t]{7cm}
\flushright
\textsc{Candidato}
Name Name\\
Matricola: XXXXX
\end{minipage}
- Wed Sep 24, 2014 9:25 am
- Forum: General
- Topic: page nubering in latex
- Replies: 3
- Views: 5491
page nubering in latex
To change the type of page numbering, the \pagenumbering{style} command is the way to go. If we wanted to create a document which had a foreward on page i, table of contents on page ii, table of tables on page iii and the first section on page 1, we would have the following:
% preliminaries ...
% preliminaries ...