From 658d44371862e73348c0c1fcb952a299e291a77f Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Mon, 8 Jul 2013 19:25:12 +0200 Subject: [PATCH] added better builder than make. also some other little changes. --- basics.tex | 10 +++++++--- build.sh | 4 ++++ out.tex | 5 +++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100755 build.sh create mode 100644 out.tex diff --git a/basics.tex b/basics.tex index 869266b..919474f 100644 --- a/basics.tex +++ b/basics.tex @@ -1,10 +1,10 @@ -\documentclass[10pt,a4paper,twoside,openright,twocolumn]{book} +\documentclass[10pt,a5paper,twoside,openright,twocolumn]{book} \usepackage[absolute]{textpos} \usepackage{hyperref} \usepackage{graphicx} \DeclareGraphicsExtensions{.pdf,.png,.jpg} -\usepackage[columnsep=1cm,lmargin=1cm,rmargin=1cm,tmargin=1.5cm,bmargin=1.5cm,bindingoffset=.75cm]{geometry} +\usepackage[columnsep=.75cm,lmargin=.75cm,rmargin=.75cm,tmargin=1.5cm,bmargin=1.5cm]{geometry} \usepackage[explicit]{titlesec} \newcommand*\Hide{\titleformat{\chapter}[display]{}{}{0pt}{\Huge}\titleformat{\part}{}{}{0pt}{}} @@ -26,7 +26,11 @@ \fancyfoot[LE,RO]{\thepage} \makeatletter -\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{-6ex\@plus -4ex \@minus -2ex}{.1mm}{\normalfont\normalsize\bfseries}} +\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% + {-.75ex \@plus -1ex \@minus -0.2ex}% + {0.01pt}% + {\normalfont\normalsize\bfseries}% +} \makeatother \makeatletter diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..b989798 --- /dev/null +++ b/build.sh @@ -0,0 +1,4 @@ +#!/bin/bash +pdflatex basics.tex +pdflatex out.tex + diff --git a/out.tex b/out.tex new file mode 100644 index 0000000..2cad014 --- /dev/null +++ b/out.tex @@ -0,0 +1,5 @@ +\documentclass[a4paper,landscape]{article} +\usepackage{pdfpages} +\begin{document} + \includepdf[pages=-,nup=2x1,openright]{basics.pdf} +\end{document} -- 2.43.0