# All Questions

17 views

### \raggedright in footnotes with hanging indent

This answer to Layout of multiple lines footnotes shows how to get hanging indent in footnotes (extremely ugly if you ask me, but the editors want what the editors want). \documentclass{article} ...
49 views

### Unable to change font with ModernCV

I've been trying to change the font with modernCV for quite a while now, but nothing seems to work. I'm using LuaTex. To start with, I tried changing it from sans to roman, although the font changes, ...
51 views

### Problem with \textbf{} command

I am using the font Open Sans Condensed Light for my CV. In some parts of my CV I need to bold some text, so I use \textbf{} command. However, it does not work. How can I solve my problem? Thanks in ...
18 views

### Avoiding \ensuremath when incorporating backslash \ in better-bibtex export from zotero

I am writing a paper that needs various elements of the references to be enclosed in \pkg{blahblah}. When I try to include this directly in zotero, the zotero regular bibtex export outputs exactly ...
22 views

I have awfully lot of troubles trying to make just a simple centered heading using beamerposter package. I am totally lost. Could you please provide any minimal working example? Of course, I've been ...
32 views

### Converting LaTeX with citations to MediaWiki

I would like to convert my LaTeX paper to MediaWiki format in order to contribute parts of it to Wikipedia. The main difficulty is the citations. Here is a MWE LaTeX file: \documentclass{article} ...
13 views

### lscape not working for the Table

I am using the landscape command ... it actually turns the page but not the table \begin{landscape} \begin{table} %\begin{center} \caption{Existing bone turnover markers} ...
9 views

### Problem with glossary text and accented letters [on hold]

I'm experiencing a strange behavior with the glossaries package, I have these lines in the header of my document: \usepackage[toc]{glossaries} ... \usepackage[italian]{babel} ... \makeglossaries ...
29 views

### Three columns for only part of the page

Currently I'm working on a resume, but I'm having trouble getting the formatting I want. An example of what I'm trying to do can be seen here - however, I couldn't even get that to work right ...
181 views

### What's wrong in the \tensor command?

After a recent update of MikTeX (and TeX Live!) on my computers (right after my vacation :)) I am not able to compile my book. The book is big and complex, uses many \if \else \fi constructions in the ...
38 views

### How to force citations within text width

