LaTeX forum ⇒ Graphics, Figures & TablesFigures with not Figer name and it's own couner

Information and discussion about graphics, figures & tables in LaTeX documents.
vmk
Posts: 1
Joined: Wed Jul 01, 2015 1:35 pm

Figures with not Figer name and it's own couner

Postby vmk » Wed Jul 01, 2015 1:59 pm

In the article some images must have under them:

Figure N. This beautiful image

and other must have:

Scheme N. The nice scheme

with it's own counter.

I do not know how to do this.
I work in LYX and do the article in 2 columns, so I use caption package and do caption as \captionof{figure}{General synthetic route} as Tex code
But I do not know what to do with Scheme and it's own counter.
Can somebody help?
Thanks.
Last edited by cgnieder on Tue Jul 07, 2015 11:38 am, edited 1 time in total.
Reason: code formatting

Tags:

User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Tue Jul 07, 2015 11:44 am

If you're using the caption package already I'd load the newfloat package in addition and define a {scheme} environment which behaves the same as the {figure} environment:

  1. \usepackage{newfloat}
  2.  
  3. \DeclareFloatingEnvironment[
  4. fileext = los, % file extension for the list of schemes
  5. listname = {List of schemes}, % heading for the list
  6. name = Scheme, % name in captions
  7. placement = htp % default floating paramaters
  8. ]{scheme}


This also defines \listofschemes and enables the usage of \captionof{scheme}{…}.

With the above definition in the preamble you can use

  1. \begin{scheme}
  2. Here goes the actual scheme…
  3. \caption{Caption of the scheme.}
  4. \end{scheme}


Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 4 guests