# All Questions

6 views

### How to increment a variable in beamer slide?

I have this code: \documentclass{beamer} \mode<presentation> { \usetheme{Warsaw} } \usepackage{tikz} \AtBeginSection[] { \begin{frame} \tableofcontents[currentsection] \end{frame} } ...
5 views

### Is it possible to label (tag) a value of a (l3keys) key-value in order to reuse it elsewhere easily?

I have a command (\people[⟨options⟩]{⟨name⟩}) for entering people. Its optional argument lets the user specify possible people's (possibly multiple) attribute(s) with a (l3keys) key–value system: ...
10 views

### It is possible to define “styles” in tcolorbox listings?

I am writing a document where I use tcolorbox to list code. I would like to have a couple of commands to list code from an external file, and one (or two) environment for inline snippets. What I have ...
11 views

### Underbrace in equation in align environment

In my code below, I wanted to add another underbrace under the "B" underbrace in the beginning of the second equation with z. The second underbrace should cover from the [x,y] to just before the "=" ...
9 views

### Automatic pagebreaks between several samepage environments

I am using the mathpartir package to display some inference rules. I defined my own LaTeX command based on the samepage environment to add some explanation below a rule where there should be no page ...
10 views

### Copying non-epsilon terminal nodes in parse trees using forest

I'm drawing parse trees for formal grammar using the forest package and would like to have all terminals, that are not Epsilon, to be copied to the bottom and connected to the original node with a ...
13 views

### Error when using \align from amsmath

I am trying to add a block equation to my paper with an equation number 12. When I try the following in https://www.codecogs.com/latex/eqneditor.php, I get an invalid equation error. I am new to ...
12 views

### After El Capitan upgrade synch does not work on texshop

I have installed el Capitan on mac. After reinstalling TeX and TeXshop synch doesn't work. How can I fix this?
19 views

### \printbibliography fails output

I am trying to get running the example of Sharelatex. Though the output PDF I \printbibliography just won't do its job. I do get 3 errors as well, but I am unable to figure out how to solve this ...
15 views

### My section heading and figure in two different pages

This is my code.. Im having my section and figure in two different pages.. What should I do to get it in the same page.. Thank you \FloatBarrier %\label{sec:****} %\title{\\bfseries{Appendix A}} ...
17 views

### Special character in bibliography

I can't put special characters like "ö" or umlaut "ü" in a bib entry, in spite of following the suggestions e.g. at How to write “ä” and other umlauts and accented letters in bibliography? and ...
37 views

### Bloody decorations

there is a family tree from the BBC Website and I'm wondering if it is possible to use tikz decorations to create such "blood lines". Does anybody have an idea?
13 views

### How to put the list of definitions at contents page?

I am making a document containing only definitions, to do this I am using this code \documentclass[12pt, a4paper, fleqn]{article} \usepackage[framemethod=TikZ]{mdframed} \usepackage{amsthm} ...
18 views

### bibliographystyle agsm uses deprecated command \bf

I am using natbib with agsm (harvard citation style), which apparently uses the deprecated \bf command. Upon compiling, I receive a hundred warnings. Does this mean that agsm is itself deprecated? If ...
23 views

### How to add page numbers and rotated chapter title to the outer margin?

I'd like to have page numbers on the outer page border slightly bellow the center, and the current chapter title at the bottom but rotated 90 degrees counter-clockwise (i.e. to the left) such that it ...
21 views

### Define a systematic method to include pgf plots into jpg photos

