New answers tagged

0

By default, hyperref writes the toc entries to the pdf outline, so leaving out \tableofcontents will work just fine: \documentclass{article} \usepackage{hyperref} \begin{document} \setcounter{secnumdepth}{0} \section{Foo} \subsection{Bar} \section{Other section} \end{document} The complicating thing is that for various TeX reasons, anytime you're dealing ...


1

\documentclass[a5paper]{article} \usepackage[hidelinks]{hyperref} \usepackage{lipsum} \usepackage[variablett]{lmodern} \usepackage{fancyhdr} \newcommand*{\Button}[1]{\Acrobatmenu{#1}{\fbox{\footnotesize\texttt{#1}}}} \begin{document} \pagestyle{fancy} %\renewcommand{\headrulewidth}{0pt} %Uncomment this line if you don't want the line at the top of the page. ...


0

Not sure exactly what you mean by display the outlines, but here is a solution hides the content of the TOC Original After Applying \RedefineToc If you want just a blank page you can instead comment out the following line \renewcommand\contentsline[4]{}% Code: \documentclass[letterpaper,11pt]{article} \usepackage[empty]{fullpage} \usepackage{kpfonts} \...


0

It is not possible to diagnose exactly what is wrong as we don't have the data file, nor do we see what packages you are loading, and not loading. Here is a small Rnw file that uses a dataframe, called maintable with 7 columns, which is printed using kable with the same syntax you provided. Note that because you chose HOLD_position you need to load floatrow,...


0

I met a similar problem when I add a line in my pdf using pdf editor, but the line didn't show in the pdf file generated from latex. I just solved this problem by opening my pdf file using the Word, and then modify it using the Word. Then, the modified word can be resaved back to pdf, it works. Amazing! You can try it.


0

For a single line and no equation number, use \displaystyle: \documentclass{standalone} \begin{document} \( \displaystyle E=mc^2 \) \end{document} For multiple lines with no equation numbers, you can abuse a tabular. \documentclass{standalone} \usepackage{array} \begin{document} \begin{tabular}{@{}>{$\displaystyle}r<{\null$}@{}>{$\displaystyle\...


1

I had the same issue on Windows 10 after the latest updates on 12th Feb 2020. Acrobat reader had silently upgraded to release 20. So just replace the server string in the DDE command with "acroviewR20". You find it in Output --> Profiles --> Viewer.


2

We're now in 2020, so the version is 20!


2

Your example work fine for me on windows both in the sumatra viewer and the adobe viewer. But as @Sveinung wrote in a comment: pdf viewer have to guess if a space is a real space or not and if the font is tracked they can err quite easily. You would have to tag the pdf (see e.g. https://tex.stackexchange.com/a/444308/2388) and use real space char to ...


1

Actually, the way to include svg files using the package of the same name is using the command \includesvg (as a pendant to \includegraphics for normal graphic inclusion). The argument of this command should point to the svg file (not the pdf_tex file) and you can tell LaTeX where to look for this file using the \svgpath macro (as a pentant to \graphicspath)....


0

I solved the problem using the suggestion Rasmus made in the comment to my original question. As it needed one additional step, I give the full solution here. The problem is solved by telling LaTeX the location of the pdf_tex file at the moment it is included in the document by \input{img/example.pdf_tex}. Telling LaTeX where the corresponding pdf file can ...


1

Without editing the template, you can use the YAML metadata block to pass options that would redefine \includegraphics so that it would always add a frame, similarly to what is done here. Take, i.e., this picture as an example, and let's call it Screenshot_20200131_230154.png: Then, the following markdown file test.md: --- header-includes: | \...


2

Please try to restrict questions to one question in the future, but they are closely related, so I'll answer anyway. Why is Type 1 (CID) used instead of OpenType? It is possible to directly import OpenType fonts in PDF files, but that is not done in any TeX engine I know. Instead, especially for Type 1 based OpenType fonts (typically font files ending with ....


0

I ended up doing a completely fresh installation (TeXnicCenter and MiKTeX). LaTeX now successfully compiles and builds the PDF output. Before I did the reinstall, I took screen captures of the output profile settings. It worked with both Adobe Acrobat acroviewA11 (default) and Adobe Reader acroviewR19 (which is now identical to the old installation). The ...


4

You seem to use form fields. Try \begin{Form}[NeedAppearances=false]


Top 50 recent answers are included