Questions tagged [latex]

A widely used document markup language which allows precise control over how a document is laid out. Written as LaTeX, this language is widely used in technical and academic papers for it's various features, including hyperlinks, references, table of contents generation, bibliographies, indexing, and the ability to compile into PDF files.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Clickable links (from hyperref package) do not work upon selecting a subset of pages via "printing to file" in evince

I use the hyperref package for clickable cross-referencing within my document. It works well, however, if I want to send a colleague just a part of the document by using the "print to file" feature in ...
wondering's user avatar
  • 111
0 votes
1 answer
2k views

How can I set layout options for my table in, MS word 2013?

MS Word 2013 has several options for setting the layout of a picture (in-line, top and bottom, ...) (fix position, move with text). But, about tables it lacks such options. When I write something in ...
hossayni's user avatar
  • 577
1 vote
0 answers
113 views

How MS Word can automatically locate pictures?

When you write a document in TeX paragraph 1 \begin{figure} ... \end{figure} paragraph 2 after compiling, you see that the final placement of the figure will not be necessarily between paragraph 1 ...
hossayni's user avatar
  • 577
2 votes
1 answer
845 views

How to generate a table of contents when converting from LaTeX to EPUB using Pandoc?

I'm converting a LaTeX document into an EPUB ebook: pandoc input.tex -o output.epub Everything works fine, however the ebook has a broken TOC: It contains only one item - the book's title. How can I ...
Petr's user avatar
  • 3,143
2 votes
1 answer
1k views

Latex: customising syntax highlighting in vim

