von thests » Mo 28. Mai 2012, 20:13
Hallo,
ich füge mal den Code ein, den ich verwende.
Dieser besteht aus einer Hauptdatei, die eine Datei namens "Beispiel.tex" aufruft.
Ebenfalls habe ich die Fehlerausgabe als txt Datei angehängt.
Tut mir leid wenn es ein wenig mehr Code/Fehlerausgabe ist.
Danke
sts
Hauptdatei:
\documentclass[12pt]{book}
\usepackage[centertags]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{subfigure}
\usepackage{graphicx}
\usepackage{morefloats}
\usepackage{amsthm}
\usepackage{color}
\usepackage{newlfont}
\usepackage{xthesis} %DAL Thesis Style
\usepackage{xtocinc} %Include Table of Contents as the first entry in TOC
\hfuzz2pt % Don't bother to report over-full boxes if over-edge is < 2pt
\newlength{\defbaselineskip}
\setlength{\defbaselineskip}{\baselineskip}
\newcommand{\setlinespacing}[1]%
{\setlength{\baselineskip}{#1 \defbaselineskip}}
\newcommand{\doublespacing}{\setlength{\baselineskip}%
{2.0 \defbaselineskip}}
\newcommand{\singlespacing}{\setlength{\baselineskip}{\defbaselineskip}}
% MATH -------------------------------------------------------------------
\newcommand{\A}{{\cal A}}
\newcommand{\h}{{\cal H}}
\newcommand{\s}{{\cal S}}
\newcommand{\W}{{\cal W}}
\newcommand{\BH}{\mathbf B(\cal H)}
\newcommand{\KH}{\cal K(\cal H)}
\newcommand{\Real}{\mathbb R}
\newcommand{\Complex}{\mathbb C}
\newcommand{\Field}{\mathbb F}
\newcommand{\RPlus}{[0,\infty)}
\newcommand{\norm}[1]{\left\Vert#1\right\Vert}
\newcommand{\essnorm}[1]{\norm{#1}_{\text{\rm\normalshape ess}}}
\newcommand{\abs}[1]{\left\vert#1\right\vert}
\newcommand{\set}[1]{\left\{#1\right\}}
\newcommand{\seq}[1]{\left<#1\right>}
\newcommand{\eps}{\varepsilon}
\newcommand{\To}{\longrightarrow}
\newcommand{\RE}{\operatorname{Re}}
\newcommand{\IM}{\operatorname{Im}}
\newcommand{\Poly}{{\cal{P}}(E)}
\newcommand{\EssD}{{\cal{D}}}
% THEOREMS ---------------------------------------------------------------
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
%
\theoremstyle{definition}
\newtheorem{defn}{Definition}[section]
%
\theoremstyle{remark}
\newtheorem{rem}{Remark}[section]
%
\numberwithin{equation}{section}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\setlength{\tclineskip}{1.05\baselineskip}
\dedicate{To XXX.}
\nolistoftables
\nolistoffigures
\phd
\copyrightyear{2012}
\submitdate{XXX 2012}
\convocation{Month}{Year}
% ------------------------------------------------------------------------
\supervisor{XXXX}
\examiner{YYY}
\firstreader{YYY}
\secondreader{HHH}
% ------------------------------------------------------------------------
\begin{document}
{
\typeout{:?000000000} % Don't bother with over/under-full boxes
\beforepreface
\typeout{:?111111111} % Process All Errors from Here on
}
% ------------------------------------------------------------------------
%\setcounter{page}{1}
%\tableofcontents
% ------------------------------------------------------------------------
{
\typeout{Abstract}
%\include{ABS}
}
% ------------------------------------------------------------------------
{
\typeout{Acknowledgements}
%\include{ACK}
}
% ------------------------------------------------------------------------
\afterpreface
\def\baselinestretch{1}
%Mit der folgenden Zeile kann der Abstand zwischen den Zeilen bestimmt werden.
\setlinespacing{1}%\setlinespacing{1.66}
% ------------------------------------------------------------------------
%\listoftables
%\nolistoffigures
%\listoffigures
{ \typeout{}
\include{Beispiel}
\setlinespacing{1.44}
\end{document}
Aufgerufene Datei (gekürzte Fassung):
\def\baselinestretch{1}
\chapter{Introduction}\label{introduction}
Text vor Grafik
\begin{figure}[ht!]
\centering
\includegraphics[scale=0.7]{operating_cost.eps}
\label{figure_operating_cost_share}
\end{figure}Text nach Grafik
- Dateianhänge
-
- Fehlerausgabe.txt
- (4.48 KiB) 664-mal heruntergeladen
Hallo,
ich füge mal den Code ein, den ich verwende.
Dieser besteht aus einer Hauptdatei, die eine Datei namens "Beispiel.tex" aufruft.
Ebenfalls habe ich die Fehlerausgabe als txt Datei angehängt.
Tut mir leid wenn es ein wenig mehr Code/Fehlerausgabe ist.
Danke
sts
[size=150][b]Hauptdatei:[/b][/size]
[code]
\documentclass[12pt]{book}
\usepackage[centertags]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{subfigure}
\usepackage{graphicx}
\usepackage{morefloats}
\usepackage{amsthm}
\usepackage{color}
\usepackage{newlfont}
\usepackage{xthesis} %DAL Thesis Style
\usepackage{xtocinc} %Include Table of Contents as the first entry in TOC
\hfuzz2pt % Don't bother to report over-full boxes if over-edge is < 2pt
\newlength{\defbaselineskip}
\setlength{\defbaselineskip}{\baselineskip}
\newcommand{\setlinespacing}[1]%
{\setlength{\baselineskip}{#1 \defbaselineskip}}
\newcommand{\doublespacing}{\setlength{\baselineskip}%
{2.0 \defbaselineskip}}
\newcommand{\singlespacing}{\setlength{\baselineskip}{\defbaselineskip}}
% MATH -------------------------------------------------------------------
\newcommand{\A}{{\cal A}}
\newcommand{\h}{{\cal H}}
\newcommand{\s}{{\cal S}}
\newcommand{\W}{{\cal W}}
\newcommand{\BH}{\mathbf B(\cal H)}
\newcommand{\KH}{\cal K(\cal H)}
\newcommand{\Real}{\mathbb R}
\newcommand{\Complex}{\mathbb C}
\newcommand{\Field}{\mathbb F}
\newcommand{\RPlus}{[0,\infty)}
\newcommand{\norm}[1]{\left\Vert#1\right\Vert}
\newcommand{\essnorm}[1]{\norm{#1}_{\text{\rm\normalshape ess}}}
\newcommand{\abs}[1]{\left\vert#1\right\vert}
\newcommand{\set}[1]{\left\{#1\right\}}
\newcommand{\seq}[1]{\left<#1\right>}
\newcommand{\eps}{\varepsilon}
\newcommand{\To}{\longrightarrow}
\newcommand{\RE}{\operatorname{Re}}
\newcommand{\IM}{\operatorname{Im}}
\newcommand{\Poly}{{\cal{P}}(E)}
\newcommand{\EssD}{{\cal{D}}}
% THEOREMS ---------------------------------------------------------------
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
%
\theoremstyle{definition}
\newtheorem{defn}{Definition}[section]
%
\theoremstyle{remark}
\newtheorem{rem}{Remark}[section]
%
\numberwithin{equation}{section}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\setlength{\tclineskip}{1.05\baselineskip}
\dedicate{To XXX.}
\nolistoftables
\nolistoffigures
\phd
\copyrightyear{2012}
\submitdate{XXX 2012}
\convocation{Month}{Year}
% ------------------------------------------------------------------------
\supervisor{XXXX}
\examiner{YYY}
\firstreader{YYY}
\secondreader{HHH}
% ------------------------------------------------------------------------
\begin{document}
{
\typeout{:?000000000} % Don't bother with over/under-full boxes
\beforepreface
\typeout{:?111111111} % Process All Errors from Here on
}
% ------------------------------------------------------------------------
%\setcounter{page}{1}
%\tableofcontents
% ------------------------------------------------------------------------
{
\typeout{Abstract}
%\include{ABS}
}
% ------------------------------------------------------------------------
{
\typeout{Acknowledgements}
%\include{ACK}
}
% ------------------------------------------------------------------------
\afterpreface
\def\baselinestretch{1}
%Mit der folgenden Zeile kann der Abstand zwischen den Zeilen bestimmt werden.
\setlinespacing{1}%\setlinespacing{1.66}
% ------------------------------------------------------------------------
%\listoftables
%\nolistoffigures
%\listoffigures
{ \typeout{}
\include{Beispiel}
\setlinespacing{1.44}
\end{document}
[/code]
[size=150][b]Aufgerufene Datei (gekürzte Fassung):[/b][/size]
[code]
\def\baselinestretch{1}
\chapter{Introduction}\label{introduction}
Text vor Grafik
\begin{figure}[ht!]
\centering
\includegraphics[scale=0.7]{operating_cost.eps}
\label{figure_operating_cost_share}
\end{figure}Text nach Grafik
[/code]