# All Questions

3 views

### Changing font of to address on letter.cls

I am trying to change the font of different pieces of a letter.cls letter so my cover letter better matches my resume. Right now, I have been able to change the body font, but not the font of the ...
7 views

### Use array within a gather

I have the following code: \begin{gather} u(x,t) = 0 \ \mathrm{ si\ } x = 0, x = 1\\ \label{ex1bc} \\ u(x,0) = \left\{ \begin{array}{ll} 2x, & \mathrm{si\ } 0 \le x \le 1/2 \\ ...
14 views

### absolute value in numerator of fraction

I am having trouble writing a term of an equation which is fractional where only the numerator is inside the absolute value symbol. The syntax I used is: \frac{\abs{\lambda_f}}{8\pi^2} But I keep ...
4 views

### How can I use an algorithm2e function macro inside an algorithm2e caption?

Algorithm2e lets you define functions using \SetKwFunction{Fn}{Function} which you can then reference anywhere in the document (not just in an algorithm environment) using e.g. \Fn (which will output ...
12 views

### Spacing between custom command and subsequent text [duplicate]

I have defined a custom command for the name of my project; e.g. \newcommand{\projectname}{Gizmo}. When I used the command in my document, I've found that I need to place a ~ after the command in ...
9 views

### Alternative to a Minipage page breaks

I would like to have a replacement for my minipage design of this exercise environment. I recently learned that minipages are unbreakable across page boundaries. And as a novice to the TeX/LaTeX ...
15 views

### Section titles formatted as normal text

Can I get output like that of this \documentclass{article} \begin{document} \noindent Sections whose titles are set as normal text.---I would like some of those. \end{document} but such that the ...
14 views

41 views

### Error when using tikz \node, \subnode

In the code below, building off solutions found here, I am trying to use the \node and \subnode options to draw the arrow, but I cannot get the file to compile. Can you help me to fix the code to get ...
41 views

### Bring enumerate back to numbering default

I'm using a nested list, where the outer items should be with numerals and the inner ones with numbers. I'm trying this with the package enumerate: \begin{enumerate}[I] \item numeral I. This is ...
25 views

### “Extra \fi” error when defining mutually exclusive package options with conditionals

I have been trying to create a package, which loads the babel package and sets the language with an option. I've been getting strange errors when trying to define mutually exclusive package options, ...
27 views

### How can I insert vertical text spanning multiple rows into a table?

I would like to add a column to my table that looks like the right most column in the included picture. As of now, I am using tabularx to create the table \begin{tabularx}{\textwidth}{|X|c|} ...
39 views

### How to use lettrine in Cyrillic?

There are many topics about Latin initial capitals but is it possible to make something similar to that picture in Cyrillic?
28 views

### Make the Header space a little shorter

Basically I am trying to ensure that text on page two of any chapter respects the header. I sort of resolved this by including \headsep = 45pt (it ensures that the not-first chapter-pages respect the ...
18 views

### Three and four images with captions in a Beamer framer

I have often used two columns and two images side by side in Beamer frame. But I could not get three one large and second column contains two small images or four images with captions in a single ...
20 views

### IPE: An error occurred during the Pdflatex run

I have the same problem as here: Ipe latex, error with pdflatex command but I don't understand the answer :( Problem: When I run IPE, I get this error: "An error occurred during the Pdflatex run ...
25 views

### How to make ClassicThesis work?

I'm trying to write a test document in classicthesis, but I think I have a problem with the package. I wrote this \documentclass[a4paper,11pt]{scrbook} \usepackage{lipsum} ...
15 views

### How do I increase the white space between a section's title and the page header?

I would like something like this:
18 views

### Adding shell commands to hide LaTeX Aux files after compiling in TeXShop or TexStudio

I run LaTeX under OSX, and I would like to attempt to hide all of the LaTeX helper files from the finder after compiling. It strikes me that the simplest thing to do is not to move them or delete them ...
34 views

### Where do I send patches to epstopdf? I made a patch to force B&W PDFs

I made a small patch to epstopdf to force the PDF to B&W. I had a document with some color, and I needed to convert it to a B&W PDF to avoid triggering color separations. Is there a place to ...
17 views

### Put ';' after page number in index

I'm trying to have dictionary like index, where some terms with different variations in text are defined. it seems this is easier with indexing. I try to have subitems of one index item on same line ...
41 views

### Highlight matrix cell and have arrows pointing from cell with text [duplicate]

This code is building from the solutions posted here. I am trying the approach suggested from the duplicate solutions. I am having two issues: I am not sure how to get the arrow to point to the ...
16 views

### how to change font-size of a tikz tree

Is there a possibility to change the font size of the text right on the line of the following tree? I would like to reduce it, so that the tree does not appear such big. I hope someone may help me. ...
16 views

### colorbox highlighting: overfull hbox

For a current LaTeX-Document, I've done some highlighting using colorboxes around specific words or formulas. This works quite well, although, of course, the colorbox doesn't do line breaks when it is ...
20 views

### Arithmetic overflow error using bytefield package while attempting to constrain width

I'm attempting to draft a document that makes very heavy use of the bytefield package and running into the situation that it seems no good solution exists for fields that have to be 64 bits wide (even ...
9 views

### pgf-umlcd: underscore in class name failing

I have a simple class diagram drawn with pgf-umlcd, but using an underscore within the class name leads to an error message. \begin{tikzpicture} \begin{class}{foo\_bar}{0,0} % some stuff here ...
20 views

### Why do my lists of floats get collapsed?

I defined two types of new floats, but when I try to list each of them separately, they get collapsed into the same list. Here is an MWE: \documentclass{book} \usepackage{float} ...
19 views

### How put two glyphs to mp image and get kerning

Is possible to put two glyphs in any place in MetaPost and get kerning between it? for example using Lato-Regular.ttf 'ab' in 1.7cm,2cm and get information kerning 'a' and 'b' or put 'a' in ...
5 views

### Force natbib+apalike to display the first two authors for a specific item

I am using natbib with apalike bibliography style. Some of the entries in my bib file are papers characterized by first co-authorship. So far, when I \cite them, only the first author is reported ...
24 views

### Indentation issues with highlighting cell using tikzmarkin

I am trying to eliminate offset/indentation issues when using tikzmarkin to highlight regions of a table. \documentclass{beamer} \RequirePackage{booktabs,colortbl,caption,tabularx,chngcntr, tikz, ...
18 views

### Undefined citation

I'm doing my first bibliography and I'm getting errors for one hour now. The .tex file : \documentclass[francais,10pt,twosides,a4paper]{report} \usepackage[francais,polutonikogreek]{babel} ...
140 views

### Expandable macro with loops and advanced string functions?

This might be a very basic problem (as a follow-up to this question) but I cannot figure out how to do it: I need a macro \mycmd{sometext} that yields a string depending on the first character of its ...
39 views

### How do I create a template for thesis title page?

My university wants my thesis title page to be formatted in a certain way (see left image below) and I was able to do it in LaTeX (see right image below): I used the following LaTeX code to do the ...
100 views

### Straight Table Borders

I was just wondering whether there was a simple way to make the borders of a table straight? My code currently is: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{setspace} ...
22 views

### How to set column width in tabularx?

I have a table, how to set width of 6th row, so the widths of columns be 25%|25%|25%|25% ? right now my code of it looks like this: \documentclass{article} \usepackage[utf8]{inputenc} ...