# All Questions

4 views

### LaTeX Beamer: Define \itemsep globally

In LaTeX Beamer, I'm trying to set \itemsep globally. I've already tried the following, but it doesn't work: \documentclass[14pt]{beamer} \setbeamertemplate{itemize/enumerate body ...
5 views

### Conflict between xepersian, hyperref and appendix

As you might know there is a bug in the appendix package which prevents hyperref from linking to the appendices, e.g. here. The aforementioned article says this is bug is triggered when babel is used ...
29 views

### How to eliminate extra margins around text?

I have a problem that the regular text of the article adds extra margins to the specified margins. To make it more clear, whatever I do, the text is "narrower" than what I specify with the geometry ...
14 views

### LuaLatex setup a different font for numbers and the rest

This question is a duplicate of this older question that strayed from the subject. I would like to make a presentation using latex class beamer, however I would like to use different fonts than the ...
14 views

### providecommand for column vector

I'm trying to provide a command for a column vector. I defined this in the header: \providecommand{\vector}[3]{\ensuremath{\left( \begin{matrix} #1 \\ #2 \\ #3 ...
9 views

### Changing the font of algorithm name in algo.sty

I am using algo.sty to write algorithm in LaTeX. I want that the algorithm names are in \texttt font. I guess I need to change something about the \a@paralgo (from algo.sty) in the below code, but I ...
23 views

### Can fontspec temporarily change a feature for a specific font on the fly?

