Giter Site home page Giter Site logo

asu-dissertation-template's People

Contributors

garensidonius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

asu-dissertation-template's Issues

Pandoc error, unexpected "%"

I'm trying to compile with pandoc and I get the following error:

$ pandoc -s dissertation_template_latex_sample.tex -o dissertation_template_latex_sample.text
pandoc:
Error at "source" (line 17, column 41):
unexpected "%"
expecting "[", lf new-line, "{" or "\\"
               \pointsize]              % Uses the font size defined above
                                        ^
CallStack (from HasCallStack):
  error, called at src/Text/Pandoc/Error.hs:66:13 in pandoc-1.19.2.1-J1nmFBg9ln971v0RrPbKLJ:Text.Pandoc.Error

I get the same error if I try to output to pdf rather than markdown.

Add tests for PDF output

This blog post describes an applicable workflow for testing generated PDFs using pytest and PyMuPDF. Consider two types of tests: tests for the specific characteristics of the sample PDF and general tests that enforce ASU style guidelines. The latter might become a general tool for students to check their PDFs before submitting them for format review.

Update Docker image

It looks like the Docker image uses a fairly old version of Ubuntu. Create a new Dockerfile that is more up to date.

Adding caption to any figure breaks all references

First off, thank you for creating this template it has been fantastic for getting my dissertation written.

It was working great until I started adding figures to my document. If I add a figure with a caption, the whole document either fails to compile or it compiles with no bibliography and all references are shown by their bibTeX reference name rather than as formatted citations.

Here is the figure I am trying to add:

\begin{figure}
\begin{center}
    \includegraphics[width=0.5\textwidth]{src/reality/figures1/oxdna_annot.png}
    %\caption{text here}
    \label{fig_oxDNA}
\end{center}
\end{figure}

which works fine if I comment out the caption, however if I include the caption, suddenly when compiling it alternates between failing to compile and compiling with no references. Please advise, thank you!

`check.sh` fails on stock `dissertation_template_latex_sample.pdf`

Problem Summary

After following the instructions in the README to create the sample PDF, running check.sh fails all but one test.

Expected Behavior

The sample workflow passes all tests.

Steps to Reproduce

  1. Download the code (clone or zip)
  2. Make all the scripts executable
    chmod +x build.sh
    chmod +x latexmk.sh
    chmod +x check.sh
    
  3. Build the sample PDF following the README instructions
    ./build.sh
    ./latexmk.sh -f -cd -interaction=batchmode -pdf -xelatex dissertation_template_latex_sample.tex
    
  4. Attempt to check the built PDF
    ./check.sh dissertation_template_latex_sample.pdf
    
  5. See the error messages
    ============================= test session starts ==============================
    platform linux -- Python 3.11.1, pytest-7.2.1, pluggy-1.0.0 -- /usr/local/bin/python
    cachedir: .pytest_cache
    rootdir: /usr/src/app, configfile: pytest.ini, testpaths: pdfcheck/tests
    collecting ... collected 14 items
    
    pdfcheck/tests/basic.py::test_annotations[pdf0] PASSED
    pdfcheck/tests/font.py::test_font[pdf0] FAILED
    pdfcheck/tests/margins.py::test_paper_size[pdf0] FAILED
    pdfcheck/tests/margins.py::test_margins[pdf0] FAILED
    pdfcheck/tests/title_page.py::test_title[pdf0] ERROR
    pdfcheck/tests/title_page.py::test_by[pdf0] ERROR
    pdfcheck/tests/title_page.py::test_author[pdf0] ERROR
    pdfcheck/tests/title_page.py::test_description[pdf0] ERROR
    pdfcheck/tests/title_page.py::test_approval_by[pdf0] ERROR
    pdfcheck/tests/title_page.py::test_committee[pdf0] ERROR
    pdfcheck/tests/title_page.py::test_university[pdf0] ERROR
    pdfcheck/tests/title_page.py::test_date[pdf0] ERROR
    pdfcheck/tests/title_page.py::test_horizontal_alignment[pdf0] ERROR
    pdfcheck/tests/title_page.py::test_vertical_alignment[pdf0] ERROR
    
    ==================================== ERRORS ====================================
    ______________________ ERROR at setup of test_title[pdf0] ______________________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    _______________________ ERROR at setup of test_by[pdf0] ________________________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    _____________________ ERROR at setup of test_author[pdf0] ______________________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    ___________________ ERROR at setup of test_description[pdf0] ___________________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    ___________________ ERROR at setup of test_approval_by[pdf0] ___________________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    ____________________ ERROR at setup of test_committee[pdf0] ____________________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    ___________________ ERROR at setup of test_university[pdf0] ____________________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    ______________________ ERROR at setup of test_date[pdf0] _______________________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    ______________ ERROR at setup of test_horizontal_alignment[pdf0] _______________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    _______________ ERROR at setup of test_vertical_alignment[pdf0] ________________
    E   AttributeError: 'Document' object has no attribute 'loadPage'
    =================================== FAILURES ===================================
    /usr/src/app/pdfcheck/core.py:197: AttributeError: 'Page' object has no attribute 'getTextPage'
    /usr/src/app/pdfcheck/tests/margins.py:71: AttributeError: 'Page' object has no attribute 'CropBox'
    /usr/src/app/pdfcheck/core.py:174: AttributeError: 'Page' object has no attribute 'CropBox'
    ==================== 3 failed, 1 passed, 10 errors in 0.13s ====================
    

