# All Questions

171 views

### Automatically add braces after underscore or caret in TeXnicCenter?

Is there any option for adding automatically braces after _ or ^ in TeXnicCenter?
3k views

### No pagenumbers in moderncv

I am using texlive (2012) with moderncv (1.5.1). Since a certain update pagenumbers have disappeared for previously working examples. Yes i have more than one page and \nopagenumbers{} is commented. ...
167 views

### tikz locality of path options

I am trying to add a cross out on an arrow, by placing a node. However I expierience two cases of odd behaviour: The node that should be a cross out has an arrow The arrow is affected by the line ...
306 views

### Vertical spacing for two consecutive figure environments

I think I'm not going to solve my problem with the Floats and positioning of figures. I have 4 diagramms and I need to place them on two pages and at the end of the second page the caption for all 4 ...
121 views

### Format \ref output from enumeration item to not include section name

I'm referencing items in an enumerated list from another document (requirements.tex). I can do that, but I get extraneous information I haven't been able to remove. Requirements.tex: ...
490 views

### page number in a diamond box

I have the following code I need to put the page number at the top of the page resulted in a diamond box. I would be grateful for any help or if you can indicate to me the code to generate it. ...
152 views

### ogctools in combination with beamer

I try to use ocgtools in a beamer presentation, which worked for me some time ago. But now (TeXLive 2013) this seems not wo work anymore. As soon as I include the ocgtool package there are errors ...
962 views

### Simulate printing imperfections and defects with TeX?

Is there a way to simulate imperfections of some of the older books in LaTeX? Like the missing pieces of letters, extra splotches of ink and such? Here is an interesting artifact: P.S.: I guess one ...
124 views

### Stack overflow / endless recursion when using menukeys

since I've upgraded from TeX Live 2012 to TeX Live 2013, I have some trouble with a custom package. The package provides some commands that are intended to be used either as standalone commands or ...
2k views

### Question about \multicolumn in Tabularx

I have a table with two columns like this: \begin{tabularx}{\textwidth}{XX} test & test \\ \multicolumn{2}{l}{test} \\ \end{tabularx} However the multicolumn line does not function good ...
975 views

### reading and processing data in pgfplots

I have a standard text file, two columns, space separated, containing x and y data to be plotted. I want to plot x vs -y, i.e. plot(x,-y). In general, how do you read your data and plot a function ...
126 views

### How can I access the depth of a given sectioning command?

In the LaTeX Wikibook, we can see a table that gives the depths of the sectioning commands: part: -1 chapter: 0 section: 1 subsection: 2 etc. Is there any way to access this information dynamically ...
418 views

### How can I underline mathematics using a harpoon of variable size?

I am a new user of LaTeX. I want to underline the answers to mathematics problems using a \rightharpoondown symbol. If possible, I would like a \rightharpoondown of variable size, as in the image ...
354 views

### Different bibstyles for bibentry vs. bibliography

Using natbib, bibentry. I would like if possible to render the bibentries in a different style than that in the Bibliography section in the end. A particularity with this is that bibentry copies ...
837 views

### How thick a rule does \hline produce?

How thick a rule does \hline produce (in a bog-standard tabular environment) ?
562 views

### Starting a proof with \paragraph

I would like to break a proof into paragraphs, but I don't seem to be able to start a proof with a paragraph. \documentclass{article} \usepackage{amsthm} \begin{document} \begin{proof} ...
576 views

### Global transition effect in beamer

Is it possible to set a global transition effect for all frames instead of specifying the effect again for each frame?
377 views

### Creating a question box

We are writing a book for kids, and it has some question & answer boxes like the following, I'm not sure how to achieve this. Is there any built-in command for this purpose? Or should I create ...
71 views

### Is there any reason to used pdflatex instead of lualatex? [duplicate]

As I understand it pdflatex has been discontinued, and the replacement is LuaLaTeX. But pdflatex is still included in most (all?) distributions, along with LuaLaTeX. LuaLaTeX supports lots of new ...
2k views

### Coloured shadowed boxes around equations

When I want to highlight some important result, I traditionnally put my equations in boxes: $$boxed{\Delta = b^2-4ac}$$ I would like to have a more fancy thing: to be ...
601 views

### Creating acknowledgements page like abstract has same page number

I am using hyperref and the report document class. To create an acknowledgements page that looks like the abstract I have \documentclass[a4paper, 11pt]{report} \usepackage{hyperref} \title{My ...
168 views

### assigning font size in .sty files

I am using a LaTeX template which contains a .sty file. The problem is that I am getting error for the below line which is shown below it. \font\chaptocfont=\helveticabold ERROR: ! Font ...
156 views

### List all sections in TOC in one line wrapped [duplicate]

How can I list all sections under a chapter in TOC, in one (wrapped) line (without pagenumber is fine)? Thanks. Expected,: Chapter 1 .................................................... 10 section ...
9k views

### How to add a picture to fancyhdr *header* (and align in the top right)?

In the MWE below, the blue square aligns according to plan, whereas the dummy-image doesn't, see screenshots below. How to re-code so that the dummy-image "A" is aligned like the blue square? ...
96 views

### Looking for a special printhyphens macro

In May 2012 user9588 answered: \documentclass[12pt,a4paper]{article} \def\rehbox{{\unskip\unpenalty\setbox0\lastbox\ifhbox0 \rehbox \hbox{\unhbox0} \else \leavevmode \fi}} ...
367 views

### Verbatim Linebreaks

I would like to enable automatic line breaking in Verbatim environment; besides I do not want to use lstlisting as it will not have exactly the same font shapes as Verbatim and some other special ...
112 views

### How to reference a paper and also mention the year it was published for the first time?

I want to cite the paper "Der barycentrische Calcul" by A. F. Möbius. Now it was first published in 1827, but the text I'm going to cite is in his "Gesammelte Werke", that is, "collected works", which ...
1k views

### xelatex problem: Missing chars in TeXLive 2013 / \textfont XXX is undefined errors in miktex

I'm trying to track down the source of a problem with the new xetex binary in miktex. I think it is related to the following problem in TeXLive 2013: \documentclass{article} \usepackage{unicode-math} ...
187 views

### \usepackage{fancyhdr} remove bookmarks

Hi everybody sorry for the inconvenience, i try to make a thesis in pdf and i like to put two things in: 1) change the style of chapters (Lenny); 2) put the chapter in a header top on the page; ...
289 views

