浏览代码

faq macros

master
erichhasl 8 年前
父节点
当前提交
88978627e8
共有 2 个文件被更改,包括 41 次插入5 次删除
  1. +14
    -0
      texed/sasbase.cls
  2. +27
    -5
      texed/test.tex

+ 14
- 0
texed/sasbase.cls 查看文件

@@ -221,3 +221,17 @@

% INCREASE HEIGHT OF BRACKETS
\setlength\delimitershortfall{-2pt}

% ---
% FAQ
% ---

\newcommand{\topic}[1]{\subsection{#1}}

% QUESTION ENVIRONMENT
\newenvironment{question}[1]{
\subsubsection{Q: #1}
\noindent\textbf{A:}
}
{
}

+ 27
- 5
texed/test.tex 查看文件

@@ -9,6 +9,8 @@
\datum{23. Mai 1949}
\edition{1}

\setcounter{secnumdepth}{5}

\mytitle


@@ -19,20 +21,40 @@
\subsection{Das erste Gesetz}

\squarestyle
\begin{article}[Hallo]
\begin{article}[Menschenwürde]
\label{blabla}
\item Die Würde des Menschen ist unantastbar. blablabl
blabla
\item toll
\item Demokratie ist toll!
\end{article}

\parensstyle
\begin{article}[Hallo]
\begin{article}[Menschenwürde]
\item Die Würde des Menschen ist unantastbar. blablabl
blabla
\item toll
\item Demokratie ist toll! Das ist Artikel \thearticleno
\end{article}

\lipsum[2]
\section{Politische Bildung}

Das sind die meist gestellten Fragen der letzten Zeit, deswegen
kommen hier die Antworten. Falls ihr mehr Fragen habt, stellt gerne
einen Antrag an den Ausschuss für politische Bildung!
Gestepped wurde in Artikel \ref{stepped}.

\topic{Parlament}

\begin{question}{Wie komme ich ins Parlament?}
\lipsum[3]
\end{question}

\begin{question}{Wie werde ich Präsidentin?}
\lipsum[5]
\end{question}

\begin{question}{Können auch Jungs Präsident werden?}
\end{question}

\subsection{Blabla}



正在加载...
取消
保存