Skip to content

Commit 97ed95c

Browse files
committed
Merge pull request #43 from mgudemann/master
added David Mentré's FIXME macro to templates to facilitate adding comments
2 parents a277e22 + f697e1e commit 97ed95c

File tree

3 files changed

+26
-17
lines changed

3 files changed

+26
-17
lines changed

openETCS_LateX_templates/sample_article.tex

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
\documentclass{template/openetcs_article}
22
% Use the option "nocc" if the document is not licensed under Creative Commons
3-
%\documentclass[nocc]{template/openetcs_article}
3+
%\documentclass[nocc]{template/openetcs_article}
44
\usepackage{lipsum,url}
55
\graphicspath{{./template/}{.}{./images/}}
66
\begin{document}
@@ -34,8 +34,8 @@
3434
Les Portes de l’Arbois, Bâtiment A \\
3535
1090 rue René Descartes \\
3636
13857 Aix-en-Provence Cedex 3, France}
37-
38-
37+
38+
3939
% define the coverart
4040
\coverart[width=350pt]{chart}
4141

@@ -81,6 +81,8 @@ \subsubsection{Name of subsubsection}
8181
white
8282
space, even if there are \emph{many} spaces inbetween.
8383

84+
\FIXME{this is a comment}
85+
8486
A new paragraph begins after an empty line.
8587

8688
\begin{itemize}

openETCS_LateX_templates/template/openetcs_article.cls

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33

44

55

6-
%% For openETCS ITEA2 Project
6+
%% For openETCS ITEA2 Project
7+
78

89

910
%
1011
\NeedsTeXFormat{LaTeX2e}
1112
\ProvidesClass{openetcs}
1213
[2012/10/11 v0.1 Typesetting Technical Information Article of
1314
openETCS project ]
15+
%% David Mentres FIXME macro
16+
\newcommand{\FIXME}[1]{\marginpar{FIXME}\textsf{FIXME: #1}}
1417
\newcommand{\IsLicensedUnderCC}[1]{#1}
1518
\DeclareOption{nocc}{\renewcommand{\IsLicensedUnderCC}[1]{ }}
1619
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
@@ -194,8 +197,8 @@ openETCS project ]
194197
\parsep16\p@ \topsep\z@
195198
\let\fullwidthdisplay\relax
196199
}%
197-
\item[\hskip\labelsep\bfseries Abstract:]%
198-
}{%
200+
\item[\hskip\labelsep\bfseries Abstract:]%
201+
}{%
199202
\endlist\egroup}
200203
\long\def\disclaimer#1{\long\gdef\@disclaimer{#1}}
201204
\disclaimer{

openETCS_LateX_templates/template/openetcs_report.cls

+15-11
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
%% A LaTeX class based on:
33

44
%% LaTeX Style For Technical Information Reports of the
5-
%% Engineer Research and Development Center
6-
%% US Army Corps of Engineers
7-
%% 2009/07/22 v1.1
5+
%% Engineer Research and Development Center
6+
%% US Army Corps of Engineers
7+
%% 2009/07/22 v1.1
88
%% Copyright 2008, Boris Veytsman
99
%% This work may be distributed and/or modified under the
1010
%% conditions of the LaTeX Project Public License, either
11-
%% version 1.3 of this license or (at your option) any
11+
%% version 1.3 of this license or (at your option) any
1212
%% later version.
1313

1414
%% For openETCS ITEA2 Project (To Do: Verify consistency with cc-by-sa
@@ -22,17 +22,17 @@
2222
%% The original source files were:
2323
%%
2424
%% erdc.dtx (with options: `class')
25-
%%
25+
%%
2626
%% IMPORTANT NOTICE:
27-
%%
27+
%%
2828
%% For the copyright see the source file.
29-
%%
29+
%%
3030
%% Any modified versions of this file must be renamed
3131
%% with new filenames distinct from erdc.cls.
32-
%%
32+
%%
3333
%% For distribution of the original source see the terms
3434
%% for copying and modification in the file erdc.dtx.
35-
%%
35+
%%
3636
%% This generated file may be distributed as long as the
3737
%% original source files, as listed above, are part of the
3838
%% same distribution. (The sources need not necessarily be
@@ -52,6 +52,7 @@
5252
%% Right bracket \] Circumflex \^ Underscore \_
5353
%% Grave accent \` Left brace \{ Vertical bar \|
5454
%% Right brace \} Tilde \~}
55+
5556
\NeedsTeXFormat{LaTeX2e}
5657
\ProvidesClass{openetcs}
5758
[2012/08/03 v0.1 Typesetting Technical Information Reports of
@@ -64,6 +65,9 @@ openETCS project based on ERDC class v1.1]
6465
% \DeclareOption{10pt}{\erdc@size@warning{\CurrentOption}}%
6566
% \DeclareOption{11pt}{\erdc@size@warning{\CurrentOption}}%
6667
% \DeclareOption{12pt}{\erdc@size@warning{\CurrentOption}}%
68+
69+
%% David Mentres FIXME macro
70+
\newcommand{\FIXME}[1]{\marginpar{FIXME}\textsf{FIXME: #1}}
6771
\newcommand{\IsLicensedUnderCC}[1]{#1}
6872
\DeclareOption{nocc}{\renewcommand{\IsLicensedUnderCC}[1]{ }}
6973
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
@@ -250,8 +254,8 @@ openETCS project based on ERDC class v1.1]
250254
\parsep16\p@ \topsep\z@
251255
\let\fullwidthdisplay\relax
252256
}%
253-
\item[\hskip\labelsep\bfseries Abstract:]%
254-
}{%
257+
\item[\hskip\labelsep\bfseries Abstract:]%
258+
}{%
255259
\endlist\egroup}
256260
\long\def\disclaimer#1{\long\gdef\@disclaimer{#1}}
257261
\disclaimer{

0 commit comments

Comments
 (0)