1
vote
1answer
337 views

scatter, group, error bar, and a legend

I want a grouped scatter plot with xy error bars and a legend. So each point is a different group, with its own color, mark, and legend entry. The error bars should have the same color as the mark ...
1
vote
2answers
1k views

! Package pdftex.def Error: File `first_sketch.pdf' not found

I am trying to compile image which I created by Inkscape but I am getting the following error ! Package pdftex.def Error: File `first_sketch.pdf' not found. the PDF file first_sketch is in the ...
4
votes
1answer
1k views

amsart option titlepage puts the address on the last page

The following code produces a title page with the title, authors, and abstract, but the addresses appear at the end of the article. Every variation I can think of produces the same problem. Putting ...
3
votes
1answer
107 views

Countries are not visible with pst-map3d

Currently I am trying to use pst-map3d package. The code below plots the earth ball but doesn't draw the countries / country lines. I tried the code now on a Windows, Linux and Mac machine and every ...
2
votes
0answers
155 views

Can't move sidecap figures from top of page

Thanks for your help in advance. I am using LyX to typeset my dissertation. However when I export to plain LaTeX the problem persists, so I know is is a LaTeX problem. I am using sidecap with ...
1
vote
1answer
47 views

Avoid table overlaying with another column in IEEEtran

I am trying to create a table which is occupying end to end in the IEEEtran paper. If the table comes in the first column, then the text on the right column overwrite the remaining columns of the ...
2
votes
0answers
481 views

How should I typeset the complex conjugate of a subscripted variable?

I have a variable $z_{2n+1}$ and I want to write the complex conjugate of it. I am not sure which of the following should be preferred: \bar{z}_{2n+1}: The bar is not so large and may be hard to ...
8
votes
3answers
609 views

How to draw five pentagons from another pentagon?

I can to draw a pentagon: \documentclass{article} \usepackage{tikz} \begin{document} \begin{center} \begin{tikzpicture}[scale=2.2] \draw[ultra thick] (1,0)--(0.30,0.95) ...
1
vote
1answer
179 views

pfgplots groupplot with more than one \addplot per \nextgroupplot?

I'm having trouble making a group plot in pgfplots. I want to have 2 separate graphs, each with two regression lines and two sets of dots, but groupplot lumps everything onto 1 set of axes. I can't an ...
2
votes
2answers
306 views

Table example made in Google Docs - how to make (would one make) this in LaTeX?

edit -> the emphasis on Google Docs might be a bit much, basically it's just a little table thing, it's not something unique to Google Docs thats just what I happened to use to make this. I made ...
5
votes
3answers
347 views

Specifying some points in rectangular coordinates and other points in polar coordinates

I would like to draw a right triangle inscribed in a circle on the Cartesian plane. In the following code, a circle of radius 3 and center (1,1) is drawn. One side of the triangle, the hypotenuse, is ...
5
votes
3answers
485 views

Draw octagon with color node at middle edges

I would like to draw three pictures in TikZ but I don't know how to do it.
0
votes
0answers
93 views

Header in chapter with chapter marks/info

I want to have header in chapter page but it must include the chapter's number as well. For example, in Chapter 1 the header should include the nunber of the chapter 1. I have found the: ...
2
votes
1answer
49 views

\autoref and linguex

I use the linguex package for linguistics examples, and I'd like to be able to refer to the examples with the \autoref command. This works great for examples with labels: \ex. \label{example} Hi. ...
0
votes
1answer
79 views

how to cite this book with bibtex? [closed]

This might be an easy question to some of you but for me I find it hard because I am not familiar with the names mentioned. Which is a city and which is a publisher. Mack, Chris A. Fundamental ...
0
votes
0answers
68 views

Creating a question-solution capability

I am trying to modify a question-solution capability that was answered brilliantly a while back here. After each question text, one can freely use \solution to keep the solution directly with the ...
0
votes
1answer
84 views

XeLaTeX won't use superscript-table of OTF

The following MWE will show you the problem I encountered today. As asked, the problem I see, is that in math-mode the numbers aren't displayed as in the first line. David Carlisle stated, that this ...
5
votes
1answer
323 views

