Text FormattingHow to Text box

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
mturan
Posts: 14
Joined: Wed Nov 10, 2010 10:01 pm

How to Text box

Post by mturan »

Hi everyone,
There is a formatting issue with my fly leaf page, I can't get the title to the place where I want it to be. As attached, On the top, it looks like and at the bottom, I would like. What would you recommend? Thank you

Code: Select all

\vspace*{12cm}
   		\leftline{HAZIRLAYAN\hspace{10pt}: \r@nk\auth@r}
    	\vspace*{5pt}
      \begin{flushleft} \baselineskip 20pt 
        		  KONU \hspace{42pt}: \ti@tle \end{flushleft} \vspace*{90pt}
        
   		 \leftline{TARÝH\hspace{42pt}: \gr@duationdate}%\vfill
    	 \vspace*{10pt}
Attachments
Slayt1.JPG
Slayt1.JPG (34.59 KiB) Viewed 3401 times
Last edited by mturan on Tue Nov 16, 2010 4:27 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

How to Text box

Post by Stefan Kottwitz »

Hi mturan,

you could use a tabbing or a tabular environment, or \parbox.

Stefan
LaTeX.org admin
mturan
Posts: 14
Joined: Wed Nov 10, 2010 10:01 pm

How to Text box

Post by mturan »

From the references you supplied, I came up with another solution which worked for my case. Here is the code and the figure. Thanx

MT

Code: Select all

\vspace*{12cm}
   		\leftline{HAZIRLAYAN\hspace{10pt}: \r@nk\auth@r}
    	\vspace*{5pt}
      \begin{flushleft} \baselineskip 20pt 
        		  KONU \hspace{42pt}: 
        		  \begin{minipage}[t]{11cm}
  						\ti@tle
 							\end{minipage}
 			\end{flushleft} \vspace*{90pt}
        
   		 \leftline{TARİH\hspace{42pt}: \gr@duationdate}%\vfill
    	 \vspace*{10pt}
Attachments
solved.JPG
solved.JPG (30.95 KiB) Viewed 3382 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: How to Text box

Post by Stefan Kottwitz »

I'm glad that you solved it. Very nice, that you also post the solution.

Just one thing came to my mind: it's not really LaTeX style to position all text chunks by absolute lenghts, though it may be appropriate for your text - especially titles are designed much more freely than body text.

Stefan
LaTeX.org admin
Post Reply