### Side by side pie chart? [closed]

Is there a way to get pie charts side by side? I have tried with the minipage method, but I can only get it to work for images, and not with the code I have used for a pie chart. The code I have ...
93 views

### Different outputs from two different syntax that should produce the same output

A node A will be constructed by using 2 syntax. \pnode(!2 3 0 p2c exch 3 add exch 2 add){A} \pnode[3,2](!2 3 0 p2c){A} Each constructs the node A by translating a point (!2 3 0 p2c) (which is on ...
191 views

### Why does the compiler say abstract environment not defined?

\documentclass [10pt,a4paper]{report} \usepackage [utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} ...
173 views

### algorithm2e single-line control structures

I am using algorithm2e for formatting pseudo-code: is it possible to compress single-instructions control structure to one single line? For example I would like to modify this so that l.sort() ...
84 views

### Defaulting to clever references

I would like to redefine \ref to behave like \cref while still allowing \ref* to be used for the standard behavior of \ref. Here is my attempt to achieve this; I would like to use the commented lines ...
117 views

### Using a half-space with abbreviations in cleveref?

I'm using cleveref with abbreviated forms such as Fig. 1, and would like to have them typeset using a thin space/half-space rather than the ordinary non-breaking space. However, I'd only want this ...
107 views

### How to make correct pdfbookmarks for the nomenlature?

In this example the pdfbookmark for the nomenclature is linked to the list of tables. How to make here the correct bookmark? \documentclass[listof=totoc,]{scrbook} \usepackage{makeidx} ...
324 views

### Putting textboxes with lines over Moebius strip

Using Moebius Strip using TikZ I can draw a perfect Moebius strip. How can I add a layer of boxes and corresponding lines to achieve the following? EDIT: I managed to put a box inside and draw a ...
191 views

### How to put equation numbers on the left or the right, depending on whether the page is odd or even

I'm trying to create a document that has labels on different sides on even and odd pages. I would like the labels were on the even-numbered pages on the right and on the odd-numbered pages on the ...
26 views

### how can I get a tilde under a variable in math mode? [duplicate]

s ~ such like this, but I want them to be combined to identify a vector. thx for help~!
1k views

### Continuing example Counters in Beamer

I wonder how to get automated continuing example counters in Beamer. Below is my MWE. Thanks for your help. \documentclass{beamer} \usetheme{Warsaw} \setbeamertemplate{theorem}[ams style] ...
112 views

### Biblatex: How to get the information in note field

I use the following format for my bibliography. @thesis {RefKey, AUTHOR = {LastName, F.}, TITLE = {Thesis Title}, NOTE = {Ph.D. thesis}, SCHOOL = {University}, YEAR = {Year}, } I can receive ...
25k views

### include svg images with the svg package

I'm trying to use the svg package for inserting svg images in my latex file, as suggested in other questions. But now I ran into a problem: For example I have a image figure1.svg, if I write ...
1k views

### Using counters and \ifthen in a macro: what's wrong?

I have (made, actually) a graphic of the forepaw-print of a bear that I want to use as a flourish mark at the end of chapters and a few other places. After finishing with the image, I created a mirror ...
87 views

### Cross Reference Enumeration from a Different Document

I'm working on a Design document that is based on a Requirements document that is subject to change. The Design document must reference Requirements in an enumerated list from the Requirements ...
5k views

### Reinstalling LaTeX in Ubuntu 13.04 [duplicate]

The LaTeX in my system cannot support Sweave compilation to pdflatex, it warns for missing .sty files. I want to clean my system and reinstall a more complete LaTeX. What is the better way for doing ...
235 views

### Patterned shading parts of a rectangle

Normally I try to have a skeleton at least before I ask a question, but this time I don't know where to begin, so my apologies for asking a cold question. I am trying to get parts of a rectangle ...
228 views

### Trouble manually controlling endfloat's ToC and header behavior

In my thesis, I would like to have each figure and table on its own page at the end of each chapter (easy with endfloat) The first figure of each chapter begins its own section that goes into the ...
941 views

### TikZ -The pretty boxes to frame the theorems-lemma-proposition-etc

I came across a website which provides examples of pretty boxes to frame theorems in LaTeX with extension bioboite and not with TikZ. Here is code with: \documentclass{article} ...