Search found 3 matches
- Sat Dec 10, 2011 5:08 am
- Forum: Page Layout
- Topic: Center Block of Text horizontally
- Replies: 4
- Views: 25061
Re: Center Block of Text horizontally
Thanks, that will do it.
- Sat Dec 10, 2011 3:24 am
- Forum: Page Layout
- Topic: Center Block of Text horizontally
- Replies: 4
- Views: 25061
Re: Center Block of Text horizontally
The problem with parbox is I have to specify the size too. I want latex to automatically calculate the size for me else if I change the longest line I'll have to manually figure out a value.
- Sat Dec 10, 2011 2:09 am
- Forum: Page Layout
- Topic: Center Block of Text horizontally
- Replies: 4
- Views: 25061
Center Block of Text horizontally
To create a left justified block of text I use
\begin{center}
\begin{flushleft}
\hspace{1cm}text line 1\\
\hspace{1cm}text line 2\\
\hspace{1cm}text line 2 ...\\
\hspace{1cm}...\\
\end{flushleft}
\end{center}
where the 'center' environment does not actually center in this case but I want it to. If ...
\begin{center}
\begin{flushleft}
\hspace{1cm}text line 1\\
\hspace{1cm}text line 2\\
\hspace{1cm}text line 2 ...\\
\hspace{1cm}...\\
\end{flushleft}
\end{center}
where the 'center' environment does not actually center in this case but I want it to. If ...