Explorar el Código

faq macros

master
erichhasl hace 8 años
padre
commit
88978627e8
Se han modificado 2 ficheros con 41 adiciones y 5 borrados
  1. +14
    -0
      texed/sasbase.cls
  2. +27
    -5
      texed/test.tex

+ 14
- 0
texed/sasbase.cls Ver fichero

@@ -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 Ver fichero

@@ -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}



Cargando…
Cancelar
Guardar