0
votes
0answers
2 views

problematic extra cell when importing CSV to latex

I have a table that spans several pages I will be including in an appendix that I would like to import into my LaTex document from a csv. I found the long table answer post very helpful: Importing CSV ...
0
votes
0answers
6 views

Is it possible to insert C++ code into LaTeX?

I mean C++ doing some calculation not inserting the code as a text.
1
vote
0answers
14 views

Fading along a plot line in pgfplots

I'm using the following to draw the electron wavefunction around an atom. I'd like to fade out the line towards it's end. I've read all the relevant questions I can find, Any ideas? ...
-1
votes
0answers
31 views

Produce the GMail and Google Logo? Perhaps a TeXiy version of it? [on hold]

This question is purely recreational; don't waste on it time better used elsewhere Any one of these would be nice: ...
1
vote
2answers
20 views

Pagestyle uheadings. No page number on first page with chapter title

I am using uheadings pagestyle. First page of every chapter should have page number at the bottom (default plain style), but in my document there is no page number there. This is my master page: ...
2
votes
1answer
34 views

Half arrows in graph using TikZ

How can I create half arrows like the colored ones in the answer to this post using TikZ? I know how I can create custom arrow tips, but how can I extend this to the tail of the arrow? I would ...
0
votes
0answers
10 views

Error with glossary package

I'm currently writing my PhD thesis on LaTeX, and I have a problem with the glossary. I'm working on windows 7. I have one file (preambule.tex) which has all the commands. About the glossary, I wrote ...
0
votes
1answer
25 views

Where to place .bib file when saving many documents in dropbox

I have acquired the habit of saving my documents directly in dropbox, and I attempt to use one big bibliographyfile to call upon for many of these documents. I make a folder for each document, and for ...
2
votes
0answers
11 views

Definition conditional on pgfversion [duplicate]

Due to a change in behaviour between versions of pgf, I want to introduce a conditional definition that depends on whether or not \pgfversion >= 3. How can I do this?
1
vote
1answer
49 views

Pagestyle plain. No page number on last page of chapter

I am using plain pagestyle. Last page of every chapter doesn't have page number. This is my master page: \documentclass[a4paper,onecolumn,oneside,11pt,wide,floatssmall]{mwrep} \usepackage{bookman} ...
4
votes
1answer
75 views

How to create new font which is thicker version of Computer Modern

I'm trying to find a good way to have the LaTex default font "Computer Modern" (CM) a bit thicker (also called "blacker"). I really like this font, especially when it comes to math mode, so answers ...
4
votes
1answer
58 views

Change caption font using xelatex

I'm new to xelatex, but I've managed to change the font of the chapter, sections, and so on. Now, I want to change the global font of the float captions (figures, tables...). I've named the font ...
0
votes
0answers
12 views

Problem with background pictures (\AddToShipoutPicture)

I'm having some troubles with the frontpage of my document. I use \AddToShipoutPicture*{\BackgroundPic} to print 2 .eps files as background on which I print the text: \begin{document} ...
1
vote
1answer
48 views

How can I parametrize two tikz circles to fit tufte marginpar?

Ho can I parametrize the circles to fit the tufte marginpar? I want to able to change the sovrapposition of the circles (possibly in ratio from 0 to 1) and get an adjusted \diameter to fit ...
0
votes
0answers
26 views

The better Mac LaTeX processor for a beginner: LyX or TexShop? [on hold]

Which one is better for someone relatively new to LaTeX? I'm using TexShop right now, but when the code get's bigger I kind of lose overview on my document. Is this better in LyX?
2
votes
0answers
14 views

Adding an environment to LyX for dividing a proof into steps

My question is basically a combination of the questions Is it possible to use the enumerate/itemize environment within the proof/remark environment in a nice way? and Create new paragraph style in ...
1
vote
1answer
32 views

Numbering slides in Beamer

Here's my code: \documentclass[11pt]{beamer} \mode<presentation>{} \usepackage{beamerthemesplit} \usepackage{amsmath,amssymb} \usepackage{graphicx} \usepackage{wrapfig} ...
2
votes
1answer
28 views

