I recently noticed that some of the papers I've listed on my homepage look a lot sharper than others when rendered in a PDF viewer. Curious about this, I tracked it down to this import:     \usepackage[T1]{fontenc}   As a brief example of what I mean, here's a test case:  \documentclass{article} %\usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{blindtext} \begin{document} \blindtext \end{document}   Here's the result in TeXstudio with and without the T1 encoding (with is marked with a little red dot in the lower right-hand corner):    Likewise here's the result in Adobe:    And here's a close-up:    I'm compiling the PDF in TeXstudio using  pdflatex.exe -synctex=1 --extra-mem-bot=1000000000 -interaction=nonstopmode %.tex     If I simply drop the fontenc package, I have problems with braces ({}) used in the text. And the package .  My questions are:   Is this a local effect due to my font set-up? How could I resolve this problem?   (Sorry if the question is naive; I'm afraid I only have passing knowledge of T1 and the font system in LaTeX.)
41138
I have the following LaTeX-document:  \documentclass[a4paper,11pt]{article} \usepackage[utf8x]{inputenc} \usepackage[ngerman]{babel}  \usepackage[T1]{fontenc}  \title{Sample} \author{Litb}  \begin{document}  \maketitle  \begin{abstract}  This is a report about my praxis phase at the company foo bar which I enjoyed. \end{abstract}  \end{document}   Much to my frustration, compiling with pdflatex creates a document with Bitmap-fonts. The reader's font-list shows that it uses Type3 fonts.  If I remove the fontenc loading, then I get a PDF using vector-fonts, but I heard that I should keep it, for having native German Umlauts working.  Does anyone know how I can get vector fonts with T1, and why it keeps using bitmap fonts if I have that package-load line in it?
81644
When I compile with LuaLaTeX and TL2016 this MWE   \documentclass{article}  \usepackage[no-math]{fontspec} \usepackage{luatex85} \usepackage{shellesc}  \setmainfont{Minion Pro}  \begin{document}  \huge{huge} \textbf{\huge{huge}}  \Huge{Huge} \textbf{\Huge{Huge}}   \end{document}   I have this .pdf.     Any help? With TL2015 all is correct. Thanks
82205
Basically, I've designed a booklet on Photoshop CC. It's an informational booklet so it's quite vibrant with lots of colours and pictures in it.   I've finished it and exported all the files into PDF format. Upon doing this, the PDF's are much "duller" for use of a better word. Now I'm not a designer and the whole thing was a learning process but now I'm reading about CMYK and RGB colour models and conversions etc. I designed the whole thing RGB (because CMYK looked duller obviously. The PDF's aren't disastrous, red is still red, black is still black but it's nowhere near as visually appealing anymore.   Is this just because of the monitor and the models each program uses or when I send my brochure to be printed, am I doomed for a much duller booklet? There's obviously a way around it otherwise all print would be dull.
27087
Here is my document :   \documentclass[12pt]{book}  % must-have packages \usepackage[turkish]{babel} \usepackage[utf8]{inputenc} % This package will support Turkish chars % must-have packages  \usepackage[a4paper,left=2.5cm,right=2cm]{geometry} \usepackage{graphicx} \usepackage{listings}  % settings \setcounter{secnumdepth}{0} % settings  \begin{document}  \framebox{\includegraphics[scale=0.5]{./images/image_3.png}}  \end{document}   When I try to build a pdf out of this file I received bunch of errors. here is one of them :      Missing \endcsname inserted   ...graphics[scale=0.5]{./images/image_3.png}}   When I remove the babel package, it runs smoothly. Even when I change the language to another language, it runs as well.  What is happening here?
78419
If I use the fontenc package, I do not see compound numbers in the scheme:   \documentclass{report} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage[crop=off]{auto-pst-pdf} \usepackage{chemnum} %\setchemnum{replace-style=,format=}  \begin{document} \replacecmpd{a} \replacecmpd{b} \includegraphics{test.eps}  See compound \cmpd{a} and \cmpd{b}. \end{document}   Output:    If I comment out the fontenc package, it seems to work:
109420
I'm new to TeX. I have the following problem: How can I load a font from a file in a directory, which is located in the root of the project?  Say I have something like:   /project   /fonts     DancingScript-Regular.ttf   main.tex   DancingScript-Regular.ttf   Loading it when it's right on the root seems to work.  %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode  \documentclass[a4paper,12pt]{book} \usepackage{fontspec} \setromanfont{DancingScript-Regular.ttf} \begin{document}  hello world  \end{document}   However I can't figure how to load it when it's in the fonts directory. I've tried ./fonts/DancingScript-Regular.ttf, fonts/DancingScript-Regular.ttf, "fonts/DancingScript-Regular.ttf" and file:./fonts/DancingScript-Regular.ttf. None of them work.  All guides seem to focus on some sort of "how to install the font" but I can't work with that since the fonts may change (regularly) and would cause a sort of font version hell; it's also not very version control friendly. The  doesn't seem to cover using your own fonts either.  Also, can I load the fonts as a sort of preset/alias? Since for a lot I have basically font families, so around 10 variants (oblique, bold, bold oblique, regular, etc). I would like to avoid repeating a declaration if possible.
21247
I'm pretty new to photoshop and illustrator and trying to create a simple text-based logo to use on my web site, for example:   You get wildly different versions of that depending on what browser you use to render the text (which is why I obviously must create the image myself), but for example on Chrome you can already see a blurriness around the edges of the font.  The problem I'm having in Illustrator is that when I write in a certain font (e.g. "Arial Rounded MT Bold" at 24pt), the font looks beautiful and crisp against my background colour at 200% zoom, but I start to see blurring at 100% - then I'm not sure what it is about the 'save to web' process, but the image loses further clarity by the time it ends up on my website (as a 'type optimised' png).  I'd read somewhere that photoshop was better for saving images of text for web, but I see a similar blurriness there even in advance of exporting (and of course a 200% zoom in photoshop just pixelates the image).  So what I'm really lacking is a step-by-step for-dummies type guide of how to get crisp images of text onto a website.  At this point I'm not sure if perhaps I've just chosen a bad colour contrast, or fonts that don't scale well - although I'm also wondering if there's something significant in the fact the font looks beautiful in Illustrator at 200% or larger - perhaps that means I should be exporting the font from Illustrator at a larger size than required and then doing additional downsizing (somehow!) afterwards - although of course again I can't trust web browsers to do that for me.  EDIT: I should also have noted that the effect is much worse on my monitor versus my laptop (tempting to say I have a bad monitor but there's many websites where the monitor version looks fine too!)
46384
I'm trying the next code:  \documentclass[pdftex,spanish]{article} \usepackage{babel} \usepackage{tikz}  \begin{document}  Simple arrow:   \begin{tikzpicture}     \draw[-&gt;] (-1.5,0) -- (1.5,0); \end{tikzpicture}  \end{document}   but it doesn't work. It throws the errors:    ! Argument of \language@active@arg&gt; has an extra }. ! Paragraph ended before \language@active@arg&gt; was complete.&lt;to be read again&gt;\par \draw[-&gt;]   What can I do if it works right without the babel package?
111118
I've been working on a project and compiled it using pdfLaTeX, then tried to compile using pdftex and got a whole lot of errors. I'd like to know why that would happen since it's a very plain file and I did not put a pdflatex option in documentclass or anything like that, and what's the real difference between them.
100585
Some research papers available on the web have low-quality outputs. For example, see . It seems that it was converted from a PS file and typeset in (La)TeX. However, it has all the font information. Is there any way to make the PDF file clearer?
78075
I prefer to use bm package to bold math. However, I noticed that when used with eulervm, this gives inconsistent results for ‘&lt;’ and ‘>’ characters.  I wonder what causes it and can the usage bm be fixed to get proper ‘&lt;’.  \documentclass{article}  \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  %\usepackage{amsmath}  \usepackage[euler-digits,euler-hat-accent]{eulervm}  \usepackage{bm}  \begin{document}      \texttt{\hphantom{mathbold}\llap{bm}}: \quad $ 1 + 1 &lt; 3; \quad \bm{1 + 1 &lt; 3} $      \texttt{mathbold}: \quad $ 1 + 1 &lt; 3; \quad \mathbold{1 + 1 &lt; 3} $  \end{document}
30974
I'm using Foxit Reader as default PDF viewer. How can I see what type of font is used for a selected part of a PDF document?  (If this can only be done with another software, I'd prefer a freeware as I don't want to pay for just viewing selected fonts' types.)
121444
I started to write my CV in LaTeX. My document begins as \documentclass[a4paper]{amsart} \usepackage[latin1]{inputenc} \usepackage[finnish]{babel} \begin{document} \begin{center} {\large \textbf{\textsc{ANSIOLUETTELO}}} \end{center} \end{document}  But pdfTeX for Mac says: This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) .... LaTeX Font Warning: Font shape `OT1/cmr/bx/sc' undefined (Font)              using `OT1/cmr/bx/n' instead on input line 6.  [1{/usr/local/texlive/2010/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] [2] (./ansioluettelomod.aux)  What am I doing wrong?
44344
I usually use xelatex, but I'm exploring pdflatex now. When loading specific fonts in xelatex, I can always know what characters the font has available, since I can inspect the font file in any font viewing program, or I can find out the hard way by just entering the unicode and see if the character is displayed in the output. But how does this work with a font package?  Say, for instance, that I would like to use phonetic symbols in the  font. How do I know whether the font has phonetic symbols (I assume it does), and how do I know what command I need to type in order to make them appear? My only resource is , but this only tells me what characters/commands there are available in LaTeX2e by default (depending on the font encoding), and what symbols I can find in specific packages. Phonetic symbols, for instance, are said to be in the tipa package. Does that mean I am locked to tipa if I want to use phonetic symbols with pdflatex?  Here's a pointless MWE:  \documentclass{article} \usepackage{gentium} \begin{document} Please give me some phonetic symbols here? \end{document}
71656
\documentclass{article} \usepackage{amsmath} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document}     \begin{align}         \hat{\alpha} &amp;= \begin{cases}                       \tan^{-1}\frac{\hat{\alpha_1}}{\hat{\alpha_2}},  \,    &amp;\text{if }  \hat{\alpha_1}&gt;0 \, \hat{\alpha_2}&gt;0 \\                      \tan^{-1}\frac{\hat{\alpha_1}}{\hat{\alpha_2}}+\pi,  \,  &amp;\text{if }  \hat{\alpha_1}&lt;0 \\                      \tan^{-1}\frac{\hat{\alpha_1}}{\hat{\alpha_2}}+2\pi,   \, &amp;\text{if  }\hat{\alpha_2}&lt;0 \,  \hat{\alpha_1} &gt;0 \\                      \text{undefined}, &amp; \hat{\alpha_2}=0 \, \hat{\alpha_1}=0                 \end{cases}      \end{align}  \end{document}   I need to numbering of this cases but when i put align code , the file not compiling because \par .... what is wrong please help me i attempt every probability to solve this
2706
I'm generating a PDF document with pdflatex (more precisely, latexmk invoked from TexMaker 3.4. My LaTeX install is TeXLive 20120719). I can read the document fine in Okular and Gmail's attachment preview, but a colleague that runs Acrobat Reader on Windows reports: "There was a problem reading this document (131)".  EDIT: The error disappears when using \usepackage[demo]{graphicx}, which puts black boxes instead of the real images. They are all PDFs, PNGs and JPGs. Instead of using demo, I added the code for a \demoincludegraphics command, which makes the file work in Reader when using it to replace the logo in the headers, as shown below. But enabling it (using \includegraphics instead of \demoincludegraphics) and removing everything else also works in Reader! There is some strange global interaction that makes the file appear broken to Reader when enabling all the graphics...  My code compiles fine, reason why I only attach the preamble and a simple text for a Minimal Working Example:  \documentclass[12pt,lettersize,twoside]{article}  \usepackage[utf8]{inputenc} \usepackage[spanish,es-tabla]{babel}   \usepackage[fixlanguage]{babelbib} \usepackage{amssymb,amsmath} \usepackage{graphicx}    \usepackage{array}    \usepackage{caption} \usepackage{subfig} \usepackage{rotating} \usepackage{booktabs} \usepackage{multirow} \usepackage{calc} \usepackage{stfloats} \usepackage{fixltx2e} \usepackage{url} \usepackage[colorlinks=true,linkcolor=blue,citecolor=red]{hyperref} \usepackage[all]{hypcap}  % Margins \usepackage[top=2cm, bottom=2cm, left=3cm, right=2cm]{geometry}  % Make header show up in the first page \makeatletter \renewcommand\maketitle{\par \begingroup     \renewcommand\thefootnote{\@fnsymbol\c@footnote}%     \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%     \long\def\@makefntext##1{\parindent 1em\noindent             \hb@xt@1.8em{%                 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%     \if@twocolumn     \ifnum \col@number=\@ne         \@maketitle     \else         \twocolumn[\@maketitle]%     \fi     \else     \newpage     \global\@topnum\z@   % Prevents figures from going at top of page.     \@maketitle     \fi     \thispagestyle{fancy}\@thanks % was {empty} \endgroup \setcounter{footnote}{0}% \global\let\thanks\relax \global\let\maketitle\relax \global\let\@maketitle\relax \global\let\@thanks\@empty \global\let\@author\@empty \global\let\@date\@empty \global\let\@title\@empty \global\let\title\relax \global\let\author\relax \global\let\date\relax \global\let\and\relax } \makeatother  % Remove date field in title; Remove preceding vertical space \makeatletter \renewcommand{\@maketitle}{ \vspace{-3cm} \begin{center}% {\LARGE \@title}\\ \vspace{2mm}% {\@author} \end{center}% \par} \makeatother \makeatletter  % Demo includegraphic boxes \newcommand{\demoincludegraphics}[2][]{%   \setlength{\fboxsep}{-\fboxrule}% Remove frame separator/gap   \framebox{\rule{0pt}{100pt}\rule{150pt}{0pt}}% Framed box of 150pt x 100pt }  % Headers Config  \usepackage{fancyhdr} \pagestyle{fancy} \fancyhead{} \renewcommand{\headrulewidth}{0.4pt} \setlength{\headheight}{2.2cm}  \addtolength{\textheight}{-1.62cm} \fancyhead[LO,RE]{\demoincludegraphics[height=1.6cm]{logo-slogan}} \fancyhead[LE,RO]{}  % Footers Config \fancyfoot{} \renewcommand{\footrulewidth}{0pt} \fancyfoot[C]{\thepage}  % Notas al pie etiquetadas por simbolos   \renewcommand{\thefootnote}{\fnsymbol{footnote}}  \title{Doc Title} \author{My name}  \begin{document}  \maketitle  This is a test. It includes graphics and other floats.   \end{document}   EDIT: I found a workaround: Processing the generated pdf file through Ghostscript, as follows:   gs -dSAFER -dBATCH -dNOPAUSE  -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf   where input.pdf is the file generated by pdfLaTeX, and output.pdf the one that will be readable by Adobe Reader and the rest of the PDF readers.
120026
I am using the pdfpages package to include some other PDF documents into a LaTeX document I'm processing with pdfLaTeX.  One of the included PDFs has some uncommon fonts.  They are embedded in the original PDF, and show up fine when looking at the document in Acrobat (Reader or full).  However in the final processed document, certain glyphs do not show up in Acrobat.  pdffonts shows that all of the fonts used in the original PDF are also embedded in the final PDF from the processed LaTeX. The problem is occurring with both TeX Live 2007 on a Fedora 16 box and MikTeX 2.9 on Windows 7.    Any idea what's going on here?