Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have the following problem:

enter image description here

Is there an easy and quick way to change the upper part to the lower? I tried using \hspace, but it had no effect. I'm new to TeX so bear with me ;D

share|improve this question
3  
You might look into the hanging package. –  John Wickerson Apr 29 '13 at 9:59
    
+1 Thank you for your help! =) –  jjepsuomi Apr 29 '13 at 9:59
4  
I thin you need a \begin{description} environment. BTW \hspace won't work at the beginning of the line. Use \hspace*{...} instead. –  Harish Kumar Apr 29 '13 at 9:59
    
+1 Thank you for your help! \hspace*{...} did the job!, I will try the \begin{description} also. Thank you again! Much appreciated =) –  jjepsuomi Apr 29 '13 at 10:03
2  
What about \hangindent and \hangafter? –  Eddy_Em Apr 29 '13 at 10:37
show 1 more comment

1 Answer

up vote 4 down vote accepted

I would use a simple list-type environment, such as itemize

screenshot

% arara: pdflatex
\documentclass{article}

\begin{document}

\begin{itemize}
    \item[Lorem ipsum] text text text text text text text text text text text text text text
     text text text text text text text text text text text text text
    \item[Lorem ipsum] text text text text text text text text text text text text text text
     text text text text text text text text text text text text text
\end{itemize}

\end{document}

If you want to customize it a little, then the enumitem can help- for example

% arara: pdflatex
\documentclass{article}

\usepackage{enumitem}

\begin{document}

\begin{itemize}[font=\bf]
    \item[Lorem ipsum] text text text text text text text text text text text text text text
     text text text text text text text text text text text text text
    \item[Lorem ipsum] text text text text text text text text text text text text text text
     text text text text text text text text text text text text text
\end{itemize}

\end{document}

gives

enter image description here

A lot is possible here- you are only limited by imagination!

share|improve this answer
1  
It seems preferable in terms of layout as well as semantic markup to use a description list, as Harish suggested (even though this slightly from the requested layout). –  doncherry Apr 29 '13 at 18:17
    
+1 Thank you for your help! =) Very nice answer! =) –  jjepsuomi Apr 30 '13 at 6:23
add comment

Your Answer

 
discard

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.