# All Questions

436 views

### Miktex update:latex> (Fatal format file error; I'm stymied) [closed]

I did an update to my LaTeX packages two days ago (I needed XeLaTeX for beamer, and this is why I did the update), then tried to continue writing my notes using LaTeX (MiKTeX2.9; Texniccenter2.0 Beta ...
951 views

### Change paper format for scrbook class (using package typearea)

I try to use scrbook class, and play with basic options - paper size. I know that is based on KOMA script and for these reasons I should use package typearea instead package geometry. See MNWE: ...
1k views

### how to plot the functions in TikZ?

I would like to plot a linear function as y=40-0.2x and an hyperbola as y=5/x. How could I make it? I've tried, a code from this document in p. 160, but the curve wasn't in the same page with the ...
59 views

### what is the the latex code for a wave line above a word? [duplicate]

I wish to write a wave line above the "ch" as described in the following picture, how should I do this?
178 views

### pythontex3.py does not compile very simple xelatex file

I have the following environment LinuxMint 15 (which has python2.7 and 3.3 as part of its install. I installed Texlive, Texworks, Pygments for 2.7 and 3. Working with Texworks and creating xelatex ...
419 views

### How should I typeset the physical dimensions of quantities?

As an example: The Newton's Law gives F=ma vs. dim F=MLT^{-2} My question is: Should I typeset the "MLT" in \mathit shape? You can contrast ...
446 views

### How to generate a full width table of contents (tufte-book)?

fullwidth environment causes trouble across pages. mdframed option too does not work well. The mdframed answer was suggested by the author for normal text here , How to switch between two margin ...
346 views

### \restylefloat does not restyle properly threeparttable caption

The following code does not produce the result I would expect. When the caption position is changed by restyling the caption it is no longer centred; it moves to the left. Any idea on how to fix the ...
219 views

### Different spacing between section number and its caption TOC

I want to use two different spacing between section number and its caption in the Table of Contents (TOC) I already have tried the solutions: TOC Text - numbers alignment Adjusting spaces for the ...
373 views

### Changing font color in a table adding unwanted extra spacing

I haven't been able to find a solution, so I'm hoping for any suggestions. When I try to change the font color in my table, I get extra spacing above and below the lines with the color-changed font. ...
32 views

### How can I keep an environment all on one page? [duplicate]

In other words, how can I forbid pagination between \myenv and \endmyenv? I thought at first to make the whole thing a box; if I'm not mistaken---this would prevent TeX from breaking it up---but I ...
590 views

### How to use \ifnum for arguments (expanding macros)?

I want to count my section's, figure's etc. using the totcount package. To get a general useable template I want to show only counters which are larger than zero. But it seems that total{counter} ...
106 views

### Non-Uniform Inter-Row Spacing in tabularx with p Cells

Take a look at the following picture: The Namespace column is typeset using a p cell. The page layout is in landscape mode. I've set the inter-row spacing explicitly to 20pt. However, since the p ...
252 views

### Changing grouping for bookmarks of appendix

I have an appendix with multiple chapters, while I like it that the main chapters of the document appear on the highest hierarchy level in the bookmarks, I would like the appendix chaptes to be ...
363 views

### Miktex amsfont problem: \scriptfont is undefined [duplicate]

Today, After updating Miktex system, I have trouble with error \scriptfont is undefined. So I tried to reinstall Miktex 2.9.4813 (32 bit version). Everything OK, but again after updating, problem is ...
198 views

### unicode-math and oldstyle figures

I'm trying to find a good way to archive the following using fontspec, unicode-math and lualatex: almost global oldstyle figures including inline math lining numbers for displayed equations, e.g. ...
85 views

### Prevent environments from breaking in two pages

I am making my own environments for a mathematical document (environments such as Theorem, Definition, Lemma... which often consists of a title corresponding to the environment and possible things at ...
1k views

### How do I change how pgfplot steps the labels along a given axes

I have the following MWE \documentclass{article} \usepackage{pgfplots} \pagestyle{empty} \usepackage{mathtools} \begin{document} \begin{tikzpicture} \begin{axis} [ minor x tick num=1, axis ...
178 views

### Running out of main memory when using loops in TikZ

I have a TikZ drawing (namely, pairs of rulers) that I want to replicate 12 times, side by side. I'm using foreach constructs to help me in this process and to draw the 5-cm, 1-cm and 1-mm ticks for ...
294 views

### Tufte book fullwidth across pages

How to switch between two margin sizes? tells a few things about this issue. But how to solve it? MikTex, XeLatex. ...
99 views

### Footnotes doesn't work inside tasks

See the following MWE. For some reason the footnotes inside tasks environment are not displayed, while they work in enumeration. \documentclass{article} \usepackage{enumitem} \usepackage{tasks} ...
279 views

### How to change format of xticklabel when loaded from table

I have the following code \documentclass[tikz]{standalone} \usepackage{pgfplots} \usepackage{pgfplotstable} \usepackage{filecontents} \begin{filecontents}{testdata.dat} 6.3e-05 0.8767984145412976 ...
1k views

### How to make a plot from table data?

Having the following table: How can we make a plot diagram showing the relation between P,Q? I would like the P-value on y-axis and the Q-values on the x-axis.
275 views

### Font problems in memoir chapter

I am using the memoir class to write a thesis, and find the veelo chapter style well enough. However, its chapter title is in times roman, and it does not have subsection counting. ...
111 views

### punctuation color in references

I have used the following command to change the color of references in the text to blue: \hypersetup{ colorlinks, pdfborder=0 0 0, linkcolor=blue, citecolor=blue} however; the parentheses, ...
216 views

### Styled TOC not compiling

Done Major Edit, to make the question clear. Removing the last chapter line works. But keeping it makes latex go crazy. It prints numbers till 65536.. and errors: ** ERROR ** Page number 65536l too ...
1k views

### How to generate “You can't use \unskip in vertical mode”?

We all know (or believe so) that \unskip is not possible in main vertical mode and this statement can be found in various answers on the site. And yes LaTeX does a lot of gymnastics in \addvspace or ...
190 views

### Newline Not Working Inside \pbox After Using \selectfont Command

I have the following command defined for a custom row of a two-column tabularx table with column specifiers rX: \newcommand{\pbrow}[2]{\pbox[t]{\linewidth}{#1} & \pbox[t]{\linewidth}{#2} \\} ...
210 views

### How can I dump Lua code to a format file?

From this format: %% testformat.ini \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \directlua { testFunction = function () tex.print("This was print by Lua's ...
94 views

### How should I prevent images from floating between list and paragraph before

I have a list which has some text that describes the list and an image that gets in between of those: The LaTeX code looks similar to this: \begin{figure}...\end{figure} ...
34 views

### algorithm2e problem [duplicate]

Source code I'm working on a LaTeX project which brings 5 files: cassio.bib: bibliography comandos.tex: a rich set of commands for easiness of typing tg.tex: document's source code tg.pdf: ...
476 views

### Changing color and fonts of itemize

How can I change the font and color of a particular command in a LaTeX document? For example I want all the text that follows the \item tag to be gray and the font should be different from the rest ...
2k views

### Suppress page number till table of contents in latex scrreprt and avoid that “contents” appears in ToC

I'm writing my bachelor thesis in the documentclass scrreprt. Unfortunately I can't suppress the page numbering, till the table of contents begins. The first two pages are empty. But then LaTeX ...
181 views

### stacking text for cryptography

What is the best way to stack long passages of (fixed-wdith) text on top of each other? I am writing exercises and solutions for a cryptography class and would like to be able to have plaintext above ...
319 views

### biblatex (authoryear-ibid) InCollection with editors between main title and booktitle with “in:”

I would like to have the InCollection (also: InProceedings) source type to be changed up. So I would like to have main title an "in:" behind the (main) source title the editor name after said ...
115 views

### Errata in the Manuals

After discovering quite a few errata in a to-be-anonymous manual, I really want to be helpful and point them out... Is it appropriate to email the maintainer with a list of errata and inherently ...
135 views

### Memoir headers with different font shapes

I'm using the ruled pagestyle under Memoir with small caps in the even page headers: \makeevenhead{ruled}{\scshape\leftmark}{}{} Is there a way to set only the title name in small caps and not the ...
949 views

### Errors using tikz-cd and TikZ

I was trying to install the tikz-cd package into my miktex in order to draw commutative diagram. However, I encountered the following error and I don't know how to solve it. The situation: In the ...
550 views

### Reset nodestyle for tikzpicture in fancytikzposter

Problem I'm using the gorgeous package fancytikzposter to typeset my scientific posters. There I'd like to use tikzpicture to make sketches. Unfortunately the default TikZ styles are overwritten, ...
229 views

### bibtex apacite problem

I have a problem with bibtex: it doesn't seem to find my references from my .bib-file. The Errors I get: [BibTeX] mit Rückgabewert 2 beendet and: LaTeX Warning: Citation `Murty2010' undefined on ...
334 views

### how to correctly display “deutsche Schreibschrift” in equations

It's possible to use the so-called "Suetterlin" (or deutsche Schreibschrift?) fonts in latex, see http://comments.gmane.org/gmane.comp.tex.german/15805 I find these fonts correspond more to what ...
319 views

### How to get bigsqcap in the right size

I would like to use the upside-down version of \bigsqcup to denote its dual operation. The stmaryrd package provides that symbol, \bigsqcap, but I have found that these two symbols are rendered in ...
251 views

### Beamer: Warsaw style biliography colors

In Beamer, I am using Warsaw style. In bibliography, I use \newblock for different type of entries (author, title, journal, ect.). Where can I learn the colour information about these structures (in ...
789 views

### Beamer: description item with tiny font [duplicate]

In Beamer, I use the following code \setbeamerfont{description item}{size=\tiny} but it seem not to work. How can I make description items use tiny as fontsize?
83 views

### Presentation viewer with timer, next slide, notes & display video [duplicate]

The question about a viewer for presentations is asked often, and I liked pdfpc. But: I both want to play a movie (flv, with flashmovie) and a presentation viewer with timer, next screen and ...
386 views

### Draw single-vertex Feynman diagram

I am trying to draw a simple single vertex Feynaman Diagram, like the one shown next I've tried using feynmp package but I am not able to reproduce it. My code is \documentclass{article} ...
324 views

### The second column always appears lower than the first one in the multicol environment

I need to make a two column document (on a landscape format sheet), but the second column appears in a lower position than the first one. I wrote "always" in the title because it also happens when I ...
902 views

### Beamer - Shaded Background in Block environment

i would like to have a shaded coloured block title background in my beamer presentation. I could not figure out how to set the shading. Any solution? \documentclass[]{beamer} \usepackage{lmodern} ...