ifnum x is even DO THIS \else DO THIS \fi

I am looking for a conditional command with the next structure ifnum x is even DO THIS \else DO THIS \fi usually ifnum command have the options = < >, but I would like to have the option even ...
4
votes
0answers
149 views

unicode-math + siunitx + lualatex = long compile times. Why?

The following MWE, compiled under several situations (with appropriate lines removed) gives the following timings (with all output files removed between runs), as timed by Measure-Command on Windows 7 ...
2
votes
0answers
148 views

Plotting trajectory with latitude longitude [closed]

I am interested to plot time series data of moving object using latitude and longitude data...I have looked and haven't found anything before I give up I thought I would ask here...Is there a package? ...
2
votes
3answers
332 views

How does one change the frame size and colors in the frame option of titlesec as in MWE?

%---------------------------------------------------------------------------------------------------------- % \documentclass[11pt,a4paper,reqno,fleqn,xcolor=x11names]{book} % ...
3
votes
3answers
205 views

A brace in an equation to say both variables are equal to the same value

Say I had; \begin{equation} \begin{cases} x = 0 \\ y = 0 \\ z = 0 \end{cases} \qquad \text{and} \qquad \begin{cases} x = a \\ y = a \\ z = b ...
5
votes
2answers
234 views

Pgfplot, show mark when distance along the path is reached

Is it possible to show marks when there is a certain distance along the path has been reached? Example With \documentclass[10pt,tikz]{standalone} \usepackage{pgf} \usepackage{tikz} ...
3
votes
1answer
53 views

How to format a list of lists?

So I'm not really certain what to call this situation, but I need a list that looks a bit like this: Ia. Foo b. Bar c. Baz IIa. Foo b. Bar ... Any ideas on how to accomplish this with the ...
2
votes
1answer
96 views

thmtools: Custom Header

I'm using amsthm and thmtools to customize theorem-like environments. I want a theorem enviroment that has a header that looks like the following: . I tried to use something like headformat = ...
6
votes
1answer
289 views

How to use fewer markers while keeping curve details?

I am trying to add a few markers to a curve with lots of points, like shown below, but without resorting to the second addplot: \documentclass{article} \usepackage{pgfplots} \begin{document} ...
1
vote
0answers
84 views

Creating hyperlinks in TeXmacs [closed]

In TeXmacs, I'm trying to insert hyperlinks that link to urls with the command \hlink and then I fill out the appropriate name and the url. But when I try to open the link in TeXmacs it yields the ...
3
votes
3answers
182 views

Is it possible to fix the width of the included image with `includegraphics`?

I have tried to use the renewcommand do redefine includegraphics, as shown in this answer: % save the meaning of \includegraphics \LetLtxMacro\latexincludegraphics\includegraphics ...
5
votes
1answer
79 views

Declare non-stretching non-pairing delimiters

How do I define my own delimiters from arbitrary symbols for math which have these properties: They have a fixed size. Unlike the usual delimiters they do not stretch to adapt to the enclosed ...
5
votes
2answers
500 views

Scoping \raggedbottom to a single page

How does one define a single page to be \raggedbottom? Or, for completion's sake, \flushbottom? Background In a comment to a related answer, Ben Lerner provided the following snippet of code to ...
5
votes
1answer
92 views

Ligature with a char inserted by \symbol command is ignored by pdftex

I have some change to a virtual font like this: (LABEL C 9) (LIG O 344 C L) (comment д L) (STOP) (LABEL O 346) (comment ж) (LIG C 7 C 9) (comment 7 9) (LIG O 134 C 9) (comment backslash 9) (STOP) ...
0
votes
0answers
63 views

Automatically show verbatim content of a custom environment

I've defined an environment with \newenvironment, which I am mainly using for tikz diagrams. I have it set to dynamically change the margins, vertically and horizontally center the diagrams, and put ...
1
vote
1answer
223 views

Can openout handle a filename with spaces?

