All Questions

269 views

Dashed axis lines

How can make the axis lines that go from the origin to each of the coordinates dashed? For instance I want the axis line that goes from (0,0,0) to (0,0,1) to be dashed. ...
170 views

Beamer: show subitem at the same time as the item

In Beamer whenever you have \begin{itemize}[<+->] \item A \begin{itemize} \item a1 \item a2 \end{itemize} \item B \item C \end{itemize} subitem a1 appears after item A. What if I want that ...
2k views

Did the “Computer Modern” font families become a default because they're well tested and proven, or chance?

I'm deciding on the Font Families to use in LyX for a planned novel. Computer Modern is the default (Roman, Sans and Typewriter). I'm interested in the number of font faces and the versatility in ...
656 views

Boolean operators: can I use AND, OR in \ifthenelse? How?

Can I use AND, OR in \ifthenelse? How, can you show me examples and documents? This would make my life easier.
740 views

Highlighted source code inline with Latex/Minted?

I am using the minted package (based on pygments) to do syntax-highlighting for xml-code in my Latex documents. However I did not find an option to make it display the code inline. ...
42 views

Figure numbering without caption [duplicate]

I would like to add a simple caption "Figure [number]" before an image in my document. If I just use \begin{figure}[h!] \centering \includegraphics[scale=0.5]{galor3.png} \end{figure} there is no ...
134 views

Index at the beginning of a document

Is it possible to insert an index at the beginning of a document, like so?: \documentclass[11pt]{article} \usepackage{imakeidx} %\indexsetup{othercode=\small} ...
305 views

Two boxplots per plot entry - shifting boxplots in pgfplots

