# All Questions

12 views

### Preserve linebreaks in command argument

I'm using the pdfpcnotes.sty style from https://github.com/cebe/pdfpc-latex-notes and I'm currently trying to make it preserve newlines, i.e. if I write \pnote{ * Foo * Bar } I want this to ...
19 views

### LuaTeX font database cannot be created in texlive (windows)

I'm trying to generate arabic article with a new package arabluatex, which requires lualatex engine, writing simple "hello world" example \documentclass{article} \usepackage{arabluatex} ...
33 views

### How to add one more leave to my tree graph?

\documentclass{article} \usepackage{qtree} \begin{document} \Tree [.X leaf_1 [.Y leaf_2 [.Z leaf_3 last !{\qbalance} ] ] ] \end{document} I would like to add one more leave and node under leaf_1.How ...
44 views

### How can I plot a graph in beamer step by step

I want to plot this graph in beamer and I don't know how! I want plot step by step this graph.. Step 1: Step 2: Step 3: Step 4: I write this follow \documentclass{beamer} ...
12 views

### Cross-referencing within table with set numbers

I need to reference in table cell to another cell in another table. In both cells should be exhibited a number - the same number (once as a plain text inserted by me and once as a cross reference). ...
37 views

### include graphics with path from external USB drive

Can LaTeX include graphics/images in pdf if I write the path from external USB drive? I notice that it includes images if I write path from the SSD directory but not from my external USB drive. I use ...
14 views

### Legend of several linear regression lines in the same axis [duplicate]

I am using linear regression in PGFPlots for fit several lines. It legend show correctly if each line is on its own tikzpicture. Code: \documentclass[tikz]{standalone} ...
42 views

### How can I get section titles show first letter capitalized?

\documentclass[hyperref={pdfpagelabels=false}]{beamer} %% General document %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{graphicx} \usepackage{tikz} \usetikzlibrary{decorations.fractals} ...
24 views

### Smallcaps and Ubuntu 16 update [duplicate]

The following solution, provided here: Yet another bibliography style question does not work anymore. Only the DI part of the author name appears in smallcaps (while it needs to be all in smallcaps). ...
42 views

### Tikz Nodes do not take absolute coordinate values

this is my first post so please correct me if I am doing something wrong. I wish to draw a tikzpicture with nodes and use here absolute coordinates. I don't know why, but somehow my coordinates seem ...
16 views

### Using full-sized subfloats causes them to shift to the right

I am going pretty nuts here. The little LaTeX knowledge I have has reached its limits, and I can't find any clues anywhere on the net. So some input would be greatly appreciated! The Problem When ...
30 views

### Tikz: change position of text in a subgraph

I'm trying to draw subgraphs and DAGs with the new Tikz feature, however I'm running into an issue to move the text of the subgraph to somewhere where it does not overlap. Ideally, in the example ...
18 views

### How to add logo to footer of fancy page and place it depending on odd or even page?

