以前のリビジョンの文書です
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/handler.php on line
1458
Warning: Declaration of syntax_plugin_note::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line
79
Warning: Declaration of syntax_plugin_note::render($mode, &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/lib/plugins/note/syntax.php on line
101
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3120 in
/mnt/hep_web/hep_web/member/n-kota/dokuwiki/inc/parser/lexer.php on line
118
A PCRE internal error occured. This might be caused by a faulty plugin
====== 行番号を表示、行間を2倍 ======
==== 行番号を表示させる ====
lineno.sty を使う。
<code tex>
\usepackge[opt]{lineno}
</code>
をはじめに宣言しておく。
opt には
* left : (default) 左側に番号
* right : 右側に番号
など。
番号を付け始めたい所の直前で
<code tex>
\linenombers*
</code>
とすると、次の行から1からカウント。
<code tex>
\linenombers[10]
</code>
とすると、次の行番号が10から始まる。
n行おきに行番号を出力させたいときは、
<code tex>
\modulolinenumbers[n]
</code>
ページごとの行番号にしたいときは
<code tex>
\pagewiselinenumbers
</code>
==== 行間を2倍にする ====
<code tex>
\renewcommand{\baselinestretch}{2}
</code>