# Tag Info

1

You can use scaled x ticks=false, xticklabel style={/pgf/number format/.cd,fixed,precision=2}, to format the xticklabels automatically. Additionally the order of the colors in the color list and the order of the plots could be changed to use the cycle list color list for the plots. \documentclass{scrreprt} \usepackage{pgfplots} ...

3

I can't compile that thing so I'm summoning my crystal ball and guess that you need to add scaled x ticks=false option to the first plot axis options. pgfplots loads TikZ. TikZ loads pgfkeys and xcolor. So you only need the first for those four packages.

2

You should have no space in the comma separated list of values in the optional argument: \documentclass[preprint,12pt]{elsarticle} \begin{document} \begin{frontmatter} \title{My title} \author[affiliation1,affiliation2]{Author1} \author[affiliation3,affiliation5]{Author2} \author[affiliation2]{Author3} ...

2

\documentclass{article} \usepackage{tikz} \usepackage{marginnote} \newcommand{\inclimage}[2][]{% \marginnote{\texttt{#2}}\includegraphics[#1]{#2}% } \begin{document} \newsavebox{\IconBox} \sbox{\IconBox}{\tikz\node{\inclimage[width=100pt]{example-image.png}};} \begin{tikzpicture} \node {\usebox{\IconBox}}; \end{tikzpicture} ...

5


4

With endnotes the label is set without using a counter, because this happens only when the endnotes file is read in. As a workaround we can step a fake counter before setting the label and aliasing this counter to footnote, so that cleveref will do the correct annotation in the .aux file. \documentclass{article} \usepackage{etoolbox} \usepackage{endnotes} ...

Top 50 recent answers are included