LaTex Labels and custom counters in environment

3. December 2008

A counter should be named the same as the environment.

 

\newcounter{exercise}
\newenvironment{exercise}[1]%
{\refstepcounter{exercise}\vspace{10pt}\par\noindent
\textbf{Exercise \theexercise\ (#1)}
\begin{itshape}\par\noindent\vspace{10pt}}
%
{\end{itshape}\vspace{10pt}\par}

 

 

Example of use

Exercise~\ref{ex:simple} is a simple exercise.

\begin{exercise}{Simple Exercise}%
\label{ex:simple}%
This is a simple exercise.
\end{exercise}

 

Link

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Latex

Latex error code description

30. September 2008

See this link

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Latex

Latex Listings package - used for code diplay

10. September 2008

The listings package is a source code printer for L ATEX. You can typeset
tand alone files as well as listings with an environment similar to verbatim
s well as you can print code snippets using a command similar to \verb.
Many parameters control the output and if your preferred programming
anguage isn’t already supported, you can make your own definition.

Doc

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Latex

Chapter 3. Running TeX & Wiki

10. September 2008

What to run

What Files Does Tex Need

What about errors Link

Latex Wiki

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Latex

BibTeX and bibliography styles

6. August 2008

A small guide to use bibliography in latex. Link

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Latex

Editors for Latex

27. July 2008

Editor LED link

Texmaker is a editor like Word. link

 

Lyx is a editor like Word but doesn't save in standard latex format which isen't that usefull.

 

BaKoMa TeX is a complete TeX/LaTeX implementation for MS Windows VISTA/XP/2000 with Visual (True WYSIWYG) LaTeX Editor -- BaKoMa TeX Word.

This editor works like MS Word and saves the tex files in the standard format which can be read by LED. This editor would be the prefered one together with LED.

Down side it's not free.

Link

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Latex