# All Questions

11 views

### How do I draw line with TikZ showing 3 point A,B.C?

I want to draw a line showing end points A and B with a Point C between using TikZ.
18 views

### \newcommand with options

17 views

### Figure in background without using package

I would like to know if there is any way to place a figure as image background with full page size (width=\pagewidth and height=\pageheight) without using 3rd-party packages such as eso-pic, tikz or ...
14 views

### Integral symbol in Lyx yields errors

I get errors when trying to use the integral math symbol in Lyx document using the report class. The error can be seen in the below screenshot: Here is a link to my simplified Lyx file: link to ...
11 views

### Using a single MTPRO2 alphabet for document set in default LaTeX font

I would like to use the script alphabet that comes with the full version of MathTımeProfessional II in a beamer presentation without having to use Times throughout the document. I'd like to use the ...
5 views

### vim + knitr + synctex + file watch + sumatrapdf (on windows)

I'm trying to get a task runner watching a directory for changes and then run the following: knit Rnw file pdflatex the resulting tex file (with bibtex) open pdf viewer and have both forward/reverse ...
46 views

### Trying to reproduce an unusual table

I'm a LaTeX beginner. I know (somewhat) how to make a traditional table but I cannot figure out how to reproduce this table. I would very much appreciate if someone could show me how this kind of ...
20 views

### What is \if@display used for in amsmath?

I noticed that in part of an answer where \pod is redefined using \mathchoice, the statement \if@display...\else...\fi is used for the first two options of \mathchoice. I was wondering: what does ...
55 views

### TikZ: Intersection for Fraction Diagram

I am trying to create fraction diagrams for children using TikZ. Is there an elegant way to fix the top of this diagram of 1/2 in a way that will scale when I want to show, say 29/6 with triangles... ...
25 views

### How to continue hierarchy of bullets in new slide?

I have some hierarchy in one slide that i want to keep in the follow slide. How i can do that? Code example: \begin{slide}{ Slide 1} \begin{itemize} \item Item 1 \begin{itemize} ...
55 views

### How to cite a speech only available as a YouTube-video

I created a paragraph about Project Soli which was introduced at this year's Google I/O conference. However there are only two videos available. This is one of them: ...
17 views

### Problem with bst file

I'm using nar.bst here (http://schneider.ncifcrf.gov/ftp/nar.bst). However when I include my bibliography in the following manner :- \bibliographystyle{nar} \bibliography{main} However the ...
27 views

### Creating a project list for CV using moderncv

I have a CV created with moderncv. Now I need a project list(IT) that looks similar to my CV but it doesn't look that good. I tried to make a letter in moderncv with sections for each projects and ...
13 views

### Missing line below caption in algorithm environment

Using two different computers at work and at home, I sometimes compile my thesis with one computer and sometimes with the other. Most of the time the two versions are consistent, but for algorithms I ...
29 views

### What are the .mlf, .mlt and .mtc file generated by pdflatex?

On a particular document pdflatex is generating a large number of files with the extensions .mlf, .mlt and .mtc, e.g document.mtc, document.mtc1, document.mtc2, and so on. These dozens of files are ...
26 views

### How do I cite a range of lines?

I want to be able to specify a short excerpt of text that can be cited as a range of lines in the output PDF, ideally with this kind of syntax: \documentclass{memoir} \usepackage{lineno} ...
14 views

### Biblatex styles won't be found

In order to use a modified Biblatex style with MacTex, I copied the .bbx and .cbx files to usr/local/texlive/2015/texmf-dist/tex/latex/biblatex-iest. But when I try to use it in my document with ...
44 views

### How to repeat title in tcolorbox?

\centering \tcbset{enhanced jigsaw, width=7cm, left=0mm,right=0mm,top=0mm,bottom=0mm,boxsep=0mm,boxrule=2pt, colback=white} \begin{tcolorbox}[breakable,title=Titulo ] %, boxsep=-4mm paragraph \\ ...
28 views

I'm using hyperref package so that \tableofcontents has clickable links. Is there a way to force one hyperlink in \tableofcontents to refer to a given page instead of the automatically selected page? ...
63 views

### How to make a combined “List of Figures and Tables”?

I am aware of Combined List of Figures and Tables?, but the asker there requires one numbering scheme for figures and tables, which I don't want. Unfortunately, the answer seems to depend on that ...
25 views

### Glossary babel package

I am writing my thesis and I would like to create a list of acronyms. One option is to use is glossary package. When I used this package I ran into 2 problems. Since my mother tongue is not English I ...
34 views

### How to connect nodes with an arrow TikZ?

The arrow connecting the bottom blue rectangle "Update E from H" to the red diamond "Done" has two discontinuities. How can I fix my code below to connect these lines at the empty nodes? ...
33 views

### Multiple variables in Tikz don't work as expected

I want to draw lines of the form (0,0) to (radius:length) and use \foreach so I don't have to write everything again and again. Here's my MWE: \documentclass{scrbook} \usepackage[ngerman]{babel} ...
19 views

### How to set optional argument for caption in a lstlisting environment

Usually, if I set a caption, I use \caption[short]{long} to have only a short description in my list of figure for example. But how do I do it with listings? Here a MWE which has a very long caption ...
117 views

### Segmented table

