# Tag Info

0

You can use the etoolbox package to modify the behaviour of the first \bibitem and to issue the instruction \thispagestyle. \usepackage{etoolbox} \newbool{firstbib} \booltrue{firstbib} \preto{\bibitem}{\ifbool{firstbib}{\thispagestyle{fancy}\setbool{firstbib}{false}}{}} Modify the end of the TEX file \end{flushleft} \nocite{•} \bibliographystyle{plain} ...

4

The behaviour is as designed but if you want to lose all (log-only) font warnings then: \documentclass{article} \makeatletter \def\@font@info#1{} \makeatother \usepackage{lmodern} %% see below \usepackage[T1]{fontenc} %% \begin{document} Hello \textbf{World \texttt{of} Code!} %% ^^^^^^^^^^^ \end{document} has 66 rather than ...

2

Your usage is correct. So, fundamentally you can do the following: \documentclass{article} \usepackage{hyperref,bookmark} \usepackage{etoolbox} \pretocmd\tableofcontents{% \bookmarksetupnext{bold=true}% \pdfbookmark{\contentsname}{bkm\contentsname}% }{}{} \begin{document} \tableofcontents \clearpage \section{Ablutophobia} \section{Ergophobia} ...

2

Don't include too much in the argument of \section; here, only the word Introduction seems to belong in sectioning header. Don't use eqnarray -- it's a badly deprecated command. Consider loading the amsmath package and using \cfrac (instead of \frac) to typeset continued fractions. Don't overuse \left and \right. Not modified from your example code, but ...

3

You can inject \mathbf just at the right place in. I still advise you to not use this, as this is doomed to fail if siunitx changes. \documentclass{article} \usepackage{siunitx} \ExplSyntaxOn \cs_set_protected:Npn \__siunitx_number_format_final_exponent: { \prop_get:NnN \l__siunitx_number_out_prop { exponent } \l__siunitx_tmpa_tl \tl_if_empty:NTF ...

5

If you can use LuaLaTeX instead of pdfLaTeX, it may be easier to just create a dedicated Lua function and set up an associated TeX "wrapper macro" rather than to try to hack the \num macro of the siunitx package. In the example below, the wrapper macro is called \mynum, and its syntax is set up to be mimic the behavior of the \num macro. The only assumption ...

Top 50 recent answers are included