Tag Info

New answers tagged

1

Although the OP uses enumerate package way I wanted to show an enumitem solution, applying the easy to use \setlist command. \documentclass{article} \usepackage{enumitem} \setlist[enumerate,2]{label=\roman*)} % Setting the 2nd level list to use lower case roman `numbers` as label \begin{document} \begin{enumerate} \item First \begin{enumerate} ...


3

As mentioned in many of the comment, fiction books are usually much simpler than technical books. When I've typeset novels, I've normally used the book class and tweaked it with some new sectioning commands, then called it a day. How much redefining you need to do will depend on what kind of novel you want to write; are we talking about a longer novel, ...


1

This is a modification of @KonradRudolph's answer, but with a minimal working example along with a list of the necessarily installed packages that did not come with the basic LaTeX build. In addition I include a brief discussion of the TeX distribution's path, how to find it, and how to add a package to it in case you don't already know how. Hopefully this ...


4

program redefined \proof without considering its previous definition. As such, you're better of storing its original definition (made by amsthm), then load program and restore the original definition of \proof. \usepackage{amsthm,letltxmacro} \LetLtxMacro\oldproof\proof% Store \proof \usepackage{program} \LetLtxMacro\proof\oldproof% Restore \proof Note ...


3

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 ...


0

@YuppieNetworking linked a class for an Europass CV that is not valid anymore. It was introduced in 2002 or so and in 2013 EU updated their template of CV for more colourful one. Here you have an updated class: https://www.ctan.org/pkg/europasscv Some institutions in EU accept only CVs formatted this way...


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}


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 ...


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 ...


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.


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

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

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


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

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 ...



Top 50 recent answers are included