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.


#define SL_HOFFSET   1
#define SL_VOFFSET   2
#define SL_PARINDENT   3
#define SL_PARSKIP   4
#define SL_TOPMARGIN   6
#define SL_TEXTHEIGHT   7
#define SL_HEADHEIGHT   8
#define SL_HEADSEP   9
#define SL_TEXTWIDTH   10


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

Macro Definition Documentation



Definition at line 5 of file lengths.h.



Definition at line 12 of file lengths.h.


#define SL_HEADHEIGHT   8

Definition at line 8 of file lengths.h.


#define SL_HEADSEP   9

Definition at line 9 of file lengths.h.


#define SL_HOFFSET   1

Definition at line 1 of file lengths.h.



Definition at line 11 of file lengths.h.


#define SL_PARINDENT   3

Definition at line 3 of file lengths.h.


#define SL_PARSKIP   4

Definition at line 4 of file lengths.h.


#define SL_TEXTHEIGHT   7

Definition at line 7 of file lengths.h.


#define SL_TEXTWIDTH   10

Definition at line 10 of file lengths.h.


#define SL_TOPMARGIN   6

Definition at line 6 of file lengths.h.


#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().