1
vote
1answer
610 views

Exporting database with Zotero so urls will be exported to bibtex with \url command

When exporting a database or collection within Zotero to BibTeX, a URL will not be enclosed with the \url command, thus rendering links not clickable in Lyx when hyperref enabled. Is it possible to ...
7
votes
1answer
367 views

Change the way shorthands are used in the biblatex verbose style

I'm using biblatex with the verbose style. I'd like to change the way that it uses shorthands. At the moment, for all first entries it gives the full citation followed by (henceforth cited as ...
0
votes
1answer
1k views

Convert my CV to LaTeX: how to stretch text blocks vertically to fill page and color the headings

I am trying to convert my CV below to latex. Currently I have manually created it in Inkscape. I have already managed to get the headings and footers right: Code: \usepackage{xcolor} ...
6
votes
1answer
499 views

Dec sep align & string type cell incompatibility?

I would like to use the dec sep align feature of pgfplotstable while having certain cells containing text. I tried this: \documentclass{article} \usepackage{pgfplotstable} \usepackage{booktabs} ...
21
votes
3answers
6k views

Enumerate alignment problem in theorem environment

I'm using amsart. When I create an enumeration inside a theorem environment, the numbering is not aligned properly: Theorem 14. (1) (2) (3) (4) How do I shift the (2),(3),... to be aligned with ...
6
votes
2answers
243 views

does the doc folder contain only documentation?

I'm trying to get rid of some junk on my hard drive and want to make sure I don't delete anything vital, so it's probably a dumb question. In my latex tree there is the texmf-dist/doc folder which is ...
3
votes
1answer
2k views

Help to draw an arrow in TikZ

How to draw a red arrow to make it look like the rest of the arrows in the picture? How to define the parameters for the red arrow: line thickness, width, start and end? ...
1
vote
0answers
164 views

Resetting a macro counter to 0 [closed]

I have a macro that is disabled after one use. The worksheet works fine until I need to clean the entire sheet and reuse it the next week. How do I reset the macro counter to zero so that I can use ...
8
votes
1answer
5k views

No horizontal spacing within minipage

I do not understand why my attempts to introduce horizontal spacing in beamer (with hspace or typographical spacing) fail when within a minipage: \documentclass[10pt]{beamer} \begin{document} ...
13
votes
1answer
2k views

How to implicitly specify column width (in a columns-like environment)?

I am using the columns environment in Beamer-documents like this: \begin{columns} \begin{column}{0.8\textwidth} %% \end{column} \begin{column}{0.2\textwidth} %% ...
6
votes
2answers
193 views

What is a function f(n) returning LaTeX code requiring exactly n compilations to yield stable output?

Is there a (simple) recipe for producing LaTeX code requiring exactly n compilations? (That is, I'm looking for an algorithm/function f(n) with domain {1, 2, 3, ...} and LaTeX code as its range.) If ...
3
votes
1answer
305 views

Print macro output instead of executing

I am attempting to debug a Tikz/PGF script. I have a STY file that generates Tikz/PGF scripts, but the output graphic isn't quite what I want it to be. In order to debug the problem, I was hoping ...
3
votes
1answer
3k views

Frame numbering in Warsaw theme

This is a follow-up question to slide numbering in Beamer class (Warsaw theme) In fact, I was trying to put frame numbering in my presentation using Warsaw theme. All I wanted is to put the ...
13
votes
2answers
396 views

How to produce character-by-character-pastable visual output that is a function of the (intended-to-paste-as-such) source code input?

Note: The original phrasing of my question was this: How to use accsupp to produce all-upercase in the visual output from input that should paste in its original, ordinary-case form? However I think a ...
8
votes
1answer
121 views

What types of code patterns will increase the number of required runs of the latex command?

It is known that references require an additional run of LaTeX and that these references may depend on BibTeX, which in turn depends on at least one previous compilation of the document source. I have ...
4
votes
1answer
123 views

Making text go on the odd page in a book class

In the book class, how do I make sure a particular text I type goes on the odd page? Is there a command to "flush" the current page only if it happens to currently be an even page?
6
votes
1answer
569 views

How to precisely tell from log-file whether to rerun LaTeX

There is a bit of discussion in related questions about automated LaTeX (re)compilation (e.g., here and here) and elsewhere on the web on rerunning the latex command in order to resolve all ...
5
votes
4answers
2k views

Center column headings in tabular: multicolumn not respected

I would like to center column headings (and column headings only) in the following table. Why does it work with the first column, but not the second (I thought \multicolumn is the correct approach to ...
2
votes
2answers
886 views

scrbook and draftwatermark

draftwatermark works with scrbook only in draft mode, however in this mode figures are not inserted. If I use the final mode, figures are inserted but the watermark does not show up. ...
4
votes
0answers
2k views

Patterns in TikZ [closed]

I am trying to make a simple TikZ picture consisting of some rectangles with pattern fills. This is roughly what I have added. \documentclass{amsart} ...
7
votes
1answer
517 views

Clash between ocgcolorlinks option of hyperref and patterns library of TikZ

I have stripped down to the following MWE after some experimentation. As it is, it works without any problems. \documentclass{memoir} \usepackage[ocgcolorlinks]{hyperref} \usepackage{tikz} ...
2
votes
1answer
777 views

Error: “per-mode” is undefined [closed]

The simple expression: $v_f = \SI[per-mode=fraction]{32}{\meter\per\second}$ when parsed, yields the following error: ! Package xkeyval Error: `per-mode' undefined in families `key'. However, ...
2
votes
2answers
1k views

column and row vectors with builtin math mode

Is there a way to make the solutions here typesetting column vector and here Typesetting a Row Vector work by including \ensuremath in their definitions?
10
votes
2answers
1k views

Are there any situtations where it is better to load a package after other code?

I always place all my packages immediately following the document class, followed by setting information (\hypersetup for example) and customization to my documents (header and footer customization ...
5
votes
1answer
636 views

Neuroscience Graphics with TikZ

Does anyone know of packages for displaying neuroscience schematics with tikz? For example, I would like to place a raster plot next to the diagram of a Markov process to help explain how Markov ...
7
votes
2answers
483 views

How can I make \citetitle work in a hyperref section bookmark?

I'm trying to use hyperref on a very large number of section headings for pieces of artwork in a document, but I have to use a workaround to get the title of the artwork into a bookmark of the ...
1
vote
0answers
704 views

More generic live preview editor? (can support pandoc and/or custom scripts) [closed]

I'm a fan of using things like pandoc, GPP and Rake to make my source files to look cleaner, be human readable, simplify my workflow and get some level of style/semantics separation (especially for ...
11
votes
1answer
416 views

Difference between \tableofcontents and \tableofcontents{}

What if any difference is there between \tableofcontents and \tableofcontents{}? I noticed that inserting a TOC in LyX uses the {} while the classicthesis template for LyX does not. Any reason?
6
votes
1answer
476 views

Table of Contents modifications required

I tried latex code for generating toc suggested by stack exchange in response to my previous query . Still I need small modifications. In the first page of toc, At top middle “TABLE OF CONTENTS” is ...
0
votes
1answer
2k views

Problem in converting visio file to eps file for latex

I am now writing thesis using LaTeX. I tried Microsoft visio to draw flowcharts and wanted to create eps file so as to incorporate in LaTeX document, while converting, I face the following problems, ...
6
votes
2answers
478 views

Why is \textvisiblespace represented by a rectangle?

I use xelatex, with Ubuntu font, and for some reason I can't insert a \textvisiblespace into my document - all that I get in result is a box: ``. Is there some way to fix that? Example: ...
6
votes
3answers
151 views

How can I set a list inside a definition in latex?

I need to write a definition that has a list of items. What is science : Lorem ipsum dolor sit amet, consectetur adipiscing elit. - List item 1 - List ...
5
votes
1answer
666 views

\lstinline & \colorbox

Why the command below don't work? How can I fix it? \documentclass[11pt]{book} \usepackage[dvipsnames]{xcolor} \usepackage{listings} \lstset{language=[LaTeX]Tex, ...
9
votes
2answers
2k views

Using pgfplots, how do I arrange my data matrix for a surface plot so that each cell in the matrix is plotted as a square?

I have a matrix of size MxN and I want to make a surface plot directly from above so that each cell in the matrix is drawn as a square. None of the pgfplots shaders really do what I want, since they ...
4
votes
1answer
972 views

Caption formatting with babel French

I have a problem override the default formatting of float captions when using babel’s French option. When babel’s francais setting is chosen, captions are formatted with the label (“Figure X”) in ...
18
votes
3answers
416 views

How to display the same text in various parts of the document?

In a long, long, long writing. I have a piece of text that repeats in several places/sections/chapters. When I'm editing, I change 2 or 3 words in that piece of text. The changes have to be applied to ...
5
votes
1answer
615 views

How can I make logarithmic axes through the origin?

I have this graph: The x-axis looks like it should look like: arrow head at its end label near the arrow head it goes through the origin But the y-axis does strange things: It does not go ...
5
votes
2answers
440 views

Boolean based environments

I know that this question is basically identical to that of Hide custom environment content based on boolean Except I want to avoid using the environ package, which, otherwise, would be the best ...
3
votes
2answers
888 views

! Package babel Error: Language definition file armenian.ldf not found

I'd like to use hyphenation with armenian language. Here is my test code (the armenian text is in utf8). \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{xunicode} ...
6
votes
2answers
2k views

4 images on a frame appearing each a a time - fine tuning beamer

I have a figure which consists of 4 plots, Full figure here, and I want to have them appearing one by-one in the presentation (from left to right, top to bottom). I managed to do this by including ...
7
votes
3answers
3k views

Is there a class for writing novels?

Is there a class for writing novels? I know it's trivial to you, but I really need one.
17
votes
3answers
2k views

Draw a closed liquid-droped shaped curve with TikZ

I am trying to draw a closed liquid-droped shaped curve using TikZ, but I don't know how. I tried to draw it using coordinates but I don't think that this is the solution. I am using ...
6
votes
2answers
6k views

Multiple border around page

I was thinking about giving a finishing touch to my resume by adding a border to the document in black color. I tried using \fancybox but not impressed with the output. ...
6
votes
1answer
497 views

Displaying images with Hevea (Latex)

What is the correct way to include images so that Hevea will produce correct html output? I tried the following: Latex code (test.tex): \documentclass[12pt]{article} \usepackage{hevea} ...
5
votes
2answers
533 views

Convert pstricks animation to SVG(+SMIL)

Inspired by these questions— How to convert pstricks animation to GIF file? PSTricks to SVG —how can one convert a PSTricks animation to an animated SVG image? SVG animation would be nicer than ...
12
votes
2answers
201 views

Most concise way to make list items from each line break

How can I convert every line to a list item automatically? for example I want following become a list (without adding more characters): \begin{foo} Persian French Arabic Urdu \end{foo} Persian ...
5
votes
3answers
2k views

How to make an observation numbering in bold?

I'm writing a paper in LIPIcs template. \newtheorem{observation}[theorem]{\textbf{Observation}} \newcommand{\robs}[1]{Observation~\ref{#1}} \newcommand{\rfig}[1]{Fig.~\ref{#1}} ...
4
votes
0answers
2k views

Where is updmap.cfg? [closed]

edit I found the problem and the solution: I renamed the .pfb files to the correct name, that is, MinionPro-Regular.pfb. Please, close the post. edit I found this file here ...
11
votes
1answer
229 views

Using etoolbox to automatically generate input for \xymatrix

I'd like to make a command \exactseq such that, for example, \exactseq{A,f,B,g,C} corresponds to \xymatrix{A \ar[r]^{f} & B \ar[r]^{g} & C} and such that this works for inputs of ...
14
votes
4answers
898 views

How to 3D rotate figures in display

I have a bunch of 2D figures which I like to use latex to display them in a row (side by side). Since the number of the figures is a lot I cannot show them all horizontally. For this I would like to ...

15 30 50 per page