Other Comments

As a Python developer, it looks like the error messages indicate a version mismatch for some dependencies (i.e. the code expects a library of version X.X.X but version Y.Y.Y is installed). I have not taken a closer look at the Docker containers or the Python code used to power these checks to verify this hunch.

numbering figures and tables per chapter

Hi @GarenSidonius ,

Thanks for working on the latex project. In the default setting, figures and tables are numbered continuously throughout the dissertation, in TOC and chapters. How can I change the numbering to per-chapter style?

E.g.,

LIST OF FIGURES
Figure                               page
Figure 1.1 caption1 .................. 1
Figure 1.2 caption2 .................. 2
...

I have tried the following, but it did not work.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Tables and figures
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\captiondelim{. }                       %~Use period (.) after caption number instead of
                                        %   colon (:). Change according to style guide.
\captionstyle[\raggedright]%            % Set justifcation for [one line captions]
  {\raggedright}                        %   and {multiple line captions}
\setlength{\belowcaptionskip}{0pt}      % Bring caption down closer to figure/table
\makeatletter                           % Consecutive numbering throughout
  \counterwithin{figure}{chapter}      %   (including back matter)
  \counterwithin{table}{chapter}
%  \renewcommand\@memfront@floats{}
%  \renewcommand\@memmain@floats{}
%  \renewcommand\@memback@floats{}
\makeatletter

Thank you very much for helping!

Using Overleaf

Hi,
I am using Overleaf to write my Dissertation at ASU. I wanted to use your template package. But overleaf is showing an error as follows

/usr/share/texlive/texmf-dist/tex/latex/biblatex-chicago/biblatex-chicago.sty: Package biblatex Warning: Since you are using the 'memoir' class, (biblatex) I'm leaving the formatting of the foot- and/or (biblatex) end-note mark and text to you..

AfterEndEnvironment need to be redifined in the back matter

In the back matter, table, figure, quote and quotation environments need to be re-set to use single spacing after the environment. Else, previous definitions will force the back matter into double spacing if, for example, a figure is placed inside the appendix.

Space after period in long LOT and LOF

When you have a long LOT and LOF with 10 or more entries, the current setting will leave no gap between the period and the list/figure caption. I use 1.5\cftchapternumwidth and it seems to work well.

