15
votes
4answers
5k views

Drawing a scattering Feynman diagram with TikZ

I am trying to produce a scattering diagram with TikZ but I have become stuck. The Desired Structure I am trying to achieve this layout of lines, including their arrow directions. In my diagram. ...
6
votes
2answers
416 views

Wrapping a Feynman diagram in an ellipse or a circle?

I used a variation of the following code in order to create Feynman like diagram in latex using the answer in Drawing a scattering Feynman diagram with TikZ However, I want to wrap the diagram inside ...
4
votes
2answers
361 views

drawing diagram from the circle

I am trying to wrap the following diagram in a circle and I am facing some problems. I am using the some codes from, Wrapping a Feynman diagram in an ellipse or a circle? , but I cannot make the lower ...
2
votes
1answer
54 views

Trigonometric arc

How to be codes for trigonometric arc AB like that: ( not using kpfonts ). Thanks.
0
votes
0answers
12 views

bibtex citation suddenly appear word

I have defined my document to have citation appeared numbering order. This is the only one that suddenly has the name of the author instead (in the entire document of 20 references, this is the odd ...
2
votes
0answers
21 views

Obtain a PDF animated from SVG animated

I have read Animations in LaTeX, but my question (I think) is different. I have a SVG animated file and I want create the same animation in LaTeX, without rewrite the code. An example is this one ...
1
vote
0answers
9 views

Footnote separator line appears in the wrong side of the page

I'm writing my Master's thesis and so far, no big problems. Now I have this issue with the footnote separator line at the beginning of one chapter, only on this page: it appears on the right instead ...
1
vote
1answer
74 views

knitr Caption figure without number

I am looking for a way to caption my figures without numbering them (like \caption*{}). I am not sure how to do this in knitr. The following example shows my first attempt: <<label, ...
5
votes
2answers
87 views

Position of text and arrows in TikZ matrix

I want to put a text inside a TikZ matrix, but it always begins from the bottom !. So, my qusetion is how I can force it to begin from the top? My MWE: \documentclass{article} ...
1
vote
1answer
16 views

Synthetic division without polynom package

I have been working with some of my students on synthetic division, and I like how the book represents it in terms of keeping track of everything and the like. It made me wonder how best to reproduce ...
7
votes
2answers
699 views

How to set up forward/inverse searches with AUCTeX and Zathura

I haven't been able to find much on how to set up Zathura to work with AUCTeX/Emacs in terms of forward/inverse-searching. Has anyone been successful in this?
1
vote
0answers
47 views

Bibulous or Biblatex with Footnote Referencing

I have a rather complicated set of referencing requirements for my thesis. I have references in a variety of languages (Russian, Japanese, Chinese), where the transliteration of author names, ...
0
votes
0answers
20 views

Multiple sorting with biblatex

I'm trying to use biblatex to produce two different bibliographies. The first one should contains only my papers, sorted in order of appearance in the text, and with some special prefix. The second ...
3
votes
1answer
20 views

Use libertine numbers in math mode and with siunitx

I am here again to seek your help. I would like all numbers in my document to be the same (in text or math mode). Now I have Please note also the size difference. What is the way to have all ...
2
votes
0answers
15 views

Indexing with Binary Units using siunitx package

As per How to overwrite siunitx's binary prefixes, any changes to the binary prefixes need to be deferred to be after \begin{document}. However, it seems that if I am using those same binary ...
1
vote
2answers
47 views

tabularx with dynamic columns and much text ends up in under- and overfull boxes

I wrote two tabulars which faces kind of the same problem. They end up in a mess of under- and overfull boxes. I noticed many under- and overfull boxes threads here, but I wasn able to fix it yet. ...
2
votes
4answers
93 views

What about ClassicThesis? [on hold]

I am a student and I'm looking for a nice and enjoyable "layout" for writing my thesis (which is not so close: I'm forestalling). Now, I've read about ClassicThesis, and I gathered that this is a very ...
0
votes
0answers
118 views

How can I draw a 3D cross-section of a 3-torus embedded in 4D Euclidean space?

