New answers tagged

1

You have really nothing to worry about, provided you don't use sectsty for underlining section titles. The package does a check on \underbar and on \underline, because it wants to redefine them but it just does so when typesetting those titles. So, if you don't use underlining (and you're better not to), there should be no problem. Something actually can ...


1

The warning is caused by a check sectsty runs on the definition of \underbar. If it doesn't match one of the definitions it expects, it warns you. You can avoid this warning but I don't recommend it. The warning is telling you something important: that sectsty has found a definition of \underbar which is not what it expects and that things may not work ...


2

It seems that exam has poor compatibility with hyperref. You just need to add a definition for \theHchoice, so hyperref will pick up this instead of \thechoice. Using \arabic{question}.\arabic{choice} will ensure a unique tag. \documentclass{exam} \usepackage{hyperref} %% keep hyperref happy \newcommand{\theHchoice}{\arabic{question}.\arabic{choice}} ...


2

This is a standard latex warning. You get it e.g. when you use \begin{figure}[] or \begin{table}[]: LaTeX Warning: No positions in optional float specifier. Default added (so using `tbp') on input line 9. And as latex adds a line number it should be easy to find.


4

an underfull vbox means that there is not enough stretchability in vertical white space to make a vertical box be padded to its specified length. As it occurs in the output routine it is either a main page body or a head or foot, most likely the main page body as just one page. The most likely cause is that the page just consists of text and the page ...


4

A simple solution is to gobble math with \pdfstringdefDisableCommands: \documentclass{article} \usepackage{hyperref} \makeatletter \pdfstringdefDisableCommands{\let\(\fake@math} \newcommand\fake@math{}% just for safety \def\fake@math#1\){[math]} \makeatother \begin{document} \section{\(I\) cast warnings but I wish I wouldnt} ...



Top 50 recent answers are included