Difference between revisions of "User:Upendran"

From Wiki
Jump to navigation Jump to search
 
Line 61: Line 61:
  
 
\stopParagraphs
 
\stopParagraphs
stoptext
+
\stoptext

Latest revision as of 14:02, 27 April 2005

Hello, first af all, welcome to the Wiki. You didn't find the best place to ask your question. It should go to the mailinglist. It has been asked on the mailinglist a few days ago and answered. Search the archive for the answer ([1]).

--pg 18:01, 22 Apr 2005 (CEST)

It's also written up in Paragraph Enumeration. --Adam 22:27, 23 Apr 2005 (CEST)

IN LATEX

in order to set a paragraph number, you can set the latex document as

\documentclass[12pt]{article}

\usepackage{parano}

\begin{document}

\chapter{one}

\parano

my paragraph my paragraph my paragraph my paragraph my paragraph my paragraph my paragraph my paragraph.

\bigskip

my paragraph my paragraph my paragraph my paragraph my paragraph my paragraph my paragraph my paragraph.

\endparano

\end{document}


In conTeXt

\newcounter\Paracount \setcounter\Paracount1 \def\Paragraphnumber%

  {\doglobal\increment\Paracount
   \Paracount.~~}

\def\startParagraphs%

  {\par \begingroup \appendtoks \Paragraphnumber \to \everypar}

\def\stopParagraphs%

  {\par \endgroup}


\starttext

\startParagraphs \chapter{my chapter}

test test test test test test test test test test test test test test test test test test test test test test test test test test testtest test.


test test test test test test test test test test test test test test test test test test test test.

\section{my section}

test test test test test test test test test test

\stopParagraphs \stoptext