7
votes
1answer
304 views

Supress `\cleardoublepage` for _some_ chapters

I am using book environment. Between \listoffigures, \listoftables, \printglossary[glossaryname]s and appendices, I need a normal \clearpage between them (not a \cleardoublepage). I still need to ...
5
votes
1answer
202 views

Switch on number of arguments given to a macro

I want to define a macro that does different things depending on the number of (optional) arguments given to it. Is this possible? How? \documentclass{standalone} \usepackage{xparse} \...
13
votes
2answers
374 views

Why is \thepage set to \relax in a \protected@write?

In the kernel the definition of protected@write includes the setting of the \thepage to \relax. Why is this and are there other means to ensure that thepage is not expanded? \long\def \protected@...
5
votes
1answer
749 views

Page number appears twice in the page

I don't know why I am getting two page numbers on the same page, one in the center and one on the right: \documentclass[a4paper,12pt]{report} \voffset=-1in %setting the header \usepackage{fancyhdr} \...
9
votes
1answer
2k views

Including package to create MATLAB labels using LaTeX

When using LaTeX as the interpreter to typeset labels in MATLAB it would be great to be able to include packages to customize appearance. Is this possible? As of now I know no method to create non ...
7
votes
1answer
1k views

How to use arara with TeXworks

I'm trying to use arara with TeXworks in Ubuntu 12.10 (TeX Live 2012). I've been searching all over the web but couldn't get it working. First: I'm not sure how to correctly implement arara: Should ...
1
vote
0answers
239 views

How to write average of a function? [duplicate]

Just do not know how to write the average of a function. The symbol look like a integral sign with a short bar in the middle. It means integral of a function over a ball divide by the measure of the ...
8
votes
1answer
319 views

Cross reference with ordinal numbers

I'm writing a document in a latex. In a part of this document I would like to use ordinal numbers for cross-referencing chapters and parts. For example i would like that the code ... in the \ref{ch:...
11
votes
2answers
2k views

3d axis and polyhedron with line segment towards origin

I would like to make a 3d plot containing the 3d axis and a convex polyhedron or better a Dodecahedron on the positive side for which one of its boundary edge points on its top is annotated e.g. \...
4
votes
1answer
794 views

Symbol to represent a key

Does anybody knows a LaTeX command that represents a key, like this?
3
votes
1answer
411 views

\xymatrix undefined

