# All Questions

8 views

### Page number in the margin note

I've seen some books that have the page number in the middle of the page, in the margin note; i think it make it easier to look for a particular (IMHO). Is there any chance to do this in LaTeX?
7 views

### Collapse range in x-axis with pgfplots?

I want to plot data from a table file. The data has quite big gaps in the x-axis, making the actual data barely readable. Is it possible to tell pgfplots to kind of collapse the x-axis in a given ...
10 views

### Very consistent latex - customized class or KOMA?

This is mostly a thought exercise, but in working on a large document, I've come across some annoying inconsistencies when working with latex. These are usually somewhat trivially fixed, but they add ...
11 views

### Labels with \psplot

Consider the following example: \documentclass{article} \usepackage{pst-plot} \begin{document} \begin{figure} \def\dx{2.5} \def\dy{1} \makeatletter ...
10 views

### How to export beamer frames to standalone subfiles_

I try to split a large beamer presentation with the standalone suite. Herein, I do not want to split out parts of slides, for which I understand the beamer class option with the standaloneframe would ...
25 views

### bibtex: bar over a capital letter

Is there a way to simultaneously capitalize and put a bar over a letter in bibtex? I know that to capitalize a latter it needs to be wrapped in {}, and \= can be used to put a bar over it. But the to ...
23 views

### Drawing atomic orbitals upon a chemfig structure

Is there a way to draw an atomic orbital in a chemfig structure? I think you can better understand if you see want I want to get:
34 views

### Indentation of a tabular inside tabularx

Inside a tabularx environment I nested a two column width tabular which doesn't fit into the space completely. There are indentations on each side. How can I remove them? MWE: ...
68 views

### Why characters UTF-8 encoded are ISO-8859-1 encoded when written in an external file

For an UTF-8 encoded file as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % \newwrite\outtmp \immediate\openout\outtmp=out.tmp % \begin{document} ...
28 views

### SVN last commit number on cover : a minimal working example?

I read many posts containing the svn, svninfo or svnmulti packages, but I can not find a MWE on the web to get started with those. For example, I use these following first instructions of the package ...
27 views

### Problem with the package nomencl

I'm writing a report for the university, using a format that I found in the web. The problem is when I compile the .tex manuscript, the nomenclature does not appear in the output. Additionally, the ...
13 views

### How to bring the footnote back to the footer of the page when using thmtools

I use thmtools for my theorems. But when I use it, my footnotes done with \footnote{foo} don't appear in the footer, they are in the footer of the theorem. I declare my theorem like this ...
25 views

### (arara) make rule failure non-fatal

I have a rule that attempts to download the bibliography as part of the build, but I would preferably have the option to have it soft-fail when the download fails, as I probably have a up-to-date copy ...
32 views

### How can I define additional literate replacements without deleting existing ones?

I'm trying to improve some language definitions that ship with listings. Those improvements consists in, among other things, a number of literate replacements (see subsection 5.4 of the listings ...
37 views

### Variation on $\prec\prec$