I found this question and very nice solutions of Mathematica Stack Exchange. I have a 3D-torus (\mathbf S^1\times\mathbf S^1\times \mathbf S^1) embedded in 4D Euclidean space. How can I draw the ...
2
votes
1answer
43 views

How to plot functions involving rational exponents using pgfplots?

The power functions that i'm trying to plot isn't showing up fully, i've tried changing the domains and stuff but to no avail, can i get some help here please? \documentclass{article} ...
3
votes
1answer
15 views

Custom align, three \beta = statements, so the beta is custom aligned vertically, and the matrices/vectors are all vertically aligned

Something like: \beta = [], \quad \beta = [], \quad \beta = []. So that the three forms of beta fit on one line. I want the \beta = to valign with the first element of the vector/matrix. I want ...
1
vote
1answer
26 views

Defining newtheorems using loops

I would like to define Theorem x.y say x,y are integers between 1 and 20. Then, I need to write 400 sentences like \newtheorem*{theorem1.1}{Theorem 1.1}. EDIT: I'm typping some old book in a ...
3
votes
1answer
24 views

Minitoc of wrong chapter

I'm writing my Thesis and I want the general table of contents at the beginning of the document and the toc for every chapter at beginning of every chapter. For doing so I use the minitoc package. If ...
19
votes
2answers
7k views

How can I change the font family in pgfplots?

I am using the classicthesis package in LyX to typeset my thesis. I have a plot produced with pgfplots. It uses math fonts same as elsewhere in the text, which is inconsistent with other plots of mine ...
7
votes
2answers
443 views

Draw an animated gif of trigonometry function

How is an animated diagram like this drawn? Here is what I could get if I try my best for the code: \documentclass{standalone} \usepackage{tikz,pgfplots} \begin{document} ...
14
votes
2answers
5k views

Use CSS-style color specifications in xcolor?

I have colors on my website #eff5f9 and #dfecf7. I would like to also use them in a :aTeX document. Is there a way to use such hexadecimal specifications with xcolor? I've tried to read the xcolor ...
3
votes
1answer
9 views

tufte-latex: \newthought after \section

Using \newthought after a new section title inserts an unusual vertical space as in the following example. \documentclass{tufte-book} \usepackage{kantlipsum,cleveref} \begin{document} ...
1
vote
1answer
19 views

Adjust the position of node label in graph

Question is the position of node (16, 20) is mixing with line. How to get rid from this? That is i want to plot this node in right side so there is no chance of collision with line. This is what i ...
8
votes
4answers
191 views

Help needed to create a relatively complex page for the cover of a textbook

I would like to be able to create a page like the following: I am using PDFLaTeX, by the way. I tried playing around with the minipage environments, but while I get somewhere, there are always ...
49
votes
2answers
3k views

Text spirals with TikZ

I just ran across this, and I'm curious about whether it can be replicated in TeX... Ideally one would have the spiral getting tighter and tighter as one got to the centre, as in I know TikZ has ...
3
votes
1answer
55 views

Does XeLaTeX in TeX Live 2015 force unicode quotation marks? [on hold]

Using XeLaTeX in TeX Live 2015 seems to break classic LaTeX quotations (or force unicode entry, depending on how one looks at it). Results TeX Live 2014 fontspec.sty 2015/03/14 v2.4c Font ...
1
vote
2answers
20 views

Align address blocks in a resume

I'm trying to align three address blocks so that there is one on the left alignment, one on the right alignment and one in the center. This is what I have so far for two addresses (I used a lot of ...
2
votes
1answer
64 views

How to fill a region between two curves in Tikz?

So basically I am trying to reproduce a modified version of this figure: This is what I have done so far, and I would like to fill the region between u1 and u2 with the same gradient color: ...
2
votes
3answers
106 views

How to do a chart with stacked bars, lines and “sections”

The problem I need a chart like this (this was made in Libreoffice + some gimp): Its caracteristics are bassically: Some stacked bars (if it is a stacked area, better) with its Y axis at the ...
0
votes
0answers
3 views