With pdflatex, can \openout handle a filename with a space in it? (We're using MiKTeX and our users seem to think it's clunky to restrict them in this way. We also have tons of legacy TeX files and ...
3
votes
1answer
160 views

How to make a picture taking the maximum space?

To expand a picture imported with \includegraphics that is wider than heigh to the width of the text block, you just do this: \includegraphics[width=\textwidth]{ ... } When they are heigher than ...
3
votes
2answers
212 views

How to make a rectangle of 3 colors with Tikzstyle and Tcolorbox

I've to write a book in arabic, with a background given by an image with stripes in 2 colours in the margin of the page. I include it in the document without any problem with the package bachground. ...
4
votes
1answer
103 views

French characters

I am writing my PhD thesis but I have a problem in typing French characters: like "à" "é" "ç" etc. In the main page I have to use these two packages: \usepackage[latin1]{inputenc} ...
4
votes
2answers
81 views

Using xr to refer to another document without hyperref

I have two documents A and B. I wish to refer to theorems and lemmas from A in B. To do this I am using the package xr in B. If I use the package hyperref in B then it's all fine. Otherwise, when I ...
0
votes
0answers
37 views

\textsubscript undefined in Beamer? [duplicate]

Beamer tells me \textsubscript is undefined. Isn't it a core LaTeX command? How can I use the command in Beamer? This example throws "undefined control sequence" errors and does not subscript the ...
1
vote
0answers
61 views

`include` (and `input`) with part of a file name [closed]

Is it possible to use the \include and \input commands with only part of a file name and use relative directories? I.e. \include{Part1} \include{Part2} instead of \include{Part1_Filename} ...
2
votes
1answer
673 views

How can I have a horizontally shaded frametitle in beamer?

This question is similar to How can I have a horizontally shaded block title in beamer?. I want to achieve the horizontal shading effect in the frametitle and when I use ...
5
votes
3answers
484 views

Why the issue number is missing in reference?

My source is: @article{Astrm2014, doi = {10.1016/j.automatica.2013.10.012}, url = {http://dx.doi.org/10.1016/j.automatica.2013.10.012}, year = {2014}, month = {jan}, publisher = {Elsevier {BV}}, ...
7
votes
1answer
216 views

Highlight code with squared brackets

I want to show some .ini file in my work. The ini file works with squared brackets. I try to use \lstdefinelanguage but I can't handle it. That is what I try before and in my understanding it should ...
1
vote
0answers
24 views

Biber 1.9, working with Biblatex 2.9a on Yosemite, suddenly not producing .bbl file [duplicate]

Out of the blue, I'm getting this error for all my .tex files with citations (even those which ran smoothly just a couple of days ago). I typeset them on another MacBook with the same distribution and ...
2
votes
2answers
91 views

can't draw a line far enough to the right in a pspicture in landscape

I want to use pspicture in a landscape document, but I can't draw a line to the right hand side of the document with \psframe, while \rput works as expected. I've tried to create an MWE to demonstrate ...
3
votes
3answers
378 views

How can I maintain the current page nodes for portrait when temporarily entering landscape mode in TikZ?

Question How can I keep the current page nodes aligned with the same physical corners of the page in a document where the main layout is portrait, but some pages with longtable are in the landscape ...
1
vote
1answer
196 views

Jump to the line texmaker is not working

The version of my TEX is 4.41, the "jump to the line texmaker" is not working? I had follow the previous advice about adding synctex=1 to pdfLatex and I found that it is already set by default. Can ...
0
votes
1answer
175 views

Left and right text in header without Fancyhdr

Is there a way to write a header with left- and right-aligned text without using the package Fancyhdr?
1
vote
1answer
226 views

Drawing figure of a boat with the Tikz-package

I want to draw a simple figure of a boat in LaTex, does anyone know a good way to do that? Is TikZ the best package to use for this? I want it to look similar to the boat in the picture below, which I ...
3
votes
1answer
260 views

Handwritten Letters for Category Theory?

I'm studying category theory and I'd like to know which package I should use to get a handwritten style like this: Thanks.
2
votes
1answer
224 views

Shadowed box around the text with background color

I wonder how can I make a box around a text with a grey shadow and colored background. I can do just the shadow or just the background, but I can't make the two together. Thanks.

15 30 50 per page