• No results found

The outlining package

N/A
N/A
Protected

Academic year: 2021

Share "The outlining package"

Copied!
2
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

The outlining package

Dimitri Block

dimitriblock@gmail.com

October 24, 2017

1

Introduction

Every scientifc document requires outlining before it is written. The following paragraph shows outline plus final text.

Best-practices outlines

A best-practices are three level outlines.

Document Outline

Best-practices outlines . . . 1

2

Implementation

Some internal macros:

1\newcommand{\@disableOutlining}{} 2\newcommand{\@disableTopics}{} 3\newcommand{\@disableMajors}{} 4\newcommand{\@disableMinors}{} 5\newcommand{\@outlineAtBegin}{} 6\newcommand{\@outlineAtEnd}{} disable Disable all package output

7\DeclareOption{disable}{\renewcommand{\@disableOutlining}{disable}} outlineatbegin Outline at document begin

8\DeclareOption{outlineatbegin}{\renewcommand{\@outlineAtBegin}{\listOutline}} outlineatend Outline at document end

9\DeclareOption{outlineatend}{\renewcommand{\@outlineAtEnd}{\listOutline}}

This document corresponds to outlining v0.1, dated 2017/10/23.

(2)

10\ProcessOptions\relax 11\usepackage[obeyFinal, \@disableOutlining]{todonotes} 12\newcounter{majornum} 13\newcounter{minornum} 14\AtBeginDocument{\@outlineAtBegin} 15\AtEndDocument{\@outlineAtEnd}

\outlineTopics Activate topics and deactive major and minor points

16\newcommand{\outlineTopics}{

17\renewcommand{\@disableTopics}{}

18\renewcommand{\@disableMajors}{disable}

19\renewcommand{\@disableMinors}{disable}

20}

\outlineTopicsMajors Activate topic and major points and deactive minor points

21\newcommand{\outlineTopicsMajors}{

22\renewcommand{\@disableTopics}{}

23\renewcommand{\@disableMajors}{}

24\renewcommand{\@disableMinors}{disable}

25}

\outlineTopicsMajorsMinors Activate topics, major and minor points

26\newcommand{\outlineTopicsMajorsMinors}{ 27\renewcommand{\@disableTopics}{} 28\renewcommand{\@disableMajors}{} 29\renewcommand{\@disableMinors}{} 30} \topic Topic 31\newcommand{\topic}[1]

32{\setcounter{majornum}{0}\setcounter{minornum}{0}\todo[color=red!40, size=\footnotesize, inline,\@disableTopics]

33{\textbf{#1}}} \major Major point

34\newcommand{\major}[1]

35{\stepcounter{majornum}\setcounter{minornum}{0}\todo[color=green!10, size=\footnotesize, inline,\@disableMajors]

36{\themajornum \; #1}} \minor Minor point

37\newcommand{\minor}[1]

38{\stepcounter{minornum}\todo[color=gray!10, size=\footnotesize, inline, \@disableMinors]

39{\themajornum.\theminornum \; #1}} \listOutline Outline list

Referenties

GERELATEERDE DOCUMENTEN

He is chairing IFIP Working Group 6.6, “Man- agement of Networks and Distributed Systems,” and is a research leader in the European Network of Excellence on “Management of the

Further analysis incorporating job changes shows that training for job change purpose increases the probability to change jobs, but job changes immediately following

While conditional quantiles of this quantity are identified immediately, the main challenge and the main focus of this paper is to relate them to the distribution of taste

This means that the argument is expanded one level, as by \expandafter, and the expansion is passed to the function as a braced token list.. Note that if the original argument is

Abstract: Keratinocytes are activated to express MHC class II and ICAM-1 molecules durmg cutaneous inflammatory reactions It IS controversial how the mteraction between

A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart.. I am alone, and feel the charm of existence in

short illness or short immobilisation while travellmg Smce the nsk brought about by major surgery and trauma, plaster casts and prolonged immobilisation is sub- stantial, mmor

dependent upon the nature of the material used for balance construction, it has been calculated that, for the dimensions of balance and case encountered