All Questions

4
votes
1answer
76 views

Show only main part of Tikz diagram and outliers via extension

My diagram is too big. The problem is the red line, which is going below 50. In some old books I found a nice work around for this. Their the area between the main part and the outlier is left ...
1
vote
0answers
36 views

What's actually going on when I call bibtex [duplicate]

I learned how to use bibtex from the LaTeX wikibook, found here. They say that to compile a LaTeX file that uses bibtex, you need to call pdflatex once, followed by bibtex, followed by two more calls ...
3
votes
1answer
62 views

Change font size mid document consistently

How can I cange the fontsize mid document to have the same effect locally as setting the fontsize in the documentclass globally. Consider the following minimal example: ...
2
votes
3answers
46 views

Aligning equations with left and right comment

I'd like to align multiple equations below each other such that the central operator is always centered, but have a column for commenting on the right and a column for \iff-arrows and ...
2
votes
1answer
45 views

Problem compiling Tikz automaton library example

This doesn't compile for me (adapted from p.521 of the Tikz manual, v3.0.0): \documentclass{article} \usepackage{tikz} \usetikzlibrary{automata} \begin{document} \begin{tikzpicture}[shorten ...
0
votes
0answers
14 views

Question about the Bibliography in Beamer [duplicate]

What is the command used to get the small red book symbol near the reference in the following image in a beamer document: Please Thank you
2
votes
1answer
55 views

Paragraph overfull hbox

First off all: I must write with twocolumns. The major problem is the overfull hbox at some equations: from 6pt to 12pt too much. I don't know what to do. So what do you do when you write your ...
4
votes
1answer
48 views

How can I get a macro (e.g. for a function parameter) to gracefully expand within a listing?

I try to pass a parameter to code environment (lstlisting): \documentclass{standalone} \usepackage{listings} \def\parameter{home/Desktop/example_01/} \begin{document} \begin{lstlisting} \parameter ...
15
votes
4answers
306 views

Bash lstlistings treats “$#” as a comment

Background: In Bash, $# represents the number of arguments, and # starts a comment. Consider the following Bash script: # This is a comment while [[ $# -gt 0 ]]; do echo $1 shift done Note ...
2
votes
1answer
17 views

Forcing a newline in the algpseudocode package

I have written the following pseudocode: \begin{algorithm} \caption{Check if any player has won.} \begin{algorithmic}[1] \Procedure{isWin}{$Game$} \ForAll{$seq \in \Call{getWinSeqs}{Game}$} ...
1
vote
1answer
21 views

How to disable list in the rSubsection?

I am working on my resume, and I want to use srSubsection environment. The problem is the current class file only allows entering a list. And I do not know how to modify that to allow inclusion of ...
1
vote
0answers
25 views

Disabling colored borders in pdf with bookmark package

How do I get rid of the very ugly and annoying colored borders around all text in my pfd that is bookmarked? I am not using the hyperref package to make the bookmarks, because I cannot get than ...
2
votes
1answer
23 views

Create page break for entire frame without breaking the text flow

I'm including a large, one page box using framed package, with simplest example being: \documentclass{report} \usepackage{framed} \begin{document} Some text ...
1
vote
1answer
77 views

What is this bibliography style?

What is the following style? If I want to use this style, is there an appropriate style file? Or how to write a bst file according to known style file? I only know how to make the first name ...
1
vote
1answer
21 views

How to change the direction of the \makepsmarks choice of section title in header?

I am having some trouble getting the command \makepsmarks behave as I want it to behave. I would like to have the section titles in the header behave as follows: No section titles should be displayed ...
0
votes
0answers
28 views

epstopdf error in lyx

I have read many answers here, but nothing work. I have an error in my lyx with eps to pdf conversion. when I use epstopdf in terminal it works, but with lyx doesn't work. this is my latex code: ...
2
votes
1answer
145 views

Package(s) for traffic signs

I am looking for package(s) that include traffic signs as symbols; I would appreciate if you could let me know if you are familiar with any.
0
votes
1answer
44 views

Problems with Cyrillic fonts in XeTeX

