# Tag Info

3

If you "Export" the PDF (File menu) then it should work okay. Preview makes non-destructive changes which need to be "flattened" into the image before normal PDF workflows will see them.

0

If you simply want an easy method to get a version of Palatino with text figures and real small caps with pdfTeX, you can use \usepackage[osf,sc]{mathpazo} (as in the tufte-latex and classicthesis classes), but this is technically URW Palladio rather than TeX Gyre Pagella.

1

This should really be solved by hyperref, but here's a hack that seems to work (for the colon); however, the best thing, when babel-french is involved, is not to use colons in labels. \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage{etoolbox} \usepackage{hyperref} \makeatletter % patch ...

1

I am not able to comment so just post a fix to @Ben 's answer [Evince <-> Editor] here. For genome-3, there are some additional changes to make forward/backward search work, which has been discussed here. In evince_synctex/evince_backward_search, change ... def on_sync_source(self, input_file, source_link): ... self.source_handler(input_file, ...

0

If you want to write a caption on a current page fixed point, you can also use TikZ for it and its options remember picture and overlay. External tikz figure is still external, but corresponding caption is writen into the actual document. The main problem seems to be that being a landscaped page all references are wrong, so after some tests I could do: ...

1

If »something.tex« includes packages which are not locally installed, the MiKTeX package manager will try to install them on the fly, at least as far as I remember. If the capacity of your line is small, this can take hours. Please try an easy example: \documentclass{article} \begin{document} Hello pdfTeX! \end{document} Does this work? If not, would ...

1

