# All Questions

14 views

### Is it possible to have more than one label for a tikz node and use arrows for connecting nodes to labels?

\documentclass[border=100pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[circle, shading=ball, drop shadow, ball color=red!10!black, minimum width=4cm, color=white, ...
9 views

### When to use \mathrm or \mathsf for math. operators?

Looking at some source files one sees for instance \DeclareMathOperator{\tr} {\mathsf{tr}} for the trace of a linear map and \DeclareMathOperator{\rank} {\mathrm{rank}} for the rank of a ...
8 views

### missing accented characters lualatex in texlive2016

If I process the following beamer class with lualatex (texlive 2016), the Á charactert is missing in the output pdf, but í appears correctly. This problem is not showing with laulatex of texlive 2015. ...
490 views

### Extract first word in a string

The title pretty much says it all, I need a command to get the first word in a string. Based on this answer to another question of mine, I tried this: \documentclass{article} \makeatletter \...
21 views

### Issues with inserting bibliography from Mendeley

I am new to LaTeX. I cannot import a saved bibliography from Mendeley to my LaTeX file. My current code reads this in the preamble:- \documentclass[12pt,a4paper]{report} \usepackage{natbib} \...
49 views
+50

### Pgfplots and large exponents in expression and domain

After I discovered the fpu library for increased precision, I tried to make a plot involving large exponents. I choosed as an example a plot of the gravitational force of the moon on a test mass in SI-...
6 views

### How to add a Figure in header embedded in an interrupted line?

How do I add a figure in my header that will look like this, where the line at the bottom of my header starts on the left is 1 cm long has a gap of 3 cm for the figure and the line continues for the ...
62 views

### Is it ok to load a package twice (as long as no extra options are given)?

In Loading package twice with \RequirePackage causes "option clash" and Loading a package more than once we see that a package can be loaded multiple times, as long as no options or no ...
5 views

### Print all authors in \citename when maxnames=N is set

What I would like to do, is to print the full author list for a reference, in a document where I've set maxnames to a small number. I'd like the names printed as Firstname Lastname. The list of ...
181 views

### “BigText” formating: how to adapt the fontsize to make all lines have the same width?

As in this question on stackoverflow, I want to replicate the so-called 'big text' formatting: Functioning: You give as input: the line (column) width for each line, and the content of each ...
17 views

### tlmgr unknown directive error with upstream Tex Live 2016

I have installed Tex Live 2016 following the instructions from the tex live quick install instruction for linux, running the install-tl installer. I am on Linux Mint 17.3. Trying to use tlmgr, I got ...
67 views

### Why pdfTeX gives different results with identical typesetting instructions? [on hold]

I noticed strange behavior in pdfTeX and do not understand how to explain it. In the following two examples pdf files look differently. texlive-lang-czechslovak package must be installed to try these ...
2k views

### What to decide before writing a math book?

Until now, I have only written short documents in LaTeX. Whenever I encounter a problem or an error, I google'd it, and copy-paste'd the package/newcommand to my code. I use the same beginning code ...
51k views

### Use XeLaTeX in Texmaker instead of pdfLaTeX

I use TeX Live 2010 and my editor is Texmaker Bidi. It was working probably good but from 2 months ago I've encountered with the error: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Fatal ...
42 views

### Quiver plot in polar coordinates

I need to plot an analytically given vector field in polar coordinates. I would like to get something like the picture in this answer by Christian Feuersänger, but in circular axes. I tried to use the ...
60 views

### How to make a table with equally sized columns?

I have the following table: \documentclass{article} \usepackage{booktabs} \begin{document} \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{...
109 views
+150

### Bending arrows in xy-pic

This question almost duplicates Bending snakes with xy-pic, but I need something slightly different from the solutions presented there. I spent some time trying to figure out how arrow bending works ...
27 views

### Tikz plot set legend entries manually

I have a plot in which I have only one actual plot line and two things I draw into the plot area. A horizontal line and a circle which I want both to appear in the legend. I tried using the \...
20 views

### Last Column problem with csvsimple and siunitx

I don't understand why it gives me the error Extra }, or forgotten \$. <recently read> } in the part ...entoIdraulico & \RendimentoMeccanico } \\ if I change in S the last c of the part \...
88 views

### chunk ran only once knitr/lyx then error

I am having trouble when I run the following code in lyx, using a script written in R: clean_cache(clean = TRUE) <<echo=TRUE,results='asis'>>= library(knitr) library(RMySQL) library(...
11 views

### exsheets: headings and page break

If a picture doesn't fit on a page, it's printed one the following page, while it's heading (in my case just the exercise number) is printed on the page before. Is it possible to print the heading ...
10k views

### Any way of converting ppt or odf to beamer or org?

I'm interested in converting some .ppt files into beamer/.tex (or, better, .org) format. I can find numerous discussions of converting from beamer to .ppt but not the other way round. Is there any (...
23 views

### Interaction of \BeforeBeginEnvironment and \NewEnviron

Consider the following MWE. \documentclass{article} \usepackage{etoolbox} \usepackage{environ} \usepackage{tcolorbox} \usepackage{amsthm} \BeforeBeginEnvironment{proof}{\tcblower} \NewEnviron{...
5 views

### sublimetext 2, auto-pst-pdf, enable shell escape, chemnum

I'm quite new to Latex (and Sublime Text 2) and currently writing my master thesis with them. I need to draw a lot of molecules and want to number them throughout the whole thesis. No, problem, used ...
222 views

### How not to extract text when using \includesvg?

When using the includesvg macro that is provided by the svg package to include an svg image, all "text components" of the image (see the manual) are separated into a pdf_tex file (which is basically a ...
17 views

### nomenclature does not print, possibly because of hebrew babel distrupting makeindex

I have been trying to print an automated nomenclature using nomencl in a multilingual document. It does not work, here is a MWE. Removing everything hebrew from it (from the babel definition and ...
17 views

### line breaking has no effect in doublespace

I am trying to break a doublespace content without any success. \documentclass{article} \usepackage{amsmath, amssymb, graphics, setspace} \begin{document} \begin{doublespace} \noindent \(\left\{\...
27 views

### Reduce space between figures in tabular

I have arranged 4 plots using tabular. Now I try to decrease the space between the rows to move the plots and the labels closer together. In another post (Column and row padding in tables) I read I ...
18 views

### Automatically adding page breaks into long array environments

I have been generating a lot of data for a project and I wrote in TeX commands (via print statements) so that I get rows upon rows of data entries that look like a_{1} & a_{2} & a_{3} \\ ...
16 views

### Change label in the middle of a list

I tried to use moreenum and enumitem to create a list numbered in hex. For flavour, I want the label to be 0x## (or 0x0# up to 0x0F) if possible. This was my first approach: \documentclass{scrartcl} \...
11k views

I'm using the latest version of MacTeX 2013 on OS X 10.8.4. All of my Tex Live packages are fully up-to-date. Tex Live also lists the fontawesome package as installed. I'm trying to use the ...
21 views

### Why is there no page numbering?

Simply stated, I cannot figure out why this document has no page numbers. I do have the 'gobble' command at first, but I later switch to 'arabic'. Any thoughts? \documentclass[12pt]{book} \...
23 views

### Porting PSTricks code example to TikZ

I have a good book "Thinking Forth" which has LaTeX code availale. (http://thinking-forth.sourceforge.net) The source code uses PSTricks, so I'm trying to remove the PSTricks dependent code. The ...
7 views

### Innertopmargin space for mdframed break page

I have using mdframed and expecting to set the innertopmargin space for the continued next page, but in my \mdfsetup, innertopmargin=20pt only work for my first dashed box rather than the break page ...
13 views

### LaTeX help and command glossary

Is there any official site, mobile application or software for looking up latex (and its packages) commands and their syntax in it as Matlab Software done it in it's help. Brief description with some ...
1k views

### Build this formula in LaTeX

I'm working on my term paper and have to include the calculation for the Google PageRank. This is what it looks like in Wikipedia: How can this be represented in LaTeX? I'm especially struggling ...
12 views

### Reset question numbering in exam class without affecting grade table

Purpose: I need to create a document that contains multiple individual exams. I have already applied heavy customisations to the exam class so I wish to continue using it rather than having to start ...
39 views

### Drawing a funnel with Tikz

Does anyone have a method for drawing a funnel in Tikz? I am attempting to replicate the funnel drawn for this past year's AP Calculus BC free-response questions. I have attached the image that I ...
26 views

### How can I caption my figure in a right way? [duplicate]

I was writing an article and try to insert an image with a caption. So first I used the following codes, \flashright \includegraphics[scale=0.25]{cantor.png} which results in Then I wanted to ...
12 views

### Gastex figure has text but missing all graphical elements

I'm having a strange problem with Gastex: the figure compiles, but all the nodes and arrows are missing, only the text shows up. The latex code should be okay because it works on other computers. An ...
10 views

### Problem with IEEEtran for LaTeX Bibliography [duplicate]

I download latex bibliography style file from here. Sample Code: \documentclass[twocolumn,conference,a4paper]{IEEEtran} \usepackage{amssymb,amsmath,epsfig,latexsym,graphicx,bm,multirow} \...
20 views

### Changing commas and dot on bar graph

Here's what I have right now: Is there a way to change commas for dots and vice versa? This table was made using the answer from this question, so it's basically the same thing. This isnt't an ...
43 views

### Image and text display in order

I want to display text, image, text, image in this order, but from reasons unknown to me, it disply text, text, image, image. I've tried to make images smaller, but nothing change. Here is a part of ...
429 views

### Bad colors in table using baposter

I'm trying to assign specific colors to table cells in a poster (baposter). Unfortunately they are reproduced different in the pdf. As they have to match the colors of my graphs I need precisely the ...
8 views

### Why does setting \russianfont cause fontspec to find no support for Cyrillic in a font which works with \setmainfont and Russian as the main language?

This example is from ScumCoder's question, based on Grigory M et al.'s answer. If I compile the following code with XeLaTeX, all is well: \documentclass{article} \usepackage{fontspec} \usepackage{...
22 views

### How to indent enumerate at the left of its label

When my label is too big, it leaves the page. How to indent with the left of label or simply increase left alignment. \documentclass[11pt,a4paper]{report} \usepackage{enumerate} %package for ...
13 views

### Make arrows larger in Tikz-UML

I'm using Tikz-UML package to make some class diagram but arrows (association, inheritance...) are so tiny it looks ugly. Any way to make them larger?
31 views

### XeLaTeX can't find font

Yes, I've seen this question. It is (1) five years old, (2) answered with answers that do not work for me, and (3) I don't have enough reputation to comment (and posting question as an answer seems ...