# Tag Info

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

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.

0

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

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

0

Apologies for the long hiatus... deadlines and travel delayed my being able to close out this question & project... I did try the MWE posted by @touhami, and it did work very well. Had I been starting from scratch building the volumes and chapters &c. and/or if this were likely to be a common sort of project that occurred regularly and needed to be ...

2

Combining texcount + knitr + R allows for dynamic in-text word count estimation. The code chunk below works on a Mac by calling the Texcount perl script, running it on "myfile.tex" and then returning a limited set of stats (the -total option) including the sum of all words (the -sum) option. As noted elsewhere in this thread, you may want to adjust the ...

4

First it is graphicx not graficx \cventry has 7 arguments, you have given only six at some places. \cvitem has only 3 arguments, you gave six. \Csh{} is unknown for me, hence I have commented it. With all these corrections, here is your code: \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{casual} \moderncvcolor{blue} \usepackage{graphicx} ...

6

By a curious coincidence, I just made the acquaintance of pgfpages.sty. As it turns out, with a little work it can do exactly this sort of layout -- and a good deal else besides. I read about this in the PGF manual and looked at pgfpages.sty for inspiration. This has been a very interesting exercise! My apologies for the length of the code. Clearly, this ...

3

I do not know any package specifically designed for this purpose and closest thing that comes to my mind is what @doncherry mentioned in their comment. A not so elegant workaround can be achieved through the use of geometry and multicol packages. geometry package helps you to define your particular paper size while multicol allows you to create virtual (not ...

1


0

I've had a similar problem with Texmaker at work (where some computers don't run with administrator privilege by default). I had to run the program as an administrator to 'find' the required packages and style files and successfully install them.

3

\usepackage{packages/vubtitlepage} is incorrect, the argument to \usepackage should be a name not a file path (if the package had a \ProvidesPackage line you would get a warning about this). Just use \usepackage{vubtitlepage} and arrange that the packages directory is in your TEXINPUTS path, then the package and its related images will be found.

16

Using datatool for the heavy lifting, and other packages for the formatting: \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{booktabs} \usepackage{datatool} \usepackage{longtable} \usepackage{lipsum} \usepackage{hyperref} \begin{filecontents}{\jobname.txt} This is the title for vuln 1, This explains the issues in question..., 8, INT, ...

2

You can do that easily with the ntheorem package (instead of amsthm) and etoolbox. I also loaded the enumitem package to improve the layout of itemize environments in such context. Here is a possible code: \documentclass[11pt,a4paper,openany]{report} \usepackage[utf8]{inputenc} \usepackage{amssymb, mathrsfs} \usepackage[dutch]{babel} \usepackage{lmodern} ...

1