Can I do this kind of table in LaTeX? I'd like to apply the answers to this table: \documentclass[10pt]{article} \usepackage[left=1cm,right=1.5cm,top=1cm, bottom=3.5cm]{geometry} ...
22 views

### AlegreyaSans, microtype's tracking feature and footnotes

My question is closely related to this one. I'm using pdfLaTeX and microtype with AlegreyaSans as my sans serif font. I managed to adjust the answer given by Ulrike Fischer in the above question in ...
85 views

### Good lua code in .tex doesn't work in .sty?

I have some luacode in a .tex file that works fines, but does't in a .sty file -- with this error message : Runaway argument? ! File ended while scanning use of \luacode@grab@lines. \par ...
29 views

### After fixing MiKTeX 2.9 Portable update corruption the command window won't appear

Today I installed MikTeX 2.9 portable. After closing it once I couldn't open the taskbar icon again. An error window appeared stating: Windows API error 2: could not find file I followed the ...
21 views

### How to use italic bold with Zapf Chancery in math mode? [duplicate]

How to write a boldface italic in math mode when Zapf Chancery is used? I used this code: \documentclass{article} \usepackage{amsmath} \usepackage[latin9]{inputenc} \usepackage{mathptmx} ...
30 views

### TeX Archaeology - Installing historic/old TeX Live Releases

I've inherited an old TeX tree that contains multiple versions of TeX and I'm attempting to determine what local changes were made to specific versions. I understand that in certain cases our binaries ...
37 views

### Merge consecutive linebreaks

19 views

I have "-synctex=1". It really jumps to the line from pdf file to the source. But it jumps several lines below! Any ideas how to correct it? My version of TexMaker is 4.4.1
31 views

### Using pgfornament

I use pgfornament package to put decorations in the corner as shown in the following MWE: \documentclass[10pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage{fontspec} \usepackage{lipsum} ...
22 views

### biblatex converter to html

Is there a way to produce a bibliography in html from a biblatex file? I've tried pandoc but it doesn't parse all the biblatex fields. I've also tried producing html from latex files, but I couldn't ...
13 views

### custom biber bibliography: dot before numbering

I was trying to change the bibliography style used by biber for article (it printed too many stuff for my taste). But somehow I get a very wierd dot before the numbers in the list. What am I doing ...
27 views

### Include eps graphics with spaces and parantheses

I've tried the similar solution posted on this site but to no avail. Trying in include the file mu_1_sigma_1_T_5_impvt (14).eps. Different permutations of MWE tried: \documentclass{article} ...
33 views

### TOCLOFT and leader dots… disabling single or no dot

Styling my Thesis, the publisher requires at least two dots in the ToC - or the line needs to be broken (which, manually done, causes other problems). Are there any ideas two create a more elegant ...
25 views

### How to change from Landscape to Portrait for the rest of the document

I'd searched a while for changing the orientation of my LaTeX document from landscape to portrait in a way, that I can include other pdfs with \includepdf[..]{..} without messing around with my ...
24 views

### Add PDF title to bookmark using hyperref + Colour equation reference

I want to add a PDF title to the PDF bookmark using hyperref package. However it does not work. As shown in the picture, I want to add a title above the Introduction. Moreover, I want to make ...
70 views

### Centering sections

I would like to use titlesec to center my sections as follows (MWE): \documentclass[10pt,a4paper,twoside]{book} \usepackage[latin1]{inputenc} \usepackage{lipsum} \usepackage{titlesec} ...
33 views

### Matching width of Caption background with Table width

I am trying to color a table with a background color and the caption with a different background color. I must use the tabular environment, none of the tabulary, tablarx, tabu, tabular* will be ...
453 views

### Is there a universal way to rotate stuff?

The rotating package documentation says Note that the package uses rotation facilities from the graphicx package. When generating DVI output, users should note that rotation is typically not ...
32 views

### Left justifying chapter name while chapter number is right justified

Considering the following code: \documentclass{book} \usepackage{fullpage} \usepackage[english]{babel} \usepackage[avantgarde]{quotchap} \begin{document} \chapter{Introduction} \end{document} How ...
36 views

### Matlab figure background color inside tcolorbox

I am using the following code for placing a figure inside a tcolorbox. .... \tcbset{breakable,enhanced,colback=gray!3,colframe=orange,fonttitle=\bfseries} .... ...
29 views

### How to show Pagenumber on \listoffigures and \listoftables?

MWE \documentclass[12pt, a4paper, twoside, %openright, toc=listof, BCOR=5mm, bibliography=totoc, parskip=half]{scrreprt} \usepackage[square,sort,comma,numbers]{natbib} %Literaturverzeichnis ...
23 views

### Referencing problem

I am using IEEE template and having a problem that the last BibTex Reference is shifted Can any one suspect the problem \begin{document} \bibliographystyle{IEEEtran} \bibliography{literatur} ...
22 views

### Markers of \usetikzlibrary{plotmarks} in nodes shifted compared to \addplot [duplicate]

MWE: \documentclass[]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.12} \usetikzlibrary{plotmarks} \begin{document} \begin{tikzpicture} \begin{axis} \addplot[mark=*] coordinates ...
21 views

### Package writing: unset global option?

I'm writing a class file which is supposed to have a global "draft" option. However, this option is inherited by all imported packages and causes e.g. graphicx to replace all images with boxes. Is ...