I'm trying to compare the results of a control group and an experimental group under different conditions. To simplify, let's assume there is only one condition (ie. only one mark along the x axis ...
503 views

Two-sided bar chart

I strive to make a bar chart displaying opinions for and against different topics. I tried to do this with pgfplots starting from bar and interval bar charts. Bars to both sides can be archived ...
398 views

How do I force tikz to use CMYK everywhere (also in shadings)?

I'm doing a poster with the baposter which uses tikz and at some point realized that some colors that should be identical are not. It turns out that tikz apparently resorts to RGB color space as soon ...
31 views

Indexing the page number of each bibliography item [duplicate]

Assume that that I am using the following environment for the references of my paper: \bibliographystyle {amsalpha} \begin {thebibliography} {VDN92} \bibitem{abels} {\bf H. Abels,} Parallelizability ...
610 views

Shading regions of a graph with Tikz?

I'd like to shade the regions labeled A, B, C, D in this graph. \begin{tikzpicture} \begin{axis}[ xmin = 0, xmax = 1000, ymin = 12, ymax = 16, xlabel=$Q$, ylabel=$P$, ] \addplot[name ...
100 views

Problem displaying en-dash in imported bibliography items!

I am importing a large bibliography from a citation manager and it seems that the character – is not displayed correctly in latex. It is supposed to be an en-dash though. I wouldn't want to change ...
1k views

Two Columns of Text Side by Side

First let me just point out that I am new to LaTeX and I searched for an answer to the question but I could not find anything I could use. So if you already know where I can find my answer just point ...
117 views

Bibtex alpha key with accents

I use the alpha style with bibtex to create my bibliographies. This normally works great, but I'm encountering a problem with the keys created automatically when certain accents are involved. I'm ...
911 views

Sweave on Windows 7 - using Texmaker

So I've tried to configue Sweave on Texmaker following these instructions: http://arts.uwaterloo.ca/~tmparker/722/hw/Setup_Sweave_in_Texmaker.pdf When I go to run this example: ...
168 views

Make \includegraphics search \graphicspath before current directory

I would like LaTeX, when I specify \graphicspath to browse these locations before looking for the file in the current directory. A simple MWE follows: \documentclass{article} \usepackage{graphicx} ...
153 views

subfloat alternatives

I'm trying to submit a paper to a journal. I submit the TeX archive which includes the tex file + figures in pdf format. However, it fails to compile in the queue, whereas it obviously compiles ...
371 views

Scaling graph along x axis

I am trying to plot a symple graph with pgfplots but the numbers do not seem to appear right. Is it possible to somehow scale the left part of the graph? I would also like the numbers on the x axis ...
1k views

Drawing figures in LaTeX

Can I make the figure which I just posted here in LaTeX?
172 views

What is the proper way to implement language options in a multilanguage package?

I'm writing a multilingual LaTeX2e package to be used with pdflatex containing several macro and environment definitions. The main language of the document--a thesis--is English, Finnish or Swedish. ...
37 views

Figure move to next page when I combine to two floats to appear simultaneously

% Hemolysis measurements with WT vs Mutant %General parameters \documentclass[12pt]{article} \usepackage{doublespace,fullpage} \usepackage{epsfig} \usepackage{wrapfig} \usepackage{graphics} ...
155 views

Is there a “rule” that figures “must” be at the top of a page, and tables at the bottom? [closed]

Today I had a discussion with my professor, who demands me to put all of my figures at the top of a page, and all tables at the bottom. None may be inline with the text. He says that "this is the ...
281 views

latexdiff and lstlisting

I was wondering if it is possible to have latexdiff ignore all lstlistings from my documents when finding diffs. Most of my listings contain special characters. That works rather nicely within an ...
166 views

draw complicated symmetric figure

I wish to draw a figure in PSTricks (a Paint-version is attached), consisting of three elements: Two identical objects, facing each other (they are they in the figure...) A red "parabola", ...
314 views

How to draw a braid of long exact sequences

For example, in page 353 of Ranicki's book Algebraic and geometric surgery, there is a braid of long exact sequences like so: I use xy-pic. Thanks in advance!
51 views

graphics outside trimmedsize, extra wide headers and footers

How to place (absolute positioning?) graphics inside and outside trimmedsize (part of image is inside trimmedsize and tiny part is outside)? How to make headers and footers wider than textwidth? How ...
309 views

“Fill in the missing words” needs line breaking before a \phantom{word}, and a list of removed words

Apologies for the very long title. I'm writing a "fill in the missing words" document. I have made a makro \fjern{} ("remove" in Norwegian) which underlines the argument and places it in a phantom ...
410 views

Simple directed hypergraphs in TikZ

I'm looking for a simple way in Tikz to draw directed hypergraphs, where the hyperedges are ordered pairs of sets of vertices. For example I would like the hyperedges ({a,b},{c}) and ({c},{a,b}) to be ...
439 views

Dotted or dashed xrightarrow

I need a dotted or dashed arrow with text like \xrightarrow. I am aware of the MnSymbol package, but \dashedrightarrow does not allow me to write text on the arrow. Is there a package to accomplish ...
178 views

Tabular and grid typesetting

In my document, I try to remove most of the vertical stretch, using some of the tricks detailed in this document. Specifically, I have \setlength{\lineskiplimit}{-10pt} \setlength{\lineskip}{0pt} ...
113 views

beamer column footnote produces format lose.

Using the following code \documentclass[demo]{beamer} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @misc{A01, author = {Author, A. and Buthor, B. and Cuthor, C.}, year = ...
1k views

How to use the chronology.sty package?

Can anyone explain how to use chronology.sty or provide a link to some live (useful) documentation? In more detail: I am creating an outline and timetable schedule for my academic thesis. I started ...
87 views

Do something on every page [closed]

I want to know how to do something on every page. I'm just curious. I have checked KomaScript source code, but it is too complicate and too difficult for me. I tried to see how \lohead was made. This ...
102 views

problem - multiple index in latex

I find here an example and use it for my multiple index. This code in Latex works, but I want to use the newcommand \smindexxspecial[\ITerm]{beccari} instead \index[\ITerm]{beccari} or ...
38 views

Specifications for input image

I need to specify a specific location for a picture. Are there any options for this in LaTex? The picture should be specified with something like: 2cm from top and 3 cm from left side.The reason for ...
78 views

Removing a segment of a frame

I have the following MWE in PSTricks, showing a rectangle: \documentclass[pstricks, border=12pt]{standalone} \usepackage{pst-node} \usepackage{siunitx} \begin{document} ...
61 views

Programing in Latex, if and? [duplicate]

I know about \ifthenelse. Is it possible to programming in LaTeX like in C, with loops and arrays?
130 views

Better extensible arrows

Using amsmath and extarrows packages, we have many extensible arrows. But these arrows look ugly, since some parts in an arrow are boldfaced. Are there any better-looking extensible arrows?
350 views

Super and subscripts with \DeclarePairedDelimiter

I defined a macro for the supremum norm by \DeclarePairedDelimiter{\supnorm}{\|}{\|_\infty} which works nicely. However, as soon as I want to place a superscript like \supnorm{f}^2 things look ...
326 views

Overlay bar plots to do asymmetric errorbars?

To illustrate the problem, I use the code from the answer of this link for asymmetric errorbars in pgfplots. \documentclass{article} \usepackage{pgfplots} \usepackage{pgfplotstable} ...
184 views

tikzipicture have different arrow tip colors in pdf output and dvi output

i have the following mwe \documentclass[tikz,border=4pt]{standalone} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[->,>=angle 45,scale=3,ultra thick] \draw[help lines] ...
6k views

Changing background color of text in Latex

How can I make change a text background in LaTeX? For example using Latex code \textsc{Extra Curricular Achievements}\\ I get However, I want the background of this heading to be changed so that ...
555 views

I used to be able to download packages but recently I have been unable to do so for quite sometime now. It gives the message: get proxy host by name failed in tcp_connect() I don't remember doing ...
170 views

How can I show Unicode words in pdf

364 views

How to make grid of pictures span across entire page

I am writing a paper that has a template which runs text down two columns. I have a 2x3 (2 wide, 3 tall) grid of images that currently are contained in one column. I'd like to make it a 3x2 grid ...
134 views

overfull vbox if multirow is bigger than usual

I have the following table which gives an overfull vbox because the multirow takes more vertical space than each of the rows it spans. Also, I would like the multirow to center vertically if possible. ...
144 views

Inserting a new blank line in LaTeX (HTML)

I'm new to LaTeX and I'm trying to write a line, then a new blank line just underneath it. Here is my code so far: \begin{center} \underline{\smash{This} \\ A} \end{center} \begin{center} is some \\ ...
178 views

Broken configuration distributed — How do I fix

Forgive me if this sounds dumb, this is my first use of TeX, and I'm working from my distro's broken package(s). I am receiving output saying different things, depending on small run changes from cli ...
66 views

Alternatives to FF Nexus [duplicate]

I am very fond of the fonts M.R.C. van Dongen used to typeset his book LaTeX and Friends. I believe it is the same as Hatcher uses for his books (for instance Algebraic Topology), and also the one in ...

15 30 50 per page