w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

lengths.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SL_HOFFSET   1
 
#define SL_VOFFSET   2
 
#define SL_PARINDENT   3
 
#define SL_PARSKIP   4
 
#define SL_BASELINESKIP   5
 
#define SL_TOPMARGIN   6
 
#define SL_TEXTHEIGHT   7
 
#define SL_HEADHEIGHT   8
 
#define SL_HEADSEP   9
 
#define SL_TEXTWIDTH   10
 
#define SL_ODDSIDEMARGIN   11
 
#define SL_EVENSIDEMARGIN   12
 

Functions

void setLength (char *s, int d)
 
int getLength (char *s)
 
void CmdSetTexLength (int code)
 

Macro Definition Documentation

◆ SL_BASELINESKIP

#define SL_BASELINESKIP   5

Definition at line 5 of file lengths.h.

◆ SL_EVENSIDEMARGIN

#define SL_EVENSIDEMARGIN   12

Definition at line 12 of file lengths.h.

◆ SL_HEADHEIGHT

#define SL_HEADHEIGHT   8

Definition at line 8 of file lengths.h.

◆ SL_HEADSEP

#define SL_HEADSEP   9

Definition at line 9 of file lengths.h.

◆ SL_HOFFSET

#define SL_HOFFSET   1

Definition at line 1 of file lengths.h.

◆ SL_ODDSIDEMARGIN

#define SL_ODDSIDEMARGIN   11

Definition at line 11 of file lengths.h.

◆ SL_PARINDENT

#define SL_PARINDENT   3

Definition at line 3 of file lengths.h.

◆ SL_PARSKIP

#define SL_PARSKIP   4

Definition at line 4 of file lengths.h.

◆ SL_TEXTHEIGHT

#define SL_TEXTHEIGHT   7

Definition at line 7 of file lengths.h.

◆ SL_TEXTWIDTH

#define SL_TEXTWIDTH   10

Definition at line 10 of file lengths.h.

◆ SL_TOPMARGIN

#define SL_TOPMARGIN   6

Definition at line 6 of file lengths.h.

◆ SL_VOFFSET

#define SL_VOFFSET   2

Definition at line 2 of file lengths.h.

Function Documentation

◆ CmdSetTexLength()

◆ getLength()

int getLength ( char *  s)

purpose: retrieves a named TeX dimension

Definition at line 99 of file lengths.c.

References diagnostics(), existsLength(), i, Lengths, s, and WARNING__.

Referenced by HTMLGen::appendSpans(), TextPage::buildColumn(), TextPage::buildLine(), TextPage::buildSimple2Lines(), caryll_ElementInterfaceOf(), CmdCaption(), CmdItem(), CmdLength(), CmdList(), CmdStartParagraph(), CmdVspace(), TextPage::computeWordSpacingThreshold(), HTMLGen::convertPage(), PDFDoc::createTrailerDict(), AnnotAppearanceBuilder::drawListBox(), AnnotAppearanceBuilder::drawText(), AcroFormField::drawText(), Annot::drawText(), SysFontList::find(), HTMLGen::findDirSpan(), TextPage::findText(), TileCache::flushCache(), AnnotFreeText::generateFreeTextAppearance(), AnnotLine::generateLineAppearance(), Lexer::getChar(), LinkAction::getFileSpecName(), getFileSpecNameForPlatform(), XFAScanner::getMeasurement(), AcroFormField::getNextLine(), GlobalParams::getPopupMenuCmd(), getUTF16BE(), getUTF16LE(), getUTF8(), Gfx8BitFont::Gfx8BitFont(), TextPage::insertClippedChars(), PDFDoc::isLinearized(), AcroFormField::isValidInt(), Annot::layoutText(), LinkURI::LinkURI(), AcroFormField::load(), main(), makeDataCodewords(), MiniPS::Parser::parse1(), PrepareRtfEquation(), PushEnvironment(), OutlineItem::readItemList(), TextPage::removeDuplicates(), MiniPS::scanf_dict(), TextPage::separateOverlappingText(), TileCache::setActiveTileList(), TextPage::splitChars(), TabbingColumnPosition(), TabularColumnPosition(), AcroFormField::tokenize(), FormFieldText::tokenizeDA(), WriteHeadFoot(), TextPage::writeLinePrinter(), and WritePageSize().

◆ setLength()

void setLength ( char *  s,
int  d 
)

purpose: allocates (if necessary) and sets a named TeX dimension

Definition at line 84 of file lengths.c.

References d, existsLength(), i, Lengths, newLength(), and s.

Referenced by CmdLength(), CmdList(), CmdQuote(), CmdSetTexLength(), CmdThebibliography(), CmdVerse(), InitializeLatexLengths(), PopEnvironment(), setPaperSize(), setPointSize(), and setThree().