Back to index

texmacs  1.0.7.15
Classes | Defines | Functions
vpenalty.hpp File Reference
#include "basic.hpp"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vpenalty_rep
class  vpenalty

Defines

#define EXTEND_PAGE_PENALTY   33
#define REDUCE_PAGE_PENALTY   33
#define TOO_SHORT_PENALTY   10000
#define TOO_LONG_PENALTY   100000
#define UNBALANCED_COLUMNS   1000
#define LONGER_LATTER_COLUMN   1000

Functions

 CONCRETE_CODE (vpenalty)
tm_ostreamoperator<< (tm_ostream &out, vpenalty pen)

Define Documentation

#define EXTEND_PAGE_PENALTY   33

Definition at line 30 of file vpenalty.hpp.

#define LONGER_LATTER_COLUMN   1000

Definition at line 35 of file vpenalty.hpp.

#define REDUCE_PAGE_PENALTY   33

Definition at line 31 of file vpenalty.hpp.

#define TOO_LONG_PENALTY   100000

Definition at line 33 of file vpenalty.hpp.

#define TOO_SHORT_PENALTY   10000

Definition at line 32 of file vpenalty.hpp.

#define UNBALANCED_COLUMNS   1000

Definition at line 34 of file vpenalty.hpp.


Function Documentation

tm_ostream& operator<< ( tm_ostream out,
vpenalty  pen 
)

Definition at line 15 of file vpenalty.cpp.

                                            {
  return out << "[ " << pen->pen << ", " << pen->exc << " ]";
}