Tag Info

Hot answers tagged


As @egreg commented above, make sure you compile with pdflatex rather than pdftex - this is what your example looks like when I compile it with pdflatex: For Comparison compiling with pdftex gives exactly the output described by the OP


This is caused by a problem with the euro symbol; it is unrelated to the exam document class and the adjustments you have made. Deleting code that does not affect the problem from your example results in the following. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{eurosym} \DeclareUnicodeCharacter{20AC}{\euro} \usepackage{siunitx} ...


After checking documentation of gitinfo2 package, I got this file/directory structure: main directory file.tex other.tex gitexinfo.sty (copied from gitinfo2) gitinfo2.sty (copied from gitinfo2) make.bat Then I updated my make.bat file for to get the gitHeadInfo.gin file. With this change I avoid to use git hooks; I had just to reformat it for ...


No, you can't. The printout of file names is too deep inside TeX to be changed by higher level macros. The only way that would suppress the printout of file names is to create a pre-compiled "precompiled-preamble". This process is the same as used for generating the latex command from tex. Command latex is nothing but bare bones tex unto which the LaTeX ...


If one is using MiKTeX then the following can be used when compiling with pdflatex: pdflatex -file-line-error -max-print-line=120 Note that this will not work with TeX Live. Thanks to @egreg who gave me this answer in a comment.


Replace the \documentclass[...]{standalone} to your own \documentclass{<xxx>} where <xxx> can be replaced by any available classes such as article, book, report, etc. You will get listings that span muliple pages. \documentclass[a4paper,11pt,twoside,openany,dvipsnames]{book} \usepackage{xcolor} \usepackage{listings} \usepackage{accsupp} ...

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