# Tag Info

0

The following set-up also works for Latexing. First, use Okular to display the pdf. For this, move okular up in the pdf_viewer_order setting of Latexing. For example, "pdf_viewer_order" : [ // Linux "okular" ], At this point the Latexing: Open PDF command should open okular with the right pdf. Now change the options in okular to use sublime as ...

2

When you Insert > File > External Material, you should choose the PDF pages template: Note how it mentions the option pages=- in order to include the entire document. That is, by default, this template (using the pdfpages package) only includes the first page. Therefore, under the LaTeX and LyX options tabs, enter This should include the entire PDF in ...

2

According to the Bitbucket issue tracker, for versions 2.0b or greater the code of clemens' answer reduces to: \documentclass{article} \usepackage{pdfcomment} \usepackage{acro} \ExplSyntaxOn \acro_declare_simple_key:n {tooltip} \cs_new_protected:Npn \acro_write_tooltip:nnn #1#2#3 { \prop_get:NnNTF \l__acro_tooltip_prop {#1} \l__acro_tmpa_tl { ...

1

A more updated answer; the best shot for switching to Preview.app is, in viewPDF.py, to set: if s == "Darwin": viewercmd = ["open", "-a", "Preview"] With this, after compiling, you should be able to execute window.run_command("view_pdf") in the console and it should open the generated pdf with Preview. Then, in makePDF.py, change: if ...

2

The symbols can be set in verbatim mode, e.g.: \documentclass{article} \begin{document} \begin{tabular}{ll} \verb|&| & bitwise and\\ \verb|&&| & logical and\\ \verb|^| & bitwise xor\\ \verb+|+ & bitwise or\\ \verb+||+ & logical or\\ \verb|<| & less than\\ \verb|<=| & less than or equal to\\ ...

0

You may try http://detexify.kirelabs.org/classify.html - just draw the symbol you are looking for and the applet there will give you the required packages (if necessary) as well as the code for the symbol...

1

I've done the following for including .pdf images in the past... If I want to include an existing .pdf document: \includepdf[offset=30mm -20mm,noautoscale,pages=1-2]{name_of_your.pdf} If I want to include an image, like what you're doing: \begin{figure}[htb] \centering \setlength\fboxrule{0.5pt} ...

6

If you save an image created in Word, using Save As PDF, it will save a one page document with the image. To turn this document into an image of the right size, you can use the pdfcrop program, which is part of TeX Live (and I assume MikTeX). From the commandline, navigate to your file's folder and then use: pdfcrop <your-pdf-file.pdf> This will ...

0

The symbols like +, -, ||, <, > would work without the dollar symbols. The more critical symbols and some good practices of using it are explained and suggested as follows: For using ampersand (&) symbol, use backslash (\) before the symbol. The correct way of including the ampersand symbol in the document is as follows: \&. Any ...

0

Helping myself with the guide I linked in my comment above, here is a list of symbols of yours that you can render, inside or outside the math delimiters, not needing AMS-LaTeX packages or any other. The following code \documentclass{article} \begin{document} a \& b \% c \textasciicircum{} d $e \vert f | g < h \le i \ge j > k \ne l = m$ ...

2

\title{} just tells LaTeX what the title is. It doesn't produce any output. To actually typeset the title, use \maketitle. \title{My title} \author{Me} \date{}% if you don't want a date \maketitle

6

PDF files are binary files. They must not copied as text files with automatic line end conversion. Basically a PDF file is a list of objects (indirect objects with object number), whose position in the file is recorded in the cross ref table for fast lookup. When line endings are changed from Unix (1 byte = line feed) to to Windows/DOS (2 bytes = carriage ...

0

You should put this in an equation environment, e.g.: $$a <= b | c$$ In this case your equation gets a number. To avoid this, do the following: \begin{equation*}$$a <= b | c$$\end{equation*} But if you want to write for example a simple % in your text, you can do it like this: \%

4

That's not possible. Whether TeX can continue, heavily depends on the kind of error. \batchmode or \nonstopmode can be used to let TeX continue until the TeX job is finished or aborted. But this does not say anything, whether the PDF file is generated. When an error occurs, TeX cannot clairvoyance. Sometimes the error is fatal with immediate abortion. ...

2

LaTeX tries to find the best position for the figure in the document. If you are not happy with the result. Add \usepackage{float} to your preamble and use [H] instead of [ht] as the figure positioning option. [H] means: exactly HERE, do not float

2

Add T1 to the font encodings else cm-super won't be used i.e. \usepackage[T1,T2A]{fontenc} - otherwise you'll get OT1 as the default text encoding and the default Computer Modern, I think, which isn't scalable. Since mathabx is causing the problem, you need to ensure that you have scalable versions of mathabx installed correctly. Obviously, you should ...

3

This was done on a smaller scale for a map of Hawaii using a 20x20 grid. For the final version you set the opacity of the map to 1. I find using a checkerboard background helps when aligning links to the map. Using a \parbox instead of tikz \matrix is much faster. I stole the map from http://www.enchantedlearning.com/usa/states/hawaii/map.GIF and ...

5

Package bookmark also supports URI actions in bookmarks, which can be used to link to other files or URLs. \documentclass{article} \usepackage{hyperref} \usepackage{bookmark} \bookmarksetup{open,numbered} \begin{document} \section{Hello World} \bookmark[ level=subsection, uri={http://tex.stackexchange.com/}, ]{URI: TeX.SX} \end{document} However, it ...

2

Just for the record: None of the above worked for me, but this thread:http://www.latex-community.org/forum/viewtopic.php?f=5&t=953 Precisely these lines: \usepackage{microtype} \DisableLigatures[f]{encoding=T1} before the \usepackage[T1]{fontenc} line. If all else fails this can be a quick-and-dirty solution. Take care, B

0

If you are generating your pdf document from the tex document at the command line then any of the previous suggestions are viable. To decrease typing at the command line you can write a makefile to handle the transparency checks and then generate the pdf. If you really want to do everything from within the tex document you can try the bashful package or the ...

Top 50 recent answers are included