I made some custom commands to make writing equation blocks easier: % Equation starters \newcommand{\eqn}[1]{\begin{equation} #1 \end{equation}} \newcommand{\eqns}[1]{\begin{equation*} #1 \end{...
enigmaticPhysicist's user avatar
1 vote
1 answer
301 views

switching from emacs to Preview of the compiled latex document, resets its display to page 1

I just upgraded to Yosemite but had to reinstall various pieces and this is what happens. I edit my latex document using emacs, and preview its pdf using Preview (auctex is installed, and I compile ...
Michal's user avatar
  • 11
2 votes
4 answers
1k views

TeXstudio select whole line

I like the CTRL+L shortcut in SublimeText and would like to have it in TeXstudio, too. What it does: It selects the whole current line and places the cursor at the beginning of the next line. That ...
beesteak's user avatar
  • 115
3 votes
1 answer
1k views

Pandoc options to convert LaTeX flavored Markdown to HTML

The aim is to convert a Markdown file (file.md) to a html file (file.html). The Markdown file contains formulas specified in LaTeX specified between two dollar ($) signs. Example: The resulting ...
willeM_ Van Onsem's user avatar
1 vote
0 answers
708 views

Sublime Text 3: Put LaTeX build files in subdirectory

When I create a PDF from my .tex file, a lot of extra files are generated, with extensions such as .aux, .syntex.gz, etc. Is it possible to put these files in a subdirectory, and still have the ...
Adam Hammes's user avatar
0 votes
1 answer
2k views

Emacs Latex mode error "symbol's function definition is void : latex/setup-keybinds

I get this error when I try to load the .tex files in Latex or Tex mode. symbol's function definition is void : latex/setup-keybinds Checked all files but dont know why error is coming as everthing ...
Anusha's user avatar
  • 123
1 vote
2 answers
4k views

Outline view in Sublime Text 3

I've been advised to use SublimeText and I'm giving it a try. When I take notes in a text file, I would like to structure it with a few levels of headers (in LaTeX, that would be sections and ...
jrouquie's user avatar
  • 151
0 votes
1 answer
3k views

Converting a Latex PDF into EPUB format [duplicate]

Is there a way to take a technical article in PDF format (which typically contains latex formulas) and convert it into an epub format? I wouldn't have access to the original latex files themselves, ...
user1770201's user avatar
0 votes
1 answer
417 views

How to configure AUCTeX in Windows 7?

Help me, please! This is my 3rd attempt at a clean install of EMACS/AUCTeX in Windows 7. I'm following Joachim Schlosser's installation guide to AUCTeX but I'm getting confused at least on 2 points. ...
WobblyWindows's user avatar
0 votes
1 answer
477 views

(osX) Applescript to run compile shortcut in TexShop not working while in Sublime Editor

I'm trying to write an script so that when I'm in Sublime I can use a keyboard shortcut to get it to: save in sublime compile in TeXShop (I'm using it with the external editor setting) then switch ...
m4p85r's user avatar
  • 125
0 votes
1 answer
858 views

Copying straight text from latex generated file

I'm trying to do some corrections to a PDF documented generated from latex. To do the corrections I first copy the text out of the PDF. What happens is that in the generated PDF, the words are cut ...
gl00ten's user avatar
  • 526
1 vote
2 answers
24k views

How to add a dot for section/subsection numbering in TeX

The Bulgarian standard formatting for section/subsection numbering is as follows: 1. Section 1 1.1. Subsection 1.1. 2. Section 2 2.1. Subsection 2.1. Notice that both section and subsection have a ...
sahwar's user avatar
  • 163
2 votes
1 answer
562 views

Installing TexLive on headless Debian Wheezy machine

I want to install TexLive on a headless machine running Debian Wheezy (X11 is not installed). However, when I run apt-get it wants to pull in X11 packages. As I access the machine via SSH, and would ...
NOP's user avatar
  • 363
1 vote
0 answers
453 views

Centering piece-wise function equation in LibreOffice

I'm sorry if this is off-topic. I am using the TexMaths extension in LibreOffice and I'm attempting to center an equation. However, the equation simply gets displayed and I am unable to alter its ...
vivin's user avatar
  • 1,453
2 votes
2 answers
2k views

Defining math shortcuts/macros for Microsoft Word

Is it possible, in any version of Microsoft Word, to define shortcuts for recurring mathematical expressions? (preferably in a way that allows updating all occurences at once if needed) For instance, ...
kdb's user avatar
  • 2,252
2 votes
0 answers
87 views

random fortune on business cards

I have a latex business card template I am using, and I want to have the first line(s) be a fortune from the fortune command in Linux. I have fortune installed. How can I have a different fortune on ...
j0h's user avatar
  • 1,460
0 votes
1 answer
129 views

exporting plotted diagram in LaTex

i plotted a diagram in latex, then i need to export it as .jpg or .eps file, here is my .tex code? \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}...
alireza's user avatar
  • 11
2 votes
2 answers
1k views

Vim conceal feature is applied to active line

I am using MacVim with the vim-latex plugin. There is a conceal feature turned on by default that converts LaTeX symbols to unicode in vim itself so the source is easier to read. I think this is ...
akxlr's user avatar
  • 243
0 votes
1 answer
25 views

How can i read web page formulas, normally?

Sorry if this is not really superuser question. but I really couldnt find an answer on internet. http://www.pandasthumb.org/archives/2004/05/shannon_entropy.html I am trying to read this page but all ...
name234's user avatar
6 votes
3 answers
23k views

Converting LaTeX Generated PDF to Word Using Acrobat XI

I've found myself, again, needing to live in both the land of LaTeX and Microsoft Word. I have Acrobat XI available, so I thought that I would just use it as a middle man in the conversion from LaTeX ...
Jacob Schaer's user avatar
1 vote
1 answer
1k views

How can I change the background color of a cell in LyX?

I have a table in LyX: How can I change the background color of one cell, or alternate the background color between rows?
Franck Dernoncourt's user avatar
4 votes
1 answer
1k views

Arabic: Unicode: how to stack fatha kasra damma

I am using LibreOffice to type arabic, but if what I am asking cannot be obtained with LibreOffice then I would like to know whether it is possible in LaTeX, because I have seen this in a book, but do ...
John Sonderson's user avatar
2 votes
1 answer
301 views

Converting Latex Files to Blog Posts

What is the best way to convert latex files to blog posts? I'm aware that there are ways of getting simple latex formulas to show up in certain blog services (blogger, wordpress, etc.), but is there ...
TestBang's user avatar
2 votes
1 answer
1k views

How do I open a pdf file with PDF X-Change Viewer so that I can still modify the pdf source?

Whenever I open a pdf file with PDF X-Change Viewer it locks up the source pdf file to edits. Is there a way to open the pdf (with PDF X-Change Viewer) so that it doesn't lock-up the source file --- ...
ltcomdata's user avatar
  • 185
0 votes
1 answer
5k views

LaTeX creates some long lines (longer than 'linewidth')

I am using texMaker to write a paper. Latex sometimes doesn't send the last word of the line to the next line and hence, some lines become a little longer than the others. (it happened for about 10 ...
Bahar S's user avatar
  • 105
3 votes
1 answer
4k views

How to generate automatically ODT documents from libreoffice using variables

I have an ODT certificate template which I need to customize with a few elements (name, surname, date, etc.) before printing it. So I would be able to fill it with the data provided in an external ...
saste's user avatar
  • 153
0 votes
1 answer
3k views

LaTeX: How to add a a label to a VerbatimInput from Fancyvrb

I want to include a data file in my paper. I would like to import it verbatim. I'm already using fancyvrb to use verbatim in footnotes, that is why I'm trying to use that package; fancyverb is not a ...
Alrekr's user avatar
  • 111
3 votes
1 answer
1k views

Is there a way to open TexMaths equations (.odt) in MS Word?

For writing documents with equations, I use LibreOffice with TexMaths. The majority of collaborators use MS Word 2007, so I am forced to save into .docx so that they can read the equations and edit ...
xyz's user avatar
  • 151
3 votes
1 answer
8k views

How to expand lines in Vim Latex

As you can see when I open a LaTeX file in vim, lines are folded up. How can I expand them at once?
shinokada's user avatar
  • 2,615
1 vote
2 answers
1k views

Removing Nested LaTeX Tags with Regex

How would I use regex (such as with sed) to remove all \index tags that occur inside any \index tags? For example, a nested mess like this: \index{Test\index{test\index{test}}ing One\index{one} Two\...
Geremia's user avatar
  • 556
0 votes
1 answer
2k views

How can I hide certain file types from appearing in my finder windows?

TeX is great but but produces a lot of files every time I compile a document. When I open the folder containing the source .tex file I also see a lot of accessories file (e.g. .log, .toc that I am not ...
Francesco's user avatar
  • 371
2 votes
1 answer
1k views

Can't delete file because it is open in pdflatex

I'm trying to remove an unnecessary file that was the product of some LaTeX typesetting. However, when I try to do anything to the file, Windows tells me that the file can't be moved since "it is open ...
user avatar
0 votes
1 answer
130 views

How to stop org-mode writing its own link format into LaTeX expressions?

If you write something like \begin{figure}[h!] \includegraphics[width=.75\textwidth]{sallenkey.png} \caption{ Generic Sallen-Key filter topology. Retrieved from \url{https://en.wikipedia.org/wiki/...
bright-star's user avatar
  • 1,589
0 votes
1 answer
281 views

Where should I install Emacs on Windows 7 as a standard account without admin priviliges for LaTeX pdf output?

I've been able to get Emacs running by putting it in the /Temp directory, but I'd like to be able to export my Org files to Latex pdfs, and I haven't been able to work that out yet, (I don't have ...
Aaron Hall's user avatar
  • 4,698
2 votes
1 answer
4k views

Compiling pdfs from LaTeX in emacs

I'm using auctex in Emacs, and call C-c C-c. This compiles me a DVI, which looks great, and is exactly right, and also a PDF which... doesn't - it essentially has none of my text or formatting, and is ...
Koz Ross's user avatar
  • 335
1 vote
1 answer
384 views

Symbol of open set in microsoft word

In this discussion, a way to create symbol of an open set is suggested using LaTeX or as appearing in the origina picture: My university required me to write in word my document (strange indeed) and ...
Danis Fischer's user avatar
6 votes
3 answers
6k views

Is there a way to install Latex, Sage and Gap on a Chromebook?

I just acquire a HP Chromebook 14", and I know it's limited for the installation of new applications. I would like to install Latex, Sage and Gap on it (and also some packages), but I did not find ...
Sebastien Palcoux's user avatar
1 vote
1 answer
343 views

Auctex View works or does not depending on how I launched Emacs

I try to open a PDF in Skim from Emacs (via Auctex's View command) on MacOSX Mavericks 10.9.2. When I open Emacs.app by double-clicking or through Spotlight, it fails. Nothing happens. There's no ...
dcatteeu's user avatar
  • 111
0 votes
0 answers
42 views

Why do my .tex files have different permissions?

I have a folder of .tex files in my Dropbox folder. For some reason not all files have the same permissions. Running ls -@l shows that a certain set has permissions set to -rwxr-xr-x@ owned by com....
Saaru Lindestøkke's user avatar
4 votes
3 answers
834 views

Use project or file specific spellfiles in vim

I just enabled spell check in vim. I like it and I know how to use it. However, I would really like a project or even file specific spellfile as my list of accepted words. That way I can keep project ...
schlimmchen's user avatar
0 votes
1 answer
115 views

Libre office Writer: image linking latex-like

As with latex, is it possible to write the path to an image and then get its content automatically updated by the program? I would need something like this tool without changing editor.
user avatar
7 votes
2 answers
1k views

Delete / Yank lines from current line up to and including line containing search pattern

Suppose I have the following text (cursor is in middle of first word 'begin.' blah blah blah blah stuff stuff stuff \\\begin{tabular} { |p{0.25\textwidth} |p{0.2\textwidth} |p{0.5\textwidth} |} \...
Still.Tony's user avatar
  • 1,251
0 votes
1 answer
922 views

To convert Powerpoint into outline of Tex-file effectively

I have lectures as powerpoints. I want to convert text and lists to tex-file. If there is a picture, a mark can be left to a file. I can individually add pictures. I tried to save the ppt document ...
Léo Léopold Hertz 준영's user avatar
10 votes
2 answers
8k views

How do I use latexmk with MuPDF as the PDF previewer?

MuPDF doesn't support automatic reloading. How do I use it as a document previewer for latexmk1? 1: Example call: latexmk -pdf -pvc doc.tex
Blender's user avatar
  • 666
1 vote
1 answer
507 views

gvim latex interface not appearing after latex-suite installation

I have been installing gvim with the latex-suite plugin on a laptop running an Ubuntu 13.10 OS. The installation of gvim worked, but I'm not sure if the latex-suite installation did too. According to ...
jordev's user avatar
  • 11
1 vote
1 answer
2k views

LaTeXiT in Evernote

I was following this thread because I'm a college student studying physics, and taking notes in LaTeX format is really important for me, when I saw that I could use LaTeX in EN (Evernote) by just ...
michaelsnowden's user avatar

1 2 3
4
5
9