Question After setting up fonts in the preamble with \usepackage[quiet]{fontspec} \newcommand{\fontspath}{/path/to/fonts/} \setmainfont[% AGaramondPro Path = \fontspath , Extension = .otf , ...
35 views

### How to use a subset of a beamer presentation?

I am trying to take the PDF output of a beamer presentation and take only a subset of the slides, and create a PDF file out of them (I can't recompile the beamer presentation with the relevant slides, ...
34 views

### Using a backslash and the following by it non-ASCII char

I'm writing a text with a special char of backslash (\), the text requires to containt the char and the following non-ASCII symbol (cyrillic), so for example I type: text \ц other text and I have ...
40 views

### Exponential function

I have a problem creating an exponential function in equation mode in Latex. I would like to have this exponential function: exponential^((y^2)/4). Does anyone know have to do that? David
14 views

### How to fill the area between a listplot and a psline in pstricks?

I have a .txt with data I use to plot a curve with lisplot and I need to fill the space between this curve and a psline in pstrick. Does anyone know how to do it?
26 views

### How can i create a document like this format [on hold]

I want to write a math document in arabic with latin math symbols like this document. Can anyone help to achive this by providing a template or important steps to create it.
21 views

### Is it possible to sagetex without Sage installation?

Is it possible to use sagetex without Sage installation if I have an account in the Sagemath Cloud?
30 views

### Use and meaning of the symbol at @ [duplicate]

In many codes I see that there is the symbol @ appearing (e.g. it often appears in counters). My simple question is: does @ has a special meaning or it is just a character as others?
15 views

### Float interferes with breakable tcolorbox

Today I noticed, that a breakable tcolorbox can be interrupted by a floating object, e.g. a figure. IMHO this is rather strange and shouldn't happen. Thus I wonder, how I can force the floating object ...
39 views

### Figures in Minipage to avoid multiple pdf's warning, now labels aren't working

I'm trying to include svg graphics in combination with the respective .pdf_txt within my bachelor thesis. So far that works but it triggers the Warning : 'multiple pdf's in a page group'. That Warning ...
36 views

### Summarize parts of a table with curly brackets

I would like to create a table (cf. attached figure) and use curly brakes to summarize some of the cells. I did a lot of research and found this solution (Curly brackets around a table), but it ...
32 views

### Font gets broken on DIN A5 [on hold]

My font gets broken if i print my DIN A4 PDF on a DIN A5 paper... On DIN A4 everything is fine. I don't want to change the font. what can i further do to solve this issue?
13 views

### Pst-geo3d sans / without contours

Je me demande s'il est possible de dessiner une carte sans contour avec pst-geo3d (compilation: xelatex). J'ai besoin de zones de couleur pour la terre et pour l'eau et de la possibilité de placer les ...
24 views

### Two column minted listing inside tcolorbox

I have a quite long but narrow code I want to typeset inside a tcolorbox. Is it possible to enable a two (or more) column mode inside the box (not break the box and set the parts adjacent). The ...
29 views

### \xdef with arguments in \newcommand?

70 views

### Unit column in table with square brackets and siunitx

The header might be a bit weird. But I would like to add a specified column type that is reserved to units. For instance, take a look at the following working example: ...
24 views

### .bbl clears itself after compiling

I am using MiKTeX 2.9 with pdfLaTeX, MakeIndex and BibTeX and I'm trying to create a bibliography at the end. Here is my problem: I put the sources into my bibliography (it is in a separate ...
24 views

### “Collision” between marker labels in pgfplots scatter plot

Sometimes, it's hard to avoid "colliding" marker labels in scatter plots, by which I mean labels that overlap each other. If I don't want to remove data points to avoid the overlap, is it possible to ...
27 views

### Bibliography and Citation

I am writing a PhD in LaTex. I have the following (very simplified) stuff in my preamble: \documentclass[11pt,a4paper,twoside]{report} \usepackage{natbib} \begin{document} \chapter{Chapter1} ...
47 views

### Throw error if font is not defined

I need to throw an error, should a certain font not be installed. I have a font in a subfolder: /font/NinjaFont.ttf. This must be installed via certain commands (not important for this - but here: ...
34 views

### A very simple positionning problem using pgfplots standalone geometry and tikz package

I try to find information in the big list of pgfplots question on tex, without success, so this is "one more question" from a beginner about pgfplots, standalone, geometry, tikz combo package. I need ...
26 views

### Latexmk: Stop processing on pdflatex error

If my tex-files contain an error (such as an undefined control sequence), latexmk will present a prompt and ask for manual input before continuing. Now, of course it is possible to force further ...
18 views

### Preview of tikz/pgf in Lyx

I'm using tikz/pgf in Lyx. I included the \usepackage{pgfplots} in my header and the output pdf works fine. However, I'm using Lyx to be able to see a preview of my document as I write. Did anyone ...
34 views

### Cover letter with Sender and Recipient on the left-hand-side

I would like to use the documentclass letter but only moving the sender -field to the left-hand-side. Minimal example from here: \documentclass{letter} \usepackage{hyperref} \signature{Joe Bloggs} ...
52 views

### Justify and center text

I would like to justify and center text in the following manner: Notice how each line is exactly the same length. How is this done? I am using a documentclass article and no packages.
47 views

### How can I define parts of an expression as a TikZ node?

I want to explain what the different signs in an expression means like this: Currently I do this with TikZ (see MWE at the bottom), making nodes of everyting in the expression I want to point an ...
51 views

### Big Brackets inside eqnarray

Can anyone help me in writing the following long expression with in IEEEeqnarray or eqnarray structure? \documentclass[10pt,a4paper]{article} \pagestyle{plain} \usepackage{amsmath} ...
62 views

### How to make a graphic to continue on next page?

I have an article in TeX, The following image describes what I want to achieve! I know how TeX works "Normally" on graphics, but really this is what I want. Thanks.
25 views

### How to put a text right-sided in centered an equation?

My MWE, \documentclass[a4paper,11pt]{article} \usepackage{empheq} \usepackage[svgnames]{xcolor} \definecolor{backcolor}{RGB}{255,255,170} \newcommand*\mybox[1]{% ...
29 views

### soul package for wavy underline with bidi does not compile

I am using the soul+tikz code provided by Gonzalo Medina in Red squiggly imitation to get a wavy underline All works well until I include the raqgged2e and bidi packages. At compile time I get ! ...
27 views

### Font Inconsistency in fncychap

I am using the Sonny style for chapter headings in fncychap package. I noted that the font for chapter headings and the one for section headings are different. This seems very odd. Preferably, I would ...
55 views

### What is the best way to include R code in the Latex paragraph

I am a newbie in Latex. I have two simple questions regarding including R code in Latex. Q1: For a block of R code, I use 'listings' package, as follows. \documentclass[12pt]{report} ...
27 views

### Command containing babel shorthand not expanding [duplicate]

Greetings to the distinguished gathering of TeXperts! My problem is: if a macro is defined with a babel shorthand containing the quote mark (") as an active character, it does not expand when ...
24 views

### Framing and colorizing a LaTeX command [duplicate]

I normally use \verb|\LaTeXe| to typeset the command \LaTeXe in my document. But now I want to frame or/and colorize the command \LaTeX2e. How can we do that? \documentclass{article} ...
37 views

### Adding error bars to PGFPlots

I know there's got to be an easy way to do this, but I can't figure it out right now. I'm just trying to add error bars to my plot. Here's what I've got without error bars: \documentclass[reprint, ...
80 views

### Area between two curves which are functions of y, not x

I would like to shade the region between x=y^2 -1 and x=1-y^2. I would like to be able to write something like, \documentclass[border=5pt]{standalone} \usepackage{pgfplots} \pgfplotsset{every ...
80 views

### Filling a non-convex path in tikz

I am trying to fill a path consisting of two semicircles, and I only want the area between them to be filled. The following code doesn't work correctly. \begin{tikzpicture} ...
23 views

### How to add outline to a character under xelatex?

It will be like: How to change color of edge of characters? The codes seem not to work under xelatex envirnment. Does anyone know how to do this with xelatex? Thanks
36 views

### Using the %-symbol rather than a blank line in display math avoids errors [duplicate]

The following code creates two arrays on the same line. However, I get an error if I don't put the % between the arrays. Could anybody explain why? \[ \mathbf{x_1} = \left( ...
191 views

### Align a word to a point past the right margin

I made a simple title command: \documentclass{article} \RequirePackage{graphics} \newcommand{\modtitle}[2]{% \vspace*{-5\baselineskip}\noindent\hspace*{-.75in}% ...
34 views

### Interaction with green chapter titles — right paren shows up black

I use \setupinteraction[state=start] and \setupcolors[state=start] for making the entries of the table of contents interactive, and all entries show up green. But in the backmatter a chapter title ...
26 views

### Automatical title section in beamer only on the first frame after \section

I'm trying to make that the title of the last section appears as frametitle only on the first frame after each \section{...} code. Now, i'm doing it manually with this code : \newcommand{\TS}[0]{ ...