Is there a standard TeX or LaTeX code for a symbol that bears the same relation to \prec\prec that \ll bears to << ? (And how do I get TeX code to get rendered in a question posted here? I'm ...
56 views

### Why does tikz not plot this even function correctly? [duplicate]

Can someone provide an explanation and a fix for the fact that my plot is not what is expected? The function is symmetric with respect to the y-axis. The plot correctly shows the function for positive ...
60 views

### How to calculate a new length?

What I want to do is calculate the actual size between the edge of the paper, and my header. \evenmarginsize and \oddmarginsize do not do this. \settowidth{\msize}{((\paperwidth - \textwidth)/2)} ...
38 views

### How can I get “block” justification

I would like all my paragraph text to not start with indents at beginning of paragraph. And both sides justified against the margin (left and right).
152 views

### Alignment in math equations

How can I align my equations as in the image below? I know \begin{split} x_1'(t) &= x_1(t)+2 x_2(t) \\ x_2'(t) &= 3 x_1(t) \end{split} ...
26 views

### Two \social icons for one account name in moderncv header?

I use the default template of moderncv (can be used as MWE) classic style with awesome moderncvicons compiled in LuaLaTeX. I have the same account name for Twitter and Github, and I would like to have ...
37 views

(This isn't really about a LaTeX issue but more about personal taste and arguments herefore.) Do you prefer to pass package options at loading time with, say, \usepackage[something]{geoemtry} ...
13 views

### Longtable and threeparttablex: wrong position of tablenote when table is textwidth

I have a problem with longtable and the position of a table note created by threeparttablex, as the MWE below demonstrates. The first table stretches to the full textwidth and the position of the ...
66 views

### How to draw an inductive coupling with circuitikz and TikZ?

I'd want to draw a circuit with an inductive coupling, as you can see in the following image: What I need now is putting the dots related to the inductive coupling, as well as the power lines. I ...
104 views

### How can I get these two nested \foreach loops to work?

I try to use nested \foreach loops to create edges between many nodes. \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node (a) at (0, 1) {}; \node (b) at (0, ...
13 views

### How to trace errors one by one from the build-output reported by TeXnicCenter?

The problem I have at the moment is that, after the execution of "Build current file", TeXnicCenter displays a window (named Build output) in which you can read a short description of errors; each of ...
26 views

### Problem in Texmaker after reinstalling MiKTeX: 'the memory dump file could not be found'

I had MiKTeX, with TeXworks and Texmaker running fine on my Windows 7 machine, except the package manager crashed whenever I opened it. So I decided to uninstall and reinstall everything LaTeX on my ...
47 views

### Horizontal lines in bar plots without first line

I'm starting to learn pgf-plot and this is my first plot: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.9} \begin{document} \begin{tikzpicture} \begin{axis}[ ybar, ...
55 views

### Problems with XeLaTeX or LuaLaTeX [on hold]

I do not know how to explain or solve this problem: in one laptop I have Miktex AND Texlive installed (DOS and Ubuntu); in my desktop, only Texlive and Ubuntu. In the laptop, if I try to compile using ...
26 views

### How to make a shortcut for \mathbb font in LyX?

I want to make a shortcut for the \mathbb font (or other fonts) in LyX. How can I do it?
24 views

### Save TikZ plot points calculated with PGF math library to .table file?

Is it possible to let TikZ save and in subsequent compilation runs use the plot points generated with the PGF math library? A (simple) example of such a function plotted that way is: ...
27 views

### New figures not being included in document

I have a list of images in an image folder with all in pdf format. However, I recently added a new image an now the LaTeX console does not recognise it and gives the file not found error.The format I ...
34 views

### Embed all the fonts during compiling with pdflatex?

My paper has the font TimesNewRomanPS-BoldMT not embedded in itself, and therefore fails the IEEE submission check. I am able to embed it with Acrobat by printing the PDF. However, I find it changes ...
42 views

### Fill a table cell with empty lines

This is a follow-up question of Set table background hatched and shaded using tikz. I want to specify the height of the orange cell as "number of lines" like it is done for the \ShadeCell[5] command ...
25 views

### Biblatex: pagebackref reference in the (flush) right margin

Since I am not really satisfied with how pages where a bibliographic reference is called in the text are reflected in the bibliography, I tried to modify the pageref macro in Biblatex as follows: ...
26 views

### how to change spacing between align environments and equation environments?

I am using align and environment for various equations. There is some space that comes before and after the equations that I would like to minimize. Is there a single command that could be used to ...
22 views

### How can I align this tabular so that true on the right of page?

I want to align this tabular so that it is true on the right of page. I tried \documentclass[a4paper, 12pt]{article} \usepackage{lipsum} \begin{document} \begin{flushleft} \begin{tabular}{ c c } ...
33 views

### poem indentation different when text is longer than a page

I'm trying to compose a volume of poetry in the memoir class and the verse environment. To set the indent on a per-poem basis, I use \settowidth{\versewidth}{longest line of text here} as ...
19 views

### mdframed parchment layout

I have recently found a very nice example of how to create text boxes with a parchment-style layout: http://www.texample.net/tikz/examples/framed-tikz/ Also, here on tex.stackexchange, there are ...
27 views

### recommendation for a package and bibliography style

I appreciate it if you let me know which package and bibliography style should be used to have the bibliography with the following properties: 1- citation in the text should be like this: (Doe et ...
18 views

### Footnotemark in caption of listing causing problem

I have the following listing: \begin{lstlisting}[float=h,caption={Description\footnotemark.}, label={listing2}, keywordstyle=\color{blue}\bfseries, ndkeywordstyle=\color{black}\bfseries, ...
22 views

### Problem combining fouriernc with tgschola

I have recently found out that tgschola and fouriernc actually have different font sizes (at least on my MiKTeX installation). 12pt fouriernc seems to be roughly equivalent to 11.2pt tgschola. The ...
13 views

### Label of figure in a for loop

I am adding figures to my TeX file using the following code: \foreach \paramA in {a,b,c} { \foreach \paramB in {1,2,3} { \begin{figure} \addOneImage{pathToImage/imageName_\paramA_batch\paramB.png} ...
67 views

### Problem: found character @'@' that cannot start any token

I'm trying to create an arara rule that will download my bibliography from zotero using its embedded server. The URL works, that's not the issue, but arara claims the file has a syntax issue. The ...
25 views

### Changing the heading style of references section

\documentclass[twoside, a4paper, 11pt]{article} \usepackage{natbib} \begin{document} \bibliographystyle{apa-good} \bibliography{bibliography} \end{document} How can I make the section header for ...
28 views

### Vertical space only after every second row in a table

I have several tables in the following custom format, to which I would like to add vertical space (e.g. 6 pt) after every second row. I know this can be done manually. I am only wondering, if there is ...
22 views

### Table caption to the left or right of table

I am unable to find a method to place the caption of a table to the right or left of this specific table. Does anyone know if there is a way to do this in plain TEX or Koma Script (eventually in ...
25 views

### Beamer mini-frames: Subsection navigation circles

In this thread (including minimal working example) One navigation bullet per subsection with subsection=false in custom beamer theme I found a solution for drawing only one circle by subsection ...
37 views

### How can I automate this item overlay (in beamer)?

For a presentation, I would like to reveal several items in a list in succession. Right now, the code is as follows; the corresponding (and desired) output is shown at the bottom of my post. ...