| 1 |
%% |
| 2 |
%% This is file `linegoal.drv', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% linegoal.dtx (with options: `driver') |
| 8 |
%% |
| 9 |
%% This is a generated file. |
| 10 |
%% |
| 11 |
%% linegoal : 2011/02/25 v2.9 - linegoal : a new dimen corresponding to the remainder of the line |
| 12 |
%% |
| 13 |
%% This work may be distributed and/or modified under the |
| 14 |
%% conditions of the LaTeX Project Public License, either |
| 15 |
%% version 1.3 of this license or (at your option) any later |
| 16 |
%% version. The latest version of this license is in |
| 17 |
%% http://www.latex-project.org/lppl.txt |
| 18 |
%% |
| 19 |
%% This work consists of the main source file linegoal.dtx |
| 20 |
%% and the derived files |
| 21 |
%% linegoal.sty, linegoal.pdf, linegoal.ins |
| 22 |
%% |
| 23 |
%% linegoal : linegoal : a new dimen corresponding to the remainder of the line |
| 24 |
%% Copyright (C) 2010 by Florent Chervet <[email protected]> |
| 25 |
%% |
| 26 |
\let\microtypeYN=y |
| 27 |
\edef\thisfile{\jobname} |
| 28 |
\def\thisinfo{Measuring the remaining width of the line} |
| 29 |
\def\thisdate{2011/02/25} |
| 30 |
\def\thisversion{2.9} |
| 31 |
\def\CTANbaseurl{http://www.ctan.org/tex-archive/} |
| 32 |
\def\CTANhref#1#2{\href{\CTANbaseurl/help/Catalogue/entries/#1.html}{\nolinkurl{CTAN:help/Catalogue/entries/#1.html}}} |
| 33 |
\let\loadclass\LoadClass |
| 34 |
\def\LoadClass#1{\loadclass[abstracton]{scrartcl}\let\scrmaketitle\maketitle\AtEndOfClass{\let\maketitle\scrmaketitle}} |
| 35 |
\PassOptionsToPackage{svgnames}{xcolor} |
| 36 |
{\makeatletter{\endlinechar`\^^J\obeyspaces |
| 37 |
\gdef\ErrorUpdate#1=#2,{\@ifpackagelater{#1}{#2}{}{\let\CheckDate\errmessage\toks@\expandafter{\the\toks@ |
| 38 |
\thisfile-documentation: updates required ! |
| 39 |
package #1 must be later than #2 |
| 40 |
to compile this documentation.}}}}% |
| 41 |
\gdef\CheckDate#1{{\let\CheckDate\relax\toks@{}\@for\x:=\thisfile=\thisdate,#1\do{\expandafter\ErrorUpdate\x,}\CheckDate\expandafter{\the\toks@}}}} |
| 42 |
\AtBeginDocument{\CheckDate{interfaces=2011/02/12,tabu=2011/02/25}} |
| 43 |
\documentclass[a4paper,oneside,american,latin1,T1]{ltxdoc} |
| 44 |
\AtBeginDocument{\DeleteShortVerb{\|}} |
| 45 |
\usepackage[latin1]{inputenc} |
| 46 |
\usepackage[T1]{fontenc} |
| 47 |
\usepackage{hologo} % bug: must be loaded before graphicx... |
| 48 |
\usepackage{ltxnew,etoolbox,geometry,graphicx,xcolor,needspace,ragged2e} % general tools |
| 49 |
\usepackage{lmodern,bbding,hologo,relsize,moresize,manfnt,pifont,upgreek} % fonts |
| 50 |
\usepackage[official]{eurosym} % font |
| 51 |
\ifx y\microtypeYN % |
| 52 |
\usepackage[expansion=all,stretch=20,shrink=60]{microtype}\fi % font (microtype) |
| 53 |
\usepackage{xspace,tocloft,titlesec,fancyhdr,lastpage,enumitem,marginnote} % paragraphs & pages management |
| 54 |
\usepackage{holtxdoc,bookmark,hypbmsec,enumitem-zref} % hyper-links |
| 55 |
\usepackage{array,delarray,longtable,colortbl,multirow,makecell,booktabs} % tabulars |
| 56 |
\usepackage{tabularx}\tracingtabularx % tabularx |
| 57 |
\usepackage{txfonts,framed} |
| 58 |
\usepackage{interfaces} |
| 59 |
\usepackage{nccfoots} |
| 60 |
\usepackage[linegoal,delarray]{tabu} |
| 61 |
\CodelineNumbered\lastlinefit999 |
| 62 |
\usepackage{embedfile} |
| 63 |
\usepackage{fancyvrb}\fvset{gobble=1,listparameters={\topsep=0pt}} |
| 64 |
\usepackage{listings} |
| 65 |
\lstset{ |
| 66 |
gobble=1, |
| 67 |
language=[LaTeX]TeX, |
| 68 |
basicstyle=\ttfamily, |
| 69 |
breaklines=true, |
| 70 |
upquote=true, |
| 71 |
backgroundcolor=\color[gray]{0.90}, |
| 72 |
keywordstyle=\color{blue}\bfseries, |
| 73 |
keywordstyle=[2]{\color{ForestGreen}}, |
| 74 |
commentstyle=\ttfamily\color{violet}, |
| 75 |
keywordstyle=[3]{\color{black}\bfseries}, |
| 76 |
keywordstyle=[4]{\color{red}\bfseries}, |
| 77 |
keywordstyle=[5]{\color{blue}\bfseries}, |
| 78 |
keywordstyle=[6]{\color{green}\bfseries}, |
| 79 |
keywordstyle=[7]{\color{yellow}\bfseries}, |
| 80 |
%extendedchars={true}, |
| 81 |
alsoletter={&}, |
| 82 |
morekeywords=[1]{ |
| 83 |
\lstdefinestyle, |
| 84 |
\lstinputlisting,\lstset, |
| 85 |
\color, |
| 86 |
\geometry,\lasthline,\firsthline, |
| 87 |
\cmidrule,\toprule,\bottomrule, |
| 88 |
\everyrow,\tabulinestyle,\tabureset,\savetabu,\usetabu,\preamble, |
| 89 |
\taburulecolor,\taburowcolors}, |
| 90 |
morekeywords=[2]{ |
| 91 |
tabular, |
| 92 |
caption, |
| 93 |
table, |
| 94 |
tabu}, |
| 95 |
morekeywords=[3]{ |
| 96 |
&}, |
| 97 |
morekeywords=[4]{\linegoal}, |
| 98 |
morekeywords=[5]{blue}, |
| 99 |
morekeywords=[6]{green}, |
| 100 |
morekeywords=[7]{yellow}, |
| 101 |
} |
| 102 |
\csname endofdump\endcsname |
| 103 |
\hypersetup{% |
| 104 |
pdftitle={The linegoal package}, |
| 105 |
pdfsubject={A new dimen corresponding to the remainder of the line}, |
| 106 |
pdfauthor={Florent CHERVET}, |
| 107 |
colorlinks,linkcolor=reflink, |
| 108 |
pdfstartview=FitH, |
| 109 |
pdfkeywords={TeX, LaTeX, e-TeX, pdfTeX, package, zref, linegoal}} |
| 110 |
\embedfile{\thisfile.dtx} |
| 111 |
\geometry{top=0pt,headheight=.6cm,includehead,headsep=.6cm,bottom=1.4cm,footskip=.5cm,left=2.5cm,right=1cm} |
| 112 |
\begin{document} |
| 113 |
\DocInput{\thisfile.dtx} |
| 114 |
\end{document} |
| 115 |
\endinput |
| 116 |
%% |
| 117 |
%% End of file `linegoal.drv'. |