0
votes
0answers
27 views

tikz text width causes error

What am i doing wrong to have this error in my thesis report ? ./Chapter1.tex:666: Package pgfkeys Error: I do not know the key '/tikz/width', to which you passed '12cm', and I am going to ignore ...
0
votes
1answer
15 views

Which commands were exectuded by latexmk

Recently I've discovered latexmk if I understand correct then it can replace several commands needed to compile latex just with one command. Is it possible to show which commands were executed when I ...
1
vote
1answer
10 views

Specifying row font for just one row in tabu while keeping global line separation

I want to achieve a table with: 1. a global tabulinesep 2. the left column in bold 3. The top row bold, white and a red panel However when I add rowfont the tabulinesep breaks down. How do I do this? ...
0
votes
0answers
12 views

Should I use italic font when quoting a MOOC course? [on hold]

I'm writing my resume with LaTeX. I don't know if I should use italic font when quoting a MOOC course:
4
votes
3answers
96 views

Write Equations side by side

My Code: \documentclass[12pt,a4paper]{article} \usepackage[a4paper,vmargin=0.7in,hmargin=0.7in]{geometry} \usepackage[utf8]{inputenc} \usepackage[misc]{ifsym} \usepackage{amsmath,amsfonts,amssymb} ...
2
votes
2answers
24 views

citing with a custom text not numbers or author name (Latex)

My friend is writing a math thesis in persian language. He wants to cite to references with author names and year both but in persian while the references (at the end of the thesis) are all in ...
5
votes
2answers
83 views

Why is there a green border around the annotation?

I wanted to have a blue annotation to explain one of the points, but it has a green outline, like the color of my mind map. How can I fix that \documentclass[12pt]{article} ...
0
votes
1answer
11 views

How to add parenthesis around on series field in incollection type of references in BST File