Long bibliography options of BibTeX in RevTeX using LyX

I'd like to let titles appearing in a bibliography generated by BibTeX on LyX running RevTeX and using the style apsrev4-1.bst. In principle there is a longbibliography option one can use in the call ...
0
votes
0answers
12 views

two column index overflow

I have a book, with an index. In the preamble I'm using \makeindex and then, at the end of the book, I'm saying \printindex. Works fine and prints the index in two columns. However, the first column ...
0
votes
1answer
55 views

Is there a way to switch columns in paracol without introducing a paragraph break in the pre-switch column?

(M)WE: \documentclass{memoir} \usepackage[margin=1in]{geometry} \usepackage{paracol} \begin{document} \newcommand{\switchtoleft}{\switchcolumn[0]} ...
0
votes
0answers
25 views

convert pdf output into motion gif

The following codes gives an animation of cos x, which is modified from the one by Henri Menke. Could you please help to convert this pdf output into GIF using imagemagick. I could not install the ...
0
votes
0answers
20 views

Not able to install packages

When I run my code the pop up for installations comes but then it is showing error that the tikz.sty not found. I think the installation does not work. \documentclass[10pt,a4paper]{article} ...
0
votes
0answers
42 views

Having trouble using fontspec package with LuaLaTex in TexWorks

I am trying to compile the following code in TexWorks with LuaLaTex: \documentclass{article} \usepackage{fontspec} \begin{document} Hello \end{document} It works without the line: ...
1
vote
1answer
92 views

Using knitr with TeXworks

I checked out the conversation between Speravir and Yihui, and also Yihui's site and video for getting knitr to work with TeXworks. However, I am definitely not super tech-savvy and I'm having some ...
4
votes
1answer
120 views

How can I define my own sequence of symbols for a new counter style?

I know I can change a counter style as this: \renewcommand\thechapter{\Roman{chapter}} (The above command will make chapter numbers be written in upper case roman numerals) However, according to ...
1
vote
0answers
43 views

what BibTeX Style Example is this?

So it looks exactly like the older JF-articles:
2
votes
1answer
11 views

BibTex citing format: Hide Indices/key for CV

For my CV (pdflatex) I like to add my publications (BibTex) but a can't get rid of the keys/indices for the cite entrys. Unfortunately I like to use a special mstyle.bst file (I hadn't made myself) ...
2
votes
2answers
279 views

OCR PDF/Image to LaTeX (math)

I would love to have an OCR who could translate my PDF-file to a TeX-file. It doesn't have to be "good looking". I only need it to a) copy some text from time to time and b) especially to copy the ...
5
votes
1answer
50 views

Layered Graph from Tikz Manual

I suppose I have quite some experience with vanilla latex (which I have used to write several documents), but I am making my first baby steps with tikz. In particular, I am trying to reproduce the ...
1
vote
1answer
51 views

Make small caps the same size as lowercase

Letters in small caps (\scshape) are larger (height and width) than lower case letters. How can you make them the same size? Minimal example: \documentclass{article} \begin{document} Default: ...
1
vote
1answer
87 views

I have a problem with the build LaTexTools with Sublime Text 2

I can't build: This message appears on the console, and not let me build.: Traceback (most recent call last): File ".\sublime_plugin.py", line 337, in run_ File ".\makePDF.py", line 219, in ...
14
votes
3answers
38k views

Bibliography in Texmaker

I'm having some problems with my bibliography in Texmaker. My code is: \documentclass[11pt, a4paper]{article} \usepackage{graphicx} \usepackage{amsmath} \usepackage{natbib} ...
4
votes
1answer
41 views

colored box around a column in matrix [duplicate]

How can I go about drawing a colored box around a column in a matrix with an arrow and text like this: Here is the code that I have thus far: \documentclass[11pt]{book} ...
2
votes
3answers
47 views

minipage wrapping tabularx overfull box

The line Zur Erläuterung der... should introduce the following list. This produces an underfull hbox and I just can't get rid of it. To keep the content together on one page I found the solution in ...

15 30 50 per page