Similar to the MWE in the linked XeLaTeX question, here is a MWE for LuaLaTeX. It uses the ifluatex package to allow switching between pdfLaTeX and LuaLaTeX (remember to delete all .aux files). I used the fonts from the Microsoft ClearType fonts, because they look good on screen and printed. % !TEX program = LuaLaTeX \documentclass[ a4paper, ...

1

The package caption has shown some issues some days ago, being connected to a previous update, showing 3table etc in the LoT etc. A. Sommerfeldt updated again and the issue is gone. The solution here is to update specifically the caption package for the relevant TeX distribution (MikTeX, TeXLive etc.)

2

I don't think it's a problem since they can compile with latex, not pdflatex, and images can be in EPS format. Anyway, you can use the standalone option for the epslatex terminal: in this way you create a create a .tex file (of course you can insert a custom preamble in order to have the same font of your main document) to be compiled. You'll have a PDF ...

4

The disappearing 's' is a pdf comment (annotation). The problem will go away if you 'flatten' the pdf so that this is no longer the case. One way to do this is to print the pdf into another pdf. On a Mac I open the file in Preview or Skim (not an Adobe product since these block the procedure) and go to File -> Print, then click PDF -> Save as PDF and enter a ...

5

The two error messages concern two distinct problems. The first is easily solved. The second less so. First problem: PDF cannot include a PDF which uses a higher version format This is the first error message you get: pdfTeX warning: pdflatex (file ./p.pdf): PDF inclusion: found PDF version <1.6>, but at most version <1.5> allowed By ...

1

I'm currently developing a free open source tool that can convert LaTeX to a single HTML file. Its called PDBF (https://github.com/uds-datalab/PDBF) and runs on win/linux/mac. Instructions: Make sure you have a Java Runtime (version >= 1.7) installed Download latest version of PDBF: https://github.com/uds-datalab/PDBF/archive/gh-pages.zip Unpack archive ...

0

I'm currently developing a free open source tool that can convert LaTeX to a single HTML file. Its called PDBF (https://github.com/uds-datalab/PDBF) and runs on win/linux/mac. Instructions: Make sure you have a Java Runtime (version >= 1.7) installed Download latest version of PDBF: https://github.com/uds-datalab/PDBF/archive/gh-pages.zip Unpack archive ...

3

Here's one option using the background package; adjust the settings according to your needs: The code (needs two or three compilations): \documentclass{article} \usepackage{tikz} \usepackage[color=black,opacity=1,angle=0,scale=1]{background} \usepackage{lipsum} \backgroundsetup{ contents={% \begin{tikzpicture}[remember picture,overlay] ...

2

Implementing the suggestion by Barbara Beeton of using the arrow head in the lasy fonts, which is however smaller than the standard arrow head of \rightarrow. It shouldn't be a problem if you always use \Arrow. \documentclass[12pt]{article} \usepackage{pict2e,picture} \makeatletter \DeclareRobustCommand{\Arrow}[1][]{% \check@mathfonts ...

2

\documentclass[12pt]{article} \begin{document} Foo vv \parbox{.5cm}{\rightarrowfill} Bar $\rightarrow$ Baz \end{document} For lengths shorter than the default \rightarrow, you can go to TikZ: \documentclass[12pt]{article} \usepackage{tikz} \begin{document} \newcommand{\Arrow}[1]{% \parbox{#1}{\tikz{\draw[->](0,0)--(#1,0);}} } Foo \Arrow{.1cm}Bar ...

1

Because you gave not an proper MWE it is hard to help you. At last I can not recreate your error but in your given bib file I found one problem that---I guess---causes your problem. I have the following MWE (based on your given files, reduced a little bit and added two \cite commands to have a proper compiling and using package filecontentsto include two ...

1

Here's something I came up with after noticing a related question, Making equations copyable in pdf. I'm not sure if this is the best way of doing things, but it seems to work: \documentclass{article} \usepackage{accsupp} \newcommand*{\copyablesc}[1]{% \BeginAccSupp{% ActualText=\detokenize{#1},% method=escape, }% \textsc{\lowercase{#1}}% ...

0

Maybe the following list is helpful to pin down the problem. Prerequisites for a conversion of an EPS file in pdflatex: The EPS file must exist and must be found by the graphics package. Working ghostscript installation, especially the ghostscript must be able to convert the EPS file to PDF successfully. The programs epstopdf/repstopdf, which are wrappers ...

4

You can use \substack. \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amsmath} \usepackage{babel} \begin{document} Using \verb|\substack| $\sum_{\substack{i=1\\j=1}}^{m}x_{i}y_{j}.$ Stacking indexes using \textbackslash{}stackrel: $\sum_{\stackrel{i=1}{j=1}}^{m}x_{i}y_{j}.$ Stacking indexes using ...

5

Setting the job name Option --jobname can be used to set the name of the job including the .pdf, .log or .aux files. The date can be automatically generated by command date in Linux: \$ pdflatex --jobname enthusiasticCVdate +%d%m%y enthusiasticCV.tex On Windows the date in the name can be given manually, example for MiKTeX: pdflatex --job-name ...

1

Search path at TeX macro level The macro \input@path can contain additional search paths: \makeatletter \providecommand*{\input@path}{} \g@addto@macro\input@path{{../template/}} \makeatother \input{template.tex} % ... \begin{document} ... \end{document} Environment variables Another way is setting the environment variable TEXINPUTS to add the path ...

2

From the trusty man page for tex and pdftex (the command name): tex [options] [&format] [file|\commands] So the order is important: options go before the filename. Therefore, you should use: pdflatex -halt-on-error -output-directory pdf src/foo.tex

2

You can use the eso-pic package to add the number at the desired location. Using a macro to hold the number and redefining it, you can get the desired result. A little example: \documentclass{article} \usepackage[a6paper]{geometry}% just for the example \usepackage{xcolor} \usepackage{lmodern} \usepackage{eso-pic} \usepackage{lipsum} \newcommand\Grade{5} ...

1

Thanks to the comments, I was able to solve the problem as follows: \ProvidesPackage{altlang}[2015/09/20 Alternative Languages Package] \RequirePackage{xstring} \RequirePackage{etoolbox} \newtoggle{alternativelanguage} \togglefalse{alternativelanguage} \IfSubStr*{\jobname}{\secondlang}{% \toggletrue{alternativelanguage}% }{% ...

0

After intensive analysis and discussion, I come to the conclusion that this is a bug in the involved printer driver. There is no evidence that the pdf generated by pgfplots is corrupt. If it would be, I would happily address the issue. Please refer to https://sourceforge.net/p/pgfplots/bugs/92 for details.

3

Do it like this: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} \begin{itemize} \item Houston, do we have a Pröblem? \item {\fontseries{sbc}\fontfamily{cmss}\selectfont Houston, do we have a Pröblem?} \end{itemize} \end{document}

3

Here is a solution \documentclass{article} \usepackage{lipsum} \newlength{\bottomMargin} \setlength{\bottomMargin}{1mm} % paper size \setlength{\paperwidth}{10cm} \setlength{\paperheight}{15cm} \setlength{\pdfpagewidth}{\paperwidth} \setlength{\pdfpageheight}{\paperheight} % horizontal dimensions \setlength{\oddsidemargin}{-1in} ...

2

Problem with this answer Floating objects I have tried to see if this answer works with figure environments. If they appear to be at the last page, then it does not work as wanted (the last page has the \normalHeigt and not the "clipping height") PS: Since I don't know anything about TeX and I am not a super user of LaTeX, maybe there are mistakes or bad ...

1

Inserting a modified \thechapter command just before the bookmark writing operation works (at least for a small document). \documentclass{book} \usepackage[bookmarksnumbered]{hyperref} \usepackage{xpatch} \let\origthechapter\thechapter \makeatletter \xpatchcmd{\addcontentsline}{% \Hy@writebookmark{\csname the#2\endcsname}% {#3}% ...

0

I don't remember the details about WinEdt 5.4, but I think it was not that different from today's (WinEdt 9.1!): you should have an Execution Modessubmenu in the Options menu. Select the TeX Options tab. The is an edit window the the TeX Auxiliary Output folder, like this: Hope this helps, but really you should upgrade!

3

I think the error message is pretty clear as it stands. The package PSTricks does not run with pdflatex without additional preparations (like including the package auto-pst-pdf and adding some operating system dependend compilation flag), but only with standard latex producing a dvi file. This dvi file is converted to a ps (PostScript) file with dvips. In a ...

5

New version that takes a single UTF-8 character or a single ASCII letter command sequence such as \# \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{1D400}{\textbf{\textrm{A}}}% for demo only % code mostly from the 2015/10/01 latex release inputenc) \makeatletter \def\charwithcodepointb#1{% ...

1

You shouldn't be getting that error message but adding \usepackage{lmodern} will switch to a more or less compatible font set that probably avoids the errors you are getting. You asked in comments for details of what exactly this changes: The original extension of the TeX computer modern fonts to 8bit encodings were the "EC" fonts, and these are the ...

3

I would create the notes as part of the overall table structure using, for example, threeparttable: \documentclass{article} \usepackage{threeparttable} \begin{document} \begin{minipage}[c]{0.9\textwidth}% \footnotesize \begin{center} \begin{threeparttable} \begin{tabular}{| l | l |} \hline Category & Value\\\hline ...

4

There are likely many ways. Here are two -- which, in a way, abuses the longtable environment because, inside a minipage environment, you will surely not be building a table that is longer than one page. However, it does provide for a simpler syntax than some other solutions because longtable can handle footnotes normally. (Note that it is not always ...

0

The filecontents first line should be "%!PS" instead of "%!" to avoid "Invalid binary DOS header" from epstopdf.cpp available at ftp://163.143.1.21/pub/tex/miktex-svn/miktex-latest/Programs/MiKTeX/epstopdf/epstopdf.cpp My setup is C:\Pub\Tex>pdflatex -version MiKTeX-pdfTeX 2.9.4225 (1.40.12) (MiKTeX 2.9) J. Gélinas

4

While looking into this problem, I ran across this answer that seems to resolve the issue. The short answer is to add \pdfinclusioncopyfonts=1 to your TeX document preamble. I tested your MWE on my machine, and it seemed to do the trick using just lilypond-book and pdflatex.

2

Some shameless self-promotion: there is also my commenting package, available at https://github.com/bordaigorl/latex-commenting You can declare multiple authors \declareauthor{jon}{Jonathan}{blue} and put comments in your text with various commands: \comment[jon]{bla}% Inline comment \annot[jon]{bla}% Margin comment and others. Then you can ...

1

If I understand you right you can try the following MWE: \documentclass{article}% article scrartcl \usepackage{blindtext}% to build dummy text or document \usepackage{lmodern} \pdfpkresolution=300 % dpi % see pdftex manual %\pdfimageresolution=300 % dpi % see pdftex manual \begin{document} \Blinddocument % dummy document ...

4

multiaudience package could be an alternative to comment package. You will also need several compilations to get any pdf version unless you hide them inside a makefile or any other script system. But multiaudience provides advantatges in front of comment because you can combine/discard different audiences and not only select one of them. Following you have ...

3

This can be done with the comment package like so: \documentclass{article} \usepackage{comment} % Include custom environments before they are included/excluded \specialcomment{teachersnote}{}{} \specialcomment{notinsummary}{}{} % Comment out as needed \excludecomment{teachersnote} \excludecomment{notinsummary} \begin{document} % this array is always ...

2

It's not easy to understand this from the beginning. The header is done with \begin{info}...\end{info}, which is in turn defined in sdaps.cls file, being used in the definition of questionnaire. It uses \translate{infotext} etc. strings. Those strings are defined in beamer - translator - dictionary which aren't provided directly, unless the whole bunch ...

4

Neither Sweave or Knitr can recognize the paper or text width of the LaTeX document. You must set the width in the R-chunk. Simple example follows \documentclass{article} \begin{document} <<>>= 1:200 @ <<>>= options(width = 25) 1:200 @ <<>>= options(width=160) 1:200 @ \end{document}

12

There is also a subreddit for LaTeX, which primarily is about LaTeX, though the other TeX variations are discussed too.

7

Let us assume that you use article class. Then instead of numbering sections by hand, you should allow latex to do the job. Use \section commands. Then we can make titlesec package to indent the first paragraph after the section title. \documentclass{article} \usepackage{lipsum} %% for demo only \usepackage{titlesec} ...

8

Example for a document with a numbered section title and three paragraphs: \documentclass{article} \begin{document} \section{Introduction} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate ...

12

There is also the LaTeX Users Group.

30

The major bona fide web forum is LaTeX Community which is run by one of our moderators here, Stefan Kottwitz. There is also the texhax mailing list. And the newsgroup comp.text.tex.

38

****************************************************************************** ******************************************************************************

Top 50 recent answers are included