4
votes
1answer
124 views

How to get the nodes on which a line intersects the hypothetical frame box of \ncput?

I want to get the nodes on which the \*cline intersects the hypothetical edge of \ncput. The following animation shows my attempt to find the nodes by a trial & error approach. I need the nodes ...
1
vote
0answers
317 views

How to correct install PSCyr font in Linux? [closed]

How to correct install PSCyr font on Linux? I try to install it in ~/.texmf-var but this doesn't help. And into local tree: /usr/local/share/texmf - nothing.
2
votes
1answer
560 views

Table (tabu) rotate text sideways (90 degrees)

how can I rotate text in a tabu environment by 90 degrees? I export my tables from Excel using a plugin and it puts the text which should be rotated into \begin{sideways} ... \end{sideways} but Latex ...
0
votes
1answer
123 views

LaTeX commands for centering the equations without numbering them [duplicate]

What LaTeX commands should I use to center the equations on the page, but without numbering them?
6
votes
1answer
1k views

biblatex: Two .bib files with separate behavior in same document

I am having some trouble using biblatex with two bibliographies. I am using the following option: \usepackage[firstinits=true, isbn=false, url=false, doi=false, style=ieee, defernumbers=true, ...
9
votes
3answers
368 views

Writing text above \cdots

My question is: How can I write an index above a set of dots? I mean \mathbb{R} \cdots^{HERE} \mathbb{R} just to say that I have "n" times cartesian product of R.
3
votes
1answer
70 views

How can I make an em-dash to allow for a linebreak on either side?

How can I make an em-dash allow a linebreak on either side? Optionally, how do I preserve the hyphenation points of the word on both sides? The following code allows for refrigerator---refrigerator ...
1
vote
0answers
56 views

use of \author after maketitle [duplicate]

I would like to know if it is possible insert the author anywhere in the document. Suppose I´ve already defined \author{} and then in some part of my document I want to write it, is any command that ...
6
votes
1answer
282 views

Weird behavior of \theoremstyle

I just noticed something weird of the \theoremstyle command. Here is the code of a sample document: \documentclass{article} \usepackage{amsthm} \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] ...
4
votes
1answer
140 views

How do I get ConTeXt to produce pdf files in one directory, the aux files in a second, and take the .tex files from a third?

I want to be able to cleanly use my letterhead template with many different input files. I have created a shell scrip that invokes: context --silent --purgeall --path=./img content/$1 But have ...
3
votes
1answer
1k views

How do I change the background color of a footer in beamer

I know just enough about beamer to be a danger to myself. I am trying to change the color of a footer in Boadilla and am struggling. First, I have declared \usecolortheme[named=black]{structure} ...
4
votes
1answer
226 views

How would I write up an integral symbol, along with the two numbers to the right of it, in LaTeX?

Title says it all (I think). I just want to replicate math which would normally be done in Year 11/12, and got sorta stuck here. Any help?
6
votes
1answer
939 views

pgfplots: color a (3D) surf using arbitrary RGB colors

I would like to color a surf using arbitrary RGB colors (unlike this question, which just colors the surf using the colormap). In this minimal example (which plots the x+y function), I would like the ...
4
votes
1answer
299 views

Center subfigures; fix TikZ error

I am trying to center some figures produced by TikZ. In my example, I have three large Tikz pictures that are separate figures. I also have the same three pictures, but this time as subfigures. All ...
13
votes
2answers
426 views

What is “plain TeX”?