I am very new to BST file editing. Any one could please try to give a solution on this one. BST Coding: FUNCTION {format.series} { series empty$ { "" } { this.to.prev.status ...
1
vote
0answers
13 views

TexStudio autocompletes when I type braces

When I try to type something in texstudio that has a macro associated, such as \hl{} it actually autocompletes to \hline{} as soon as I type the brace (it also does this for brackets). Words don't ...
2
votes
1answer
32 views

Tikz and text specific / dependent relationships

I have seen some people do some mind boggling things on this site using powerful packages (and standalone code) based on pgf and tikz. This question (How to get intersection point(s) of two glyphs?) ...
0
votes
0answers
18 views

How to place an “Export as PDF + Latex from Inkscape”-image above a \includegraphics image (overlay)

When you save images as a PDF, checking the PDF + Latex option, one gets 3 files: filename.pdf filename.pdf_tex filename.svg If you'd like to include this exported image in a Tex document, this ...
2
votes
2answers
27 views

Vertical and Horizontal alignment in table

Question: Here i made a simple table. My question is very simple how can i align text inside the table horizontally and vertically? MWE: \documentclass[12pt, a4paper]{article} ...
2
votes
2answers
70 views

How can I place a 1 cm margin to a set pdf book (a6) to print

So I've already got my book ready set for a6 paper: contents, latex compilation, and I'm already satisfied with the end result of pdf I've got. However I've noticed that it'd be good to add a small ...
0
votes
0answers
12 views

Export as “PDF + Latex” from Inkscape -> When images are not in the document’s directory

When you save images as a PDF, checking the PDF + Latex option, from Inkscape, I assume one usually gets 3 files: filename.pdf filename.pdf_tex filename.svg If you'd like to include this exported ...
2
votes
1answer
39 views

Memoir font size 13pt

This is the original issue: Is there a way to use 13pt as the main document font size with the memoir document class? I need a document with the 13pt font size in memoir due to 12pt being too small ...
0
votes
0answers
16 views

Rendering to Chinese overflows margin/papersize (pandoc)

I am using Pandoc to render from markdown to PDF. Since I have Chinese texts, I use xelatex with the WenQuanYi Micro Hei font. However, the PDF that gets produced overflows the margins on the ...
2
votes
0answers
47 views

Does LaTeX know what it is doing with figures [on hold]

I really love LaTeX, and learning it and working with is just as much fun as the beauty of the documents it outputs. But when it comes to figures in LaTeX, sometimes, even when using the '!h' ...
0
votes
0answers
19 views

How to overlay (annotate) sub-images (rectangles; but not straight, maybe chopped off) an image

The LaTeX Overlay Generator is a great tool to annotate images which contain sub-images like this (where the sub-images are all rectangles and all "horizontal with the screen"): However, some ...
4
votes
1answer
22 views

Titlesec & titles extending into margin

I would like to use titlesec to have gradient shaded section titles that extend into the left margin. I would like the section number and the gradient to extend into the left margin, but would like ...
1
vote
1answer
22 views

Handout: pages layout not correct

I'm trying to make a handout version of my presentation, however it seems not succeed. I want 4 slides collaged on 1 page. Can anyone give me hint to fix my problem? \documentclass[handout]{beamer} ...
2
votes
2answers
22 views

Minimal ConTeXt and Husayni example

I would like to typeset a line of Arabic using ConTeXt and the Husayni font. I can see the lfg files located here: /usr/share/texmf/tex/context/fonts/husayni.lfg ...
2
votes
1answer
29 views

Compatibility between parnotes and csquotes — Some things typeset twice

If you want to quote a text with footnotes, and want to place/position the notes just after the quotation paragraph : — It works perfectly with \enquote, \textquote… — It doesn't work well with ...
1
vote
0answers
24 views

Remove white space around subfigure on book class document

I have the following to include two sub figures side by side: \begin{figure}[H] \centering \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=0.6\linewidth]{figure1.png} ...
8
votes
2answers
46 views

\tl_replace_all:Nnn recurse subgroups

Suppose I had a token list variable containing abc{ab{abc}c}. I want to replace every occurrence of b with d. As you can see there are subgroups containing b which I also want to have replaced, so ...
3
votes
1answer
26 views

Inline escaping {{ myVariable }}

How to escape Mustache notation inline for example: This is a Mustache placeholder {{ myVariable }} that will output myVariable. This seems to be causing errors: \lstinline{ {{#if}} ... {{else}} ... ...
3
votes
2answers
68 views

Overlapping over/underbrace

I wanted to do something like this: How to have overlapping under-braces and over-braces The example given is really great, so I tried it on my own: what I was hoping to achieve is to represent a ...
0
votes
0answers
18 views

random numbering of bibliography [on hold]

Due to some reason, the bibliography is randomly numbered rather than being numbered according to the order in which it is referenced in my latex document. How can I fix it? I have the following lines ...
1
vote
1answer
13 views

Why do each of the pages after the first drop down a little? [duplicate]

I tried to do a custom header on the first page and then just a regular footer on every page by copying things from other people's questions. But when I compile the first page looks fine but all the ...
3
votes
0answers
27 views

tex4ht does not show top and bottom rules of table when loading colortbl package

This MWE \documentclass[12pt]{book}% \usepackage{amsmath} \usepackage{longtable} \usepackage{colortbl} \begin{document} \begin{longtable}[t]{|c|c|}\hline x & y \\\hline \end{longtable} ...
7
votes
3answers
96 views

Why can't sectsty change the chapter font when it's used with babel package?

I'm using Latex to write my thesis in Hungarian, so I include in the preamble the following: \usepackage[magyar]{babel} Once this is loaded, I get "Chapter", "Figure", etc. in Hungarian and with ...
1
vote
1answer
13 views

\bibliographystyle{ieeetr} doesn't work anymore after language pack change in TeXWorks

I'm really starting panic because I'm writing my thesis and everything was working correctly on LaTeX, but I had Contents and List of figures titles in ITALIAN, as it is my language package used (as ...
1
vote
2answers
19 views

Separating bibitems according to author

I am using biblatex. Is there a way to have 3 lists of bibliographies which contain the following: the first contains some papers I have written (type=article) the second contains preprints I have ...
1
vote
0answers
17 views

Wrong page numbers in TOC using the memoir class and booklet package

I have five chapters located in different sheets and pages; however, all of the page numbers appear as if the chapters were in the same page. The whole document has more than 18 pages, but all the ...
2
votes
1answer
35 views

Multiple Choice Answers with Graphs

I need to have 4 graph options for a multiple choice question in LaTeX. I would like it to look like this picture. I have the graphs(tikzpicture inside minipage) with code before the ...
2
votes
0answers
26 views

How to put on and off comments while publishing latex documents into PDF [duplicate]

I created a file using TeXstudio, I have lots of comments in the document. I want publish the document one version with the comments and the other without it. Is three a way to put on and off comments ...
0
votes
0answers
29 views

Setting the caption of a figure to the top [on hold]

The below snippet of my code displays the caption of the figure at the bottom. I tried to use the floatrow package but I still get the same outcome (caption at the bottom). Any idea? ...
3
votes
2answers
19 views

\index*{phrase with spaces} shows visible spaces (with the index package)

I use the index package, and in particular its starred variant of the \index command: \index*{word} both typesets word and adds it to the index. When indexing a phrase, the spaces are typeset as ...
2
votes
2answers
33 views

Using enumerate with no indent

I have a enumerated list that start on the left of the text margin. How can I remove this so the word "Step 1" start on the same left margin like the rest of the document? \documentclass[paper=a4, ...
1
vote
0answers
14 views

pgfplot connects first and last point of line in the surf plot [duplicate]

I'm plotting a surface from data file arranged in columns x,y and value. The result looks like this: As you can see, first and last point of every line is connected. Relevant code: ...
2
votes
2answers
28 views

Cnodeput offcentered when using fractions

Here is the following code: \documentclass[multi,pstricks]{standalone} \usepackage{pstricks-add,amsmath} \begin{document} \begin{pspicture}(2,2) \Cnodeput[radius=.7](1,1){a}{$\dfrac{a_b}{a}$} ...
2
votes
1answer
24 views

TeXstudio: Is there a way to keep my custom macros and shortcuts in a separate file?

I've created some macros and corresponding shortcuts; found them in my texstudio.ini file (Macros and keysetting keys), buried deep among lots of predefined stuff. Is there a way to 'modularize' it a ...
2
votes
0answers
31 views

Display Ubuntu terminal output

I am writing a memoir in latex. I have lot of output from Ubuntu terminal and I have tried to put in verbatim, but this is really not pretty. I was wandering if there is a latex tip to put Linux ...
3
votes
1answer
28 views

Problems with positioning footers using fancyhdr

I'm having a problem placing footers on my document. On the first page it shows ok, but in the next pages it doesn't show at all. A bit of thinkering made me realize that the footer was indeed ...
2
votes
2answers
25 views

'minimum width' no effect on node with horizontal multipart

I have a multi-parts node N1, below it a node N2,I wish N1 to have same width as N2. I have set minimum width=3cm for every node but this did not have any impact on N1 node !? ...
3
votes
1answer
24 views

Subcaption package not doing what I want it to do

I want to build a figure with 5 subfigures inside. The code I have goes as follows: \begin{figure}[hbt] \begin{subfigure}{0.4\textwidth} \includegraphics[scale=0.25]{mi1} ...
2
votes
1answer
25 views

using \include for unnumberred chapters and sections ->tableofcontent mess?

I want to have a document with the following preconditions: sections in separate files -> \include{} chapters and sections are unnumbered -> using \addchap{} and \addsec{} chapter headings should ...
1
vote
0answers
28 views

\index command adding spaces after underscores

I am writing a document with an index of commands that may contain an underscore symbol. Thus, I use entries like: \index{a\_b} However, the .idx file contains code of the form: \indexentry{a\_ ...
1
vote
2answers
14 views

How to put figures in two column horizontally and not vertically in top and bottom?

How to put figures in two column horizontally and not vertically in top and bottom? can you bring an example?
2
votes
0answers
15 views

How to auto place figures on the left in odd pages, and on the right on even pages?

I'm using wrapfig. On every page, there's only one figure (and text). I'd like the placement parameter of wrapfig to be l for odd pages, and r for even ones, then alternating. Can it be done? If yes, ...
3
votes
2answers
20 views

Counter of nested enumerate environment isn't displayed

I am using two nested enumerate environments and the 6th's counter isn't displayed although I get no errors or warnings. Why is that? How do I fix it? MWE \documentclass{article} ...

15 30 50 per page