1
vote
1answer
6 views

How to vertically (and horizontally) center text of cells using tabularx?

My question is very similar to this one: previous question but when I vary the example a little (as below) bit, my cells are now longer vertically aligned \documentclass[12pt]{article} \usepackage{...
2
votes
1answer
35 views

writing equations side by side

what I want to do is I want to solve my system on the same line. I've solve for x but I also want the part where I solve for y on the right side of the system that I just solved for. Is there a way to ...
1
vote
0answers
18 views

Simplify the use of ampersand & in glossaries description

I use the ampersand in the body of my these when I need to say "and"… often, you can imagine! After open my document, I use: makeampletter \def\makeampletter{\catcode`\&11\relax} If I need to ...
1
vote
1answer
21 views

Including *.png, *.pdf, compiling with latex (not pdflatex) gives `Interpreting PS code failed!!! Output might be broken!!!`

I'm trying to compile a paper, using elsarticle. I need to include some images, however, I have them only in *.png or *.pdf (converted from *.png using convert file.png file.pdf), not in *.eps format. ...
0
votes
1answer
24 views

How to scale equation only when it is larger than linewidth?

I know that we can adjust the size of equation using: \resizebox{1\hsize}{!}{$ $} But I always have to digit that when I have a big equation. So, how to make latex percept that the equation is ...
1
vote
2answers
20 views

Multline A group of equations

I have two equations. I use gather (or align) environment. one of the equations are too long and I want to multline them in that environment. How can I do it? and, How I can leftside these equations ?...
0
votes
0answers
21 views

Header gets messed up

I've had a problem with my header on an assignment I've been working on. The headers of some chapter and or sections, when long begin to overlap over each other and sometimes go beyond the page. I've ...
0
votes
0answers
21 views

illegal units of measure with textblock

I am 100 % sure this code worked within my presentation I held 2 years ago. I reopened it but I do get the error Illegal unit of measure (pt inserted) { \usebackgroundtemplate{ \includegraphics[...
1
vote
1answer
51 views

How to create a simple 6 column table in Latex?

I am struggling in figuring out how to create a 6 column table that fits in my latex file. Note that I do not want to increase the width of the margins. I just want a simple table with 6 columns and ...
0
votes
0answers
15 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 ...
0
votes
2answers
63 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 & ...
1
vote
1answer
53 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 ...
0
votes
0answers
13 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 ...
1
vote
1answer
17 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 ...
0
votes
1answer
21 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=...
0
votes
0answers
10 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} \...
0
votes
1answer
28 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 ...
0
votes
1answer
15 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 ...
0
votes
1answer
32 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} \...
3
votes
0answers
27 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 ...
2
votes
1answer
23 views

Table of contents causes compilation timeout

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 ...
2
votes
1answer
40 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, ...
4
votes
2answers
46 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}{\...
2
votes
1answer
22 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} ...
6
votes
1answer
110 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 ...
0
votes
1answer
28 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. ...
2
votes
0answers
11 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 ...
1
vote
1answer
28 views

how to make a graphic bigger

I've made the following syntax: \begin{figure}[ht] \caption{xxx } \centering <<echo=FALSE,fig=TRUE >>= load("//d049nt01/estudios$/Indicadores de Liquidacion/Tablas de prueba/pago_agg.rda"...
2
votes
2answers
323 views

cm - illegal unit of measure in tabular?

I wanted to created a table and I get an illegal unit of measure error, but I use cm, which works great normally.... I don't know why but sometimes I get this error and sometimes it works great... \...
1
vote
0answers
18 views

\nomname undefined when list of symbols is in a external file

I want to create a list of symbols in an external file using the nomencl package. Here's what my file listOfSymbols.tex looks like: \renewcommand{\nomname}{List of Symbols} \nomenclature{$v$}{volume ...
1
vote
1answer
19 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 ...
2
votes
2answers
38 views

How to avoid the break of 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} ...
1
vote
1answer
11 views

Location of pdflatex when installing Lyx

Where is the location of pdflatex when installed through Lyx on Windows?
1
vote
1answer
26 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}...
0
votes
0answers
16 views

How can I increase line spacing in whole my beamer in Latex?

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} ...
2
votes
1answer
30 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} \...
6
votes
1answer
493 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{...
2
votes
1answer
18 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 \...
1
vote
1answer
26 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.
3
votes
2answers
95 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 ...
0
votes
0answers
22 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 ...
1
vote
1answer
43 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 …?
0
votes
1answer
21 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 ...
1
vote
0answers
21 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 ...
1
vote
1answer
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 ...
9
votes
3answers
248 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 \...
2
votes
2answers
60 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!
0
votes
0answers
22 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 ...
1
vote
0answers
28 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 ...
0
votes
0answers
19 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, ...

15 30 50 per page