I occasionally see a statement that plain TeX is not the same as TeX, because plain TeX is already a format. What is plain TeX, and what is the difference to TeX proper? Some answers are here (The ...
8
votes
5answers
360 views

What sequence of documents should I read to know “all of” TeX and then LaTeX?

I know that there are a already number of questions on this site about good instructional (La)TeX materials for users at different levels. What I am interested in, though, is what set of documents ...
5
votes
1answer
315 views

How to plot just part of the function with pgfplots, gnuplot

I have the following code. \begin{tikzpicture} \begin{axis}[domain = -2:2 ,y domain = -2:2,view={0}{90}] \addplot3[contour gnuplot={number=10},thick,domain=-2:2] ...
2
votes
1answer
430 views

error while using gnuplot in pgfplots

I am using pgfplots and tikz library for generating some figures. my problem is that I can not use gnuplot within pgfplots. I tried to compile the following code bu seemingly the gnuplot is not ...
5
votes
1answer
854 views

Using microtype protrusion with XeTeX and Ubuntu

I believe I have all the correct versions of the software at hand and installed (v. 2.5 of microtype and .9998 of XeTeX) to get protrusion to work with XeTeX on my Ubuntu system but I keep getting an ...
7
votes
1answer
480 views

Typesetting inline Penrose/Cvitanovic tensor diagrams (birdtracks)

In the 50's, Roger Penrose invented a private graphical notation for tensors, which he later published. Wikipedia has a short description. It's basically a directed graph with some labels on it and ...
6
votes
2answers
6k views

Shrink table to fit on a page, or keep it as it is

I am using \resizebox{\columnwidth}{!}{% ... %} to fit a table which might be too wide onto a page by scaling it down. However, my problem is that if the table is smaller than the column width, it ...
6
votes
1answer
1k views

2D colors above 3D surface plot

I would like to draw a 2D, colored plot of a function above its surface plot. I tried copying the surface plot and setting z filter/.code={\def\pgfmathresult{1.4}}, but then everything is the same ...
4
votes
1answer
359 views

Define dependencies when using tikz externalize

At the beginning of my document I have \input{tikzcommands} where tikzcommands.tex contains global settings that I want to use in the TikZ pictures. For example, in this file I define some styles. ...
4
votes
1answer
121 views

Place floats on a separate page before the referring text

I am familiar with how/why LaTeX places floats in the way it does. I have searched for questions here and have read many answers relating to "floats", "left/right pages", etc., but have not found a ...
3
votes
0answers
107 views

Font selection for mathematical documents [duplicate]

I am currently making a skeleton for my thesis. Since it will be in physics, it has to deal with a lot of mathematics. I think there are two ways of making it right. Choose a font for text and a ...
2
votes
0answers
85 views

What is the default saturation for a beamerposter HTML colour? [closed]

I'm making a poster using beamerposter, with a background defined by a html colour code 682860. I am drawing my pictures in Inkscape, filling the background of the picture with the same colour code. ...
0
votes
0answers
55 views

Figure counter and figure label issues [duplicate]

i ve got an issue with Figure counting and, i think, labeling. Though I set the counter for figures at 0, my first figure, that I d like to have counted as 'Fig.1' and that is labeled as ...
5
votes
1answer
502 views

How do you modify LaTeX's sectioning hierarchy?

I am trying to create a new command, so I could use a new hierarchy level in a book document class. The table of Contents should look like this: Part I Theme I 1. Chapter 1 2. ...
0
votes
1answer
581 views

Problem setting margins in memoir

I'm trying to setup the layout of my thesis and margins seems to be a little off what I'm expecting, I'm using memoir and I'm trying to setup all the variables of page layout so nothing wont go ...
3
votes
1answer
802 views

How to change the font of page numbers in TOC LOT LOF without “tocloft”?

It can be easily done with tocloft, however, as there are already many settings for the whole document, using it caused the changing of spacing, and some conflicts with other packages, etc, compared ...
4
votes
1answer
138 views

Expanded StrSubstitute

I am trying to use \StrSubstitute, but what I want is to expand it all the way to get the result string. \StrSubstitute{Řepa}{Ř}{Rzzz} then i use it with % somehow define \a as the result string ...
23
votes
5answers
863 views

What is a good package for taking note of draft ideas? [duplicate]

What is a good package for taking note of draft ideas, and have them emphasized in the output document? For example: This is a very brilliant idea for a research topic ...
3
votes
1answer
2k views

How to add \lstlistoflistings to the table of contents?

can someone tell me, how to create an entry for the \lstlistoflistings command in the TOC? I want, that you can see the page number where the list can be found.
12
votes
2answers
287 views

Getting arrows underneath numbers

I want to draw curved arrows underneath my numbers, does anyone know how to do this? I've tried the command \curvearrowleft but TeX doesn't recognize that line, either because I don't have the package ...
6
votes
2answers
1k views

Modify default memoir chapter style

I'm using memoir and using its default chapter style. what I'm looking to do is to change the format from chapter 1 chapter title to something like this: chapter 1: chapter title I'm ...
4
votes
2answers
168 views

How to split a node content/right align in tikz tree?

This is my code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows} \usetikzlibrary{trees} \tikzstyle{bag} = [text width=8em, text centered] \begin{document} ...
3
votes
1answer
842 views

