I am trying to use a particular template (given in the 2nd link below). Before I apply this to my own Tex file for my paper, I'd like to learn how to actually compile the given template. I am having trouble with the following steps:  1) For file prepared in AMS-LATEX format: Download the class file “AIMS.cls” from the following link and place it to the local folder where your tex file resides. .  Question: The link isn't a download but rather leads to a page with some code. What exactly should I be adding to my folder and how do I do this?  2) For file prepared in AMS-LATEX format: Download the AMS-LATEX template by clicking the following link and use it as a template to prepare your tex file.   How do I put these two together to compile the corresponding PDF for the given template? I've never done this before. I've tried (using TeXworks) to (i) compile the Template_1.tex file, (ii) insert the .cls code into a blank template and then compile, and (iii) insert the .cls code into the Template_1.tex code (does it matter where I insert the code?).   In each case, I receive an error.   This is pdfTeX, Version 3.14159265-2.6-1.40.16 (MiKTeX 2.9) entering extended mode (C:/Users/Joseph/Desktop/cls.tex LaTeX2e &lt;2015/10/01&gt; patch level 2 Babel &lt;3.9m&gt; and hyphenation patterns for 69 languages loaded.  LaTeX Warning: You have requested package `',                but the package provides `dcds'.  ! Use of \@ doesn't match its definition. \@tempa#1#2\@nil-&gt;\edef \@classname{#1}  l.14 \expandafter\@tempa\@currnamestack{}{}{}\@nil  ? "    I see that part of the problem is that I should not use class AMS article nor \amsart but use class \dcds, so how should I make this change in the template? Is it as simple as replacing every occurrence of "amsart" with "dcds"?
77537
I'm trying to download a document class from a university, and would like to use this for my thesis. However I'm very new to all of this, and so really have little clue on where to start.  The document class package is located below, I've downloaded the 'ecsdocs.zip' file under the 'installation' heading:   When unzipped, I am able to extract 5 folders, but can't seem to find my the right local texmf directory to place them in.  I have previously placed the files in usr>local>texlive>texmf-local>tex>latex, but can't seem to find the document class after a lyx reconfigure. Is this even the right folder to place the files in? And once placed into the correct folder, what would be the next steps? Would very much appreciate some detailed guidance.   Thanks.
19175
Edited to include complete code, as suggested:  Here is what the preamble of my main file looks like:  \documentclass[12pt]{report} \usepackage{epsfig} \usepackage{upmathgrad2}   \usepackage{UPnotations} \usepackage{amssymb, graphicx, amsmath, amsthm} \RequirePackage{graphicx} \RequirePackage{hyperref} \theoremstyle{definition} \newtheorem{thm}{Theorem}[chapter] \newtheorem{defn}[thm]{Definition} \newtheorem{lem}{Lemma}[thm] \newtheorem{cor}{Corollary}[thm] \newtheorem{prop}{Proposition}[thm] \newtheorem{rem}{Remark}[thm] \newtheorem{ill}{Illustration}[thm]   I've been trying to tinker on ways to change the above code however I still get the following numbering:  Chapter 1 1.1 Section A Definition 1.0.1 Theorem 1.0.2 Theorem 1.0.3   The definitions, theorems, lemmas, etc. are numbered continuously as I wanted. However, I wanted to get rid of the 0's. How do I do this?  I tried to use the suggestions in this  however things just got worse.   For example, when I tried:  \newcounter{dummy} \numberwithin{dummy}{section} \newtheorem{defn}{Definition}[dummy] \newtheorem{thm}{Theorem}[dummy]   I got Definition 1.1.0.1 instead.
36216
For example I want to use \iint from ams package  and also mathabx package in one file together. Actually I want a command that neutralizes ams package effect and replace it with mathabx package effect from here on in my file. Thanks for your responsibility.  This is my example minimal file:  \documentclass[12pt,a4paper]{report} \usepackage{amsmath}  \usepackage{mathabx}  \begin{document} i want this one in ams style:        \[ \iiint\,\iiint\, \iiint\,\oint\, \] text text text text text text text text text text text text   and this one in mathabx style:   \[ \iiint\,\iiint\, \iiint\,\oint\, \]   but both of them are the same and i don't like it ..... \end{document}
123746
I have a problem compiling the following document.  First, I have a file macros.sty that consists of :  \newcommand{\test}{ \xymatrix@R=0mm{x} }   Then, I have an auxiliary file out.aux that consists of :  \test   Finally, the main file is :  \documentclass{article} \usepackage[all]{xy} \usepackage{macros} \begin{document} \input{out.aux} \end{document}   The error message is :  ./out.aux:1: Undefined control sequence. \xymatrix@R -&gt;\Addop@@                     \xymatrixrowsep@ \dimen@ii    Note that if you remove the R=0mm, the problem no longer holds.  Is that a bug ?  It is very strange because I remember to have already used a command similar to \test in an input file without any problem.  Does it come from my distribution ?  Thank you :)
12574
I'm new to LaTeX and have been trying to get my document to use a specified .bst bibliography style file, but to no avail. I downloaded my preferred .bst file (amnat.bst) from  into the same folder as my document. I've fruitlessly tried various combinations to try to get it to work (including \bibliographystyle{amnat}). I'm not sure if it's a matter of different libraries clashing or what, but I'm incredibly frustrated. I've also tried just setting the bibstyle to equal plain and it still doesn't work (also \bibliographystyle{plain}).  When I run:  pdflatex myTexDocument   I get the error message:   !Package biblatex Error: Style 'amnat' not found.   Also,   \RequireBibliographyStyle{\blx@bbxfile}   And (after pressing the Return key):   !Package biblatex Error: No driver found.   When I run the document without the extra bibstyle=amnat parameter for biblatex, I do not run into any errors.  Here is an abridged version of myTexDocument.tex:  \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{csquotes} \usepackage[style=authoryear,sorting=none,natbib=true,bibstyle=amnat]{biblatex} \usepackage[pagebackref=false,hidelinks]{hyperref}  %For cross-referencing papers to biliography \usepackage[pdftex]{graphicx}   %Add images \usepackage{setspace}   %Set line-spacing \usepackage[hmargin=2cm,vmargin=2.25cm]{geometry}   %Set document margins \usepackage{amsmath}    %For mathematic formulas \usepackage{appendix} \usepackage{pdflscape}  %For configuring page orientation \usepackage{varwidth,array,ragged2e}    %To adjust table row heights accordingly \usepackage{multirow} \usepackage{mathptmx}   %Set font so compatible with math font too \usepackage{titlesec}   %For adjusting section headings \usepackage{paralist}   %For lists \addbibresource{../../../../Bibtex/library.bib} %Load bibiliography  \titleformat{\section}[block] {\normalfont\bfseries\large} {}{0em}{}  \titleformat{\subsection}[runin] {\normalfont\itshape} {}{0em}{}[--- ] \titlespacing{\subsection}{0pt}{*2}{0pt}  \newcommand{\HRule}{\rule{\linewidth}{0.5mm}}  \begin{document}     \input{titlePage} %My title page document     \raggedright    %Left Justify document     \setlength{\parindent}{0.6cm}   %Set paragraph indent     \doublespacing     \renewcommand{\abstractname}{Summary}         \begin{abstract}             Blahblah \autocite{Webb2002,Graham2008}         \end{abstract}           \section{Conclusion}         Blah blah     \phantomsection %Create a hyperlink to the References section in Table of Contents     \addcontentsline{toc}{section}{References}     \printbibliography      \input{tables} %This is just a document with tables \end{document}
51326
I recently (2 days back) started using LaTeX, I use Sublime Text 2 (ST2) for most of the programming. I found that ST2 has LaTeX package. So what I am doing is write the document with ST2 and run it with TeXWorks to see any errors/debugging. Is there a way I can run/debug the tex file directly from ST2? Is there any better practice than what I am doing currently?
96638
I'm new to LaTeX and I'm trying to figure out how to correctly format a proof. Can someone show me a basic template for how to do this?   The part I am having the most trouble with is creating new columns and customizing alignment... for instance, how do I add a right-aligned annotation (i.e. by distributive property) to a line of this sample proof? Should I use eqnarray* or is there a better option?  \begin{proof}   Let $t,u \in \mathbb{R}$ where $t=xy$ and $u=zw$. So,   \begin{eqnarray*}     4xyzw &amp;=&amp; 2\cdot2tu \\     &amp;\le&amp; 2\cdot(t^2+u^2) \\     &amp;=&amp; 2\cdot((xy)^2+(zw)^2) \\     &amp;=&amp; 2\cdot(x^2y^2+z^2w^2) \\     &amp;=&amp; 2x^2y^2+2z^2w^2 \\     &amp;\le&amp; ((x^2)^2+(y^2)^2)+((z^2)^2)+(w^2)^2) \\     &amp;=&amp; x^4+y^4+z^4+w^4   \end{eqnarray*} \end{proof}
14186
I'd like to use LaTeX to typeset a novel. Could you recommend me any template?  What I mean is a template (some .tex file) where I can include my chapterN.tex files (mainly plain text) and get a pretty good design with zero work :)
20440
I am in the process of creating a LaTeX template for a conference submission, and up until now I've been working only with the anonymous submissions. Now I need to create the "camera-ready" version, which means I need to add authors to the document.   The template is based on article.cls, with some tweaks to meet the font and formatting specifications. The following image contains the examples from the Word template for the conference:    Basically, I need to be able to bold the author's name (which could I suppose be done manually in the document rather than in the template) and more importantly: divide the authors into two columns, with an optional centered last column with an odd number of authors. The font size of the author block corresponds to my \LARGE defined in the class file.  Are there any packages that facilitate this type of conditional formatting, either in a document, or in a .cls file? How can I use those packages to achieve the formatting I require?
118353
I'm using LaTeX for my research journal (similar to WordPress).  There are a number of subdirectories that contain complete (standalone) .tex files along with PDF files that I made from those standalone files.   I'd like to get a .tex file that contains all the .tex files and compiles to a PDF. What would be a good way to do that?  Currently I compile the .tex file in each subdirectory and then merge all the PDFs into a main PDF file. The problem is that each PDF takes a page and if I have a small note, the most of the page is clear. Please keep in mind that I would like to keep the standalone PDF files, too.  The other option is to cut out the body of the document and paste it into the main LaTeX file, but i was wondering if there is a package that does it. Meaning that would keep both main and stand alone files. Kind of like have chapters of the book compile separately
44161
When I write C++ code for a class using templates and split the code between a source (CPP) file and a header (H) file, I get a whole lot of "unresolved external symbol" errors when it comes to linking the final executible, despite the object file being correctly built and included in the linking.  What's happening here, and how can I fix it?
78854
Can anyone tell me the difference between those two commands?  Edit: Thanks for the answers, but I didn't get the clue yet. Here's an example:  test.tex  \documentclass[a4paper,oneside]{mytestclass} ...   mytestclass.cls  \NeedsTeXFormat{LaTeX2e}  \ProvidesClass{testclass}[2011/01/30 v0.1 testclass] \LoadClass{book}   or  \NeedsTeXFormat{LaTeX2e}  \ProvidesClass{testclass}[2011/01/30 v0.1 testclass] \LoadClassWithOptions{book}   In both examples the options a4paper and oneside are passed to book. So, I don't see any difference in the result.
7611
I've used LaTeX a lot in the past, but now, when comparing with StackExchange's great , I find it tedious, for short documents (&lt; 2 pages), to have to use pure LaTeX. For a short document, instead of having 30 lines as introduction: \begin{document} \documentclass[11pt,a4paper]{article} \usepackage[frenchb]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts}  + &lt;lots of other things&gt; ...  I'd like to write my short document with MarkDown + Math, like on . Question: Is there an offline compiler such that compilemarkdown exercice.tex  would produce a PDF from this: #Title  Here is a *short document* including Markdown and Math, here is the equation:  $$f(x)=x^2$$  ___  Proof: ...   This is **bold**.
102241
This is my first time using a LaTeX editor.   I installed  allowing it to use the default directory on the C drive.  Software Versions   Windows: 7 Ultimate 64-bit  Texmaker 3.4.1 for Windows   I then did A Local guide for using Texmaker (There use to be a link to this but it is now dead)  Basically create a simple Hello World document and save it.  When I went to process the file   Tools -&gt; PDFLaTeX     I received    Error: Log file not found!   What I checked  I checked the configuration (Options -> configure Texmaker) and found no option for log files.  I checked for a log file under the C:\Program Files (x86)\Texmaker and found none.  I checked for a log path in the Windows registry using regedit and found none.  I checked the Texmaker issues and found  but it does not help.  Any ideas?  After reading answer  I installed MiKTeX as an administrator (didn't work as user) and chose the default options. After MiKTeX installed I was able to create a PDF file using Texmaker.   Also, correctly setting the PDF viewer options   Options -&gt; Configure Texmaker -&gt; Commands -&gt; PDF Viewer Built-in Viewer and Embed   I was able to preview the pdf in Texmaker   View -&gt; PDF Viewer   What I learned   is a LaTeX editor which generates a file containing LaTeX markup.     is a program that converts the LaTeX markup into an output format such as PDF.
63350
I need to submit the final version of my paper to a conference but they request a .zip file that including .ps and .dvi file of my .tex document. Since my whole project is on Overleaf, I want to know how can I accomplish it?   Here, what I have done so far:   First I learned that I have to change compiler from pdflatex to latex... Done! Then when I compile, it returned errors that request natural size of figures. And I used the answer given here:     Now it doesn't yell out me, compiles with no error, however still can't see the figures in the output. I don't even know if it is normal or not. Also, can't download a .div file, still gives .pdf file to me.  About .ps file, I haven't there yet, didn't try. But if you know what to do, please inform me. Thanks in advance.
5401
I'm trying to define a custom template file for a specific node, using the node ID. I read a lot of topics saying to create a node--X.tpl.php file in the templates folder.  That's what I did; unfortunately, even after flushing the theme cache many times, nothing changes.  Is there anything more I have to do?  I am using Drupal 7.
2060
My friend and I are working on the same subject and I asked her to see her work. I noticed that her pdf rendering (if it's really that) is a lot different than mine even though we use the same "template". We both use TexMaker with MikTeX, hers is on Mac, mine is on Windows.   Left is mine, right is hers.     If anyone knows what cause the difference here and could help me getting the same thing that would be great.  Thank you.