0
votes
0answers
4 views

Macro- allowframebreaks as default returns error when loaded with fragile

This is a follow-up question to this answer. I noticed that the macro proposed returns error if the frame is loaded with the parameter fragile \begin{frame}[fragile]. Why ? \documentclass{beamer} \...
2
votes
1answer
14 views

Italic or not in equations?

I have written two equations for the report of my Master thesis: $NLL_{k} = - \sum_{j=1}^n \ln(pdf(PD_{k}^{i},skill_{i}^{j}))$ $person_{k}(interest) = \dfrac{1}{n} \sum_{p=1}^n \dfrac{person_{k}(...
0
votes
0answers
17 views

How to make list of mathematics symbols in a book?

I want to make a list of mathematical symbols in a book. I know that using the command \index{}, we can make a list of symbols. Is there any such easy way to make list of mathematical symbols?
1
vote
0answers
9 views

clip minipage environment to height/width

Is it possible to clip the text in the minipage environment, so text outside the minipage is not vissible? \documentclass{article} \begin{document} The fourth item should not be visible: \begin{...
1
vote
0answers
5 views

Removing comma after ibid in oscola biblatex

Apologies if this has been asked elsewhere - I haven't been able to find an appropriate answer so far. (Also I'm new to Latex and to this community so apologies for any infelicities). I'm using ...
0
votes
0answers
9 views

Text running off from cell in table

I am trying to create a table using latex - more specifically, the latex table generator (http://www.tablesgenerator.com/) because I have tons of tables from MS powerpoint that I would like to import ...
2
votes
2answers
18 views

Cross referencing two texts

Consider these statements Exercise 1. $\phi(n)$ is multiplicative. Exercise 2. By Exercise 1 we have $\phi(n)=\prod_{p|n}(1-1/p)$. Suppose I want to cross refer Exercise 2 to Exercise 1 what ...
1
vote
1answer
18 views

Siamart0516 class and wrong hyperref driver

I'm using the siamart0516 document class and I keep getting errors like: Package hypdvips Error: Wrong hyperref driver `hxetex.def' selected! [ }] and LaTeX Error: Command \hc@orgtable already ...
4
votes
1answer
17 views

Can be \pgfplotsset named?

For example, that in a document I have a set of pgfplots images with two or three distinctive common subsets of \pgfplotsset{...}. Is it possible to write them in document preamble and in particular ...
1
vote
2answers
27 views

String comparison with list/array of variables

Is it possible to do a string comparison with a list/array of variables? Here is my example code, ticking the defined \currentbox: \documentclass{standalone} \usepackage[most]{tcolorbox} \...
0
votes
0answers
12 views

Error: Caption outside float inside algorithm

The title suggests that this question has already been answered, but none of the similar questions that I browsed through solve my issue. The following is the contents of my algorithm.tex file : \...
1
vote
1answer
6 views

How to remove the horizontal line from the chapter title in thatcher using memoir

I would like to remove the horizontal line between the Chapter Title and Number... Here is my customized MWE: \documentclass[14pt,twoside,a5paper,extrafontsizes]{memoir} %Classe estilo memoir \...
1
vote
2answers
14 views

Making Bibliography as a Subsection in TOC, but chapter in document

I have seen a few related questions, but I cannot get the answer to work for my situation. Maybe it's because it is the memoir documentclass, maybe it's the bibliography manager (natbib is embedded in ...
0
votes
0answers
6 views

Why frame parameter allowframebreaks doesn't work when using parameter label?

When compiling with the parameter label as in the MWE, allowframebreaks doesn't works. Why ? Is there any differences between setting a frame title as a frame argument or by using \frametitle ? \...
0
votes
0answers
10 views

how to make -recorder work in TL 2016? The required recorder file (.fls) was not found

I am trying the example shown in the answer directory-name-as-a-variable but I keep getting the error Package currfile-abspath Warning: The required recorder file (.fls) was not fou nd. Has ...
3
votes
1answer
67 views

How to put a \dot above \hat?

I use this ${\dot \hat E}$ to put a hat and dot on top of an E simultaneously. Error occurs.
0
votes
0answers
20 views

Writing a tex file with a specific font

In many online notes or books on Latex, the fonts I found were using commands \sf, \sc, and \rm. Beyond this, I have no idea of other fonts. Here, I was trying to type a file in the following type of ...
2
votes
0answers
20 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
25 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 ...
6
votes
1answer
42 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
15 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
1answer
20 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 ...
2
votes
0answers
45 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 ...
2
votes
0answers
15 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}...
6
votes
3answers
142 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
11 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
1answer
23 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 ...
2
votes
0answers
39 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{...
11
votes
0answers
41 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
27 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 ...
6
votes
1answer
35 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
19 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
21 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
12 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
34 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
33 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
53 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
46 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
27 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
43 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
29 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
103 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'' ...
5
votes
1answer
65 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
19 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 ...
5
votes
1answer
32 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
45 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
45 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
30 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
24 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 ...

15 30 50 per page