\setlength{\cftfigurenumwidth}%         % Figure has the same 'level' as 'chapter' in the
  {1.5\cftchapternumwidth}              %   figure list, so make the number spacing the
                                        %   same as for chapters
\setlength{\cfttablenumwidth}%          % Table has the same 'level' as 'chapter' in the
  {1.5\cftchapternumwidth}              %   table list, so make the number spacing the
                                        %   same as for chapters

fix: First build requires `-f` option

The README.md states the following:

(Don't use the -f option all the time; it seems to be necessary to get the first run to complete successfully at the moment.)

The issue appears to be the use of \tottab and \totfig which are only defined on the second and subsequent runs of latexmk. This undesirable behavior is discussed on a TeX StackExchange question where the accepted answer uses a substantially similar block of code for counting tables/figures.

A later answer recommends the use of the newer totalcount package which counts the tables/figures as expected on the first pass of latexmk.

Here are the key commands from the totalcount documentation:

\usepackage[figure,table,xspace]{totalcount}

% The following commands are added to the project
\totalfigures  % The number of figures in the document
\totaltables % The number of tables in the document

\iftotalfigures
  % Macros placed here only execute if there is at least one
  % figure in the document
\fi

\iftotaltables
  % Macros placed here only execute if there is at least one
  % table in the document
\fi

Replacing \totfig and \tottab with their totalcount counterparts in my local copy of the dissertation template has enabled latexmk to compile the document in a clean workspace without the need for the -f option.

Unnecessary extra spacing between paragraphs due to figures.

First off, a huge thank you for putting this together. Would have been a lot of effort in an already stressful season to put something even half as good together myself.

I'm running into a small issue with paragraph spacing. Suppose we have the following:

First paragraph of text, lorem ipsum...

\begin{figure}
    \centering
    \includegraphics{...}
    \caption{...}
    \label{...}
\end{figure}

Second paragraph of text, lorem ipsum...

There are two cases. If LaTeX puts the figure "here" (i.e., what you'd get with the [h] float hint), then everything works well. But if LaTeX puts the figure elsewhere (e.g., at the top of the page or on the next page), the first and second paragraph will be separated by whitespace that is larger than double-spaced text but smaller than \baselineskip. In my mind, correct behavior for the second case should be a simple continuation of double-spaced text. Is there a way to enforce this?

Adding theorem and definition commands

A feature that would be really useful would be to add theorems/definitions to the main file:

\usepackage{amsthm} % for theorem
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}

Compilation fails when there are no figures or no tables in the document

I get this error when building with XeLaTeX (MacTeX 2020) after deleting the sample chapters and starting my own:

Package calculator Warning: The value of the variable
(calculator)                in the logarithm function must be positive
(calculator)                I can't define log(0) on input line 1094.

! Undefined control sequence.
<argument> \cctr@logx 
                      
l.1094 \listoffigures

If I put a figure somewhere in the dissertation, it compiles fine. I get a similar error if there are no tables. I think the culprit is the algorithm that calculates the number of digits in the figure count - when there are no figures, \totfig and \tottables are 0, and the code tries to take Log10(0).

Using glossaries package for lists of symbols, abbreviations, and etc.

I am trying to use glossaries package to create list of symbols and abbreviations.

This sample codes work and produce a PDF output with correct ToC and hyperref links.

\documentclass{memoir}

\title{A La\TeX Article}
\author{Your name here}
\date{\today}

\usepackage{hyperref}
\usepackage[acronym,toc]{glossaries}

% abbreviations:
\newacronym{ny}{NY}{New York}
\newacronym{la}{LA}{Los Angeles}
\newacronym{un}{UN}{United Nations}

% nomenclature:
\newglossaryentry{angelsperarea}{
  name = $a$ ,
  description = The number of angels per unit area,
}
\newglossaryentry{numofangels}{
  name = $N$ ,
  description = The number of angels per needle point
}
\newglossaryentry{areaofneedle}{
  name = $A$ ,
  description = The area of the needle point
}

\makeglossaries

\begin{document}
    \frontmatter

    \maketitle

    \clearpage
    \tableofcontents

    \printglossary[type=\acronymtype,title=Abbreviations]

    \printglossary[title=Symbols]

    \mainmatter

    \chapter{Introduction}
    \gls{ny}, \gls{la} and \gls{un} are abbreviations whereas
    \gls{angelsperarea} is part of the symbols

    \chapter{Next}
    \gls{angelsperarea}, \gls{numofangels} and \gls{areaofneedle} are symbols
\end{document}

When similar codes are used in the template, the output has a correct ToC, but the hyperref links from the Abbreviations or Symbols to their apperances in the main text do not account for pages with roman page numbers - i.e., they link to the actual PDF pages. However, contents in the main text do correctly link back to the lists. Do you have a clue what in the template is conflicting this use?

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Glossaries
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Undo the wrong changes made by mathspec
% See https://tex.stackexchange.com/questions/85696/
\makeatletter
\let\RequirePackage\original@RequirePackage
\let\usepackage\RequirePackage
\makeatother

\usepackage[acronym,toc]{glossaries}

% abbreviations:
\newacronym{ny}{NY}{New York}
\newacronym{la}{LA}{Los Angeles}
\newacronym{un}{UN}{United Nations}

% nomenclature:
\newglossaryentry{angelsperarea}{
  name = $a$ ,
  description = The number of angels per unit area,
}
\newglossaryentry{numofangels}{
  name = $N$ ,
  description = The number of angels per needle point
}
\newglossaryentry{areaofneedle}{
  name = $A$ ,
  description = The area of the needle point
}

\makeglossaries

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{This is a chapter-level heading}

\lipsum[1]

\section{Links to Glossaries}
    \gls{ny}, \gls{la} and \gls{un} are abbreviations whereas
    \gls{angelsperarea}, \gls{numofangels} and \gls{areaofneedle} are symbols

Template puts page number in wrong place

Hi,

I recently submitted my dissertation to the formatting committee but they will not accept it because the template is putting the page numbers in the wrong place. The bottom of the page number is supposed to be on the 1" from bottom gridline, however the template puts it the top of the page number on the grid line.

image

I have tried changing the \setulmargin and \textblockheight in this block, but the bottom margin either ends up being way too large with the number above the line or under the line as shown in my screenshot.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Page layout
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\settrimmedsize{\stockheight}%          % Specifies \paperheight and \paperwidth
  {\stockwidth}{*}
\settrims{0pt}{0pt}                     % Set location of page in relation to the stock.
                                        % Paper and stock size are equivalent,
                                        % so both \trimtop and \trimedge are set to 0pt
\newlength{\forfootskip}
\setlength{\forfootskip}%
  {3\baselineskip}
\newlength{\textblockheight}            % Calculate height of text block to leave room
\setlength{\textblockheight}{9.0in}     %   for footers, keeping page numbers outside
\addtolength{\textblockheight}%         %   the 1in vertical margins
  {-\forfootskip}
\settypeblocksize{\textblockheight}%    % Calculated by 1.0in vertical margins and
  {*}{*}                                %   letting margins set the width of the typeblock
\setulmargins{1.0in}{*}{*}              % Set upper margin (\uppermargin, not \topmargin);
                                        %   calculate the bottom margin
\setlrmarginsandblock{1.25in}{1.25in}{*}%~Set margins and calculate width of typeblock
\setheaderspaces{*}{0.5\baselineskip}{*}% Arguments: '\headdrop', '\headsep', and/or ratio
                                        %   Note: This is only used in the list of
                                        %   contents sections
\setheadfoot{\baselineskip}%            % Set '\headheight' and '\footskip'
  {\forfootskip}
\checkandfixthelayout                   % Required by memoir package after setting layout
\settypeoutlayoutunit{in}               % Write layout dimensions to log file in inches

Add PDF markup during PDF tests

As a follow up to #21, add an option to mark up the PDF (or mark up a copy of the PDF) to show information about checks (e.g., highlight characters that are too large, point to margins that are the wrong size, etc.).

Line spacing before quote, quotation, table, and figuure environments

The line spacing setting

\BeforeBeginEnvironment{environment}{\SingleSpacing}

will also set the line spacing of a paragraph that appears before that environment to single spacing if there is no empty line between the paragraph and the environment.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor 
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis 
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. 
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu 
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in 
culpa qui officia deserunt mollit anim id est laborum.
\begin{quote}
    On the other hand, we denounce with righteous indignation and dislike men 
    who are so beguiled and demoralized by the charms of pleasure of the moment, 
    so blinded by desire, that they cannot foresee the pain and trouble that are 
    bound to ensue; and equal blame belongs to those who fail in their duty through 
    weakness of will, which is the same as saying through shrinking from toil 
    and pain. 
\end{quote}
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium 
doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore 
veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam 
voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur 
magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, 
qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non 
numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat 
voluptatem.

Screen Shot 2019-04-12 at 11 22 42 AM

I think this can be fixed by using

\BeforeBeginEnvironment{quote}{\begin{SingleSpace}}               
\AfterEndEnvironment{quote}{\end{SingleSpace}}

instead of

\BeforeBeginEnvironment{quote}{\SingleSpacing}                     
\AfterEndEnvironment{quote}{\vspace{-\baselineskip}\DoubleSpacing}

You will probably want adjust the spacing between the paragraph and the environment block by putting \vspace{} before \begin{SingleSpace} too.
Screen Shot 2019-04-12 at 11 35 15 AM

Biographical sketch should appear as chapter-level heading in the ToC

A biographical sketch should appear as a chapter-level heading in the ToC per ASU formatting team. I got this to work by inserting a biographical sketch with a * option and manually adding a heading to the ToC.

\chapter*{Biographical Sketch}          %~Biographical Sketch is optional
\input{biography}                       %<Enter the name of the .tex file containing your
                                        %   biography or omit this line and type in
                                        %   your biography here (1 paragraph)

\phantomsection                         % Need for hyperref 
\addcontentsline{toc}{chapter}{%        % Add a chapter-level heading for 
  \hspace{-\cftchapterindent}%          %  a biographical sketch to the ToC
  Biographical Sketch%
}

However, a user will also have to comment/uncomment parts of the codes that do the mannual ToC heading insertion.

Is there a better way to implement this? Perhaps, forcing the heading to be added to chapter-level before inserting a biography with \chapter{}?

Does this template comply to ASU style specifications about TOC headings? and PDF example to view?

Hi Garen,

This looks awesome. I am struggling away with the older ASU dissertation template. Particularly I am having trouble getting the headings of TOC correct as specified by the the style guide, and the upper margin of TOC correct too.

I wonder where I can see an example pdf in order to check if your template would solve my problems?

I am using the older template and it could take me about a day to re-apply your code.

https://github.com/russelljjarvis/DataDrivenOptimizationASU

Request for comment: Feedback on this template

I've been getting a lot more email questions and traffic on this template recently, so it might be the case that it's becoming more popular. I'm not sure, but I would like to check with people who have used or are using the template: What is your feedback?

I occasionally get feature requests for specific updates, but here, I'm more interested in getting general feedback about the template. Are there general features that are missing? (I'm thinking of things like adding a pandoc template, integrating with R bookdown, etc.)

The goal of this project is to make thesis/dissertation formatting as easy as possible for grad students, so that's the guiding principle for this work.

Other Lists and Preface must be placed between List of Figures and the undoing of the chapter indent

Per ASU formatting guideline, other lists must immediately follow list of figures. Preface must follow all the lists. They must have roman page numbers and appear in the "CHAPTER" level in the table of contents. To do this you have to place other lists and preface between the list of figure and the undoing of chapter indent in the frontmatter. Please see the attached PDF for the output.

\clearpage
\pagestyle{ASUlof}
\listoffigures                          % List of Figures should appear in TOC, so use
                                        %   unstarred version of \listoffigures

% Other lists and preface go between here -->
\chapter{Definitions}                   %~OTHER LISTS (optional)
\input{definitions}                     %<Enter the name of the .tex file or omit this
                                        %   line and type in here.

\chapter{Preface}                       %~PREFACE (optional, less than 10 pages)
\input{sample_preface}                  %<Enter the name of the .tex file or omit this
                                        %   line and type in here.
                                        % Note: sample_preface contains \lipsum[66]
% <-- and here.

\phantomsection                         % \phantomsection is needed before using
                                        %   \addtocontents when it contains certain macros
                                        %   when also using 'hyperref' package
\addtocontents{toc}%                    % Undo manual override above for chapter indent,
  {\setlength{\cftchapterindent}%       %   so actual chapters in the TOC are indented
    {\levelindentincrement}%            %   correctly
  }

dissertation_template_latex_sample.pdf

Not compiling on Windows, tried miktex, tinytex as well as docker

Hello, I am using this template and it works excellent on Overleaf. However, my thesis has a lots of images because of which the requests time out on Overleaf. Therefore, I have to work in draft mode in which images are rendered as an empty box.

So, for getting a version with images, I need to compile it on my local machine. However, it is not compiling and keeps giving errors. I have tries using MikTex (latest version) and Tinytex using R on windows. But it is not working. Kindly help!

EDIT: Since miktex did not work, I tried Docker and it gave error too. Installed the Docker for first time ever, ran the ./build.sh which led to error
=> ERROR [1/3] FROM docker.io/blang/latex:ubuntu@sha256:2c32abc3555a01 701.9s
failed to register layer: Error processing tar file(exit status 1): write /usr/s
hare/texmf/fonts/type1/public/tex-gyre/qplr.pfb: read-only file system

image

How to use the template with Miktex and Tex Studio

I have been trying quite a bit to compile this template with TexStudio and Miktex. Have not been able to get to the output yet. It keeps saying xetex.def cannot be found, I spent quite a while to find that package and had to manually add it to miktex. Then it complained about certain math packages and expl3 packages and kernel. Finally when I finished all that, now it has a number of errors. I tried pdflatex, xelatex and latexmk in TexStudio.

Please, I need help compiling this template on some platform. I am willing to zip the current project directory to you so you can have a look. I'm attaching a screenshot of the errors produced.

untitled

FYI: I also tried with TexnicCenter and the same problems are happening.

Adding \emph{} and \ref{} to figure captions

I have the following piece of code

\begin{figure}[b]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\sidecaption[t]
\centering
\includegraphics[width=0.7\textwidth]{images/LorenzAttractor.eps}
\caption{A diagram of the Lorenz attractor. This plot was generated via a 3-D plot in MATLAB. The Lorenz equations were solved using MATLAB \emph{ode45} tool with a step-size of $0.001$ seconds. The simulation was run for 50 seconds. It is worth noting that the picture could be made to look {dense} as a chaotic attractor should be by simply allowing for much more time evolution of the trajectory. For this simulation the values for the parameters were the same as used in figure \ref{fig:SensitiveDependence}.}
\label{fig:LorenzAttractor}
\end{figure}

which generates the following error

./PhDDis_Main.lof:11: Use of \titlecap doesn't match its definition. \new@ifnextchar ...served@d = #1\def \reserved@a { #2}\def \reserved@b {#3}\f... l.11 ...ig:SensitiveDependence}.}}{21}{figure.2.3}

I see that the template does not allow \ref, \emph, \textit, \bf or \sl and the same error message shows up. How can this be fixed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.