Commit c2eb8642 authored by Caleb Maclennan's avatar Caleb Maclennan

fix optional argument commands

parent 55e33121
......@@ -13,11 +13,12 @@
\usepackage{verse}
\usepackage[hidelinks,pdftex]{hyperref}
\usepackage{lastpage}
\usepackage{scrextend}
% Default formatting values
\setlength{\parindent}{1em}
\setdescription{labelsep=.5em,labelwidth=3.5em,leftmargin=!}
\columnsep 3em
\columnsep 2em
\usepackage[automark,headsepline,footsepline]{scrpage2}
\makeatletter
......@@ -33,13 +34,14 @@
\ifoot{\mydate}
\cfoot{}
\ofoot{\pageref{LastPage} sayfadan \pagemark{} }
\begin{addmargin}{.5em}
\@ifpackageloaded{multicol}{%
\begin{multicols}{3}
}%
}{}
}
\BeforeEndDocument{
\end{addmargin}
\@ifpackageloaded{multicol}{%
\end{multicols}
}%
......@@ -51,9 +53,8 @@
\newunicodechar{}{-}
% Custom commands
\newcommand*\bolum[1]{%
%\section*{\large\textsc{#1}}
\section*{\hspace*{-.5em}\textsc{#1}}
\newcommand*\bolum[2][]{%
\section*{\hspace*{-.5em}\textsc{#2}\ifthenelse{\equal{#1}{}}{}{\ayetref{#1}}}
}
\newcommand*\baslik[1]{%
......@@ -65,9 +66,9 @@
\bolum{\ahit{} Okuma\ayetref{#2}}
}
\newcommand*\vaaz[2]{%
\newcommand*\vaaz[2][]{%
\bolum{Tanrı'nın Kelamı'nın Vaaz Edilmesi}
#
\ifthenelse{\equal{#1}{}}{}{\raggedright{#1}}
\ayetref{#2}
}
......@@ -84,3 +85,6 @@
%\lilypondfile{#1.py}
}
% Variables
\def\mytitle{Rab'bin Günü}
\def\myauthor{İzmir Protestan Kilisesi}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment