summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/multilang/multilang-sect.sty
blob: f4d1a78b5953f2bb9c71f8f11b0f7b3c163d199e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
%%
%% This is file `multilang-sect.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% multilang.dtx  (with options: `pkgsect')
%% 
%% Copyright (C) 2016-2018 by Richard Grewe <r-g+tex@posteo.net>
%% 
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.2 of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.2 or later is part of all distributions of LaTeX version
%% 1999/12/01 or later.
%% 
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{multilang-sect}[2018/11/02 v0.9b Multilingual sectioning environments]




\NewMultilangEnv{Section}{disablable,
  environment=section, oargs=short, margs=title}
\NewMultilangEnv{Section*}{disablable,
  environment=multilang@secstar, oargs=short, margs=title}
\newenvironment{multilang@secstar}{\section*}{}
\NewMultilangEnv{SubSection}{disablable,
  environment=subsection, oargs=short, margs=title}
\NewMultilangEnv{SubSection*}{disablable,
  environment=multilang@ssecstar, oargs=short, margs=title}
\newenvironment{multilang@ssecstar}{\subsection*}{}
\NewMultilangEnv{SubSubSection}{disablable,
  environment=subsubsection, oargs=short, margs=title}
\NewMultilangEnv{SubSubSection*}{disablable,
  environment=multilang@sssecstar, oargs=short, margs=title}
\newenvironment{multilang@sssecstar}{\subsubsection*}{}
\NewMultilangEnv{Paragraph}{disablable,
  environment=paragraph, oargs=short, margs=title}
\NewMultilangEnv{Paragraph*}{disablable,
  environment=multilang@parstar, oargs=short, margs=title}
\newenvironment{multilang@parstar}{\paragraph*}{}
\NewMultilangEnv{SubParagraph}{disablable,
  environment=subparagraph, oargs=short, margs=title}
\NewMultilangEnv{SubParagraph*}{disablable,
  environment=multilang@sparstar, oargs=short, margs=title}
\newenvironment{multilang@sparstar}{\subparagraph*}{}
\endinput
%%
%% End of file `multilang-sect.sty'.