Include a table as label in pgfplots

I would like to have as a symbolic x coordinate a tabular. Is this possible? Below is a MWE that has all the required elements. \documentclass{article} \usepackage{pgfplots} \begin{document} ...
1
vote
1answer
27 views

how to insert the date (today) in the middle of a document

So the question is simple: Instead of having the date in the title, how do you manage to put the current date in the middle of the text, within the document? Thanks
4
votes
1answer
46 views

pdfLatex exitcode when running with timeout

I'm using latexmk for compilation of my document and want to limit time for every compile cycle. In order to do it I use timeout util in following way: latexmk -f -pdf -bibtex \ -pdflatex="timeout ...
0
votes
0answers
15 views

Autocompletion of citation in TeXShop without BibDesk?

The documentation for autocompletion of citations within TeXShop appears to be fragmented around the web. The default suggestion is to use a service from BibDesk, but this requires BibDesk to be ...
1
vote
1answer
18 views

Correct linebreaking on comment text for sidecaption using memoir class

I use some tricks to have a good \sidecaption command for the memoir class. But how can i have a correct separation between title name and some possible comments on the figure ? Figure 1.1 : My ...
1
vote
2answers
51 views

How to mimic Turing Machine description in Sipser textbook

Introduction to the Theory of Computation by Sipser is one of the standard textbooks on theory of computation. To describe a Turing machine (TM) in high level, this book uses a variant of enumeration ...
1
vote
2answers
34 views

Placing Image within double column text without resizing

I want the image to occupy both columns for good resolution within a two-column document and also want the text in two column format. I used following command, but it overlaps with the text in other ...
0
votes
0answers
36 views

Set 'end of document' signal within PDF from LaTeX

So I am developing a LaTeX document that will have several copies of the same or similar 'document' within it. Eg pages 1-10 might be a proforma pre-populated with someone's name and details, and then ...
0
votes
0answers
32 views

One-sided to two-sided mode on particular pages

I am new at LaTeX and I am trying to write my thesis with it. I am using the one-sided page mode for the entire thesis. However, for certain pages, I would like to revert to two-sided, especially when ...
0
votes
1answer
26 views

Adding a command to the pop up list [duplicate]

When we start writing some LaTeX command, a pop shows the complete command. Is there some way to add a command e.g. \bibitem to this list so that we will not have to write complete command frequently. ...
2
votes
1answer
29 views

Nodes put one on top of the other

I am a total beginner in tikz and I am using the following code (slight modification from texample.net) to draw 2 red black trees. The problem I am facing is that both trees are placed one on top of ...
0
votes
0answers
21 views

Remove a0 poster bibliography title

I am creating a poster using the a0poster package. I want to remove the title of the bibliography which automatically comes up with 'References'. All I have is this: \bibliographystyle{plain} ...
1
vote
0answers
16 views

Prevent passing of options when defining a new class

I'm defining a new class. In this class I created an option total. This however breaks the document since apparently this option is passed to the geometry package, even though I'm not specifying this ...
5
votes
1answer
103 views

Turning off figures in latex completely (without placeholders)