I am using the named bibliography style with the following citation formulation provided by karlkoeller: \makeatletter \let\@internalcite\cite \def\cite{\def\citeauthoryear##1##2{##1, ...
28 views

### setting left margin in \itemize

I want to use \itemize to list several short paragraphs of prose designated (a),(b), (c) etc. The first line of each paragraph should be indented as usual, then the rest of the paragraph should be ...
11 views

### Author [Year] citation with named bibliography style

I am using the named style for a particular document to obtain Bibliography entries starting with the reference in squared brackets. Karlkoeller provided a preamble formulation that obtains squared ...
13 views

### Blank page generated when using \subsection{Results} inside landscape

I have a problem when using the landscape feature in LaTex. Specifically, if I include the \subsection{Results} inside the landscape a blank page is generated in landscape before the page of interest. ...
14 views

### Latex (LyX) /pdftex - Change file name based on file content

When compile a LaTeX document with pdftex it usually has the name newfile.pdf. Is it possible to change the name of my document based on the content in the LaTeX source I'm about to compile ? More ...
82 views

### Abbreviating commands with shorter commands, launchable from the body

I have a pretty complicated command, lets call it "C" in the preamble a long document that changes how the document looks. If I'm writing text somewhere in the middle of the document, I'd like to ...
25 views

### Set line spacing to point size

These are the recommendations of the setspace package: If a different spacing is required [than \singlespacing, \onehalfspacing, or \doublespacing] then the \setstretch{baselinestretch} ...
20 views

### I can't find file tikzlibraryarrows.spaced.code.tex'. \usetikzlibrary{arrows.spaced} [on hold]

I have received a Tex document which I am trying to compile, and I keep getting the error I can't find file tikzlibraryarrows.spaced.code.tex'. \usetikzlibrary{arrows.spaced} The document ...
99 views

### TikZ - Is it possible to draw a line over the whole page [duplicate]

I want to create/draw a front page of a document and therefore I want to draw a line from one corner of the Page to another. Ok in the final version I want to implement some control points. But up ...
15 views

### What is the difference between compiling options in texmaker and wich one to choose [duplicate]

i began learning lateX 3 days ago to make my training report ... i'm using texmaker in UBUNTU 14.04 I was compiling my files using quick build option in compilation menu and i was wondering what do ...
36 views

### what is the standard citation format (in biblatex) for a lecture given in a school

i want to cite a lecture given in a school. How is the standard way to do so in bibtex? @unpublished{123, author = {X. YY}, institution = {NASA aerospace school, USA}, year = {2014}, title = {Air ...
34 views

### How to set the label for listings?

Hi I'm new in Latex and I'm using this code from the Board everything is working, but I don't know how to set the label for the listing with this code \usepackage[many,minted]{tcolorbox} ...
12 views

### Parenthesized subfigure references except when already in parenthesis

I would like to style my subfigure references as Fig. 1(a) in running text and (Fig. 1a) when parenthetical. The subfigure labels are created using this code. (I would prefer to use subcaption like in ...
50 views

### Change \endhead in the middle of a longtable

I am creating many longtables in my document, where one table represents the results of a specific topic. Normally the header of the longtable consists of the name of the topic, N and some cmidrules. ...
70 views

I am trying to modify a CV I created on my old notebook. I have a fresh install of MiKTeX and TeXstudio on my new system, but my CV won't compile. I am using PDFLaTeX to compile. Originally, I created ...
73 views

### Avoid embedding Helvetica to change to Arial

This question is essentially about the opposite of this question combined with this question. I am using Latex to create a PDF for printing, which I would ideally like to be in Arial. I've currently ...
28 views

### How to push text to the right of the page?

I'm writing a resume, and I want to put the city and year on the right side of the page after I type the company name. For example: Company X ____________________________________________________ ...
20 views

### How to lstinput a text file path and get content of ext file into pdf

I tried to insert some data using listings package labels(lstset) into pdf which was successful but if the same data is put into a text file ans lstinput it as follows is not successful .Can some one ...
24 views

### Left-align text in math-mode and break equations

I have the following MWE \documentclass[11pt, a4paper]{article} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{amsfonts, amsmath, amssymb, amsfonts} \begin{document} \begin{align} ...
16 views

### How to make caption above in algorithm

How can I make the caption "Algorithm 1" be placed above the first line and the text still inside the two first lines? And how can the line styles be changed in the algorithm environment? ...
15 views

### How do I create a split column in one part of a page?

What I would like to do is be able to do something like this in the header. I want to split it up. How do I do this? I know that I could just use the moderncv package, but there are parts of the ...
34 views

### Highlighting items in a list

I'm trying to create a macro where the optional item emboldens an item in the list. I can process the list using the expl3/xparse package and can compare the two strings but I'm having trouble doing ...
108 views

### Passing string to macro without interpreting it

I'm working on a picture slideshow in beamer. To include each image I wrote a macro, which takes the filename. \documentclass{beamer} \usepackage{graphicx} \beamertemplatenavigationsymbolsempty ...
12 views

### Longtable in a knitr (PDF) document: using xtable (or kable)

I am new to knitr and I have had some very basic latex knowledge in the past, so I googled already hoping to find a solution that was already posted somewhere. However, I was not able to solve my ...
11 views

### How do I install extra LaTeX packages in Sublime Text 3?

I have LaTeXTools installed and I'm trying to figure out how to install the moderncv package (or for future reference, how to install packages in general). Is this done through Sublime Text's package ...
38 views

### Pgfplots: Transpose headrow as first column in: confusion matrix with colormaps / heatmaps

My question builds on code from this question: original question/answer What I am trying to achieve: I want to use pgfplots to build a table, where the header row is automatically added as first ...
27 views

### Referring to example numbers in tcolorbox

In a question I asked before, I implemented method 2 by feculededentier. However, now I am facing difficulty in referring to different examples in this case. For example, what should be the Latex code ...
25 views

### Sublime Text 3 - Is there a autocompletion / dropdown list feature?

In Texmaker or TexStudio, one can begin to type and the program will display a dropdown menu of suggestions. Is there something similar to this in Sublime Text 3? If so, how do I enable it?
42 views

### Tab based syntax wrapper around LaTeX?

In text file formats, if one allows for tab based formatting one can simplify things considerably. Are there any simple syntax wrappers that compile directly to LaTeX? I'm thinking of something that ...
35 views

### How to use packages from TeX Live?

I downloaded the MacTeX and I am now using Texmaker to finish my algorithm homework. When I try to add this line \usepackage{algorithms} in texmaker, it always keeps telling me that algorithms.sty is ...
45 views

### Print iteration counter in for loop

I am new using for loops in latex, and not sure if the following is possible. This is basically what I am trying to achieve: \documentclass{article} \begin{document} \foreach \x in {a,b,c} { ...
63 views

### Boxes in tikzposter

I designed a poster with the style tikzsposter. My problems are the too big distances between title of the poster and a box and the position of the text in a box I tried already the options given in ...
44 views

### Why is my table rendering in a nonsensical place?

I'm using TexWorks and am trying to use the following table: \begin{table}[] \centering \begin{tabular}{ll} $$a+b=b+a$$ & $$a \cdot b = b \cdot a$$ \\ a & a \\ a & a \end{tabular} ...
22 views

### How to put the author and year in italics

I use the authoryearstyle in biblatex, and when I do for instance \parencite{jadadish2010}, I get: (Jadadish, 2010) But I need the author and year to be in italics, so that I get this: ...
43 views

### Add logos beyond the title (tikzposter)

I am very new to tikzposter framework and struggling with adding logos to my title. I need to create similar to the picture attached. Using the "Default" theme, I need to put two (or three) different ...
39 views

### vertically and horizontally center content of complex tabu table

I'm having this MWE and want to horizontally and vertically center the x's in the last row (the numbers are for debugging purpose only). I've tried an appraoch with \newlength{\xlength} ...
38 views

### My font is ignored in beamer

I use Xetex for customize my font. I installed my font in my linux system. The command fc-list | grep -i Share-TechMono returns /usr/local/share/fonts/Share-TechMono.ttf: ...
34 views

### How can you make a macron less wide?

Macrons appear really wide on all characters, but especially so on the i. Is it possible to make them less wide? \documentclass{article} \begin{document} Tac\=e, M\=arc\=o, \=unus, f\=\i li\=\i? ...