How to run gnuplot/latex from inside texshop?

I was able to write a piece of code that drew a graph in gnuplot and then using tikz embedded that into my TeX document and run it via Texshop. I am not able to do that anymore. I need to run ...
4
votes
1answer
913 views

Is there any way to make two pages per sheet (landscape) and the page numbering appears as if each column was a page?

I want to make a landscape sheet with two pages (like two columns) and I want that the page numbering to be a number per page (a number per column) instead of a number per sheet. I use ...
9
votes
2answers
328 views

Calculating and showing the sum of squares in a diagram

Using some plain old Metapost code I am able to create a basic plot of linear regression. The question is: Can I create a graphics with e.g. TikZ which allows me to specify a few points coordinates ...
9
votes
1answer
398 views

Creating a lattice multiplication image on LaTeX

I need an image detailing the lattice multiplication method and it should look like this:
4
votes
1answer
288 views

Make the multicolumns in a row equally sized?

I have some big tables and I want to know how it is possible to make the columns in a row all equally sized. You can see in the row 'Intra Prediciton' that the column with the content 'I_PCM' is ...
2
votes
1answer
864 views

Two (or more!) piecewise functions on same line

Want to display two piecewise functions on the same line. Currently using 'cases' to define two piecewise functions on two separate lines. It looks ugly. They can fit on the same line, but how?
5
votes
1answer
530 views

Escaping special LaTeX characters in user-defined input text

Background Users can provide text, which is transformed using XSL into a LaTeX document. The XSL template that transforms the XML document (containing user-defined text) currently resembles: ...
5
votes
1answer
127 views

Custom list labels in ConTeXt

I have just started learning ConTeXt and I have to say that I am pretty amazed by how intuitive it is to use. But I can't find a way yet to achieve automatically a list with the following labels. C.1 ...
12
votes
2answers
251 views

Indexing through texindy in imakeidx with custom .xdy style fails to produce desired order in index

I am trying to produce an index using texindy through the imakeidx make that follows the Sanskrit alphabetical order. I am working in XeLaTeX. I created a custom .xdy style file to be called as an ...
3
votes
1answer
181 views

How can I convert the tables and math in a latex document to one of the markup languages supported by github's wiki?

I wrote some software documentation in Latex, but need to get it into a more lightweight format. I used pandoc to convert latex to markdown, but it did not do a very good job of converting tables. ...
1
vote
1answer
1k views

Equation numbering problem, `alignat`

When using the alignat environment I encounter a strange equation numbering problem. It's rather hard to describe, but here is an MWE. I describe the output below. \documentclass[]{memoir} ...
2
votes
2answers
354 views

How to tweak the font of page number in the whole document?

First fancyhdr is loaded to change the font of page number. The following commands are used to change the font to sans serif: \fancyhead[LO]{ \sffamily \thepage } \fancyhead[RE]{ \sffamily \thepage ...
3
votes
2answers
419 views

xypic: How to typeset the dashed line in this diagram?

I use xypics for diagrams, but I don't know how to put the dashed line in the diagram below. Search didn't find much. Can anybody here help?
3
votes
2answers
245 views

Optional argument to \item in enumitem list

I'm trying to set up a list environment for typesetting a problem set. I'd like to be able to input something like the following: \begin{pset} \item First solution. \item[2.2] Second solution. ...

15 30 50 per page