TeX - LaTeX Stack Exchange Community Digest

Top new questions this week:

Plot Dini's surface

According to Wikipedia, the Dini's surface is described by the following parametric equations: x = a \cos u \sin v y = a \sin u \sin v z = a (\cos v + \ln\tan v/2) + bu So, I'd like to plot the ...

pgfplots pstricks plot tikz-3dplot  
asked by Sigur 20 votes
answered by Schrödinger's cat 19 votes

Why does the hyperref documentation suggest using gather instead of equation?

On p39 of the hyperref documentation, there is a rather cryptic suggestion to use gather instead of equation. "the situation for equation is unclear, because nobody is interested in ...

hyperref  
asked by Howard 14 votes
answered by David Carlisle 20 votes

A sad duck with TikZ (or TikZducks?)

I am working on my homework, which includes a little website. I like the tikzducks package very much, so I decided to add some illustrations there using the svg files generated from \duck command. ...

tikz-pgf tikzducks tikzlings  
asked by Someone 8 votes
answered by Ulrike Fischer 15 votes

Is there a way to draw a simple circle or square in plain TeX/LaTeX, without relying on graphics packages?

I need to draw some bullets for a custom list, but what I have now is pgf code. I figured, why load entire pgf package to draw a mere circle (or square) when there must be (don't tell me otherwise, ...

circles shapes bullets  
asked by bp2017 8 votes
answered by David Carlisle 12 votes

How come the catcode of ' is 12 while ' is let to be a macro?

' is defined in latex.ltx as follows \def\active@math@prime{^\bgroup\prim@s} {\catcode`\'=\active \global\let'\active@math@prime} \def\prim@s{% \prime\futurelet\@let@token\pr@m@s} \def\pr@m@s{% ...

math-mode macros tex-core  
asked by Symbol 1 7 votes
answered by Steven B. Segletes 10 votes

ConTeXt: specify a path to font in \definefontfamily

I'm very new to ConTeXt, so please excuse the newbie question. I'm trying to load a font from a file. The .otf files are stored in a directory named fonts/ which is in the directory of the .tex file ...

fonts context  
asked by Kresimir 6 votes
answered by Kresimir 2 votes

Custom hatched pattern imitating hand drawing

Following this great question, I have been drawing a picture that simulates hand drawing. I want to fill some solids with a simple hatch pattern, however I don't know how to apply the path decorator ...

tikz-pgf pattern  
asked by jsb 6 votes
answered by Schrödinger's cat 10 votes

Greatest hits from previous weeks:

Column and row padding in tables

How do you guys go about controlling column padding in tables? Update To clarify, I'm looking for a way to control both vertical and horizontal padding. So, if I had a simple table like in the ...

tables spacing columns  
asked by JustDanyul 310 votes
answered by Werner 272 votes

What is the difference between \dfrac and \frac?

The title says it all, both \dfrac{a}{b} and \frac{a}{b} make fractions, so what is the difference between the two?

math-mode amsmath  
asked by YYC 109 votes

Using \footnote in a figure's \caption

Maybe this is an easy one, but I struggled with this now too long :) I want to have a footnote in a caption of a figure, see the example. \begin{figure}[!ht] \caption{a figure ...

floats footnotes captions  
asked by Matten 228 votes
answered by Dee 163 votes

Change line spacing inside the document

This is my code \documentclass[12pt,a4paper]{book} \renewcommand{\baselinestretch}{1.5} \begin{document} \include{Chapter1} \end{document} I have please a question: I would change the line ...

line-spacing  
asked by researcher 100 votes

Scale image to page width?

I use \inclugraphics[scale=TRYING TO GUESS THE NUMBER FOR PAGE WIDTH]{...} but I find this errorsome, is there some ready flag to set the image to page width? I usually use PNG and JPG photos.

graphics scaling  
asked by hhh 198 votes
answered by Werner 200 votes

How can I get bold math symbols?

To make Latin-letter variables bold I can use e.g. \mathbf{a}, but while putting Greek letters or symbols such as \nabla inside \mathbf doesn't cause any errors or warnings, it also doesn't do ...

fonts math-mode symbols bold  
asked by Michael Underwood 422 votes
answered by Mark Meckes 372 votes

Align equation left

Here is my split equation: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \begin{split} a_{ijk} =& \frac {Pr(M_{I} =2 \& M_J=1 \& M_K =1 | I=i , J=j , ...

equations align  
asked by user35571 55 votes
answered by Ludovic C. 59 votes

Can you answer these questions?

How to debug token positions in petri nets in TikZ?

Following an example given in How to make this TikZ picture more idiomatic? (environment diagram) I tried to use the pre-defined "pic" to place more "function definition icons" on the canvas using ...

tikz-pgf tikz-pic  
asked by Vladimir Nikishkin 1 vote
answered by Schrödinger's cat 0 votes

Beamer class identifies table as figure when using subcaption

The Tex Version in my office was recently updated and I am having trouble getting everything back in order. Specifically, I want to use the subcaption package, which seems to mark tables as figures. ...

beamer cleveref  
asked by dumbledore 1 vote

Can't get a line on a graph from a .csv file

I am trying to generate a plot from a .csv file. My .csv file contains the following data and it is named HeightsAndWeights.csv: To generate the plot I use the following code: ...

tikz-pgf axis  
asked by Chris Kirov 1 vote
You're receiving this message because you subscribed to the TeX - LaTeX community digest.
Unsubscribe from this community digest       Edit email settings       Leave feedback       Privacy
Stack Overflow

Stack Overflow, 110 William Street, 28th floor, New York, NY 10038

<3