Is there an easy method to compile a LaTeX document ignoring contents of \begin{figure} ... \end{figure} blocks altogether? I am looking for an equivalent for draft and demo options (as in ...
3
votes
1answer
95 views

How to decrease space above and below displayed equations [duplicate]

This is my code. \documentclass{article} \usepackage{amssymb,amsmath,amsthm,enumitem} \begin{document} How can I decrease vertical space between text above and below \$\$ \ldots \$\$ ? $$x^{2}+y^{2} ...
0
votes
0answers
15 views

How to maintain the dot in the journal field of a bib item

I have an example bib entry: @article{bib_1, title={article1}, journal={arXiv:15xx.01678 [cs.SE]}, author={xxx.}, year={2015}, month={Jan}} When it compiles, the output of the journal is: ...
0
votes
0answers
25 views

How to force break \url? [duplicate]

I want to break the web link shown in figure to not be out of margin I am using JabRef software to deal with my references and i wrote this link as follows : ...
2
votes
1answer
61 views

When citing inside caption, it starts at number one

When using \cite inside a figures caption, it ignores all my previous citation and assign the used source as number one? I have even tried with \protect, but still it starts at 1. ...
0
votes
0answers
39 views

how can add axes to spy box in latex?

i want add axes to spy box for example on spy box shown interval [-1,1] or interval that zoom in automaticly.please with this code.not change. \documentclass{standalone} \usepackage{pgfplots} ...
2
votes
1answer
23 views

Package keyval Error 15 undefined

When I try to compile the following code on Windows using MikTeX and TexWorks, i get this error : ! Package keyval Error: 15 undefined. See the keyval package documentation for explanation. Type H ...
0
votes
2answers
50 views

Referencing within an align

The following LaTeX document: \begin{align*} p{(A,RM,OL,O,LC)} &=p(A)\;p(RM\mid A)\;p(OL\mid A,RM)\;p(O \mid A, RM, OL) \\ & \; \; \; \;p(LC\mid A, RM, OL,O) ...
4
votes
2answers
152 views

How can I write a conditional coloring command that distinguishes variables within sectioning commands vs those within the body text?

Question Is it possible to write a conditional statement for commands that change them based on where they appear in the document? Example Situation When command appears in the body, it should be ...
2
votes
1answer
35 views

How can I draw a vertical line on a slide in beamer without affecting the positions of any other elements on the page?

Consider the following beamer frame \begin{frame} \frametitle{Foo Bar} \includegraphics[scale=0.18]{figures/Fig1.pdf} \includegraphics[scale=0.18]{figures/Fig2.pdf} \end{frame} Currently, they are ...
0
votes
0answers
35 views

Liquid Limit Graph, Semi-logarithmic graph [on hold]

How can I create a liquid limit graph for a soil using latex? I need to plot points and create a trend line. I also need to draw arrows on the graph.
1
vote
1answer
41 views

Document Title missing

I am writing paper for a Journal which should be 10 pt, double column format. It compiles as desired but the title doesnot appear anywhere when i compile it to pdf. Starting lines of the code are: ...
1
vote
1answer
50 views

Improving a poorly used theme of a beamer presentation

I have completed a technical presentation, but I have tried many times to customizedprove the appearance of the AnnArbor. 1) How do I improve the color matching, especially using colors which suite ...
0
votes
0answers
22 views

Help getting epstopdf to work

I have included \usepackage{epstopdf} in the preamble. I have change the settings on my Texmaker to: "../MiKTeX/miktex/bin/pdflatex.exe" -interaction=nonstopmode -synctex=1 -enable-write18 %.tex ...
1
vote
0answers
25 views

line length in code listings [duplicate]

Using the listings package, is there a setting using which I can control the number of characters listed per line? I see that there is a \lstset{linewidth= <>} option, but based on observation ...
3
votes
1answer
62 views

Modular LaTeX document preambles and class files

I have been debating whether or not to ask this question as I don't intend to create an overly broad unanswerable, or solely opinion based question, but I have decided that there are probably some ...
0
votes
0answers
32 views

Word Label program [on hold]

After selecting labels in my Microsoft word program the grid lines are gone. After selecting new document the grid lines for the labels aren't there. I have checked to make sure the zoom is set high ...
10
votes
2answers
118 views

How to compare the output of \ref to a number?

I want to compare the output of \ref to a number in LaTeX. I thought it would be easy but after spending lots of hours surfing the net I still don't know the answer. I found similar questions on this ...
0
votes
0answers
39 views

issue with listings package [on hold]

I am trying to use listings package with Miketex 2.9 but when I try to compile using pdflatex I get the following error: ! Package caption Error: For a successful cooperation we need at least version ...
3
votes
0answers
35 views

Increase equation resolution in TeX4ht using accessible images or typeset text

When TeX4ht compiles my latex code it generates a png of my equation and includes this in the html file. Until a better alternative for this comes along I am quite happy with this way of ...

15 30 50 per page