# All Questions

5 views

### Center a chart pie and label as figure

I created a pie chart using a code I found on the internet \newcommand{\slice}[4]{ \pgfmathparse{0.5*#1+0.5*#2} \let\midangle\pgfmathresult % slice \draw[thick,fill=black!10] (0,0)...
17 views

### MakeIndex in Spanish

I've tried to use MakeIndex with the spanish package babel. I want to add to the index some words witch are written in the Introduccion, that is numbered with roman numbers in Small Caps. But in this ...
24 views

### question on latex->lua->latex->lua call chain. How to pass things as strings back to latex?

question on basic lualatex programming which I am learning. I have a lua function which returns the full path of a file name. On its own it works ok. I print the value from lua, and it is correct. I ...
14 views

### xparse error with bibentry [on hold]

I am making my cv using the simple resume template from share latex. I am using bibentry (with help from here) to list my publications on the CV. I am using the information provided at this link to ...
14 views

### I Can not put arabic/russian text in Xelatex.

I take this interlinear model here, but for other propouses I want to write a interlinear Arabic / Russian Text, but now I not find why my code do not run... I can not put the arabic text in the ...
26 views

### Suggestions for a professional LaTeX book template

I recently discovered LaTeX and have been impressed by how powerful it is. I formerly used DocBook for all my writing, but after a Linux seminar, saw the wisdom in using LaTeX. I started using the ...
10 views

### Text copied from pdf is missing spaces with newtxtext

When I create a pdf with pdflatexand copy text from that pdf (using Adobe Reader DC on Windows 10), some of the spaces are missing. Here's an MWE: \documentclass{article} % \usepackage[utf8]{inputenc}...
79 views

### Why the sum of columns width in a table is less than 1?

Tell me please, why the sum of columns width in a table is less than 1? That is my code: \begin{tabular} {p{0.15\textwidth}p{0.12\textwidth}p{0.17\textwidth}p{0.17\textwidth}p{0.27\textwidth}} ... \...
9 views

### LyX multiple bibliographies: Illegal, another \bibdata command

Wanting to set up a dissertation with LyX, I tried to configure it for my university's format that requires both a Bibliography and a List of References as separate parts, using LyX 2.2.0 under ...
20 views

### Centered footer page numbers with apa6

My university requires me to deviate from apa6 format for thesis work, and make my page numbers centred in the footer (as opposed to top right). I have seen some examples using fancyhdr, but can't ...
29 views

### Tikz, no shape named is known error

I am trying to compile following MWE \documentclass[border=9 pt]{standalone} \usepackage{epsfig,graphicx,tikz} \usepackage{standalone} \usetikzlibrary{intersections} \usepackage{pgfplots} \usepackage{...
34 views

### Inconsistent letterspacing (interword space) in pdflatex vs lualatex

In my documents I prefer text in small- and all-caps to be letter spaced. To that end I am using the letterspacing capabilities of the microtype package. Until now (with version 2.5 of microtype) I ...
24 views

### Formatting Code around Line Breaks

I am typing up a sentence which contains code, and \verb's ignorance of line breaks is annoying me. This code is very short, and it does not make sense to give it its own line, but I also do not think ...
23 views

### Tree in Tikz with unwanted crossing nodes

I am trying to make a simple tree using Tikz, but I have some problems with the right position (level) of the right side of the tree. How can this be fixed? \documentclass{standalone} \usepackage{...
17 views

### Remove indentation for items of not the same level in a list

I need to make a list look like this: a) First level item b) First level item 1° Second level item 2° Second level item Instead of what is obtained by this: \documentclass{article} \renewcommand{...
19 views

### Problem with multicolumn table

The following code works without a problem: \begin{center} \begin{tabular}{ m{3em} m{3em} m{3em} m{3em}} \multirow{3}{*} {\includegraphics[scale=0.3]{figures/leftFig}} & \...
11 views

### Centering children of tikz tree layout

How do I force the middle child of a tikz tree layout to be vertically aligned with its parent? For example, in the following code, the middle child of the root node is noticeably to the left of the ...
31 views

### Box with dashed border

How can I modify the definition below to get an unfilled box with thick dashed lines around it and rounded corners? I don't want it to be numbered either. \newmdtheoremenv[outerlinewidth=2,...
30 views

### Problem when I try to upload the Latex source [on hold]

I have the following problem: I wish to upload my Latex source through the editorial management system (The journal is Mathematics Magazine ) but I always get a message which says that an error ...
40 views

### Filling in colors in frame macros

I am hoping the answer to this question is a simple, so apologies for my ignorance. Based on posts here, I was finally able to make the frame appear the exact way I wanted it to. I made the following ...
43 views

### Change font to “Times New Roman” in PDFLaTeX

Can anyone help me to change the font to "Times New Roman" in PDFLaTeX? I already tried using the commands below without results: % Font selection \usepackage[T1]{fontenc} \usepackage{times} \...
24 views

### Number, toc & heading tree glossary subentries

I use some glossaries, one in the main matter of my text, other in the back matter of my document. I applied to the first a homemade style with hierarchical entries & subentries (cf. MWE). I would ...
40 views

### Macaulay2 to latex

Is there a way to generate the output of Macaulay2 computations to latex? For example, I can do the following: i1 : R = QQ[a,b,c,d] o1 = R o1 : PolynomialRing i2 : I = ideal (a*b, c*d) o2 = ideal ...
24 views

### Vertically Aligning Multi-line Chapter Names in the ToC

I am trying to modify a class file so that my multi-line chapter names are aligned vertically. It is a custom thesis class file that was passed along to me. Right now the second line starts a little ...
86 views

### Create a new command that makes a footnote with a custom prefix

New to macros here, I need to be able to create a document with the regular footnote commands and a custom command that makes footnotes work identically to the regular one but add a prefix ''R'' ...
56 views

### Is there an alternative to \ref or \eqref that omits the chapter number without changing the overall behaviour?

I am using a thesis template from my university (memoir class) which by default appends the chapter number when I use \ref and \eqref, which is totally fine by me. But in some occasions I want to ...
18 views

### Align tabularx in list: missing [t] option

With a tabular, the optional argument [t] can set the alignment to top, which is handy when putting a table inside a list item. This aligns the first line of the table with the list number. Is there ...
23 views

### Abbreviate author's name biblatex

In academic presentations, it can be customary to not write one's full name in citing one of one's own papers. E.g., in a beamer presentation given by John Smith, a citation of a paper written by ...
40 views

### Creating a flowchart for a proof

I am doing a seminar talk soon, which will consist only of proving one complicated theorem. The proof involves several steps and it's hard to keep track of what's going on. For this reason I want to ...
42 views

### Math environments: Allow empty lines?

Compiling the following document will raise the errors Paragraph ended before \align was complete and Displaymath should end with  because par-breaks are not allowed in math environments/...
29 views

### I cannot use a package although it is installed

I am using TeXstudio with MiKTeX 2.9 at a company's computer. When I want to use a package in the preamble like this: \usepackage{graphics} I get the following message in the 'Messages' window of ...
26 views

### How do I align the Figure tag and the caption on the same line

I am using an pdf on my LaTeX report and somehow when I add the caption the tag and the caption statement are a little bit mis-aligned. \begin{figure} \begin{center} \leavevmode \...
23 views

### TexStudio (Win. 7): Don't show the full filename in the tab

I could not find a solution to this "issue" of mine so I decided to ask the question myself. As the title says, for each open file/.tex document, is it possible to omit the rest of its filename with ...
20 views

### Enlarge outer margin over two pages on twosided document

I am quite happy with adjustwidth* to enlarge the outer margin in a twosided LaTeX document. My problem is, that it doesn't seem to work if the environment is spread over two pages. \documentclass[...
35 views

### TeXStudio: redefined newcommand variant has bad error highlighting

26 views

### ERRORS Inserting a new theorem

\documentclass[a4paper,12pt]{book} \usepackage[spanish]{babel} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage{array} \usepackage{bm} \usepackage{booktabs} \usepackage{...
84 views

### How to plot a function with labels and a hatched area?

I have now spend quite the whole afternoon to draw a function as you can see it on this picture here: I thought it would not be to difficult. But I was wrong. I already asked google for help and ...
18 views

### Conditional margins for printing

This is a follow up question to Different margins for on-screen pdf and for printed pdf. I would like different margins for on-screen viewing and for paper. So, if someone views the pdf on a screen, ...
22 views

### tikz xbar extra coordinate

I am trying to plot a comparison of numbers with \documentclass[border=10pt]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ xbar, y axis line ...
10 views

### Format footnotes in combination with page footer

See picture: First question: - How can I decrease the space between the footnotes and the page footer (arrow). it's not \footskip, and for \textheight I need to change the whole geometry which ...
29 views

### How to change the color of the foot page using fancyhdr package?

I'm using "facyhdr" to add a footer on all my pages, and I also use the extension "etoolbox" to color it, but the problem is that it also color the page number, do you know how to color only the ...
18 views

### Supress indexname and new page in printindex

I have: \documentclass[12pt,a4paper,twoside]{report}. I am using amsidx to produce an index, but have same issue with makeidx, so I will explain with that: I use the following commands in preamble: ...
12 views

### reledmac: \footnoteX within \edtext

I have a problem with footnotes within the edtext of the reledmac package. The footnoteA in the edtext{ quidem} is fine as is. \documentclass[paper=a5,fontsize=11pt]{scrartcl} \usepackage[normalem]{...
44 views

### changing caption name

16 views

### How can I add extra kerning around — (en-dash) in XeTeX

Is there a way to define some extra kerning around the en-dash – (Unicode) or -- (TeX ligature), when it is surrounded by digits in XeTeX? For – I can use the inter char tons, but this doesn’t work ...
36 views

### 'Appendix' before the appendix name

I'm having a few problems with the appendix in my thesis. Right now I have the following setup \documentclass[english]{uvamath} \usepackage[title]{appendix} normal chapters etc. \begin{appendix} \...
229 views

### Making triangular hat

Is it possible in Latex to make a triangular hat? The one that is used in math over three letters representing points to indicate a triangle. Something like:
12 views

I have just updated to latest TL 2016. I found a problem with subimport not loading a child that uses standalone package when the child has \ifdefined\HCode as its first line. Here is MWE. I have ...