As a non expert LaTeX user, I hope to find someone that can help me solving my problem. I am including images into my LaTeX document and, overlapped to each image, I am adding a PGFplot, showing (a ...
18 views

### Earlier line breaks in TOC

Is there an option in tocloft to decrease the maximum length of lines in the TOC? I'd like long section titles get a line break earlier, to increase the white space before the page numbers. ...
24 views

### Annoying space between nodes in a matrix

How to force this matrix to look like a regular table? \matrix[matrix of nodes, ampersand replacement=\&, row sep=-\pgflinewidth, column sep=-\pgflinewidth, nodes={draw,minimum size=10mm}, column ...
37 views

### Drawing the p,T-diagram with TikZ/pgfplots

I am trying to draw a p,T-diagram with TikZ using pgfplots as shown in the picture. All I have so far is: \documentclass[a4paper, 11pt]{scrartcl} \usepackage{tikz} \usepackage{pgfplots} ...
4 views

### How can I obtain correct table of contents order in beamer when including subsections from files?

How can I fix the table of contents order in my beamer? I work with a main file and include one file for each section. However the table of contents puts the subsections before their respective ...
10 views

### Reference Numbers missing at output

I am using BibTeX for my Bibliography. The problem I am facing is that, I am not getting the square numbers "1" at the output. Kindly help me please. Output PDF
20 views

### Biblatex (biber) and bibliography in Ukrainian

I have a file as follows: \documentclass[a4paper,10pt]{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian,ukrainian,english]{babel} \usepackage{lmodern} ...
23 views

### How to put a \urcorner around some symbol?

Like this: Tried P_{30:20^{\ulcorner}}, but I want the \ulcorner to be more near to the text.
16 views

### tocloft: undefined error

I'm getting an undefined error for \cftchapfont (and all other tocloft options). I haven't found this problem documented elsewhere, which leads me to suspect that I'm missing something simple. ...
17 views

### How to easily include .ly files in a .tex document?

The context I am generating an hymn booklet (containing mostly text), and I want to easily insert snippets of music scores based on .ly files I already have. I have two kind of files: my .tex ...
16 views

### pgfplot - keep legends widthin \linewidth when the are set outside

I'm using pgfplots, but i want to have my legends next to the plot. This is easy by setting legend style and anchor. But i also want the plot to be as big as possible. So if my labels are to long, ...
26 views

### tikz trees: How to not draw a single edge

I want to draw a tree and not draw specific edges. I try it like this \documentclass[preview]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[every node/.style={circle,draw}] ...
6 views

### Remove dedication from contents section in latex

While producing dissertation, my dedication looks something like this: \chapter*{} \addcontentsline{toc}{chapter}{Dedication}% \begin{dedication} Dedicated to my family and friends. ...
47 views

### What is the best TeX renderer for Java applications? [on hold]

I want to be able to render mathematical equations in my Java applications. I have been using a library for Java called JEuclid to achieve this. I have done some research on other libraries which ...
12 views

### Labels when using gaps between line and point in pgfplots

this is a follow up question to: Gap between line and point in pgfplots, like pointintervalbox in gnuplot. I would like to add a legend in the plot and maybe even on the y-axis. Unfortunatelly this ...
40 views

### Tikz environment

How can I get the following figure using Tikz environment please?
12 views

### How can I apply a style to elements of a submatrix of a tikz matrix?

I'm trying to apply a style for a submatrix of a matrix and ended up by passing arguments through two .list-handlers. Things don't work as I expected, again I'm just able to set either rows or columns ...
19 views

### Legal aspects of using logos in resume [on hold]

I was thinking about using Skype and LinkedIn logos from fontawesome package to provide corresponding contact details in my resume. But I am not sure if I am violating any rules. Can anyone throw some ...
29 views

### Rotated text box for report cover

My school has presented me with the following template for report covers, but this only exists in .ppt-format. I wish to make a LaTeX-version of it, but i am unsure how to create the rotated text ...
18 views

### Change citation language temporarily

I use XeLaTex with Biblatex to write my thesis, which is in English. When I cite two authors I get "X and Y", which is fine. However, I have one part of the thesis which is a German abstract, and in ...
14 views

### Space between two consecutive hhlines

While using the longtable and hhline packages, I would need to have space between two consecutive hhlines as in the following MWE \documentclass[10pt]{article} \usepackage{longtable} ...
27 views

### Sweave figures - position tables between text

I am trying to insert a figure between text in my reproducible report. I tried using !h, but while this worked well for the tables, for the figures it doesn't work. I also tried using H but it is ...
14 views

### Error in tikz-cd

I am using the folowing codes to generate my tikz commutative diagram. \documentclass{book} \makeatletter %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. ...
30 views

### How can I reduce references to show only subsection numbers?

I use cleveref package to format a special type of labels. Can I also use a special counter or counter formatting sequence in \cref. This is my example: \documentclass[10pt,a4paper,twoside]{article} ...
25 views

### How can I check a macro's definition or document?

I am trying to use "texdef" to get a marco/command's definition - but it seems only support a small portion or native marcos. for example, I use texdef -t latex -f itemize -s -E -F I can get a lot ...
26 views

### Paracol and wrapfig

I would like to put a figure between two columns using paracol, exactly like the answer here http://tex.stackexchange.com/a/34435. Note that this linked example uses twocolumn document class, whereas ...
21 views

### Missing package error

When I try to compile the tex file template I see this error What could the reason be? And how can I solve it?
26 views

### Images appearing/disappearing according to their position

I have a weird problem in putting images in a scientific paper. I have happily written papers for a decade and so far no problem. This time, and with three different templates (including the ...
31 views

### Set italic text failed in new command definition

I'm defining new commands in my .tex file. Here's my code: \newcommand{\subhead}[1] { {\itshape \flushright \subheadfont --#1 \par} } I'm going to define a command that make some text(from ...
28 views

### Getting TexLive Recommended Fonts after installing MacTex-2015 on El Capitan

I downloaded and installed MacTeX-2015 on a brand new Mac OS/X El Capitan system, then ran pdfTeX (i.e. Plain TeX) on an old .tex file and got the following error that I'm hoping you can help me ...
28 views

I am using iitmdiss.cls for my thesis. In my table of contents, I need to follow the format chapter no: title, page no, as in the module below. How can I edit my table of contents to fit this format? ...
13 views

### arXiv says that it is possible to upload the .bbl file, but keep getting errors related to BibLaTeX/Biber

I use Biber for my reference in the following format: \usepackage[backend=biber,style=authoryear]{biblatex} ... \addbibresource{REF.bib} ... \printbibliography arXiv recommends to Include .bbl ...
168 views

### How to do the spacing?

Could somebody please help me out with this. I want the three functions to start at the same place after the names as in the picture. I'm not sure in which environment I should do it. This is what ...
20 views

### What resources should I use to learn LaTeX [duplicate]

I'm new to LaTeX. When I'm learning how to use it, I'm always having trouble searching the meaning of some commands, such as \thechapter, \chaptertitlename... I think these must be basic commands in ...
19 views

### Citation of short titles

I am using biblatex for my citations and bibliography, with citations placed in end notes and am using the authortitle style. I am required to cite a single work in the notes with just a reference to ...

15 30 50 per page