phystricks
Public Member Functions | Static Public Attributes | List of all members
phystricks.src.AuxFile.CounterId Class Reference

Creates a name for a counter in LaTeX. More...

Inheritance diagram for phystricks.src.AuxFile.CounterId:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.AuxFile.CounterId:
Collaboration graph
[legend]

Public Member Functions

def __call__ (self, counter_name)
 

Static Public Attributes

dictionary counter = {}
 

Detailed Description

Creates a name for a counter in LaTeX.

Suppose you need to ask for the value of the counter page. What you do is

1 page=pspict.auxiliary_file.get_counter_value("page")

What phystricks do is to add such a line in the 'pstricks' file :

1 \immediate\write\writeOfphystricks{_some_id_:\arabic{page}-}

where some_id is what we furnish here. This is the identifiant which whose we are going to search for the answer in the dedicated .aux file.

It has to be

Member Function Documentation

def phystricks.src.AuxFile.CounterId.__call__ (   self,
  counter_name 
)

Member Data Documentation

dictionary phystricks.src.AuxFile.CounterId.counter = {}
static

The documentation for this class was generated from the following file: