1
vote
0answers
31 views

Toprule, midrule and bottomrule not showing up correctly

I'm trying to set up a table with the nice look from the \toprule, \midrule and \bottomrule commands. However, they don't seem to show up correctly - the thickness of the top and bottomrule are not ...
3
votes
1answer
18 views

wrong numbering in subfigure environment when caption is on top

I got wrong numbering with \subfigure environment when I use \ref to call a figure in the text. The problem only happens when I change caption position to the top of the figures (and yes, I need on ...
2
votes
0answers
19 views

What is exact size of figure from Matlab to add in latex

I want to add some results (graphs) from Matlab in(.eps format).I dnt know what should be the size of the figures. Every time I add figure in latex my supervisor says change the size. Does any one ...
4
votes
1answer
34 views

How to refer a figure?

I am trying to add some results (images). I want to refer these images in other chapter(s) of the PDF so that the reader can just click the reference and go to the image directly. How I can do that?
1
vote
1answer
40 views

Why bibtex repeat “series” and “volume” in Proceedings?

When writing the following proceeding: @inproceedings{BCM74, author={Boesch, F. T. and Chen, S. and McHugh, J. A. M.}, title={On covering the points of a graph with point disjoint paths}, ...
4
votes
3answers
95 views

Line breaking in multiple cases mathematical expression

How can I align this part of my paper: \subsection{Decision variables} \noindent$y_{pij}^{mk}=\left\{\begin{array}{ll} 1, & \;\;\; \hbox{ If the robot loads or uloades a part to/from machine $m$ ...
11
votes
3answers
858 views

if test for 1 not 11

It may seem rather silly, but I can't find an answer for this question. (I've been looking for one for a while already). Suppose I want to have a macro with a single parameter. When this parameter ...
0
votes
1answer
28 views

Compilation Error after running algorithm2e in document

This post is building of the solution posted here. When I try to put this code into my main code (or even \input the file, I get the error ! Argument of \reserved@a has an extra }. If I run the ...
0
votes
0answers
12 views

latexmk -pvc to run only if not running

I am trying to run latexmk -pvc from a vim mapping. I only want it to run if there is no current latex -pvc background task running. Is there something easier than this?: [[ $(/usr/bin/pgrep -f ...
3
votes
2answers
39 views

How do I perform an expandable string comparison?

I need to perform a string comparison (string equality). If the macro is non-expandable (e.g. contains \def or \let), it causes problems in the place where it is used. I tried using \ifthenelse from ...
-1
votes
0answers
32 views

\tableofcontents errors in a “ClassicThesis style”

I wrote a text in a “ClassicThesis style” with a special draw. When I inserted the\tableofcontents at the top of document, I have this error when I run the code: Package xcolor Error: Undefined color ...
2
votes
4answers
68 views

Setting a counter value based on a conditional statement?

I've been trying to google and this seems like a silly thing that should be obvious, but everywhere I look is answering how to use counter values inside a conditional statement, which I can do fine. ...
0
votes
0answers
17 views

Latex lstlisting: stringstyle not working

I defined my own language Drools and I want that the words between "" have the color red. I used stringstyle to do that but this doesn't work. Am I forgetting something because I couldn't find any ...
0
votes
1answer
18 views

Specify the height of table header

I'm new to Lyx and I have a problem. I have the following table and everything is good except that I want to limit the height of header cells. I want them to be shorter that this where each header ...
1
vote
0answers
47 views

Package for typesetting the Bible

Are there any LaTeX packages or styles that have been designed specifically for typesetting the Bible, with its text divided into books, chapters, and verses? This post contains a couple of nice ...
1
vote
1answer
40 views

How can I remove rectangular brackets around definition optional title?

I am fairly new to latex, so i am using a "base" i got, to write my thesis in. At the beginning of the tex file, the following lines are placed, to define theorems and definitons: ...
0
votes
0answers
25 views

How to insert citation in footnote in beamer?

I am using beamer latex (Tex maker and TexStudio in Linux) and I need to give reference in the footnote. My reference is about 2 lines. but when I write the following code it writes it in more ...
1
vote
1answer
45 views

Writing sub-and superscript in mathmode

i want to Write sub-and superscript in math mode but not italic. \documentclass[a4paper,11pt]{article} \usepackage{amsmath} \begin{document} % using mathmode sub- and ...
1
vote
1answer
22 views

bar graph not showing the first bar with pgfplot

I have the following table in a .txt file Group Real Imag Cable VSC P-mode VSC Vdc-mode A -1.2739095e+02 -3.3612954e+02 4.9822998e-01 4.9309456e-01 8.6754595e-03 B ...
10
votes
1answer
325 views

How to bend a mathematical formula around an arc or circle

i would like to bend a math formula around a circle. While it is working with text, LaTeX would not bend a formula in a math environment around a circle, at least, i hadn´t had success. The following ...
1
vote
1answer
18 views

Vertical line in footer problem with chapter (fancyhdr) [duplicate]

This is practically a follow-up to this question. The solution there works great for an article, but does not work with chapters, i.e. with report or book classes. As you can see here on the first ...
1
vote
1answer
40 views

Adding Semi-transparent Background Image to Tikz Axis

I have a bunch of figures that contain line plots to which I would like to add a background image showing the geometry compared to the data. What I would like to know is: How can I add a ...
0
votes
1answer
51 views

Border around includegraphics

Seems like the problem of border around includegraphics has already been brought up. But none of the solutions worked for me. Here's how my border looks like: And here's the code: ...
0
votes
0answers
15 views

\end tag ignored in frame [duplicate]

I have the following slide in a document of class beamer. \begin{frame}{Modular Design} \begin{lstlisting} <code> \end{lstlisting} \end{frame} This however returns these ...
1
vote
1answer
29 views

Bibliography style : small caps and bold

My purpose is to reproduce this type of bibliography : I identified three major things : This is an alpha style bibliography. The cite name [Luo15] is in bold. The name of the authors are in ...
0
votes
0answers
16 views

Draw with PStricks on a large paper size

This question already received attention, but I still cannot find a satisfying answer. I need to draw a big diagram in PStricks. For readability, I want to use a single larger page in the middle of my ...
0
votes
2answers
42 views

Pagenumber change; causing margin (and marginnotes) to switch sides

I am using \documentclass{article} to formulate an a4paper in twoside mode; Every thing is fine ... Well nearly, there is a small glitch somewhere in the standard LaTeX defaults between the page ...
3
votes
0answers
20 views

Plotting a recursive defined set of functions with conditional base function

I'm trying to visualize the construction of B-Spline functions by showing step by step how the curve is created. This involves painting curves similar to these: The function that creates the curve, ...
1
vote
1answer
17 views

Abstract title space

How to diminish the space between text and abstract title? I'm using \usepackage{abstract} \usepackage{titlesec} packages and have such styles for header spacing and abstract font size: ...
1
vote
1answer
32 views

Illegal parameter number in definition of \NewValue

Why do I get an ! Illegal parameter number in definition of \NewValue. error for this entry: @Misc{TSG-SA-WG3-44-Apr, Title = {{3GPP TSG SA WG3 (Security) meeting #44 ...
0
votes
0answers
32 views
+50

Kile spell check problem

Kile spellcheck puts a red underline for long words even if they are correct! For example, Mathematical, Introductory, Computational, etc. How can I solve this problem? EDIT: I have kile 3 beta 1. ...
0
votes
1answer
25 views

creating bib.file in a very simple language [duplicate]

I am ''VERY NAIVE'' about bib.tex (EVEN LATEX). I have used \begin{thebibliography}{99} in my latex text. But now I have to use bib.tex, and need ''VERY SIMPLE'' information how I should creat a bib ...
3
votes
2answers
73 views

edit the minimum length of \hfill

Once again I have a pretty special problem: I'd like to edit the minimum length of \hfill. According to de.wikibooks it is a TeX primitive. Therefore, I assume, that it can't be edited. What is it ...
0
votes
0answers
29 views

Add mathematical symbols to flowchart

I want to add mathematical symbols to a flowchart similar to the one in the link below http://i.stack.imgur.com/r7GSK.jpg The code for my system is listed below. I want to have mathsymbols like Y_k ...
0
votes
2answers
73 views

How to draw an arrow in a diagram?

I found the code for I tried to put an arrow at the end points to join 0 to 0 but I couldn't. Any help? Edited: Here is the code I found \begin{tikzpicture} \matrix (m) [matrix of math nodes, ...
2
votes
1answer
19 views

Change to short Monthname in datetime2 (german)

I use \usepackage[ngerman]{datetime2} and try to create a date which uses the short form of the Monthname. When I type \DTMdate{2016-12-4} I get as result 4. Dezember 2016. But I want the short ...
0
votes
2answers
66 views

no pdf after compiling

I'm using latex for a while now and a few days ago I received the message "Failed to find the file "C:\Users...\thesis.pdf"; perhaps it has been deleted." and indeed it is no longer in the file. For ...
1
vote
1answer
19 views

Putting Nomenclature in a table

(New to LaTeX) I am recreating a Microsoft Word document in LaTeX and need a list of abbreviations in a table. I am using the nomencl package because I like the way I can put entries into the ...
10
votes
1answer
161 views

Connecting tree nodes with double arrows a la chef

I'm trying to draw a tree with double arrows. To that end, I have combined the file system tree from texample.net with the basic idea of double arrows a la chef: \documentclass{standalone} ...
0
votes
1answer
32 views

How to reference a chapter after using the \setcounter{chapter}{0}

I'm trying to create a reference the appendix. The appendix package is resetting the chapter and section exectly like I do and I started to notice this bug while using it... So I use the \setcounter ...
1
vote
0answers
32 views

Editing .bib file to fix error

I'm a fairly new LaTex user and i'm using Biber to compile my list of references. I updated everything to get rid of the incompatible versions of biber error message. This worked for me last time, ...
0
votes
1answer
23 views

Beamer frame title manually change vertical and horizontal position

I am trying to change the vertical and horizontal positions of my frame titles and subtitles. So far I am using \setbeamertemplate{frametitle}[default][center] but I would like more control. Is it ...
0
votes
0answers
27 views

Longtabu in pgfplotstable from csv input with additional tikz lines

My question is based on this thread: Faulty table lines I have lots of csv-separated data e.g. in this format 11,22 33,44 55,66 ... and so on I'm creating tables automatically using the ...
3
votes
3answers
78 views

What is the correct way to type "See Eq. (n)

I am writing a document with equations and I am used to refer to equations with \eqref{label}. However if I want to refer to it in a commentary with parenthesis (see Eq. \eqref{label}), it will make ...
4
votes
1answer
15 views

Enumerating the list of figures / listoftables in the table of contents

I'm fairly new in LaTeX and using TeXmaker to write my thesis. My supervisor wants my toc to look like this: TOC I TOC..................I II LOF.................II III LOT................III IV ...
3
votes
2answers
120 views

Check if two labels are undefined

I'm struggling to test if there are two labels undefined, in order to include some specific files only in that case. Until now, I only needed one condition: workshop, so I was checking like: ...
1
vote
1answer
34 views

Remove last character from decription label in cross reference label

I read how to make a reference that has as a label the label of a description label (Reference name of description list item in LaTeX): \makeatletter \let\orgdescriptionlabel\descriptionlabel ...
0
votes
1answer
12 views

paracol: How to reset footnote counter every page?

Is there a way to reset the footnote counter every page without getting errors and warnings? If I use \usepackage[perpage]{footmisc} I get an error. If I use \usepackage{perpage} ...
0
votes
0answers
12 views

pgfgantt progress does not display correctly and returns error

I'm creating a Gantt chart in LaTeX by using the pgfgantt package. I can't display the progress correctly. I'm using ShareLaTeX The following code: \begin{frame}{Planning} \begin{ganttchart}[ ...
2
votes
1answer
24 views

\bibstring adds period inside brackets

I'm trying to write my own biblatex style and my citation norms require that I add "[S.l.: s.n.]" after the title when there's no address and no publisher information. So I tried doing something like ...

15 30 50 per page