I have my document with Russian text. Formerly, it was stored as UTF-8 without BOM and compiled with LaTeX. All worked fine with the following preamble: \documentclass[11pt,a4paper,final]{moderncv} ...
0
votes
1answer
46 views

Multiple letters to the same address

Is it possible to use from and to field to have same addresses, while the content of the text continue to change using a letter class. This will be useful in a case when someone has to send monthly ...
1
vote
1answer
29 views

caption close to the table in caption of figure

I need guidance for making the picture below. I can't see to put the caption to the right of the small table (a,b,c), as in the picture below. Any ideas? This is my code: \begin{figure*} ...
0
votes
0answers
30 views

Luatex and Xetex installed but template isn't working.

I have just downloaded a template from http://gtweb.uit.no/iwclul2015/2015-fiwclul.tar.gz I've installed luatex and xetex but it's not compiling: alvas@ubi:~$ sudo apt-get install texlive-xetex ...
2
votes
0answers
84 views

How to add Wolfram Manipulate function and image?

I have a problem with including a Wolfram Manipulate function and one image at the same TeX document. I used this code for Manipulate function: d=ParametricPlot[{{x, y}}, {x, 0, 0.2}, {y, 0, 0.2}, ...
0
votes
0answers
17 views

<Database entry “.”> error randomly appears and disappears

My document using BibTeX with the "jmb" bibliography style runs great usually. However, BibTeX started giving the error: Warning--I didn't find a database entry for "." Thinking I'd accidentally ...
0
votes
0answers
15 views

\bibliography only shows references from the template

I have the following codes: thesis.tex \usepackage[square, numbers, comma, sort&compress]{natbib} \bibliographystyle{plainnat} \bibliography{Bibliography/sample.bib} ...
0
votes
0answers
21 views

How to open a plain TeX document in BaKoMaTeX (TeXword)

The question says it all I want to open a plain Tex equation in BaKoMaTeX (TeXWord) This is a Sample File $$ t{\rm{(}}x{\rm{,}}y{\rm{)}} = \left\{ {\matrix{ 1 \cr 0 \cr } } \right.\matrix{ {\quad ...
0
votes
0answers
30 views

Include one page PDF in existing .tex-file without letting design template influence apperance

I'm having a huge *.tex-file which is based on the KOMA-class. I'm using a design-template from my university to modify the appearance. The design-template adds colored bars on top of each page and ...
0
votes
0answers
23 views

Top line disappears when using \subsubsection

I'm experiencing some troubles writing my PhD thesis. Specifically, when I use \subsubsection for n paragraphs of a Section in Materials And Methods, the top line Materials And Methods disappears. ...
0
votes
0answers
22 views

How to create custom paragraph with caption

I want to highlight a specific paragraph by changing its margin. Using \begin{addmargin} \end{addmargin} i get a quite good result. Now I would like to add a caption at the bottom. This caption ...
1
vote
0answers
25 views

Hiding bibliography

I am in problem to complete my PhD thesis in Lyx/tex. The bibliography style of my university doesn't match with any available style file. I want to manually correct the bibliography file add as a pdf ...
1
vote
0answers
24 views

\cite{} autocompletion in VIM in non tex file

I'm moving my workflow from LaTeX to Asciidoc + Asciidoc-bib. I would like to have the vim-latex reference autocompletion working for non-.tex files, in my case for .txt files. So when I add some ...
3
votes
0answers
90 views

Illustration of Lagrange multipliers

I want to draw with pgfplots and/or tikz an illustration of Lagrange multipliers. For reminder, Lagrange multipliers are used to optimize thing like this: min_x f(x) such that g(x)=0 Basically, I ...
3
votes
1answer
59 views

Shifting graph in TikZ: centre not working

I am having trouble making a diagram align in tikzpicture. At the moment if I use '\centering', my network graph moves to the right of the pdf. If I don't, it is in the left of the pdf. How do I make ...
6
votes
1answer
25 views

Latex enumerate: making first item italic

I have an enumerate-list and want to make the first item in this list (including the number) italic. It seems like I can make everything italic except the first number - otherwise the whole list ...
2
votes
2answers
51 views

How to cite a group of papers with the same citing number?

I want to cite 4 papers with different authors, titles and published in different years, that are related by the subject. I'm using JabRef to generate the BibTex file, and also the usual enviroment ...
1
vote
0answers
30 views

Dimension too large in pgfgantt

I am trying to create a gantt chart using pgfgantt. Below is the 'sample' code I'm using \begin{ganttchart}[ hgrid, vgrid, x unit=18mm, time slot format=little-endian ]{9.6.2014}{1.2.2015} ...
1
vote
0answers
10 views

How do I make Sublime+LatexTools generate .bbl and include references automatically when building the pdf?

I am migrating to sublime and using latexTool. I think it is easy, but no solution worked for me. How I modify my Latex.sublime.build so that, when I build the pdf file, it automatically include the ...
0
votes
1answer
45 views

Plus-minus sign in the continued fraction

How to write the plus/minus signs aligned with the bottom of the fraction. I can write the rest of the part of equation (1.1) and (1.2). but can cot write the plus/minus sign at the bottom.
0
votes
0answers
11 views

Automatically enclose \glt line from gb4e in \enquote{}

How can I automatically enclose the \glt (\trans) line in gb4e's interlinear glosses in context-aware quotation marks with \enquote{} from csquotes? \documentclass{article} ...
2
votes
1answer
48 views

Problems with \rowcolors and booktabs

I'vegot few tables created with few packages included booktabs where I use the command \rowcolors from the xcolor package. But in the last I notice that the colour is wider that the lines of the same ...
1
vote
2answers
80 views

Branch tree LaTeX

I need to make a branch tree in LaTeX just like in the picture below. I need some help with the code. I don't know how to make it.
1
vote
1answer
24 views

One paragraph style bibliography

I am writing a research essay for a scholarship that has a two page limit. However, the bibliography spills over onto a third page. I am trying to find a way to make it so that each citation in the ...
1
vote
0answers
6 views

LyX XeTeX and hyperref error hline

I have a main LyX document with a number of child documents, which have English, Hebrew and Greek text. On compilation, I get an error: ! Undefined control sequence. <argument> \@currentHref ...
1
vote
1answer
38 views

Text with overlay is vertically displaced in beamer

Consider the following MWE: \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Displacement of text} \only<1-2>{This text will be displaced.} \only<2>{Did you see it?} ...
1
vote
1answer
31 views

Removing Title in baposter class

I am making a poster with the baposter.cls class. The class is a bit weird, and the title is inputed in the following: {\sf\bf (Poster title)} I would like to remove the title and have the boxes ...
2
votes
1answer
22 views

Adding CHAPTER line to contents with suppressed page numbers

I'm trying to add a line under "Contents" that says "CHAPTER" and suppress the page number associated with the line (additionally with List of Figures). That is, the page should look like: Contents ...
5
votes
0answers
78 views

Fonts Compatible with Laser Cutting

Pretty straightforward question: My friends and I have access to a laser cutter and we are making a word clock. Thus I was wondering if anyone knew of a LaTeX font compatible with laser cutting such ...
2
votes
0answers
30 views

Why does minipage have different top/bottom margins for math environments? [duplicate]

My goal is to create a framed minipage environment that will contain text and math environments in varying combinations. I noticed that the top (and bottom) margin of the minipage is quite a bit ...
3
votes
2answers
61 views

Short form of same author

I'm having a problem while writing my project paper. I'm quoting the United Nations multiple times so doing that I have to use the short form of the author. As a result my paper should look like this: ...
3
votes
0answers
52 views

Scale a tikz picture [duplicate]

Here was the original code, from here. I am trying to fit it to a specific page with the following margin. Note that I need to use \ref{} to some other content in the writing. So i cant't just ...
3
votes
1answer
36 views

Underlining the word “References” in table of contents

I need to underline the word "References" in the table of contents of an article-based document. These are not my specs, so please do not criticize me for this request. Basically, I need the TOC to ...

15 30 50 per page