1
vote
1answer
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)...
1
vote
0answers
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 ...
4
votes
1answer
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 ...
0
votes
0answers
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 ...
1
vote
0answers
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 ...
1
vote
0answers
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 ...
1
vote
0answers
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}...
4
votes
3answers
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}} ... \...
1
vote
1answer
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 ...
3
votes
2answers
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 ...
3
votes
0answers
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{...
9
votes
0answers
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 ...
2
votes
0answers
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 ...
4
votes
1answer
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{...
1
vote
1answer
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{...
1
vote
0answers
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}} & \...
1
vote
0answers
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 ...
2
votes
1answer
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,...
-1
votes
0answers
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 ...
2
votes
3answers
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 ...
1
vote
1answer
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} \...
3
votes
1answer
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 ...
1
vote
0answers
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 ...
1
vote
0answers
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 ...
4
votes
2answers
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'' ...
4
votes
1answer
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 ...
3
votes
1answer
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 ...
3
votes
0answers
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 ...
3
votes
1answer
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 ...
3
votes
2answers
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/...
1
vote
0answers
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 ...
0
votes
1answer
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 \...
1
vote
1answer
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 ...
1
vote
1answer
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[...
1
vote
1answer
35 views

TeXStudio: redefined newcommand variant has bad error highlighting

I would like to use the following command in my LaTeX code \newcommand{\newsym}[2]{\newcommand{#1}{\ensuremath{#2}}} so that I can easily define new symbols that I often use in my equations, such ...
1
vote
0answers
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{...
1
vote
2answers
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 ...
2
votes
0answers
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, ...
3
votes
1answer
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 ...
0
votes
0answers
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 ...
3
votes
2answers
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 ...
0
votes
0answers
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: ...
3
votes
1answer
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]{...
1
vote
0answers
44 views

changing caption name

I work with both pictures and schematics, and instead of "figure", I want "Picture" or "Schematics" to show up. Thus I use \renewcommand as shown below: \renewcommand{\figurename}{Picture} \begin{...
3
votes
0answers
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 ...
1
vote
1answer
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} \...
1
vote
1answer
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:
1
vote
0answers
12 views

standalone and import not loading child document when using \ifdefined

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 ...
0
votes
0answers
37 views

LaTex inconsistent footer

I am pretty new with LaTex. I'd like to add a footer to my report. Therefore, I implemented the following commands in my main.tex file. \pagestyle{fancyplain} \fancyhead{} % clear all header fields \...
2
votes
0answers
26 views

Horizontally centering glyph over text

In the given MWE, note that the new slur command is not centered with the two Fs that it connects. I've tried adjusting the scale of lilyGlyph, but it remains too far left. I would like the ends of ...

15 30 50 per page