I am trying to use xy package to draw some diagrams. So I use the command \usepackage{xy} and I type a sample as follows: \xymatrix{ A &*+[F]{\sum_{i=n}^m {i^2}} \\ & {\bullet} & D \...
3
votes
1answer
6k views

Missing chapter name when using fancyhdr

I want to get the following header: Left page: \thepage\hfill\chaptername{}\thechapter Right page: \chaptername\hfill\thepage So I write: \documentclass{book} \usepackage{fontspec} % enagles ...
7
votes
3answers
1k views

Ellipse with eigenvectors and eigenvalus in tikz

I'm trying to make ellipse with eigenvectors and eigenvalues in tikz. I'm having tough time with managing my braces. I wonder if there is any analyticall approach to adjust braces. Thanks \...
5
votes
1answer
3k views

\usepackage{glossaries} with 3 columns

I need to have extra column in the glossary. My application is list of symbols with symbol description units \documentclass{article} \usepackage{glossaries} \makeglossaries \newglossaryentry{...
2
votes
1answer
987 views

How to draw a horizontal line between middle of the page and one of the edges (in beamerposter)

I have a two column layout with beamerposter, where the columns are seperated by a vertical (thanks to egreg). Now I need the sections to be divided by horizontal lines that range from the edge of the ...
2
votes
1answer
104 views

Indexing \int with amsmidx

I've used amsmidx to create a separate notational index. \usepackage{amsmidx} \makeindex{idx} \makeindex{nidx} \newcommand{\idx}[1]{\index{idx}{#1}} \newcommand{\nidx}[1]{\index{nidx}{#1}} I need ...
13
votes
2answers
287 views

How to refer to a chapter with a word

I would like to refer to my chapters with the notation "First Chapter", "Second Chapter" etc, rather than "Chapter 1", "Chapter 2", etc. How can I do this? \documentclass{scrreprt} \usepackage[...
8
votes
1answer
397 views

Automatically place right angle indicator on normal vector

I'm trying to draw a normal vector on a curve, and use the usual "dot in an arc" symbol to indicate that. Here is what I have so far, which looks alright, but needed manual adjustment of angles and ...
9
votes
2answers
925 views

Patch tabular environment with colorbox

I'm trying to quickly add a colored background using colorbox to all tables as shown in this answer. While I could just update all the TeX by hand, I am trying to patch the tabular environment to ...
23
votes
3answers
709 views

If I redefine a command that has a starred variant, will that always disable the starred variant?

If I redefine a command that has a starred variant, will this always effectively disable the starred variant, as a side effect of redefining the unstarred variant? A related question: Do starred ...
3
votes
1answer
294 views

subfloat reference label language?

I want to get russian subreferences in subfloats: I think it should be provided by \usepackage{polyglossia} % support for languages \setdefaultlanguage{russian} but it doesn't work. Here's a ...
2
votes
0answers
65 views

glossaries: multi-column and indentation [duplicate]

I want to achieve a two column acronym list with glossaries. Using the mcolalttree version of alttree allows to define the indentation with \glssetwidest{}. Unfortunately after a line break the ...
2
votes
0answers
230 views

Is there a version management package/solution for latex? (non SVN etc) [closed]

I'm looking for a nice versioning system for LaTeX. At home I use SVN and it's great, but some of my fellow students have a hard time just coping with LaTeX. Is there a version management package or ...
1
vote
1answer
465 views

Bug? Colored frame in mcode package

While using mcode.sty, I recognized that at linebreaks with long comments parts of the surrounding frame got colored green or were even left white at using mathematical formulas, e.g. in the following ...
15
votes
1answer
412 views

Problem with refcheck

The following code does not do what it should: \documentclass{article} \usepackage{refcheck} \begin{document} \begin{thebibliography}{1111} %% This works: \bibitem[Ccc]{FP} The Frog, Kermit, and ...
4
votes
1answer
1k views

Framebox and subfigure with dirtree package

I've integrated dirtree package in my manuscript but having issues with the following. Framebox: I consistently frame all figures in my manuscript using \framebox, however, applying this to dirtree ...
4
votes
1answer
682 views

Alignment horizontal subcaption and TikZ

I have a problem with the alignment of 2 plots. The Problem is I want the captions to be horizontal aligned. Also the x-axis should be horizontal aligned! Is there a way to do that? \begin{figure}[!...
0
votes
0answers
71 views

Unable to fix the figure attachment error [duplicate]

I am facing a problem in attaching a figure. I get the following error: Latex error: Cannot determine size of graphic in fig.pdf \begin{figure} \centering \includegraphics[width=0.8\textwidth,]{...
0
votes
1answer
406 views

Which kind of math font set is used in the picture?

I like the math font set used in the picture very much, so what is the math font set name and where can I find the font set package or LaTeX Release, thanks. PS: Is is not the MathTimeProII.
21
votes
3answers
12k views

Two Bibliographies: one for main text and one for appendix

I have a manuscript in which has the following structure: Main Text Bibliography Appendix However, there are citations which are only cited in the appendix, and they show up in the main ...
5
votes
1answer
16k views

How to get APS BibTeX style file to work

I just started to use BibTeX and have found it amazingly convenient. So far I have tried to use the style file h-physrev.bst from arXiv, and copied the BibTeX information directly from the site of ...
11
votes
1answer
266 views

Straight Braces

Can I make a variant of Latex Braces? In some equations system, I'd like to use a left brace like in this picture:
1
vote
1answer
362 views

Exporting from Org-mode to LaTeX ignores LaTeX_CLASS_OPTIONS [closed]

When I try to export from Org-mode to latex using C-c C-e l, the contents of LaTeX_CLASS_OPTIONS is always completely ignored. Here's a minimal example: test.org #+LaTeX_CLASS: article #+...
12
votes
2answers
5k views

How do I generate a logarithmic x-axis without a y-axis?

I would like to plot the following image using TikZ: How do I generate an X-axis with logarithmic scaling using TikZ? For linear scaling I use this code: \usetikzlibrary{plotmarks} %axis \draw (3,...
4
votes
1answer
163 views

List of theorems: no links when problem title is non-english

I'm trying to make use of this solution to get list of problems. I'm using XeTeX, and if I use non-english as a problem name -- hyperref's links to problem in "List of problems" doesn't work. Here's ...
2
votes
2answers
1k views

xwatermark package: help using small caps and putting watermark on top of text

Hi in the linked question I asked how best to use AtBegShi to put titles on to of a page as a title. I'm using these as the equivalent of an MS Word textbox at the top of each page that carries the ...
3
votes
1answer
135 views

FMT to CLS Creation in LaTeX

A Few years back we have created fmt format through PDFTEX. Now we have need to update some points in the class file. It is possible again to create fmt to .cls or .dtx files?
1
vote
1answer
7k views

Latex error during make [closed]

make -C doc html latexpdf yields this: Package hyperref Message: Driver (autodetected): hpdftex. (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hpdftex.def (/usr/share/texlive/texmf-dist/tex/...
7
votes
1answer
157 views

Conflict between MathTime Pro 2 and refcheck

The following MWE shows the problem: \documentclass{article} \usepackage{amsmath} \usepackage[lite]{mtpro2} \usepackage{refcheck} \begin{document} \begin{align} a & \leq b \end{align} \end{...
9
votes
1answer
470 views

Activating fi and fl ligatures with fontspec for Berling font

I have a font named Berling containing fi and fl ligatures on glyph 109 and 110. How can I activate these with lualatex? For the moment I am trying: \documentclass[a4paper]{memoir} \usepackage[utf8]{...
8
votes
2answers
147 views

How to specify RULES in main body

I want to write RULES in main body, how to write the correct TeX code that guarantees a little larger space before and after RULES like this.
1
vote
1answer
185 views

ArsClassica Error (rm-iwonar not found), Iwonar Package Installed

I'm trying to use the arsclassica package for my document, and have some problem. Here's the simplest form of the document: \documentclass[12pt,a4paper]{scrbook} \usepackage[eulerchapternumbers,...
5
votes
1answer
1k views

How to prevent indent on second line with packed itemize?

How to prevent indent on second line with packed itemize instead of itemize? In other words I dont want "Major" to be indented. \documentclass[letterpaper]{article} \usepackage[empty]{fullpage}% ...
1
vote
0answers
364 views

apa-good.bst question [closed]

I'm very unfamiliar with .bst files. I'm not using BibLatex yet, just standard BibTex. If I want the apa-good.bst to work with my thesis, do I have to also have the apa.cls in the same directory? I ...
1
vote
2answers
3k views

Cannot start AcrobatReader or open the document - Winshell

When i try to PDFView Command in Winshell I'm getting the below error. I'm using Winshell 3.3.2.4
6
votes
2answers
195 views

How to use a particular field in a specific entry type for sorting in biblatex

In answering this question: Creating Entry in Bibtex for Executive Orders I gave a biblatex solution which used a new entry type for Executive Orders. This particular entry type has no author, but it'...
3
votes
1answer
3k views

Line number error using “Require” and “Ensure” in package{algorithmicx}

I’m using the packages algorithmicx and algpseudocode to write algorithms in my paper. It’s more convenient and beautiful to specify comments than with the algorithmic. But I encounter an error while ...
14
votes
2answers
3k views

TikZ - diagram of the sun

I am attempting to generate the following diagram: I am finding it difficult to place all of the triangles surrounding the center circle in the manner shown. Currently I can place four of the 8 ...
3
votes
2answers
390 views

Creating independently-numbered Chapter-level structures

I'm writing a book in which, between chapters, I may have chapter-size chunks of text that discuss a software package related to the book's content. Consequently, I wish to label these things ...
1
vote
1answer
381 views

List of Algorithms header format [closed]

Does anyone know why the header of List of Algorithms is not equal to the format of List of Tables when both using with \listoftables or \listofalgorithms Here is a screenshot:

15 30 50 per page