# All Questions

44 views

### LaTeX internal references for files and URLs

I have a document with nearly 100 open source files that are referenced repeatedly throughout. Also, with each file is a URL, download URL, MD5 hash, etc. Is there a quick and simple way to create an ...
79 views

### {booktabs}: What to do with tables like these?

OK, you all know that booktabs forbids the use of vertical rules. But what to do with tables like these? \begin{center} \begin{tabular}{c|c|c|c|c|c|c|c|c} $y$ & -2 & -1 & 0 & 1 & ...
78 views

### Plot that shows that largest root tends to 1

I am considering x^{i+2}-x^{i+1}-1. As i goes to infinity, the largest root tends to 1. I would like to have a plot in latex, for example with pgfplots, that shows this, maybe one could plot the ...
24 views

### \endframe error when using \textrm in Beamer

I have been using Beamer to write a presentation and have found strange behaviour when using \textrm in the equation environment. I write the following: \begin{frame}{Individual Wealth Processes} We ...
28 views

### New environment with dedicated index and reference

I'm using chemfig to create some structural formulas, but I need to create a new environment, like equation, that have a dedicated index and reference counter. I'm searching about this, but I'm having ...
30 views

### Vertical image alignment

I have a few pages with two images. I want these images centered on the page. I tried with this \newpage \vspace*{\fill} \begin{figure}[H] \centering \subfloat[Text] {\includegraphics[height=...
17 views

### Issues with inserting bibliography from Mendeley

I am new to LaTeX. I cannot import a saved bibliography from Mendeley to my LaTeX file. My current code reads this in the preamble:- \documentclass[12pt,a4paper]{report} \usepackage{natbib} \...
62 views

### Permission denied: path="C/program Files/MiKTeX 2.9\doc/bibitex/apalike/apalike.doc

While installing MiKTeX this error is coming: Permission denied: path="C/program Files/MiKTeX 2.9\doc/bibitex/apalike/apalike.doc My OS version is Windows 7 Ultimate and I downloaded complete ...
20 views

### Change biblatex style locally in refsection

In the thesis that I am writing, I use biblatex with biber as the backend to print a list of references after each chapter and a global bibliography at the end. In the beginning of the document I need ...
46 views

### Enlarge the arrows on the edges

I have written the following code for a directed graph, but the size of arrow is too small. My question is how can I enlarge the size of the arrows \documentclass{standalone} \usepackage{tikz} \...
47 views

### Glossaries with more hierarchical categories

I use a lot of classic glossaries in my work: main, acronyms, abbreviations… I also use more complex glossaries for linguistic studies, with hierarchical categories. I know how to build glossaries ...
27 views

Writing my master's thesis and changed how I define the sections from \section*{\centering sectionname} \addcontentsline{toc}{section}{sectionname} to simply section{sectionname} This was done ...
48 views

### How to draw vertical arrows toward a line between two coordinates?

In this shape I need to draw the two vertical arrows from nodes toward the line as shown in red. \documentclass[border=1cm]{standalone} \usepackage{tikz} \usepackage{amsfonts, amsmath, amsthm, ...
54 views

### Using \if in a tabularx

I am trying to use \if within a tabularx environment. This works: \documentclass{scrlttr2} \usepackage{tabularx} \begin{document} \newcounter{x} \setcounter{x}{0} \begin{tabularx}{\...
31 views

### tikz: Expand rectangle size to cover text inside rectangle fully

I've defined the following command that just draws four colored rectangles with some text inside them: \newcommand{\fourcards}[4]{ \begin{figure} \centering \begin{tabular}{cccc} ...
116 views

### Is the document an example of an environment?

Is the document in which you write your code an example of an environment? It seems like it might be, because it requires \begin and \end statements, but I have never seen a source which defines ...
58 views

### How to resolve the badboxes and other warningss

I'm new to LateX and these errors are giving me a tough time to understand what they are and not sure of fixing them. Please help me resolve below errors. bibdata.bib file compiled with no errors. ...
17 views

### Screenplay writing with Lyx - problems with default classes

I love lyx and want to use it for screenplay writing. Two layouts are included and the classes (broadway.cls and hollywood.cls) I have downloaded. I kept them in the same directory as the lyx file and ...
35 views

20 views

### Pluralize macro s, occasionally

I define a key term in my preamble, because we are still sorting out how to spell it ('soft goal' vs 'softgoal'): \newcommand{\sg}{softgoal} However, we also use this in plural form, which is simply ...
63 views

### Allow page breaks in a dashed box

I use tikzpicture for my dashed box, but the box breaks to a newpage when the inside text is too long: Here is my .tex: \documentclass{article} \usepackage{lipsum} \usepackage{tikz} ...
16 views

### Location of pdflatex when installing Lyx

Where is the location of pdflatex when installed through Lyx on Windows?
30 views

### Wrong PDF bookmark mapping issue with redefined appendices or chapters [duplicate]

I am using the package utdiss2.sty in a paper. When I use the package like this example: \documentclass[12pt]{book} \usepackage{lipsum} \usepackage{bookmark} \usepackage{utdiss2} \usepackage{hyperref}...
21 views

### How can I increase line spacing in whole my beamer in Latex? [duplicate]

I saw some solutions in other sites. I tried to use the following code: \AtBeginEnvironmentitemize}{\setlength\itemsep{2.0em}} But it doesn't work. Actually, when I type \setlength\itemsep{size} ...
42 views

### How to make a table with equally sized columns?

I have the following table: \begin{document} % Table generated by Excel2LaTeX from sheet 'Sheet2' \begin{table}[htbp] \centering \caption{Add caption} \begin{tabular}{lcccc} \...
520 views

### The Bra-Ket Notation in LaTeX

I want to write the following symbol in LaTeX: I'm using the following (minimal) code: \documentclass[12pt,twoside]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{...
20 views

### Float package screws up list of listing format/style

Can anyone explain the following behavior: MWE: \documentclass[12pt]{report} \title{List of listings problem} \author{Gerjan} \date{June 2016} %\usepackage{babel} % Use dutch, british or english \...
30 views

### Drawing Nx1 tables in a row with specified spacing using tikz(page replacement algorithm illustration graph)

Actually, how to draw the picture like this. That's the illustration of LRU page-replacement algorithm in operating system concepts.
100 views

### Row too wide in Table!

I have the table below. But row 11 and 20 are too wide so I would like to have them split in two in a way that it still looks nice. So that the end result looks something like 11 Crude petroleum and ...
28 views

### ModernCV Footnote and Text

I am using modernCV documentclass, casual style and my resumé letter is more than a whole page. Unfortanetly, the text collides with the footnote, or to be more precise, it is very close to the ...
56 views

### Convert unicode symbols to tex

I have written a lualatex file with unicode characters such as α, ≤ … Now I need to convert it to latex. Is there a script that converts the symbols to tex commands \alpha, \leq …?
24 views

### Math symbols in .pdf bookmarks tab don't displaying correctly

I am using the commands \usepackage{hyperref} \hypersetup{pdftex,colorlinks=true,allcolors=black} \usepackage{hypcap} to create clickable links in the index and references, and also to ...
25 views

### Arrange tikzpicture horizontally [duplicate]

I want to arrange three pictures drawn with tikzpicture horizontally. Unfortunately I can't make it work using any of the threads on a similar topic. Thank you a lot for your help, best regards ...
16 views

### Suppress Sections with Key in Preamble

How do I suppress a section unless a line of code activates it or suppress it with a line of code that I can comment out? This line of code has to be placed at the top of the document. For context, I ...
288 views

### Why does \boxN clear the box?

I understand that w.l.o.g. \box0 puts the content of box 0 and clears the content of box 0, while \copy0 puts the content of box 0 and does not change the content of box 0 at all. Whenever I do \...
71 views

### Add and mention some pages in another page

How can I add some pages in another page like the following picture, and how can I mention them with this free arrows on the text!
23 views

### LaTeX: Top margin for References heading in PhD thesis

I have a layout issue with my PhD thesis. I need to have a 2 inche top margin for the References heading, but the rest of the pages of the references section should have a 1 inch top margin. The ...
30 views

### Define “no color” in a table cell

Is is possible to define a colour as no colour? This is for use in LaTeX tables for individual cells to override a defined \rowcolor. I've experimented with using a white colour, but then if the user ...
20 views

### I want to reduce the space between event date and event text in in the timeline package chronosys

My code \documentclass[10pt]{article} \usepackage[utf8]{inputenc} \usepackage{chronosys} \usepackage{geometry} \begin{document} \startchronology[startyear=-3000,stopyear=-2000, startdate=false, ...
38 views

### Convert pasted characters to LaTeX equivalent

I use Mac, OSX 10.11.5. When I paste text from pdf files to emacs (tex mode), I get characters like "∈", "Ω". I need to convert them to LaTex equivalents "\in" "\Omega". Any hint?
66 views

### Beamer problem! [on hold]

I am trying to test this example 1 in following link: http://www2.informatik.uni-freiburg.de/~frank/ENG/beamer/example/Beamer-class-example1.tex I received this sequence of errors related to beamer: ...
45 views

### Pgfplots - automatically distinguish multiple plots in one figure

I'm writing some app, which generates a TeX code. My program creates variable number of plots and I'd like to use visualize them using pgfplots. In the old version of this app (not created by me), ...
33 views

### WinEdt LaTeXify macro install fails to install toolbar buttons

I just installed the LaTeXify Macro in WinEdt 10.1 20160526 build on 2 computers. First up Win 8.1 box - everything okay! Second up Win 7 box not so much. The main menu TeX -> PDFLaTeXify, Biber, etc. ...
26 views

### Short line for the right side of subsection?

I want to add a custom short line in the right of my subsection as shown below: Here is my .tex, how could I add the short blue line in the subsetion right side, and not display in Contents? \...
18 views

### Label `split of ad' multiply defined

I’m receiving the following warning in Line 1: Label split of ad multiply defined. I don't know what it means since in line 1 there is only \documentclass[a4paper,11pt]{article}
24 views

### Formatting a \section* like a normal \section

I'm having trouble understanding how to format a \section* to make it look like a \section (without the section number, of course). Here is the code which the package I have to use uses for ...