I have written these commands, but in the pdf Just there is B. I do not What I should do!  \documentclass{article} \usepackage{marvosym} \begin{document} \Letter \end{document}
121424
I wanted to use some symbols from marvosym but they don't seem to work in my distribution.   \documentclass{article} \usepackage[english]{babel} \usepackage{marvosym}  \begin{document}  $\Bat$ $\Bicycle$ $\Coffeecup$  $\Frowny$  $\Heart$ $\Industry$  $\Football$ $\Mobilefone$ $\Smiley$ $\Womanface$ $\Gentsroom$ $\Ladiesroom$ $\Taurus$ $\Sagittarius$ $\WomanFace$ $\ManFace$ $\Yingyang$ \end{document}    I get a PDF output like:    Log highlights:    This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9 64-bit) (preloaded format=pdflatex 2013.12.5)    ...    ("C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty"   Package: fontenc 2005/09/27 v1.99g Standard LaTeX package   ("C:\Program Files\MiKTeX 2.9\tex\latex\base\t1enc.def"   File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file   LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.   ))    ...    ("C:\Program Files\MiKTeX 2.9\tex\latex\marvosym\marvosym.sty"   Package: marvosym 2011/07/20 v2.2 Martin Vogel's Symbols font definitions   )    ...    LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 6.   LaTeX Font Info:    ... okay on input line 6.   LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 6.   LaTeX Font Info:    ... okay on input line 6.   LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 6.   LaTeX Font Info:    ... okay on input line 6.   LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 6.   LaTeX Font Info:    ... okay on input line 6.   LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 6.   LaTeX Font Info:    ... okay on input line 6.   LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 6.   LaTeX Font Info:    ... okay on input line 6.   LaTeX Font Info:    External font `cmex10' loaded for size   (Font)              &lt;7&gt; on input line 8.   LaTeX Font Info:    External font `cmex10' loaded for size   (Font)              &lt;5&gt; on input line 8.   LaTeX Font Info:    Try loading font information for U+mvs on input line 8.    ("C:\Program Files\MiKTeX 2.9\tex\latex\marvosym\umvs.fd")   Missing character: There is no ý in font cmr10!   Missing character: There is no ® in font cmr10!   Missing character: There is no § in font cmr10!   Missing character: There is no Œ in font cmr10!   Missing character: There is no © in font cmr10!   Missing character: There is no þ in font cmr10!   Missing character: There is no á in font cmr10!   Missing character: There is no è in font cmr10!   Missing character: There is no þ in font cmr10!   Missing character: There is no ÿ in font cmr10!   I'm using TeXstudio 2.6.6. My MiKTeX package manager has a load-on-demand setup so maybe I'm missing packages with other fonts? At the moment I'm pretty clueless how to solve these missing character errors (I presumed they would be installed with the package).  Any ideas how can I solve this?  (I hope the question is not too localised but I do have a pretty standard setup.)
108431
Here is a MWE:  \documentclass{article}  \usepackage{hyperref}  \begin{document}  a  \end{document}   When I compile my document on , I get the following errors:  ! LaTeX Error: Option clash for package hyperref.  ...   l.6 \begin {document} ?  ! Emergency stop. ...   l.6 \begin {document} No pages of output. Transcript written on arXivSubmission.log.   Seems bizarre that having a single package in the preamble causes an error.
19548
I have a simple problem but I didn't manage to find any answer for it. In my title page, I just used  \title{Name of the title}   then  \hrule height 0,1cm \leavevmode \\[0,5cm]     {\Huge{\textbf{\@title}}}\\[0,5cm] \hrule height 0,1cm \leavevmode \\[0,5cm]   to print the title of my document. But it takes more than 3 lines on the PDF file, and I have a different spacing between the 1st and 2nd line compared to the 2nd and 3rd, which is a bit frustrating.   Anyone got an idea of why ?
61430
Beginner here with an issue on a simple presentation using beamer  \documentclass{beamer}  \begin{document} \begin{frame}   \tau \epsilon \chi \end{frame} \end{document}   The above fails with the message "! Missing $ inserted." and waits for me to do something when converting to pdf. I have tried adding the instruction \usepackage[utf8]{inputenc} and also \usepackage[greek]{babel}. I have not seen references either to needing to use any other package. What is exactly I am missing?
84308
I am using elsarticle  Everything was find before I used \usepackage{arabtext}.   When I compiled to PDF, I got the following error message.    And if I type "s", everything became fine again but I don't want to type an "s" every time I compile PDF preview.   Please anyone advise.  Thank you very much in advance for your help.  Here is the code  \documentclass[12pt, authoryear]{elsarticle}    % use "amsart" instead of "article" for AMSLaTeX format \usepackage[colorlinks=true,linkcolor=black, citecolor=blue, urlcolor=blue]{hyperref} \usepackage{geometry}                       % See geometry.pdf to learn the layout options. There are lots. \geometry{a4paper}                          % ... or a4paper or a5paper or ...  %\geometry{landscape}                       % Activate for rotated page geometry %\usepackage[parfill]{parskip}          % Activate to begin paragraphs with an empty line rather than an indent \usepackage{graphicx}               % Use pdf, png, jpg, or epsÂ§ with pdflatex; use eps in DVI mode                             % TeX will automatically convert eps --&gt; pdf in pdflatex         \usepackage{amssymb}  \usepackage{amsmath} \usepackage{tipa} \usepackage{arabtex} %SetFonts  %SetFonts   \title{Translating from English to Bahasa Indonesia: Which procedures should be taught to EFL students preparing to be a translator?} \author[mkl]{Mohammad Kholid}  \author[fai]{Faisal Mustafa\corref{cor1}} \ead{faisal.mustafa@unsyiah.ac.id}  \cortext[cor1]{Corresponding author}  \address[mkl]{Syiah Kuala University, Banda Aceh, Indonesia} \address[fai]{Syiah Kuala University, Banda Aceh, Indonesia} \date{}                         % Activate to display a given date or no date  \begin{document} %\section{} %\subsection{}  \begin{frontmatter}  \begin{abstract}   Abstract content is here.  \end{abstract}  \begin{keyword}  translation procedures \sep English to Bahasa Indonesia \sep teaching translation \end{keyword} \end{frontmatter}
90825
I created a document in latex. The numbers of pages appears on pdf, but I printed the pdf and numbers don't appear.   Somebody can help me ?  Example of one of my pages:    my preamble code:  \documentclass[12pt,twoside,a4paper,openright]{report} \usepackage{color} \usepackage[portuguese]{babel} \usepackage[utf8]{inputenc} \usepackage[hidelinks]{hyperref} \usepackage[official]{eurosym} \usepackage{gensymb} \usepackage[lmargin=3.0cm,rmargin=2.0cm,tmargin=2.0cm,bmargin=2.0cm]{geometry} \usepackage{fancyhdr} \usepackage{graphicx} \graphicspath{  {fig/} } \usepackage{mathtools} \usepackage[round]{natbib} \usepackage{xr} \usepackage{siunitx} \usepackage{booktabs, multicol, multirow} \usepackage{pdflscape} \usepackage{emptypage} \usepackage{epstopdf} \usepackage{setspace} \usepackage{nomencl} \usepackage{tabularx} \usepackage{amsmath} \usepackage{booktabs} \usepackage{ragged2e} \usepackage{tikz} \usepackage{gensymb} \usepackage{chemformula}  \onehalfspace   \pagestyle{fancy} \fancyhead{} \fancyfoot{} \fancyfoot[RO,LE]{\thepage} \fancyhead[RO]{\slshape \rightmark} \fancyhead[LE]{\slshape \leftmark}  \begin{document} \pagenumbering{roman}  \tableofcontents \listoffigures \listoftables  \cleardoublepage \clearpage \pagenumbering{arabic}  \input{Intro}  \end{document}
76283
Very new to Tex. Trying to get the most basic doc to work. Not matter what I do I always get an "Undefined control sequence" at line 1 of my document. As of now, I am only trying to build the following:  \documentclass{article} \begin{document} This is a test of the article \end{document}   Full error is:  This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)  restricted \write18 enabled. entering extended mode (./example.tex ! Undefined control sequence. l.1 \documentclass                   {article} ?   I have tried many other variations, including \usepackage directives that people mentioned - nothing every varies.
30056
Done Major Edit, to make the question clear.  Removing the last chapter line works. But keeping it makes latex go crazy. It prints numbers till 65536.. and errors: ** ERROR ** Page number 65536l too large!    MikTex, XeLatex, PdfLatex (endures a few more section, but then, the same error).  Drilling down, I have found that the problem is because of mdframed, specially usetwoside option. The error also seems to be a result of the following warnings:    The log is here:   \documentclass{book} \usepackage{xcolor} \usepackage{mdframed} \usepackage{titletoc} \usepackage{etoolbox}   \definecolor{secnum}{RGB}{13,151,225} \definecolor{ptcbackground}{RGB}{212,237,252} \definecolor{ptctitle}{RGB}{0,177,235}  \pretocmd{\tableofcontents}{\begin{mdframed}[backgroundcolor=ptcbackground,hidealllines=true]}{}{} \apptocmd{\tableofcontents}{\end{mdframed}}{}{} \patchcmd{\tableofcontents}{\contentsname}{\color{ptctitle}\contentsname}{}{}  \setcounter{tocdepth}{1}  \titlecontents{section}   [4em]{\sffamily}   {\color{secnum}\contentslabel{2.3em}\normalcolor}{}   {\titlerule*[1000pc]{.}\contentspage\\\hspace*{-3em}\vspace*{2pt}%     \color{white}\rule{\dimexpr\textwidth-20pt\relax}{1pt}}  \titlecontents{lsection}   [5.8em]{\sffamily}   {\color{secnum}\contentslabel{2.3em}\normalcolor}{}   {\titlerule*[1000pc]{.}\contentspage\\\hspace*{-5.8em}\vspace*{2pt}%     \color{white}\rule{\dimexpr\textwidth-15.5pt\relax}{1pt}}  \makeatletter \renewcommand*\l@chapter[2]{%   \ifnum \c@tocdepth &gt;\m@ne     \addpenalty{-\@highpenalty}%     \vskip 1.0em \@plus\p@     \setlength\@tempdima{1.5em}%     \begingroup       \parindent \z@ \rightskip \@pnumwidth       \parfillskip -\@pnumwidth       \leavevmode       \advance\leftskip\@tempdima       \hskip -\leftskip       \colorbox{ptctitle}{\strut%         \makebox[\dimexpr\textwidth-2\fboxsep-7pt\relax][l]{%           \color{white}\bfseries\sffamily#1%           \nobreak\hfill\nobreak\hb@xt@\@pnumwidth{\hss #2}}}\par\smallskip       \penalty\@highpenalty     \endgroup   \fi} \makeatother \newcommand\PartialToC{% \startcontents[chapters]% \begin{mdframed}[backgroundcolor=ptcbackground,hidealllines=true] \printcontents[chapters]{l}{1}{\colorbox{ptctitle}{%   \parbox[t]{\dimexpr\textwidth-2\fboxsep\relax}{%     \strut\color{white}\bfseries\sffamily\makebox[5em]{%       Chapter~\thechapter\hfill}Contents}}\vskip5pt} \end{mdframed}% }  \begin{document}  \tableofcontents  \chapter{Chapter One} \PartialToC \section{Section One One} \section{Section One Two} \section{Section One Three} \section{Section One Four}  \stopcontents[chapters] \chapter{Chapter Two} \PartialToC \section{Section Two One} \section{Section Two Two} \section{Section Two Three}  \stopcontents[chapters] \chapter{Chapter Three} \PartialToC \section{Section Three One} \section{Section Three Two} \section{Section Three Three} \section{Section Three Four} \section{Section Three Five} \stopcontents[chapters]  \chapter{Chapter Three}  \end{document}
118876
I wanted to make a command that outputs a number in math mode. This is how my file looks like:  \documentclass{scrartcl}  %\usepackage{epsdice} %\newcommand{dice}[1]{\epsdice{#1}}  \newcommand{dice}[1]{\ensuremath{#1}}  \begin{document} Lorem ipsum... \end{document}   But when I compile this with XeTeX, I always get this error:  ! LaTeX Error: Missing \begin{document}.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.13 \newcommand{dice}[1]{\ensuremath{#1}}   I have not that much experience with TeX, I think the solution is quite easy.
97041
MWE:  \documentclass{minimal} \usepackage{commath, tikz} \begin{document} \begin{tikzpicture} \node {$:$}; \end{tikzpicture} \end{document}   When I compile this, pdfTeX enters an infinite loop. Why?
60904
I would like to write a .pdf, where my readers could copy the rendered formulae and paste them directly in their TeX documents.    And the copied text would automatically be:  \int x\sin ax\;\mathrm{d}x = \frac{\sin ax}{a^2}-\frac{x\cos ax}{a}+C   Is this possible?
56046
I have a file bookletdemo.tex with the following code  \documentclass[12pt]{article} \usepackage[a5paper]{geometry} \usepackage{lipsum}  % this package is for creating filler text   \author{N.~N} \title{The booklet}  % \usepackage[print,1to1]{booklet} \nofiles  % \target{\magstep0}{297mm}{210mm}   \begin{document}  \maketitle  \tableofcontents  \section{Europe} \subsection{Berlin} \lipsum[4] \subsection{Paris} \lipsum[1-3] \subsection{Vienna} \lipsum[10] \subsection{Rome} \lipsum[15] \section{Africa} \lipsum[1-4] \subsection{Accra} \lipsum[5-8] \subsection{Johannesburg} \lipsum[9-11] \subsection{Casablanca} \lipsum[11-12] \lipsum[5-6] \section{Asia} \lipsum[1-4] \subsection{Tokyo} \lipsum[5-8] \subsection{Beijing} \lipsum[9-11] \subsection{Mumbai} \lipsum[11-12] \lipsum[5-6]  \end{document}   Fist I run  latex bookletdemo.tex    two times. The pdf formatting of the document with A5 pages is fine.  Then I uncomment  \usepackage[print,1to1]{booklet} \nofiles  \target{\magstep0}{297mm}{210mm}   and run      latex bookletdemo.tex    to create a booklet. It produces something which resembles a booklet but the title page and the TOC are missing.   How does an example which does this properly look like?  Reference
38035
Does anyone know a package for ?    Failing that, is anyone interested in writing a command to create one? I'm thinking of something that would have optional and configurable separators above and below (e.g., lines or large quotation marks), and option to float left, right, or center. Ideally the command should print the argument and the pull quote so you do not have to duplicate the text that you want to quote.   To avoid duplicating existing questions, perhaps we should focus on single column documents, so that the pull quote has to be boxed?
96413
MWE:  \documentclass{article}  \usepackage{listings}  \begin{document}  IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII hardware/software  \end{document}   This results in this output:    If \usepackage{listings} is commented out, the hyphenation rules return to normal:    And just to note, in the actual environment I'm working in, it will also hyphenate between hard•ware, while with listings enabled, it hyphenates hardware/•software, as in the first image:    Two questions:   Why is this happening? Is there a way to disable this? I don't really want this behaviour just because I'm typing code occasionally in a document.
22026
When working with PDFs, I've run across the MIME types application/pdf and application/x-pdf among others.   Is there a difference between these two types, and if so what is it? Is one preferred over the other?  I'm working on a web app which must deliver huge amounts of PDFs and I want to do it the correct way, if there is one.
39155
I'm using some code I found here on stackexchange to count words in a LaTeX document. I'm using TeXLive on a Mac and using XeLateX to produce the pdf document. It produces a pdf, but with an error message, and longer documents fail to produce the correct pdf.  Here's a minimal document:  \documentclass{article}  \usepackage{xesearch} \newcounter{words} \newenvironment{wordcount}{% \setcounter{words}{0} \SearchList!{wordcount}{\stepcounter{words}}     {a?,b?,c?,d?,e?,f?,g?,h?,i?,j?,k?,l?,m?,     n?,o?,p?,q?,r?,s?,t?,u?,v?,w?,x?,y?,z?} \UndoBoundary{'’-} \MakeBoundary{„“‚‘–} \SearchOrder{p;}}{% \StopSearching}  \begin{document} \begin{wordcount}  Here are some words.  Here are some more words.  \end{wordcount} \end{document}   Here's the error message:  ! Undefined control sequence. &lt;XeTeXinterchartoks&gt; \xdef \xs@String {\xs@String e} l.20 Her e are some words. The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.   I have XeTeX version 3.14159265-2.6-0.99996 (TeX Live 2016), and the most recent xesearch version available in the TeXLive utility (0.1). This worked fine when I was using Tex Live 2014 version, but so many things have been updated now I don't know where to start figuring out what the problem is.
42758
I am trying to get the digit one printed the \mathbb{} font in math mode, however the command  \mathbb{1}   outputs some rubbish. I certainly saw the character I am after in some pdf's generated from latex, hence my question: how do you get it to work?