I just discovered the xparse package. It lets you define more flexible macros with more than one optional argument. I used it to make a very general partial derivative function. \usepackage{xparse} \DeclareDocumentCommand{\pder}{ O{} O{} m }{\frac{\partial^{#2}#1}{\partial#3^{#2}}} Example \pder{x} will give you \pder[f]{x} will give you ...

0

When using class book, I always load package emptypage. It needs no particular skill since it doesn't introduce any new command to use, it removes headers and footers from empty pages at the end of chapters just by adding \usepackage{emptypage} in your preamble. The default option is odd.

9

The texlive package database has a one line description of each (texlive) package, derived I think from the ctan catalogue. $pwd /usr/local/texlive/2014/tlpkg for i in grep -l '\.cls' tlpobj/*  ;do echo "";grep "^$$name\|shortdesc\| *texmf-dist.*\.cls$$"$i| sed -e "s@texmf.*/@@" ; done > cls.txt produces a file with 588 */.cls references that ...

5

In the past a use case for ucs was when Greek input was needed; since TeX Live 2013 the situation has changed and full support for Greek input (monotonic and polytonic) is available with \usepackage[utf8]{inputenc} provided the greek or polutonikogreek is passed to babel. Note that the package ucs and the utf8x options to inputenc are not compatible with ...

2

Note: The following works on all TeXLive-based distributions, but not with MikTeX. I usually put stuff like this in a project-local texmf subfolder. To have pdflatex and others actually search this folder, it has to be added to the TEXINPUTS environment variable. I usually have a sourceme.bash file that I source in the shell: export ...

1

One of my students has taught himself TeX programming by developing: avremu – An 8-Bit Microcontroller Simulator written in LATEX In my opinion this is the most strange thing one can possibly do just for fun! (But I am biased, of course :-) From the package readme: Let's say we want to program our document in C on top of TeX. Then there would ...

2

The warning you provided explains where the problem lies. Namely, the package alphalph is out of date and updating it should fix the error. See How do I update my TeX distribution? on how to update the package(s).

3

In the case of pdfTeX, an external tool, such as pdftk or qpdf, is necessary to encrypt. In the case of XeTeX, we can use a \special supported by xdvipdfmx, for example: \special{pdf:encrypt ownerpw (abc) userpw (xyz) length 128 perm 2052} \documentclass{article} \begin{document} This is a test. \end{document}

0

I have managed to get the desired gray box using the code given below, thanks to the response by @egreg to the question I posted. My svgraybox environment is a slightly modified form of the one that was suggested by egreg. \documentclass[graybox,envcountchap,sectrefs]{svmono} \usepackage{newtxtext,newtxmath} \usepackage{makeidx} \usepackage{graphicx} ...

4

The definition of the svgraybox in the class is wrong: it sets a right margin of 24pt and the result is exactly what you see. \documentclass[graybox,envcountchap,sectrefs]{svmono} \usepackage{newtxtext,newtxmath} \usepackage{makeidx} \usepackage{graphicx} \usepackage{multicol} \usepackage[bottom]{footmisc} \makeatletter \renewenvironment{svgraybox}% ...

1

Well, answering to the request of Johannes_B to answer this question, I explain how I solved this in the end. The first thing I did (after ask here) was look for packages available in the CTAN to work with poetry. Among them I reached poemscol which is the package I found and was consistent with what I needed. However even after reading the documentation ...

4

2

Here is my way: Edit: Almost complete We use \evolume and \evolume to reset page numbering etoc package for table of contents titletoc package for list of figures and tables \documentclass[12pt,letterpaper,twoside,final,openright]{book} \usepackage{titletoc} \usepackage{etoc} %--------------------------------------- \usepackage{lipsum,mwe} ...

4

You are running pdflatex or lualatex in PDF mode (second line of the error message), but you have specified a driver dvipdfm, which only works for DVI output (second line of the error message). Since hyperref can detect the correct driver here (hpdftex.def), the error recovery works by ignoring the wrong driver specification. If you want to compile the ...

3

You were loading some ancient (undistributed for decades) packages such as psfig but once I removed those, the error message seemed quite clear ! LaTeX Error: \begin{minipage} on input line 82 ended by \end{center}. because you had a duplicated line \end{center} so I deleted one of them then it runs without error. ...

4

I wanted to try an answer with \tcolorbox just as an exercise, but Bernard gave a good reason, thmbox can't break across pages and tcbtheorems can. So, in case someone is interested, here you have a starting point. A tcbthmbox looks similar to thmbox, tcbSthmbox like [S]-thmbox and tcbLthmbox like [L]-thmbox. \documentclass{article} \usepackage{lipsum} ...

4

\usepackage[ngerman]{babel} specifies German. Having added it you may need to delete your aux file if you remove babel or change the language, as language specific settings can get saved in the file.

3

% arara: pdflatex % arara: pdflatex \documentclass[10pt,letterpaper]{article} \usepackage{booktabs} \usepackage{siunitx} \newcommand{\cenMultlCell}[2][c]{\begin{tabular}[#1]{@{}c@{}}#2\end{tabular}} \usepackage[colorlinks=true, linkcolor=black]{hyperref} \begin{document} \begin{table} \footnotesize\centering % needed, as table is to wide ...

2

I have the following suggestions: To center the elements of a column in a tabular environment, use the c column type instead of l or r. To center a tabular environment inside a table environment, use the \centering instruction. You have several \multicolumn{1}{|c|}{...} "wrapper" statements. They don't exactly hurt, but they don't seem to be necessary ...

1

Just replace the r's and l's with c's in the tabular definitions. And a bit of code reorganization will make it easier to edit. \documentclass[10pt,letterpaper]{article} \begin{document} \begin{table}[h] \begin{tabular}{|c|c|c|c|}\hline \multicolumn{1}{|c|}{text} & \multicolumn{3}{c|}{Aproach}\\ \hline another text & other one & another one ...

3

You can always place your custom packages in /home/<username>/texmf/tex/latex. For packages coming with TeX Live, tlmgr (TeX Live manager) takes care of downloading and making the package available. If sudo was needed to install TeX Live, i.e. in a directory where a normal user has no writing rights, sudo will also be needed to run tlmgr. If TeX Live ...

5

You can do this with thmbox package \documentclass{article} \usepackage{thmbox} \newtheorem[L]{thm}{Theorem}[section] \newtheorem{lem}[thm]{Lemma} \newtheorem[S]{cor}[thm]{Corollary} \begin{document} \begin{lem}{First resualt} Here a lemma \end{lem} \begin{thm}{Important} Great theorem \end{thm} \begin{cor}{Final} Here the corollary \end{cor} ...

Top 50 recent answers are included