I have a simple text line that I get the above error in it , I don't see anything strange in the line , shall you please help me about it ? I am sure it's not about reading the help again ! thank you so much
\documentclass[11pt,a4paper,twoside,openright]{report}
\usepackage{setspace}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{tabu}
\usepackage{subfigure}
\usepackage{afterpage}
\usepackage{amsmath,amssymb}
\usepackage{rotating}
\usepackage{fancyhdr}
\usepackage[scriptsize]{caption}
\hyphenation{a-gen-tiz-za-zio-ne}
\usepackage{float}
\usepackage[parfill]{parskip}
\usepackage{multicol}
\usepackage{siunitx}
\usepackage{amsmath}
\graphicspath{ {images/} }
\usepackage[a4paper,lmargin=2cm,rmargin=2cm]{geometry}
\newcommand*{\diff}{\mathop{}\!\mathrm{d}}
\newcommand*{\var}[1]{\texttt{#1}}
\usepackage[USenglish]{babel}
\usepackage[latin1]{inputenc}
\renewcommand{\captionfont}{\normalfont \sffamily \itshape \small}
\pagestyle{empty}
\begin{document}
F.W.Zok \cite{R34} has analyzed metalic sandwich panels with textile cores subject to combined bending and shear and then designed for minimum weight. Basic results for the weight benefits relative to solid plates are presented, with emphasis on restricted optimizations that assure robustness (non-catastrophic failure) and acceptable thinness. Select numerical simulations are used to check the analytical results and to explore the role of strain hardening beyond failure initiation. Comparisons are made with competing concepts, especially honeycomb and truss core systems. It is demonstrated that all three systems have essentially equivalent performance. The influence on the design of a concentrated compressive stress that might crush the core has been explored and found to produce relatively small effect over the stress range of practical interest. “Angle ply” cores with members in the $\pm \ang{45}$ orientation are found to be near optimal for all combinations of bending, shear and compression.
\end{document}
and also the reference R34 in the code is :
@Article{R34,
Title = {Design of metallic textile core sandwich panels },
Author = {F.W. Zok and H.J. Rathbun and Z. Wei and A.G. Evans},
Journal = {International Journal of Solids and Structures },
Year = {2003},
Number = {21},
Pages = {5707 - 5722},
Volume = {40},
Doi = {http://dx.doi.org/10.1016/S0020-7683(03)00375-5},
ISSN = {0020-7683},
Keywords = {Sandwich panels},
Url = {http://www.sciencedirect.com/science/article/pii/S0020768303003755}
}
amsmathtwice. more importantly, have you usedinputencon your system before? it does not report the error that's in your title when i compile your code on sharelatex.com, which sometimes points to an installation/version issue. – aeroNotAuto Apr 04 '15 at 18:52inputencis, why are you loading it? You have\usepackage[latin1]{inputenc}. That tells LaTeX that your file is encoded with a particular encoding. Is it? – cfr Apr 04 '15 at 19:25\pmis supported by packagesiunitx.\ang{\pm 45}can be written instead of$\pm \ang{45}$. – Heiko Oberdiek Apr 04 '15 at 20:58latin1can be incorrect, e.g. if the file is encoded in UTF-8. – Heiko Oberdiek Apr 04 '15 at 21:05