Tag Info

Hot answers tagged

18

its a bug in the class, looks like a recent change in the github log, can't test here, no tex, but the package name constructed by \expandafter moderncv\romannumeral which doesn't do the right thing \expandafter does nothing there, you can ignore the warning until it's fixed. Lines 315 to 333 of moderncv.cls should be changed into % loads a header ...


18

I guess I have to plead guilty to creating the memoir class. Before doing that I had been involved in creating class files for ISO (the International Standards Organisation) and they kept on changing their requirements. In the end, for them, I tried to create a flexible class file that wouldn't need revamping every few months. I had written a number of ...


15

I think there are two very different kind of class files: general purpose class files like memoir and KOMA, which strive to create a uniform interface to most aspects of document formatting, and specialized class files for particular document types. Peter Wilson has already addressed the first type in his answer. But there is another kind of class which is ...


11

Here a partial solution Update: New solution this is (a new package baseline.sty) \NeedsTeXFormat{LaTeX2e}% \ProvidesPackage{baseline}% \edef\mtf@size{\f@size} \edef\mtf@baselineskip{\f@baselineskip} \renewcommand\normalsize{% \@setfontsize\normalsize\mtf@size\mtf@baselineskip \abovedisplayskip \mtf@baselineskip \abovedisplayshortskip ...


10

There's technically no limit to what you can include in your preamble. As such, the short answer is "No." However, from a programming point of view, it's always good to think about structure and maintenance. In an extreme case, would you rather sift through this: ...or something that is a little more organized, like this: In terms of structure, you ...


8

I think the answer depends what you are using LaTeX for. Creating "generic-format" documents using some common user-defined macros is one thing. Creating a set of documents all with the same fully-defined, customized, "print-ready" format is another. For one-time use, I don't think there is much practical difference. The functionality is the same either ...


7

A class is pretty useful to setup environments where certain functionality is essential. This is also meant in a conservative fashion that you don't want external tools affecting the result. From the beamer example mentioned earlier, certain packages don't work with beamer because their assumptions about itemization etc. environments is altered. Or in the ...


6

The bug is in lines 115–119 of pageslts.sty, where \@currname is used in a \@for cycle, leaving a definition of \@currname, which is unexpected. If I change the three occurrences of \@currname with \next, the problem disappears. Of course, also the appearance of \listfiles on line 111 is wrong, but this is unrelated, only annoying. The macro \@currname ...


5

Remove (or fix) [Custom Preamble for Articles!] if that optional argument is used, it must start with a latex-style date, such as [2015/08/23 v1.0 Custom Preamble for Articles!]


5

The memoirclass provides automatically \book and \chapter divisions, so the main issue is setting up the formatting to the way you like them. Verses in the bible are functionally equivalent to sections, so you can use the \section for your verses. But since you can rename commands easily, you can create a \verse command that is \section underneath, and ...


5

Not every TeX Live package, package, includes a .sty file by the same name, package.sty. Sometimes it does. Sometimes it doesn't. To figure out what a package provides, read its documentation or look inside its directories. Alternatively, in some cases, you can simply ask TeX Live Manager. For example, tlmgr info algorithms returns this: package: ...


4

ShareLaTeX provides a list of CV/Resume Templates, including: ModernCV Oldstyle ModernCV Casual ModernCV Classic ModernCV Banking EuropeCV SC_CV Classic Thesis Style - CV Academic CV Professional CV Two-Column CV Fancy CV ECV Curriculum Vitae (English or German) Curve ESIEEcv currvita Cies Breijs Resume CV US Clean CV ...


4

The short answer is: No. This may be the reason that you find the answer in the linked post unsatisfactory. To be a little more precise one has to mention that efforts are beeing made to bridge LaTeX and ConTeXt. Namely there is the LaTeX module for ConTeXt that tries to achieve exactly this. But, it is not fully developed as the description states: ...


4

Here is a list of context modules that fulfill tasks of LaTeX packages: Annotation for todo notes like todonotes ConTeXt Lettrines for lettrine Gantt for drawing Gantt charts like pgfgantt simpleslides for the beamer class Letter module for writing letters like letter There are also a few direct ports of LaTeX packages to ConTeXt: Algorithmic AMS-LaTeX ...


3

In general you can not tell. multicol package is not about table cells it is about multi-column pages and so changes the output routine so changes the code path (if not the result) of every page in a document. adjustbox can redefine \includegraphics so change the code path of every image inclusion in a document even if its facilities are not used. As you ...


2

When you install fonts into a TEXMF tree, TeX needs various things in order to use them: The various files must end up in the directories TeX expects. In your case, this is already all in order. TeX must be able to find the various files when it looks. Since you installed into your personal tree, TEXMFHOME, this is straightforward: TeX will find them so ...


2

Under MiKTeX, I would create a TeXMF-local directory (unless it already exists — MiKTeX does not create one by default), add it to the list of TeX roots (MiKTeX Szettings, Roots tab), then create a TeXMF-local\tex\latex\babel-mylanguage chain of directories in it, in which I would put mylanguage.ldf. If there is any documentation, I would put it in ...


2

Here's a starting point. On the first run, this produces an .idx file but, obviously, your script would do that. The file is just for the MWE. So your script should produce a file \jobname.idx where \jobname will be the name of the .tex file without the extension e.g. if the file is greatindex.tex then your script will produce \greatindex.idx. (Best make a ...


2

adjustbox is explicitly loaded by menukeys, without any options. You can either set the option as an option to \documentclass, or use \PassOptionsToPackage{export}{adjustbox} in the preamble. Also, needless to load adjustbox if you load menukeys. Comment aside, don't load cellspace twice.


2

I suggest you to install MacTeX from the image you get at http://tug.org/mactex, rather than with Homebrew (which is what they recommend, too). Your screen shot suggests you're using TeX Live Utility and indeed the response is good. Unfortunately, the packaging of tikz-bayesnet is wrong. If I do tlmgr info tikz-bayesnet --list from the terminal, the ...


2

It appears it is a LaTeX builtin. There doesn't seem to be any documentation. Loading the package with \usepackage has the effect that floats always appear after their definition.


1

This was indeed a bug. Thank you for reporting it! Version 1.2e as of 2015/08/17 (should become available soon at CTAN, has been submitted 2015-08-17 21:24 CEST) uses \next, as suggested in egreg's answer, and also does no longer include the \listfiles. (The example file still includes \listfiles, because it is to be expected that possible problems with the ...


1

Works fine for me when I correct the syntax: the last argument is optional and should be in square - not curly - brackets. \documentclass{scrartcl} \usepackage{chronology} \begin{document} \begin{chronology}[3]{1990}{2000}{3ex}[\linewidth] \end{chronology} \bigskip \begin{chronology}*[5]{1764}{1800}{\textwidth}[12cm] \small ...


1

I'm not a developer of MiKTeX nor TeXnicCenter but I'm a teacher how to use MikTeX (and TeXnicCenter). Some of my students have problems with their installation and asked me how to solve that. BTW are that usually students not following my installation hints ... MiKTeX has a separate update system and a separate package system. To have a well working ...


1

It's that you don't have the permission to use the folder /usr/local as non-root user. So you should use tlmgr as root. For more information on permission on linux system, you can look at linux.com


1

You can remove the bagpipe and bagpipex from the format list via the MiKTeX options (-> Formats ->"select" -> Remove). You won't be asked to install this package again.


1

As mentioned in the comments, tlmgr in Debian/Ubuntu switches automatically into user mode. This is also issued every time tlmgr is started. In user mode, only packages that are located completely in texmf-dist can be installed, since there is no way to know where to install binaries/scripts. A future version of tlmgr might cater to this, but this is far ...



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