0
votes
0answers
21 views

solving systems of linear equations on the same line

I want to make this look better. When I cancel out some of the variables it doesn't cancel out well. I don't want a line to go underneath where I have E1 + E2 and as well as the others. Some of my ...
2
votes
1answer
14 views

Using tabular environment for text with line break in memoir

I would like to have the following result.... But I noticed that it is not possible to have a linebreak within the tabular environment...and the \\ command simply makes the compilation crash. Here ...
1
vote
0answers
13 views

Vertical space between list items in OPmac

I want to add some space between items in a list: \input opmac \def\itemhook{\vskip 7pt\relax} \begmulti 2 \begitems * $y=3x^2=x=2$. * $y=3+8x-x^2-x^3$. * $y=7-18x-3x^2+4x^3$. * $y=6-15x+18x^2-4x^3$...
4
votes
1answer
50 views

What to decide before writing a math book?

Until now, I have only written short documents in LaTeX. Whenever I encounter a problem or an error, I google'd it, and copy-paste'd the package/newcommand to my code. I use the same beginning code ...
2
votes
1answer
18 views

Add figures and tables to the same page in order of appearance

Is there a way to make tables and figures appear in the same TOC, in order of appearance in the document, but numbered separately? Exactly like this post, but with the tables and figures mixed ...
1
vote
0answers
29 views

Why pdfTeX gives different results with identical typesetting instructions?

I noticed strange behavior in pdfTeX and do not understand how to explain it. In the following two examples pdf files look differently. texlive-lang-czechslovak package must be installed to try these ...
2
votes
0answers
19 views

TexStudio, using list of 'bad words'

I would like to use the option of TexStudio of having a 'bad words' list. I know where to find the wordlist directory. In here there is the bad word list for the German language (that works well when ...
2
votes
0answers
17 views

problem in tableofcontents

I have posted this question \bar and \overline When I put \Xbar in tableofcontents I get this error : Missing number, treated as zero. ... }\copy 2 }_{n_2}$}{18}{subsection.1.12.4} what's wrong ...
2
votes
1answer
28 views

How to adjust arrows in this tikzpicture?

I want to draw following block diagram in tikz environment. Here is my code: \documentclass{beamer} \usetheme{default} \usecolortheme{default} \usepackage[english]{babel} \usepackage[style=verbose,...
4
votes
2answers
50 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), my cells are no longer vertically aligned \documentclass[12pt]{article} \usepackage{...
4
votes
2answers
136 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 ...
4
votes
1answer
29 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 ...
2
votes
1answer
28 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. ...
2
votes
2answers
38 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 ...
2
votes
2answers
44 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 ?...
1
vote
0answers
25 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 ...
2
votes
0answers
31 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[...
2
votes
1answer
61 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 ...
1
vote
0answers
23 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 ...
1
vote
2answers
72 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 & ...
2
votes
1answer
65 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 ...
1
vote
0answers
19 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 ...
2
votes
1answer
21 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 ...
1
vote
1answer
27 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=...
1
vote
0answers
13 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
40 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 ...
1
vote
1answer
19 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 ...
1
vote
1answer
39 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} \...
4
votes
0answers
36 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 ...
3
votes
1answer
24 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 ...
4
votes
1answer
44 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, ...
5
votes
2answers
53 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}{\...
3
votes
1answer
25 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
112 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
36 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
12 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
30 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
387 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
1answer
20 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
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 ...
2
votes
2answers
49 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} ...
1
vote
1answer
12 views

Location of pdflatex when installing Lyx

Where is the location of pdflatex when installed through Lyx on Windows?
1
vote
1answer
28 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
19 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
495 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
96 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
24 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 ...

15 30 50 per page