I would like in a Latex document making a sub-section and then go back to the level of the section. But I can find out how to do it.

So my code:

\documentclass[a4paper, 10pt]{article}


\subsection{Paramétrisation du tracé}
Il faut faire attention aux valeurs rentrer par l'utilisateur dans ces champs, effectivement
beaucoup de valeurs sont à exclure. Les premières valeurs à exclure, sont à exclure pour tous les
paramètres, il s'agit de tout ce qui n'est pas des nombres.
Les valeurs des différents range ($x$ et $y$) doivent absolument être des valeurs positives, car un
range négatif n'a aucun sens.
Tous nombres entrés est acceptable comme valeurs.
Ici, comme pour le range, seules des valeurs positives peuvent être acceptées.
%there I want to come back to the level of the section
Afin de signaler ces erreurs, le programme utilise le module \emph{tkMessageBox} et affiche donc
des \emph{showwarning} afn de signaler à l'utilisateur ses erreurs.

PS: I'm french so sorry for the french text.

  • Would some extra white-space or a typographic sign (like a fleuron or three asterisks) be a satisfactory option for you? Then one could create a command that does it (seeing as you can't "end" a subsection semantically). – ienissei Mar 18 '12 at 10:31
  • Yes of course it would be great – lpostula Mar 18 '12 at 10:33
  • See also this question. – ienissei Mar 30 '12 at 9:10

You can try something like this:







\section{A Section}


\subsection{A Subsection}









Note that the lipsum package is only used to create dummy text (quite useful when you write a MWE). The fourier-orns package is used by the first command (\fleuron), but there are other available packages. And the second command (\ornament) uses math mode to get the asterisks right because it is easier than in text mode.

Normally, the \parbox should prevent page breaks in the middle of the ornaments.

You can change the amount of vertical space (which is currently \bigskip) to \midskip or \smallskip, or even to an arbitrary length via \vspace{<length>}.

  • @kasmanit I have added the links in my answer. Both packages are on CTAN and I think they must ship with most distributions. – ienissei Mar 18 '12 at 11:11
  • Ok I see the link but I don't catch how to install it (sorry gor thaht) – lpostula Mar 18 '12 at 11:16
  • @kasmanit Did you try to compile it and got a warning? If you click "visit fourier's CTAN directory", you get there and you can download a zip file that contains everything. Then you have to copy the folders and their contents to your local texmf directory (there is a read-me file inside). Where to create that folder depends on your operating system, but I am sure there are plenty of tutorials out there. Which OS are you using? – ienissei Mar 18 '12 at 11:31
  • I'm running on OpenSuse. I'm searching now for my textmf directory so I can try this way – lpostula Mar 18 '12 at 11:33
  • I create a texmf in my home direcotry but when I run "make" it's saying : You want to install the fourier fonts The location of the choosen TEXMF tree may be specified at the launch of the MakeFile, now "make TGM=HOMETEXMF" (you can choose HOMETEXMF, TEXMFLOCAL or TEXMFMAIN). So I will install in . BUT this TEXMF tree does not exist – lpostula Mar 18 '12 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.