Tag Info

Hot answers tagged

10

Here is one quick way of doing this. You have not said what you want the example and proof environments to look like so I have just created dummy ones. The trick is to set some flag at the start of these environments: I have used two counters \myexample and \myproof. I have then hijacked the \section command and simply checked to see whether or not ...


8

You have to do some chasing in kpfonts.sty to arrive at \documentclass{article} \DeclareSymbolFont{largesymbolsA}{U}{jkpexa}{m}{n} \SetSymbolFont{largesymbolsA}{bold}{U}{jkpexa}{bx}{n} \DeclareMathSymbol{\varprod}{\mathop}{largesymbolsA}{16} \begin{document} \[ \varprod_{i=1}^n A_i\ne\prod_{i=1}^n A_i \] \end{document} The steps Look for \varprod in ...


4

[] are used for passing values for package options. Examples \usepackage[ngerman]{babel} loads the language pack with the option ngerman for the German language. \usepackage[T1]{fontenc} loads font encoding with the T1 font encoding that is an 8-bit encoding.


2

The [] in \usepackage[]{} is an optional argument for package options. This is explained in the usrguide (LaTeX2e for authors), section 2.2 "Class and package options". The document is part of LaTeX's base, thus it should be present on your LaTeX installation. TeX Live users get it by running texdoc usrguide on the command line. Since the default for the ...


2

The solution is to use \textbar for the “pipe” in text mode (| is good in math mode). You seem to be using a very old template and I don't think you should be loading the IL2 package. The test \ifx\pdfoutput\undefined is a clear sign of this; note that on current TeX distributions (less than five year old or so), the test will always return false.


2

Something like this, the command \flushhere if placed between paragraphs tries to take a float off the deferred list and make it a here float at this point, if it succeeds it tries to pop the next deferred float and so on until it runs out. So if you use [hp] floats between paragraphs and put \flushhere after subsequent paragraphs, any floats that didn't ...


2

As detailed in the DocStrip manual, the design of DocStrip is such that you are expected to set \BaseDirectory (as TeX can't know where you want to install to) and\UseTDS (to activate mapping of your \usedir lines to the approach TDS structure). Those lines are intended most likely to go into a docstrip.cfg file rather than into the .ins file(s) themselves. ...


2

\usepackage is a wrapper around \input so \input@path applies to that just as well, but it is better not to set \input@path and just set TEXINPUTS appropriately


1

miller.sty is very useful in crystal chemistry/crystallography. asymptote.sty for incorporating asymptote figures.


1

As an applied mathematician / computer science guy, I had the requirement to plot (lots of!) data series, to plot functions given by expression, and to typeset numerical tables (often with additional, automatically generated post-processings). Plotting includes surfaces or contour plots for 2d functions. pgfplots and pgfplotstable excel at these ...


1

Package atveryend Message Package atveryend Info: Empty hook `AtVeryVeryEnd' is not a problem, it is just a message, neither warning nor error. It's more like a debug information, when the hook AtVeryVeryEnd is seen. If the hook is empty, then the message above is shown, if the hook is not empty, you will see: Package atveryend Info: Executing hook ...


1

Here's a dirty workaround. Let me know if you run into trouble using this (I hope not). \documentclass[cover]{fitthesis} % odevzdani do wisu % \documentclass[english]{fitthesis} % zde zvolime kodovani, ve kterem je napsan text prace % "latin2" pro iso8859-2 nebo "cp1250" pro windows-1250, "utf8" pro "utf-8" %\usepackage{ucs} ...


1

Alexander's answer was the one got me going. The python.sty file from python.sty on github worked fine when I changed line 61 from: cat \@pythoninclude\space bin/\jobname.py | python > bin/\jobname.py.out 2> bin/\jobname.py.err to: python \jobname.py > \jobname.py.out 2> \jobname.py.err As you can see I also removed the bin folder. So I ...


1

copy this to your preamble: \newtheorem{definition}{Definition} \newtheorem{example}{Example} \newtheorem{teor}{Theorem} \newtheorem{note}{Note} \newtheorem{exer}{Exercise} and when you want to use, e.g definition: \begin{definition} Here comes a definition \end{definition}



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