GeneralNew Paragraph

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
haac
Posts: 6
Joined: Thu Aug 21, 2008 3:09 am

New Paragraph

Post by haac »

Hi! I'm trying to write an article in Latx i'm having some problems (new to Latex ;) )

This is mi code

Code: Select all



\documentclass[12pt,letterpaper]{article}
\usepackage{geometry} % see geometry.pdf on how to lay out the page. There's lots.
\usepackage[spanish]{babel}
\selectlanguage{spanish}
\usepackage[utf8]{inputenc}

% See the ``Article customise'' template for come common customisations

\title{Pruebas Unitarias}
\author{Hugo Alejandro Assanti Convit}
\date{noviembre, 2008} % delete this line to display the current date

%%% BEGIN DOCUMENT
\begin{document}

\maketitle
\newpage

\tableofcontents
\newpage

\section{Introducción}
Este documento tiene la intención de explicar en que consisten las pruebas de software y cual es el papel de las pruebas unitarias en el desarrollo de software.

No se abarcará en este artículo los conceptos avanzados sobre pruebas de software, a su vez, se concentrará en el papel de importancia que tienen las pruebas unitarias en el desarrollo de grandes sistemas de software.

\end{document}

For some reason, when i make the document i get this

1. Introducción
Este documento tiene la intenci ́on de explicar en que consisten las pruebas de
software y cual es el papel de las pruebas unitarias en el desarrollo de software.
No se abarcar ́a en este art ́ıculo los conceptos avanzados sobre pruebas de software,
a su vez, se concentrar ́a en el papel de importancia que tienen las pruebas unitarias
en el desarrollo de grandes sistemas de software.

instead of

1. Introducción
Este documento tiene la intenci ́on de explicar en que consisten las pruebas de
software y cual es el papel de las pruebas unitarias en el desarrollo de software.

No se abarcar ́a en este art ́ıculo los conceptos avanzados sobre pruebas de software,
a su vez, se concentrar ́a en el papel de importancia que tienen las pruebas unitarias
en el desarrollo de grandes sistemas de software.

I'm using TexShop in OSX, i don't know if this is the best option because i'm having a hard time whit the templates.
Thanks for the help

Recommended reading 2024:

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

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

haac
Posts: 6
Joined: Thu Aug 21, 2008 3:09 am

Re: New Paragraph

Post by haac »

found the anwser

\vspace{4 mm}

But now i'm asking if this is not time consuming when trying to write something big like a thesis (writing \vspace{4 mm} everytime I want to make a new paragraph). Is there something like a shortcut to do this?
User avatar
Ivan José Varzinczak
Posts: 1
Joined: Sat Nov 22, 2008 11:25 am

Re: New Paragraph

Post by Ivan José Varzinczak »

¡Hola!

Try any of the following:

\smallskip

\medskip

\bigskip

Chose your preferred size and have fun ;-)

Saludos,

Ivan
Ivan José Varzinczak - http://ksg.meraka.org.za/~ivarzinczak
Researcher in Logic-based Knowledge Representation and Reasoning
Knowledge Systems Group - Meraka Institute - CSIR - Pretoria SA
haac
Posts: 6
Joined: Thu Aug 21, 2008 3:09 am

Re: New Paragraph

Post by haac »

Hola Ivan!

Thanks for the tips! works great, but i'm asking mi self the same question, write \bigskip (for example) everytime you want a new paragrahp is not a little time consuming? (compare to just hit "enter").

Saludos!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

New Paragraph

Post by localghost »

haac wrote:[...] but i'm asking mi self the same question, write \bigskip (for example) everytime you want a new paragrahp is not a little time consuming? [...]
You can set the length \parksip to a measure you want.

Code: Select all

\setlength{\parskip}{\baselineskip}
This is a static measure which gives you exactly the vertical space of one line. But you can also set a dynamic measure if needed. To translate the suggestions of Ivan, you can try one of the following lines.

Code: Select all

\setlength{\parskip}{\smallskipamount}
\setlength{\parskip}{\medskipamount}
\setlength{\parskip}{\bigskipamount}
Doing so, you don't need indentation for paragraphs any more hence you can eliminate that.

Code: Select all

\setlength{\parindent}{0em}
Both lines go into the preamble of your document.


Best regards
Thorsten¹
Post Reply