Tag Info

Hot answers tagged

7

Both Texmaker and TeXworks are able to do this. Texmaker: With the main file open, select Options --> Define Current Document as master document (How to best use and compile multiple .tex files as part of same final document?) TeXworks: At the top of the chapter file, write %!TeX root = /path/to/main/file For example, if main.tex is in the same folder ...


4

You have planted several bugs in your document. The most important one is that you shouldn't load both amsthm and ntheorem (see section 3.2.2 in the manual of ntheorem). Since you're using the syntax of the latter, remove \usepackage{amsthm} You have other minor or less minor bugs, though. \usepackage{times} is overridden by \usepackage{fourier} ntheorem ...


4

I'm using TeXMaker to write my thesis, and after trying with include and input, that had the problem you mentioned, i ended up using the subfiles package, in this way: Main document \documentclass{report} \usepackage{subfiles} \begin{document} \subfile{./Chapter} % Chapter file's name (and position) \end{document} Chapter document ...


3

Here is a debugged code. The main problem was you loaded both amsthm and ntheorem. I removed amsthm, because I know better ntheorem, it's easier to customise, and it can place automatically the end-of-proof symbol, even when the proof ends up in a displayed equation. hyperef should beloaded before the first theorem declaration. I took the liberty to ...


1

A little bit of modifications to: remove "Chapter 0", change the proposition identifiers, make the lengthy exercises look better \documentclass[a4paper,12pt]{book} % -- math packages \usepackage{amsmath} \usepackage{amssymb} \usepackage[thmmarks, amsmath, thref]{ntheorem} % -- fonts and related \usepackage[utf8]{inputenc} ...


1

The following small change to the script fixes the problem: #!/bin/bash words=$(detex test.tex | wc -m) calc "int(round(${words}/100.0)*100)" </dev/null > word-count.txt The problem arises if I don't include the </dev/null. It causes calc to hang.


1

I know this is an old post but I have been using home-brewed Solarized Dark/Light themes and I am willing to share with the hope that somebody will find them useful. For the sake of completeness, highlighting scheme for DTX/Sweave/Pweave/Asymptote/Lua editing are also included, though I rarely use them. All themes are tested with current version (2.9.4) of ...


1

Dvips takes into account what is declared by you file or the class you use. This hasn't to be set in config.ps. Maybe try MiKTeX Package Manager, and change the paper size:



Only top voted, non community-wiki answers of a minimum length are eligible