summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d0beb0f)
raw | patch | inline | side by side (parent: d0beb0f)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 13 Jun 2010 21:45:36 +0000 (23:45 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 13 Jun 2010 21:45:36 +0000 (23:45 +0200) |
For this purpose, use \section rather than \section* and set the ‘secnumdepth’
counter to -1 to remove the (sub)section numbers.
counter to -1 to remove the (sub)section numbers.
src/l2l.c | patch | blob | history | |
src/l2l_scanner.l | patch | blob | history |
diff --git a/src/l2l.c b/src/l2l.c
index 963ec57c4935a62c3881a45b82cbc9edf4d1b8ea..499ed7f039d91e5866e99c132862e4d5773d8698 100644 (file)
--- a/src/l2l.c
+++ b/src/l2l.c
"\\setlength{\\parskip}{6pt}\n"
"\n"
"\\renewcommand{\\captionfont}{\\footnotesize}\n"
+"\\setcounter{secnumdepth}{-1}\n"
"\n"
"\\renewcommand{\\headrulewidth}{0.4pt}\n"
"\\renewcommand{\\footrulewidth}{0pt}\n"
diff --git a/src/l2l_scanner.l b/src/l2l_scanner.l
index cf7000c567cf1bdc2925b8a136fe2d53f89937fc..3cf3c8ed0c6157011d7fc5b9acb809ea29480672 100644 (file)
--- a/src/l2l_scanner.l
+++ b/src/l2l_scanner.l
fprintf(yyout, "\\begin{abstract}\n%s\n"
"\\end{abstract}\n\n", l2l_abstract.data);
+ fprintf(yyout, "\\vspace{10mm}\\tableofcontents\n\n");
fprintf(yyout, "\\twocolumn\n\n");
}
<itemize>. ECHO;
@ZT:{WHITESPACE}* {
- fprintf(yyout, "\\subsection*{");
+ fprintf(yyout, "\\subsection{");
BEGIN(command);
}