I use a fancyfoot of the fancyhdr package and let the footer text align left or right depending on the page number (odd or even). \usepackage{fancyhdr} \pagestyle{fancy} \fancyfoot[LE,RO]{footer ...
23 views

### Makeglossaries can't find perl

I'm not that familiar with Perl or that much with Latex. Most of my knowledge is from googling. But I can't find how to fix the following. After reading most topic here about how to use makeglossaries ...
35 views

### Failing to change to a4paper, remains 11in/8.5in

here is my minimal working example: \documentclass[a4paper]{article} \begin{document} test \end{document} From Log: ... ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls" ...
32 views

### Different latex compilators don't get files and folders right

I'm working on my thesis and I decided to do it in LaTeX. I was using an amazing online service, ShareLatex, that allowed me to compile and edit my projects wherever I go (I use several computers in a ...
78 views

### Color correspondance in tikz and pyplot

I draw a graph with pyplot, which I save in pdf format. I then want to draw a line with the same color in tikz, however colors mismatch. I get this result: I create my graph with: #!/usr/bin/env ...
34 views

### Use .ico images in latex

I have a lot of icon (.ico) files which I would prefer to use in a document. Is it possible to include such a file (through packages or some such) in a LaTeX document? MWE: \documentclass[12pt, ...
20 views

### Is there a way to prepopulate biblatex fields for some entries?

When writing a biblatex style, Is there a way to prepopulate fields for some entries? More specifically, the bookpagination field. The norms I have to follow require that I use "sheets" for theses, ...
22 views

### tabularx/siunitx table: column of integers not properly aligned

I have adapted a table format recently suggested on t.SE, which works well except for two issues. MWE is below. \usepackage{array} \usepackage{dcolumn} \usepackage{tabularx} ...
23 views

### How can i avoid comma along with and in latex reference(.bib)?

Comma sign in Bibliography Last portion of above link contains both comma and and which is grammatically incorrect. How can i avoid comma?
18 views

### pgfplots: coordinates from macros that change

I do realize that pgfplots needs to do its thing at \end{axis} apply scaling etc. But is there a manner where one can make this work as intended? In the MWE I define a coordinate from a macro (my ...
15 views

### References from same author order randomly (not by year)

In my bibliography (Chicago Style), references from the same author order not by year but randomly (as it seems). I am using the following specifications: \documentclass[11pt,oneside]{report} ...
13 views

### cite with superscript, also Vgl. and Pagenumber in Bibliography

I'm quite new to LaTeX and I'm currently clueless how to implement superscript references to the bibliography and also things like "Vgl." and Pagenumbers in the bibliography. I'm using biblatex ...
31 views

### How to fix this compilation error?

I am using WinEdit 9.1 along with Basic MikeTex 2.9.5845. On the Documents menu in WinEdit, I select the New Document ..." menu item. This results in the New Document dialog opening. In the list ...
26 views

### Parse macro arguments char by char and for loop through these chars

I have an idea. I want to loop through every character in string argument of macro. For example: \def\dowithchar#1{% % some actions with #1 } \def\mymacro#1{% % further pseudocode for (every ...
11 views

### \lipsum to yield, by default, a different paragraph in each application

I write a template latex file for students. In this file, I use \lipsum commands as place holders for section. Below you will see a not-absolutely-minimal example, but a quite trimmed version of the ...
25 views

### A forest tree exceeds TeX input stack size = 5000

I am using forest 2015/07/15 v1.0.10 in texlive-pictures 2015.38755. The code below \documentclass[oneside,12pt]{article} \usepackage[a4paper]{geometry} \usepackage{microtype} ...
36 views

### \rm \bf command not working in htlatex

When i have using \rm and \bf command in LaTeX file, htlatex does not converted. My MWE is: \documentclass{article} \begin{document} test $AA {\rm asdffda}_BB$ and $\it{italic}_a$ and ...
15 views

### hotkey for pdflatex in lyx

I would like to define a hot-key in LyX to compile my document to pdflatex. How can I do this? I looked at the currently available hotkeys in there but couldn't not find one associated with this ...
17 views

### Adjustable column size in paracol

I'm using paracol (and verse) to get a poem in two different languages. Some lines are of different lenght in a language or in the other. How can adjust the column size so that the line doesn't get ...
48 views

### Page numbers on bottom right footer

I'm using class report (one sided document) and the package titlesec. How can I put the page numbers on bottom right footer on all the pages?
14 views

### extra horizontal space after the pseudocode

I have an extra horizontal white space at the end of my pseudocode that I cannot get rid of with negative \hspace. Here is my minimal code: \documentclass[journal,transmag]{IEEEtran} ...
8 views

### failed to upload a screen shot on questions? [migrated]

I tried to upload a screen shot of error message with 4Mb capacity using image link. But failed. how I will solve this problem??
46 views

### Bibliography conforming to “ISO 690” standard using natbib in LaTeX

I have searched a lot about ma problem and did not get any fruitful results. So i hopefully get the help here. I am using natbib package for reference citation. I would like to get the bibliography ...
21 views

### How do I keep edges away from forest nodes?

\documentclass[convert={size=640}]{standalone} \usepackage{forest} \newcommand{\difference}{ \begin{tabular}{c|c|c|c|c} \hline 0&1&0&1&\ldots\\ \hline \end{tabular}} ...
75 views

### How to use \beamer@frametitle value as an argument to \settowidth

I was customizing a beamer theme that have to be used by many people at my workplace. I want to show an error whenever frame-title takes more than two lines. Please don't ask why title is so long. So ...
89 views

### Ignoring the space occupied by “a prime” in a TikZ diagram

I have a diagram of two right triangles - one inscribed in another. I have y and y' indicating the length of the leg opposite one of the acute angles. (The y is for the smaller triangle.) I also have ...
18 views

### how to compile bibtex file using texmaker and XeLaTeX

I'm in doubt about the sequence latex, bibtex, latex, latex. Let's suppose I have a file called bibliography.bib, so it means that my sequence should be: latex bibliography.bib, bibtex ...
23 views

### Longtable does not fit the page margins

I am trying to fit a long table within the page margins. I tryied to follow the suggestions provided to other users on the same topic, but nothing seems to work. Any help would be more than ...
33 views

### Using a command for a property within an environment

I want to use a command within an environment to set an environment's property. I could do this using a parameter, but if I had more properties, parameters might be mixed up. ...
10 views

### Missing xLabels in psaxes

I am trying to display textual labels on my X axis, but they are missing: \begin{figure}[H] \begin{center} \psset{xunit=1.5,yunit=0.5} \begin{pspicture}(0,-11)(7,2) \psaxes[ticksize=0 ...
431 views

### How do diacritical marks impact centering and overshooting?

I am creating a table containing several foreign names with diacritical marks in them, and it seems to me that they ruin the vertical alignment, as they are too close to the top horizontal line. How ...
36 views

### PGFPlots axis label not moving

Could some body please explain why I can't move the y axis label to the end of the axis like the x. Using the following I get the below. \documentclass[a4paper]{article} \usepackage{pgfplots} ...
18 views

### Introduction for glossary with glossaries package

I'm using the glossaries package, with both a Glossary and List of acronyms. I'd like to make some general comments in the Glossary before the entries begin. Something like: Many of the definitions ...
15 views

### Fix spacing of a chemfig in tabular environnement

I have a tabularcontaining several chemical formulas and unfortunately, even though the text is spaced correctly the molecules touch the border like this: Code : \subsubsection{Groupes} ...
31 views

### Redeclared Section formatting - Centering

I would be grateful if someone could explain how the following could be centered instead of indented? Perhaps a MWE is not required for this? \RedeclareSectionCommand[ indent=1.25in, ...
66 views

### convert titlesec code to something KOMA-script like

I know that it is not a good idea to use titlesec together with KOMA script, but it worked in the past. Now it does not work and since I rely on KOMA script I would like to replace the remaining ...